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 #include <wx/image.h>
1758 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1759 char** cArray
= NULL
;
1762 if (!PyList_Check(listOfStrings
)) {
1763 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1766 count
= PyList_Size(listOfStrings
);
1767 cArray
= new char*[count
];
1769 for(int x
=0; x
<count
; x
++) {
1770 // TODO: Need some validation and error checking here
1771 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1777 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1778 char** cArray
= NULL
;
1781 cArray
= ConvertListOfStrings(listOfStrings
);
1784 bmp
= new wxBitmap(cArray
);
1788 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1791 PyString_AsStringAndSize(bits
, &buf
, &length
);
1792 return new wxBitmap(buf
, width
, height
, depth
);
1794 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1795 wxSize
size(self
->GetWidth(), self
->GetHeight());
1798 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1799 wxMask
*mask
= new wxMask(*self
, colour
);
1800 self
->SetMask(mask
);
1802 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1803 self
->SetWidth(size
.x
);
1804 self
->SetHeight(size
.y
);
1806 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
1807 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
1808 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
1810 return new wxMask(bitmap
, *wxBLACK
);
1812 return new wxMask(bitmap
, colour
);
1815 #include <wx/iconbndl.h>
1817 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
1818 wxIcon
* icon
= new wxIcon();
1819 icon
->CopyFromBitmap(bmp
);
1822 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
1823 char** cArray
= NULL
;
1826 cArray
= ConvertListOfStrings(listOfStrings
);
1829 icon
= new wxIcon(cArray
);
1833 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
1837 return new wxIconLocation(*filename
);
1840 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
1847 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
1855 SWIGINTERNSHORT
long
1856 SWIG_As_long(PyObject
* obj
)
1859 if (!SWIG_AsVal_long(obj
, &v
)) {
1861 this is needed to make valgrind/purify happier.
1863 memset((void*)&v
, 0, sizeof(long));
1870 SWIG_Check_long(PyObject
* obj
)
1872 return SWIG_AsVal_long(obj
, (long*)0);
1875 static wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
1877 wxCHECK_MSG(false, NULL
,
1878 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
1880 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
1885 static void wxRegionIterator_Next(wxRegionIterator
*self
){
1888 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
1889 return self
->operator bool();
1892 #include <wx/fontutil.h>
1893 #include <wx/fontmap.h>
1894 #include <wx/fontenum.h>
1896 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
1897 return self
->ToString();
1900 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
1901 static wxNativeEncodingInfo info
;
1902 if ( wxGetNativeFontEncoding(encoding
, &info
) )
1908 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
1909 wxFontEncoding alt_enc
;
1910 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1911 return PyInt_FromLong(alt_enc
);
1917 static wxFont
*new_wxFont(wxString
const &info
){
1918 wxNativeFontInfo nfi
;
1919 nfi
.FromString(info
);
1920 return new wxFont(nfi
);
1922 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1923 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
1925 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1926 return wxFontBase::New(pixelSize
, family
,
1927 style
, weight
, underlined
,
1930 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
1931 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
1933 class wxPyFontEnumerator
: public wxFontEnumerator
{
1935 wxPyFontEnumerator() {}
1936 ~wxPyFontEnumerator() {}
1938 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
1939 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
1944 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
1945 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
1948 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
1949 wxArrayString
* arr
= self
->GetEncodings();
1951 return wxArrayString2PyList_helper(*arr
);
1953 return PyList_New(0);
1955 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
1956 wxArrayString
* arr
= self
->GetFacenames();
1958 return wxArrayString2PyList_helper(*arr
);
1960 return PyList_New(0);
1965 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
1968 loc
= new wxLocale();
1970 loc
= new wxLocale(language
, flags
);
1971 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1972 // for the floating point conversions and such to work right.
1973 #if PY_VERSION_HEX < 0x02040000
1974 setlocale(LC_NUMERIC
, "C");
1978 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
1979 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
1980 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1981 // for the floating point conversions and such to work right.
1982 #if PY_VERSION_HEX < 0x02040000
1983 setlocale(LC_NUMERIC
, "C");
1987 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
1988 bool rc
= self
->Init(language
, flags
);
1989 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1990 // for the floating point conversions and such to work right.
1991 #if PY_VERSION_HEX < 0x02040000
1992 setlocale(LC_NUMERIC
, "C");
1997 #include "wx/wxPython/pydrawxxx.h"
1999 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2001 self
->GetPixel(x
, y
, &col
);
2004 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2006 self
->GetPixel(pt
, &col
);
2011 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2013 if (PyNumber_Check(obj
)) {
2014 if (val
) *val
= PyFloat_AsDouble(obj
);
2018 SWIG_type_error("number", obj
);
2024 SWIGINTERNSHORT
double
2025 SWIG_As_double(PyObject
* obj
)
2028 if (!SWIG_AsVal_double(obj
, &v
)) {
2030 this is needed to make valgrind/purify happier.
2032 memset((void*)&v
, 0, sizeof(double));
2039 SWIG_Check_double(PyObject
* obj
)
2041 return SWIG_AsVal_double(obj
, (double*)0);
2044 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2046 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2050 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2052 self
->GetClippingBox(rect
);
2055 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2057 self
->GetPartialTextExtents(text
, widths
);
2061 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2062 #define SWIG_From_double PyFloat_FromDouble
2066 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2067 self
->SetLogicalOrigin(point
.x
, point
.y
);
2069 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2070 self
->SetDeviceOrigin(point
.x
, point
.y
);
2072 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2073 self
->CalcBoundingBox(point
.x
, point
.y
);
2075 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2076 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2078 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2079 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2081 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2082 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2084 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2085 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2087 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2088 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2090 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2091 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2094 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2102 #include <wx/dcbuffer.h>
2105 #include <wx/dcps.h>
2108 class wxMetaFile
: public wxObject
{
2110 wxMetaFile(const wxString
&)
2111 { wxPyRaiseNotImplemented(); }
2114 class wxMetaFileDC
: public wxClientDC
{
2116 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
2117 { wxPyRaiseNotImplemented(); }
2122 class wxPrinterDC
: public wxClientDC
{
2124 wxPrinterDC(const wxPrintData
&)
2125 { wxPyRaiseNotImplemented(); }
2131 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2132 self
->AddColour(name
, wxColour(red
, green
, blue
));
2135 #include <wx/effects.h>
2140 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
*resultobj
;
2142 wxGDIObject
*result
;
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2149 if (!wxPyCheckForApp()) SWIG_fail
;
2150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2151 result
= (wxGDIObject
*)new wxGDIObject();
2153 wxPyEndAllowThreads(__tstate
);
2154 if (PyErr_Occurred()) SWIG_fail
;
2156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2163 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
*resultobj
;
2165 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2168 (char *) "self", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2173 if (SWIG_arg_fail(1)) SWIG_fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2181 Py_INCREF(Py_None
); resultobj
= Py_None
;
2188 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
*resultobj
;
2190 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2192 PyObject
* obj0
= 0 ;
2194 (char *) "self", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2199 if (SWIG_arg_fail(1)) SWIG_fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 result
= (bool)(arg1
)->GetVisible();
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2216 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
*resultobj
;
2218 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2220 PyObject
* obj0
= 0 ;
2221 PyObject
* obj1
= 0 ;
2223 (char *) "self",(char *) "visible", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
2231 if (SWIG_arg_fail(2)) SWIG_fail
;
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 (arg1
)->SetVisible(arg2
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 Py_INCREF(Py_None
); resultobj
= Py_None
;
2247 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2251 PyObject
* obj0
= 0 ;
2253 (char *) "self", NULL
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2258 if (SWIG_arg_fail(1)) SWIG_fail
;
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 result
= (bool)(arg1
)->IsNull();
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2275 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2278 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2280 return Py_BuildValue((char *)"");
2282 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 byte arg1
= (byte
) 0 ;
2285 byte arg2
= (byte
) 0 ;
2286 byte arg3
= (byte
) 0 ;
2288 PyObject
* obj0
= 0 ;
2289 PyObject
* obj1
= 0 ;
2290 PyObject
* obj2
= 0 ;
2292 (char *) "red",(char *) "green",(char *) "blue", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2298 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
2299 if (SWIG_arg_fail(1)) SWIG_fail
;
2304 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2305 if (SWIG_arg_fail(2)) SWIG_fail
;
2310 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2311 if (SWIG_arg_fail(3)) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2328 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
*resultobj
;
2330 wxString
*arg1
= 0 ;
2332 bool temp1
= false ;
2333 PyObject
* obj0
= 0 ;
2335 (char *) "colorName", NULL
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2340 arg1
= wxString_in_helper(obj0
);
2341 if (arg1
== NULL
) SWIG_fail
;
2345 if (!wxPyCheckForApp()) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2367 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2369 unsigned long arg1
;
2371 PyObject
* obj0
= 0 ;
2373 (char *) "colRGB", NULL
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2378 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
2379 if (SWIG_arg_fail(1)) SWIG_fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 result
= (wxColour
*)new wxColour(arg1
);
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2395 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 wxColour
*arg1
= (wxColour
*) 0 ;
2398 PyObject
* obj0
= 0 ;
2400 (char *) "self", NULL
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2405 if (SWIG_arg_fail(1)) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2413 Py_INCREF(Py_None
); resultobj
= Py_None
;
2420 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxColour
*arg1
= (wxColour
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2426 (char *) "self", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2431 if (SWIG_arg_fail(1)) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 result
= (byte
)(arg1
)->Red();
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2440 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2448 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
*resultobj
;
2450 wxColour
*arg1
= (wxColour
*) 0 ;
2452 PyObject
* obj0
= 0 ;
2454 (char *) "self", NULL
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2459 if (SWIG_arg_fail(1)) SWIG_fail
;
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 result
= (byte
)(arg1
)->Green();
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2468 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2476 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2478 wxColour
*arg1
= (wxColour
*) 0 ;
2480 PyObject
* obj0
= 0 ;
2482 (char *) "self", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2487 if (SWIG_arg_fail(1)) SWIG_fail
;
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 result
= (byte
)(arg1
)->Blue();
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2496 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2504 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2506 wxColour
*arg1
= (wxColour
*) 0 ;
2508 PyObject
* obj0
= 0 ;
2510 (char *) "self", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2515 if (SWIG_arg_fail(1)) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 result
= (bool)(arg1
)->Ok();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2532 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 wxColour
*arg1
= (wxColour
*) 0 ;
2538 PyObject
* obj0
= 0 ;
2539 PyObject
* obj1
= 0 ;
2540 PyObject
* obj2
= 0 ;
2541 PyObject
* obj3
= 0 ;
2543 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2548 if (SWIG_arg_fail(1)) SWIG_fail
;
2550 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2551 if (SWIG_arg_fail(2)) SWIG_fail
;
2554 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2555 if (SWIG_arg_fail(3)) SWIG_fail
;
2558 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2559 if (SWIG_arg_fail(4)) SWIG_fail
;
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 (arg1
)->Set(arg2
,arg3
,arg4
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 Py_INCREF(Py_None
); resultobj
= Py_None
;
2575 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
*resultobj
;
2577 wxColour
*arg1
= (wxColour
*) 0 ;
2578 unsigned long arg2
;
2579 PyObject
* obj0
= 0 ;
2580 PyObject
* obj1
= 0 ;
2582 (char *) "self",(char *) "colRGB", NULL
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2587 if (SWIG_arg_fail(1)) SWIG_fail
;
2589 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
2590 if (SWIG_arg_fail(2)) SWIG_fail
;
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2599 Py_INCREF(Py_None
); resultobj
= Py_None
;
2606 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 wxColour
*arg1
= (wxColour
*) 0 ;
2609 wxString
*arg2
= 0 ;
2610 bool temp2
= false ;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2614 (char *) "self",(char *) "colourName", NULL
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2619 if (SWIG_arg_fail(1)) SWIG_fail
;
2621 arg2
= wxString_in_helper(obj1
);
2622 if (arg2
== NULL
) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 (arg1
)->InitFromName((wxString
const &)*arg2
);
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2632 Py_INCREF(Py_None
); resultobj
= Py_None
;
2647 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxColour
*arg1
= (wxColour
*) 0 ;
2651 PyObject
* obj0
= 0 ;
2653 (char *) "self", NULL
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2658 if (SWIG_arg_fail(1)) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2667 resultobj
= SWIG_From_long((long)(result
));
2675 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2677 wxColour
*arg1
= (wxColour
*) 0 ;
2678 wxColour
*arg2
= 0 ;
2681 PyObject
* obj0
= 0 ;
2682 PyObject
* obj1
= 0 ;
2684 (char *) "self",(char *) "colour", NULL
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2689 if (SWIG_arg_fail(1)) SWIG_fail
;
2692 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2710 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
*resultobj
;
2712 wxColour
*arg1
= (wxColour
*) 0 ;
2713 wxColour
*arg2
= 0 ;
2716 PyObject
* obj0
= 0 ;
2717 PyObject
* obj1
= 0 ;
2719 (char *) "self",(char *) "colour", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2724 if (SWIG_arg_fail(1)) SWIG_fail
;
2727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2745 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2747 wxColour
*arg1
= (wxColour
*) 0 ;
2749 PyObject
* obj0
= 0 ;
2751 (char *) "self", NULL
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2756 if (SWIG_arg_fail(1)) SWIG_fail
;
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 result
= (PyObject
*)wxColour_Get(arg1
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2771 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxColour
*arg1
= (wxColour
*) 0 ;
2774 unsigned long result
;
2775 PyObject
* obj0
= 0 ;
2777 (char *) "self", NULL
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2782 if (SWIG_arg_fail(1)) SWIG_fail
;
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 result
= (unsigned long)wxColour_GetRGB(arg1
);
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2791 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
2799 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2802 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2804 return Py_BuildValue((char *)"");
2806 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2809 unsigned char *arg2
= (unsigned char *) 0 ;
2810 unsigned char *arg3
= (unsigned char *) 0 ;
2811 unsigned char *arg4
= (unsigned char *) 0 ;
2813 PyObject
* obj0
= 0 ;
2814 PyObject
* obj1
= 0 ;
2815 PyObject
* obj2
= 0 ;
2816 PyObject
* obj3
= 0 ;
2818 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2823 arg1
= (int)(SWIG_As_int(obj0
));
2824 if (SWIG_arg_fail(1)) SWIG_fail
;
2826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2827 if (SWIG_arg_fail(2)) SWIG_fail
;
2828 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2829 if (SWIG_arg_fail(3)) SWIG_fail
;
2830 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2831 if (SWIG_arg_fail(4)) SWIG_fail
;
2833 if (!wxPyCheckForApp()) SWIG_fail
;
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
2847 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2849 wxPalette
*arg1
= (wxPalette
*) 0 ;
2850 PyObject
* obj0
= 0 ;
2852 (char *) "self", NULL
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
2856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2857 if (SWIG_arg_fail(1)) SWIG_fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 Py_INCREF(Py_None
); resultobj
= Py_None
;
2872 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxPalette
*arg1
= (wxPalette
*) 0 ;
2879 PyObject
* obj0
= 0 ;
2880 PyObject
* obj1
= 0 ;
2881 PyObject
* obj2
= 0 ;
2882 PyObject
* obj3
= 0 ;
2884 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2889 if (SWIG_arg_fail(1)) SWIG_fail
;
2891 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2892 if (SWIG_arg_fail(2)) SWIG_fail
;
2895 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2896 if (SWIG_arg_fail(3)) SWIG_fail
;
2899 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2900 if (SWIG_arg_fail(4)) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= SWIG_From_int((int)(result
));
2918 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxPalette
*arg1
= (wxPalette
*) 0 ;
2922 byte
*arg3
= (byte
*) 0 ;
2923 byte
*arg4
= (byte
*) 0 ;
2924 byte
*arg5
= (byte
*) 0 ;
2932 PyObject
* obj0
= 0 ;
2933 PyObject
* obj1
= 0 ;
2935 (char *) "self",(char *) "pixel", NULL
2938 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2939 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2940 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2943 if (SWIG_arg_fail(1)) SWIG_fail
;
2945 arg2
= (int)(SWIG_As_int(obj1
));
2946 if (SWIG_arg_fail(2)) SWIG_fail
;
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2958 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2959 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
2960 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2961 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
2962 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2963 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
2970 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
*resultobj
;
2972 wxPalette
*arg1
= (wxPalette
*) 0 ;
2974 PyObject
* obj0
= 0 ;
2976 (char *) "self", NULL
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
2980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2981 if (SWIG_arg_fail(1)) SWIG_fail
;
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2990 resultobj
= SWIG_From_int((int)(result
));
2998 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxPalette
*arg1
= (wxPalette
*) 0 ;
3002 PyObject
* obj0
= 0 ;
3004 (char *) "self", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3009 if (SWIG_arg_fail(1)) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 result
= (bool)(arg1
)->Ok();
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3026 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3029 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3031 return Py_BuildValue((char *)"");
3033 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxColour
*arg1
= 0 ;
3036 int arg2
= (int) 1 ;
3037 int arg3
= (int) wxSOLID
;
3040 PyObject
* obj0
= 0 ;
3041 PyObject
* obj1
= 0 ;
3042 PyObject
* obj2
= 0 ;
3044 (char *) "colour",(char *) "width",(char *) "style", NULL
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3050 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3054 arg2
= (int)(SWIG_As_int(obj1
));
3055 if (SWIG_arg_fail(2)) SWIG_fail
;
3060 arg3
= (int)(SWIG_As_int(obj2
));
3061 if (SWIG_arg_fail(3)) SWIG_fail
;
3065 if (!wxPyCheckForApp()) SWIG_fail
;
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3079 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxPen
*arg1
= (wxPen
*) 0 ;
3082 PyObject
* obj0
= 0 ;
3084 (char *) "self", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3089 if (SWIG_arg_fail(1)) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 Py_INCREF(Py_None
); resultobj
= Py_None
;
3104 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxPen
*arg1
= (wxPen
*) 0 ;
3108 PyObject
* obj0
= 0 ;
3110 (char *) "self", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3115 if (SWIG_arg_fail(1)) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 result
= (int)(arg1
)->GetCap();
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3124 resultobj
= SWIG_From_int((int)(result
));
3132 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
;
3134 wxPen
*arg1
= (wxPen
*) 0 ;
3136 PyObject
* obj0
= 0 ;
3138 (char *) "self", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3143 if (SWIG_arg_fail(1)) SWIG_fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 result
= (arg1
)->GetColour();
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3152 wxColour
* resultptr
;
3153 resultptr
= new wxColour((wxColour
&)(result
));
3154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3162 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3164 wxPen
*arg1
= (wxPen
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 result
= (int)(arg1
)->GetJoin();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3182 resultobj
= SWIG_From_int((int)(result
));
3190 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxPen
*arg1
= (wxPen
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "self", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 result
= (int)(arg1
)->GetStyle();
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3210 resultobj
= SWIG_From_int((int)(result
));
3218 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3220 wxPen
*arg1
= (wxPen
*) 0 ;
3222 PyObject
* obj0
= 0 ;
3224 (char *) "self", NULL
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3229 if (SWIG_arg_fail(1)) SWIG_fail
;
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 result
= (int)(arg1
)->GetWidth();
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3238 resultobj
= SWIG_From_int((int)(result
));
3246 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxPen
*arg1
= (wxPen
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3252 (char *) "self", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3257 if (SWIG_arg_fail(1)) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 result
= (bool)(arg1
)->Ok();
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3274 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
*resultobj
;
3276 wxPen
*arg1
= (wxPen
*) 0 ;
3278 PyObject
* obj0
= 0 ;
3279 PyObject
* obj1
= 0 ;
3281 (char *) "self",(char *) "cap_style", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
3289 if (SWIG_arg_fail(2)) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 (arg1
)->SetCap(arg2
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 Py_INCREF(Py_None
); resultobj
= Py_None
;
3305 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxPen
*arg1
= (wxPen
*) 0 ;
3308 wxColour
*arg2
= 0 ;
3310 PyObject
* obj0
= 0 ;
3311 PyObject
* obj1
= 0 ;
3313 (char *) "self",(char *) "colour", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3318 if (SWIG_arg_fail(1)) SWIG_fail
;
3321 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 (arg1
)->SetColour(*arg2
);
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3330 Py_INCREF(Py_None
); resultobj
= Py_None
;
3337 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxPen
*arg1
= (wxPen
*) 0 ;
3341 PyObject
* obj0
= 0 ;
3342 PyObject
* obj1
= 0 ;
3344 (char *) "self",(char *) "join_style", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3349 if (SWIG_arg_fail(1)) SWIG_fail
;
3351 arg2
= (int)(SWIG_As_int(obj1
));
3352 if (SWIG_arg_fail(2)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 (arg1
)->SetJoin(arg2
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 Py_INCREF(Py_None
); resultobj
= Py_None
;
3368 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxPen
*arg1
= (wxPen
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3375 (char *) "self",(char *) "style", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3380 if (SWIG_arg_fail(1)) SWIG_fail
;
3382 arg2
= (int)(SWIG_As_int(obj1
));
3383 if (SWIG_arg_fail(2)) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 (arg1
)->SetStyle(arg2
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxPen
*arg1
= (wxPen
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3406 (char *) "self",(char *) "width", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3411 if (SWIG_arg_fail(1)) SWIG_fail
;
3413 arg2
= (int)(SWIG_As_int(obj1
));
3414 if (SWIG_arg_fail(2)) SWIG_fail
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 (arg1
)->SetWidth(arg2
);
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3423 Py_INCREF(Py_None
); resultobj
= Py_None
;
3430 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
*resultobj
;
3432 wxPen
*arg1
= (wxPen
*) 0 ;
3434 wxDash
*arg3
= (wxDash
*) 0 ;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj1
= 0 ;
3438 (char *) "self",(char *) "dashes", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3443 if (SWIG_arg_fail(1)) SWIG_fail
;
3445 arg2
= PyList_Size(obj1
);
3446 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3447 if (arg3
== NULL
) SWIG_fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 (arg1
)->SetDashes(arg2
,arg3
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3456 Py_INCREF(Py_None
); resultobj
= Py_None
;
3458 if (arg3
) delete [] arg3
;
3463 if (arg3
) delete [] arg3
;
3469 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
;
3471 wxPen
*arg1
= (wxPen
*) 0 ;
3473 PyObject
* obj0
= 0 ;
3475 (char *) "self", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3480 if (SWIG_arg_fail(1)) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3495 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
*resultobj
;
3497 wxPen
*arg1
= (wxPen
*) 0 ;
3498 PyObject
*arg2
= (PyObject
*) 0 ;
3499 PyObject
*arg3
= (PyObject
*) 0 ;
3500 PyObject
* obj0
= 0 ;
3501 PyObject
* obj1
= 0 ;
3502 PyObject
* obj2
= 0 ;
3504 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3509 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 wxPen__SetDashes(arg1
,arg2
,arg3
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 Py_INCREF(Py_None
); resultobj
= Py_None
;
3526 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxPen
*arg1
= (wxPen
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3532 (char *) "self", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
3536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3537 if (SWIG_arg_fail(1)) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= SWIG_From_int((int)(result
));
3554 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxPen
*arg1
= (wxPen
*) 0 ;
3557 wxPen
*arg2
= (wxPen
*) 0 ;
3559 PyObject
* obj0
= 0 ;
3560 PyObject
* obj1
= 0 ;
3562 (char *) "self",(char *) "other", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3567 if (SWIG_arg_fail(1)) SWIG_fail
;
3568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3569 if (SWIG_arg_fail(2)) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3586 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxPen
*arg1
= (wxPen
*) 0 ;
3589 wxPen
*arg2
= (wxPen
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3592 PyObject
* obj1
= 0 ;
3594 (char *) "self",(char *) "other", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3599 if (SWIG_arg_fail(1)) SWIG_fail
;
3600 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3601 if (SWIG_arg_fail(2)) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3618 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3621 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3623 return Py_BuildValue((char *)"");
3625 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
*resultobj
;
3627 wxColour
*arg1
= 0 ;
3628 int arg2
= (int) wxSOLID
;
3631 PyObject
* obj0
= 0 ;
3632 PyObject
* obj1
= 0 ;
3634 (char *) "colour",(char *) "style", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3640 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3644 arg2
= (int)(SWIG_As_int(obj1
));
3645 if (SWIG_arg_fail(2)) SWIG_fail
;
3649 if (!wxPyCheckForApp()) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3663 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxBrush
*arg1
= (wxBrush
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3668 (char *) "self", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3673 if (SWIG_arg_fail(1)) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxBrush
*arg1
= (wxBrush
*) 0 ;
3691 wxColour
*arg2
= 0 ;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3696 (char *) "self",(char *) "col", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3701 if (SWIG_arg_fail(1)) SWIG_fail
;
3704 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 (arg1
)->SetColour((wxColour
const &)*arg2
);
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3713 Py_INCREF(Py_None
); resultobj
= Py_None
;
3720 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
;
3722 wxBrush
*arg1
= (wxBrush
*) 0 ;
3724 PyObject
* obj0
= 0 ;
3725 PyObject
* obj1
= 0 ;
3727 (char *) "self",(char *) "style", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3732 if (SWIG_arg_fail(1)) SWIG_fail
;
3734 arg2
= (int)(SWIG_As_int(obj1
));
3735 if (SWIG_arg_fail(2)) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 (arg1
)->SetStyle(arg2
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 Py_INCREF(Py_None
); resultobj
= Py_None
;
3751 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
;
3753 wxBrush
*arg1
= (wxBrush
*) 0 ;
3754 wxBitmap
*arg2
= 0 ;
3755 PyObject
* obj0
= 0 ;
3756 PyObject
* obj1
= 0 ;
3758 (char *) "self",(char *) "stipple", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3763 if (SWIG_arg_fail(1)) SWIG_fail
;
3765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3766 if (SWIG_arg_fail(2)) SWIG_fail
;
3768 SWIG_null_ref("wxBitmap");
3770 if (SWIG_arg_fail(2)) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 Py_INCREF(Py_None
); resultobj
= Py_None
;
3786 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxBrush
*arg1
= (wxBrush
*) 0 ;
3790 PyObject
* obj0
= 0 ;
3792 (char *) "self", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
3796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3797 if (SWIG_arg_fail(1)) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= ((wxBrush
const *)arg1
)->GetColour();
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3806 wxColour
* resultptr
;
3807 resultptr
= new wxColour((wxColour
&)(result
));
3808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3816 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxBrush
*arg1
= (wxBrush
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3822 (char *) "self", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
3826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3827 if (SWIG_arg_fail(1)) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3836 resultobj
= SWIG_From_int((int)(result
));
3844 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxBrush
*arg1
= (wxBrush
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3850 (char *) "self", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
3854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3855 if (SWIG_arg_fail(1)) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3870 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxBrush
*arg1
= (wxBrush
*) 0 ;
3874 PyObject
* obj0
= 0 ;
3876 (char *) "self", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
3880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3881 if (SWIG_arg_fail(1)) SWIG_fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3898 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
;
3900 wxBrush
*arg1
= (wxBrush
*) 0 ;
3902 PyObject
* obj0
= 0 ;
3904 (char *) "self", NULL
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
3908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3909 if (SWIG_arg_fail(1)) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 result
= (bool)(arg1
)->Ok();
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3926 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
3928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3929 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
3931 return Py_BuildValue((char *)"");
3933 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3935 wxString
*arg1
= 0 ;
3936 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
3938 bool temp1
= false ;
3939 PyObject
* obj0
= 0 ;
3940 PyObject
* obj1
= 0 ;
3942 (char *) "name",(char *) "type", NULL
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3947 arg1
= wxString_in_helper(obj0
);
3948 if (arg1
== NULL
) SWIG_fail
;
3953 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
3954 if (SWIG_arg_fail(2)) SWIG_fail
;
3958 if (!wxPyCheckForApp()) SWIG_fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3980 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
;
3982 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3983 PyObject
* obj0
= 0 ;
3985 (char *) "self", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
3989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 Py_INCREF(Py_None
); resultobj
= Py_None
;
4005 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4009 int arg3
= (int) -1 ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4013 PyObject
* obj2
= 0 ;
4015 (char *) "width",(char *) "height",(char *) "depth", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4020 arg1
= (int)(SWIG_As_int(obj0
));
4021 if (SWIG_arg_fail(1)) SWIG_fail
;
4024 arg2
= (int)(SWIG_As_int(obj1
));
4025 if (SWIG_arg_fail(2)) SWIG_fail
;
4029 arg3
= (int)(SWIG_As_int(obj2
));
4030 if (SWIG_arg_fail(3)) SWIG_fail
;
4034 if (!wxPyCheckForApp()) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4048 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4052 PyObject
* obj0
= 0 ;
4054 (char *) "icon", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4060 if (SWIG_arg_fail(1)) SWIG_fail
;
4062 SWIG_null_ref("wxIcon");
4064 if (SWIG_arg_fail(1)) SWIG_fail
;
4067 if (!wxPyCheckForApp()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4081 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4084 int arg2
= (int) -1 ;
4086 PyObject
* obj0
= 0 ;
4087 PyObject
* obj1
= 0 ;
4089 (char *) "image",(char *) "depth", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4095 if (SWIG_arg_fail(1)) SWIG_fail
;
4097 SWIG_null_ref("wxImage");
4099 if (SWIG_arg_fail(1)) SWIG_fail
;
4103 arg2
= (int)(SWIG_As_int(obj1
));
4104 if (SWIG_arg_fail(2)) SWIG_fail
;
4108 if (!wxPyCheckForApp()) SWIG_fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4122 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
*resultobj
;
4124 PyObject
*arg1
= (PyObject
*) 0 ;
4126 PyObject
* obj0
= 0 ;
4128 (char *) "listOfStrings", NULL
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4134 if (!wxPyCheckForApp()) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4148 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4150 PyObject
*arg1
= (PyObject
*) 0 ;
4153 int arg4
= (int) 1 ;
4155 PyObject
* obj0
= 0 ;
4156 PyObject
* obj1
= 0 ;
4157 PyObject
* obj2
= 0 ;
4158 PyObject
* obj3
= 0 ;
4160 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4166 arg2
= (int)(SWIG_As_int(obj1
));
4167 if (SWIG_arg_fail(2)) SWIG_fail
;
4170 arg3
= (int)(SWIG_As_int(obj2
));
4171 if (SWIG_arg_fail(3)) SWIG_fail
;
4175 arg4
= (int)(SWIG_As_int(obj3
));
4176 if (SWIG_arg_fail(4)) SWIG_fail
;
4180 if (!wxPyCheckForApp()) SWIG_fail
;
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4194 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
;
4196 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4198 PyObject
* obj0
= 0 ;
4200 (char *) "self", NULL
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4205 if (SWIG_arg_fail(1)) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (bool)(arg1
)->Ok();
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4222 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4224 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4228 (char *) "self", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4233 if (SWIG_arg_fail(1)) SWIG_fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 result
= (int)(arg1
)->GetWidth();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= SWIG_From_int((int)(result
));
4250 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4252 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4254 PyObject
* obj0
= 0 ;
4256 (char *) "self", NULL
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4261 if (SWIG_arg_fail(1)) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (int)(arg1
)->GetHeight();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= SWIG_From_int((int)(result
));
4278 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4282 PyObject
* obj0
= 0 ;
4284 (char *) "self", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4289 if (SWIG_arg_fail(1)) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= (int)(arg1
)->GetDepth();
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4298 resultobj
= SWIG_From_int((int)(result
));
4306 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4308 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4310 PyObject
* obj0
= 0 ;
4312 (char *) "self", NULL
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4317 if (SWIG_arg_fail(1)) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= wxBitmap_GetSize(arg1
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4327 resultptr
= new wxSize((wxSize
&)(result
));
4328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4336 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4339 SwigValueWrapper
<wxImage
> result
;
4340 PyObject
* obj0
= 0 ;
4342 (char *) "self", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4356 wxImage
* resultptr
;
4357 resultptr
= new wxImage((wxImage
&)(result
));
4358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4366 static PyObject
*_wrap_Bitmap_GetMask(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_GetMask",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
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4392 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4395 wxMask
*arg2
= (wxMask
*) 0 ;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4399 (char *) "self",(char *) "mask", NULL
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4404 if (SWIG_arg_fail(1)) SWIG_fail
;
4405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4406 if (SWIG_arg_fail(2)) SWIG_fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 (arg1
)->SetMask(arg2
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 Py_INCREF(Py_None
); resultobj
= Py_None
;
4421 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4423 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4424 wxColour
*arg2
= 0 ;
4426 PyObject
* obj0
= 0 ;
4427 PyObject
* obj1
= 0 ;
4429 (char *) "self",(char *) "colour", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4434 if (SWIG_arg_fail(1)) SWIG_fail
;
4437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 Py_INCREF(Py_None
); resultobj
= Py_None
;
4453 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4457 SwigValueWrapper
<wxBitmap
> result
;
4459 PyObject
* obj0
= 0 ;
4460 PyObject
* obj1
= 0 ;
4462 (char *) "self",(char *) "rect", NULL
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4467 if (SWIG_arg_fail(1)) SWIG_fail
;
4470 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4480 wxBitmap
* resultptr
;
4481 resultptr
= new wxBitmap((wxBitmap
&)(result
));
4482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4490 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4493 wxString
*arg2
= 0 ;
4495 wxPalette
*arg4
= (wxPalette
*) NULL
;
4497 bool temp2
= false ;
4498 PyObject
* obj0
= 0 ;
4499 PyObject
* obj1
= 0 ;
4500 PyObject
* obj2
= 0 ;
4501 PyObject
* obj3
= 0 ;
4503 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail
;
4510 arg2
= wxString_in_helper(obj1
);
4511 if (arg2
== NULL
) SWIG_fail
;
4515 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4516 if (SWIG_arg_fail(3)) SWIG_fail
;
4519 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4520 if (SWIG_arg_fail(4)) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4546 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
;
4548 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4549 wxString
*arg2
= 0 ;
4552 bool temp2
= false ;
4553 PyObject
* obj0
= 0 ;
4554 PyObject
* obj1
= 0 ;
4555 PyObject
* obj2
= 0 ;
4557 (char *) "self",(char *) "name",(char *) "type", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4562 if (SWIG_arg_fail(1)) SWIG_fail
;
4564 arg2
= wxString_in_helper(obj1
);
4565 if (arg2
== NULL
) SWIG_fail
;
4569 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4570 if (SWIG_arg_fail(3)) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4596 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4600 PyObject
* obj0
= 0 ;
4602 (char *) "self", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4607 if (SWIG_arg_fail(1)) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4622 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4628 PyObject
* obj1
= 0 ;
4630 (char *) "self",(char *) "icon", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4635 if (SWIG_arg_fail(1)) SWIG_fail
;
4637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4638 if (SWIG_arg_fail(2)) SWIG_fail
;
4640 SWIG_null_ref("wxIcon");
4642 if (SWIG_arg_fail(2)) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4660 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4667 (char *) "self",(char *) "height", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4672 if (SWIG_arg_fail(1)) SWIG_fail
;
4674 arg2
= (int)(SWIG_As_int(obj1
));
4675 if (SWIG_arg_fail(2)) SWIG_fail
;
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 (arg1
)->SetHeight(arg2
);
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 Py_INCREF(Py_None
); resultobj
= Py_None
;
4691 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4698 (char *) "self",(char *) "width", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4703 if (SWIG_arg_fail(1)) SWIG_fail
;
4705 arg2
= (int)(SWIG_As_int(obj1
));
4706 if (SWIG_arg_fail(2)) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 (arg1
)->SetWidth(arg2
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 Py_INCREF(Py_None
); resultobj
= Py_None
;
4722 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4724 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4726 PyObject
* obj0
= 0 ;
4727 PyObject
* obj1
= 0 ;
4729 (char *) "self",(char *) "depth", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4734 if (SWIG_arg_fail(1)) SWIG_fail
;
4736 arg2
= (int)(SWIG_As_int(obj1
));
4737 if (SWIG_arg_fail(2)) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 (arg1
)->SetDepth(arg2
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 Py_INCREF(Py_None
); resultobj
= Py_None
;
4753 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4761 (char *) "self",(char *) "size", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4766 if (SWIG_arg_fail(1)) SWIG_fail
;
4769 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 Py_INCREF(Py_None
); resultobj
= Py_None
;
4785 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
;
4787 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4788 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4790 PyObject
* obj0
= 0 ;
4791 PyObject
* obj1
= 0 ;
4793 (char *) "self",(char *) "other", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4798 if (SWIG_arg_fail(1)) SWIG_fail
;
4799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4800 if (SWIG_arg_fail(2)) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4817 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
;
4819 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4820 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4822 PyObject
* obj0
= 0 ;
4823 PyObject
* obj1
= 0 ;
4825 (char *) "self",(char *) "other", NULL
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4830 if (SWIG_arg_fail(1)) SWIG_fail
;
4831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4832 if (SWIG_arg_fail(2)) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4849 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
4851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4852 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
4854 return Py_BuildValue((char *)"");
4856 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4858 wxBitmap
*arg1
= 0 ;
4859 wxColour
const &arg2_defvalue
= wxNullColour
;
4860 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4866 (char *) "bitmap",(char *) "colour", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
4871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4872 if (SWIG_arg_fail(1)) SWIG_fail
;
4874 SWIG_null_ref("wxBitmap");
4876 if (SWIG_arg_fail(1)) SWIG_fail
;
4881 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4885 if (!wxPyCheckForApp()) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
4899 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
4901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4902 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
4904 return Py_BuildValue((char *)"");
4906 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxString
*arg1
= 0 ;
4910 int arg3
= (int) -1 ;
4911 int arg4
= (int) -1 ;
4913 bool temp1
= false ;
4914 PyObject
* obj0
= 0 ;
4915 PyObject
* obj1
= 0 ;
4916 PyObject
* obj2
= 0 ;
4917 PyObject
* obj3
= 0 ;
4919 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4924 arg1
= wxString_in_helper(obj0
);
4925 if (arg1
== NULL
) SWIG_fail
;
4929 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4930 if (SWIG_arg_fail(2)) SWIG_fail
;
4934 arg3
= (int)(SWIG_As_int(obj2
));
4935 if (SWIG_arg_fail(3)) SWIG_fail
;
4940 arg4
= (int)(SWIG_As_int(obj3
));
4941 if (SWIG_arg_fail(4)) SWIG_fail
;
4945 if (!wxPyCheckForApp()) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
4967 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxIcon
*arg1
= (wxIcon
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4972 (char *) "self", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
4976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4977 if (SWIG_arg_fail(1)) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 Py_INCREF(Py_None
); resultobj
= Py_None
;
4992 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5001 if (!wxPyCheckForApp()) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (wxIcon
*)new wxIcon();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5015 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxIconLocation
*arg1
= 0 ;
5019 PyObject
* obj0
= 0 ;
5021 (char *) "loc", NULL
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5027 if (SWIG_arg_fail(1)) SWIG_fail
;
5029 SWIG_null_ref("wxIconLocation");
5031 if (SWIG_arg_fail(1)) SWIG_fail
;
5034 if (!wxPyCheckForApp()) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5048 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxBitmap
*arg1
= 0 ;
5052 PyObject
* obj0
= 0 ;
5054 (char *) "bmp", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5060 if (SWIG_arg_fail(1)) SWIG_fail
;
5062 SWIG_null_ref("wxBitmap");
5064 if (SWIG_arg_fail(1)) SWIG_fail
;
5067 if (!wxPyCheckForApp()) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5081 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 PyObject
*arg1
= (PyObject
*) 0 ;
5085 PyObject
* obj0
= 0 ;
5087 (char *) "listOfStrings", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5093 if (!wxPyCheckForApp()) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 result
= (wxIcon
*)new_wxIcon(arg1
);
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5107 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
;
5109 wxIcon
*arg1
= (wxIcon
*) 0 ;
5110 wxString
*arg2
= 0 ;
5113 bool temp2
= false ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5116 PyObject
* obj2
= 0 ;
5118 (char *) "self",(char *) "name",(char *) "type", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5123 if (SWIG_arg_fail(1)) SWIG_fail
;
5125 arg2
= wxString_in_helper(obj1
);
5126 if (arg2
== NULL
) SWIG_fail
;
5130 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
5131 if (SWIG_arg_fail(3)) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5157 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxIcon
*arg1
= (wxIcon
*) 0 ;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "self", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= (bool)(arg1
)->Ok();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5185 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxIcon
*arg1
= (wxIcon
*) 0 ;
5189 PyObject
* obj0
= 0 ;
5191 (char *) "self", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5196 if (SWIG_arg_fail(1)) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (int)(arg1
)->GetWidth();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_From_int((int)(result
));
5213 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxIcon
*arg1
= (wxIcon
*) 0 ;
5217 PyObject
* obj0
= 0 ;
5219 (char *) "self", NULL
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5224 if (SWIG_arg_fail(1)) SWIG_fail
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= (int)(arg1
)->GetHeight();
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SWIG_From_int((int)(result
));
5241 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5243 wxIcon
*arg1
= (wxIcon
*) 0 ;
5245 PyObject
* obj0
= 0 ;
5247 (char *) "self", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5252 if (SWIG_arg_fail(1)) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (int)(arg1
)->GetDepth();
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= SWIG_From_int((int)(result
));
5269 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
*resultobj
;
5271 wxIcon
*arg1
= (wxIcon
*) 0 ;
5273 PyObject
* obj0
= 0 ;
5274 PyObject
* obj1
= 0 ;
5276 (char *) "self",(char *) "w", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5281 if (SWIG_arg_fail(1)) SWIG_fail
;
5283 arg2
= (int)(SWIG_As_int(obj1
));
5284 if (SWIG_arg_fail(2)) SWIG_fail
;
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 (arg1
)->SetWidth(arg2
);
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 Py_INCREF(Py_None
); resultobj
= Py_None
;
5300 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
;
5302 wxIcon
*arg1
= (wxIcon
*) 0 ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5307 (char *) "self",(char *) "h", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5312 if (SWIG_arg_fail(1)) SWIG_fail
;
5314 arg2
= (int)(SWIG_As_int(obj1
));
5315 if (SWIG_arg_fail(2)) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 (arg1
)->SetHeight(arg2
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 Py_INCREF(Py_None
); resultobj
= Py_None
;
5331 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
;
5333 wxIcon
*arg1
= (wxIcon
*) 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5338 (char *) "self",(char *) "d", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5343 if (SWIG_arg_fail(1)) SWIG_fail
;
5345 arg2
= (int)(SWIG_As_int(obj1
));
5346 if (SWIG_arg_fail(2)) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 (arg1
)->SetDepth(arg2
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5355 Py_INCREF(Py_None
); resultobj
= Py_None
;
5362 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxIcon
*arg1
= (wxIcon
*) 0 ;
5365 wxBitmap
*arg2
= 0 ;
5366 PyObject
* obj0
= 0 ;
5367 PyObject
* obj1
= 0 ;
5369 (char *) "self",(char *) "bmp", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5374 if (SWIG_arg_fail(1)) SWIG_fail
;
5376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5377 if (SWIG_arg_fail(2)) SWIG_fail
;
5379 SWIG_null_ref("wxBitmap");
5381 if (SWIG_arg_fail(2)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 Py_INCREF(Py_None
); resultobj
= Py_None
;
5397 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5400 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5402 return Py_BuildValue((char *)"");
5404 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5407 int arg2
= (int) 0 ;
5408 wxIconLocation
*result
;
5409 bool temp1
= false ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5413 (char *) "filename",(char *) "num", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5419 arg1
= wxString_in_helper(obj0
);
5420 if (arg1
== NULL
) SWIG_fail
;
5426 arg2
= (int)(SWIG_As_int(obj1
));
5427 if (SWIG_arg_fail(2)) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5452 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5457 (char *) "self", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5462 if (SWIG_arg_fail(1)) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 Py_INCREF(Py_None
); resultobj
= Py_None
;
5477 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5483 (char *) "self", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5488 if (SWIG_arg_fail(1)) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5505 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5508 wxString
*arg2
= 0 ;
5509 bool temp2
= false ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5513 (char *) "self",(char *) "filename", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5518 if (SWIG_arg_fail(1)) SWIG_fail
;
5520 arg2
= wxString_in_helper(obj1
);
5521 if (arg2
== NULL
) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 (arg1
)->SetFileName((wxString
const &)*arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 Py_INCREF(Py_None
); resultobj
= Py_None
;
5546 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5550 PyObject
* obj0
= 0 ;
5552 (char *) "self", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5557 if (SWIG_arg_fail(1)) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5562 result
= (wxString
*) &_result_ref
;
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5572 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5581 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5585 PyObject
* obj0
= 0 ;
5586 PyObject
* obj1
= 0 ;
5588 (char *) "self",(char *) "num", NULL
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5593 if (SWIG_arg_fail(1)) SWIG_fail
;
5595 arg2
= (int)(SWIG_As_int(obj1
));
5596 if (SWIG_arg_fail(2)) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 wxIconLocation_SetIndex(arg1
,arg2
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 Py_INCREF(Py_None
); resultobj
= Py_None
;
5612 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
;
5614 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5616 PyObject
* obj0
= 0 ;
5618 (char *) "self", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5623 if (SWIG_arg_fail(1)) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (int)wxIconLocation_GetIndex(arg1
);
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_From_int((int)(result
));
5640 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5643 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5645 return Py_BuildValue((char *)"");
5647 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxIconBundle
*result
;
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (wxIconBundle
*)new wxIconBundle();
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5669 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
;
5671 wxString
*arg1
= 0 ;
5673 wxIconBundle
*result
;
5674 bool temp1
= false ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5678 (char *) "file",(char *) "type", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5683 arg1
= wxString_in_helper(obj0
);
5684 if (arg1
== NULL
) SWIG_fail
;
5688 arg2
= (long)(SWIG_As_long(obj1
));
5689 if (SWIG_arg_fail(2)) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5713 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5716 wxIconBundle
*result
;
5717 PyObject
* obj0
= 0 ;
5719 (char *) "icon", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
5724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5725 if (SWIG_arg_fail(1)) SWIG_fail
;
5727 SWIG_null_ref("wxIcon");
5729 if (SWIG_arg_fail(1)) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5745 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5748 PyObject
* obj0
= 0 ;
5750 (char *) "self", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
5754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5755 if (SWIG_arg_fail(1)) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 Py_INCREF(Py_None
); resultobj
= Py_None
;
5770 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5774 PyObject
* obj0
= 0 ;
5775 PyObject
* obj1
= 0 ;
5777 (char *) "self",(char *) "icon", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5782 if (SWIG_arg_fail(1)) SWIG_fail
;
5784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5785 if (SWIG_arg_fail(2)) SWIG_fail
;
5787 SWIG_null_ref("wxIcon");
5789 if (SWIG_arg_fail(2)) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5808 wxString
*arg2
= 0 ;
5810 bool temp2
= false ;
5811 PyObject
* obj0
= 0 ;
5812 PyObject
* obj1
= 0 ;
5813 PyObject
* obj2
= 0 ;
5815 (char *) "self",(char *) "file",(char *) "type", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5820 if (SWIG_arg_fail(1)) SWIG_fail
;
5822 arg2
= wxString_in_helper(obj1
);
5823 if (arg2
== NULL
) SWIG_fail
;
5827 arg3
= (long)(SWIG_As_long(obj2
));
5828 if (SWIG_arg_fail(3)) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 Py_INCREF(Py_None
); resultobj
= Py_None
;
5852 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
;
5854 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5858 PyObject
* obj0
= 0 ;
5859 PyObject
* obj1
= 0 ;
5861 (char *) "self",(char *) "size", NULL
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5866 if (SWIG_arg_fail(1)) SWIG_fail
;
5869 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
5875 result
= (wxIcon
*) &_result_ref
;
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5882 wxIcon
* resultptr
= new wxIcon(*result
);
5883 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
5891 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
5893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5894 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
5896 return Py_BuildValue((char *)"");
5898 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxString
*arg1
= (wxString
*) 0 ;
5902 int arg3
= (int) 0 ;
5903 int arg4
= (int) 0 ;
5905 bool temp1
= false ;
5906 PyObject
* obj0
= 0 ;
5907 PyObject
* obj1
= 0 ;
5908 PyObject
* obj2
= 0 ;
5909 PyObject
* obj3
= 0 ;
5911 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5916 arg1
= wxString_in_helper(obj0
);
5917 if (arg1
== NULL
) SWIG_fail
;
5921 arg2
= (long)(SWIG_As_long(obj1
));
5922 if (SWIG_arg_fail(2)) SWIG_fail
;
5926 arg3
= (int)(SWIG_As_int(obj2
));
5927 if (SWIG_arg_fail(3)) SWIG_fail
;
5932 arg4
= (int)(SWIG_As_int(obj3
));
5933 if (SWIG_arg_fail(4)) SWIG_fail
;
5937 if (!wxPyCheckForApp()) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
5959 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
;
5961 wxCursor
*arg1
= (wxCursor
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5964 (char *) "self", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
5968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5969 if (SWIG_arg_fail(1)) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 Py_INCREF(Py_None
); resultobj
= Py_None
;
5984 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5988 PyObject
* obj0
= 0 ;
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
5995 arg1
= (int)(SWIG_As_int(obj0
));
5996 if (SWIG_arg_fail(1)) SWIG_fail
;
5999 if (!wxPyCheckForApp()) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 result
= (wxCursor
*)new wxCursor(arg1
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6013 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6017 PyObject
* obj0
= 0 ;
6019 (char *) "image", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6025 if (SWIG_arg_fail(1)) SWIG_fail
;
6027 SWIG_null_ref("wxImage");
6029 if (SWIG_arg_fail(1)) SWIG_fail
;
6032 if (!wxPyCheckForApp()) SWIG_fail
;
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6046 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxCursor
*arg1
= (wxCursor
*) 0 ;
6050 PyObject
* obj0
= 0 ;
6052 (char *) "self", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6057 if (SWIG_arg_fail(1)) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (bool)(arg1
)->Ok();
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6074 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6077 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6079 return Py_BuildValue((char *)"");
6081 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
;
6083 int arg1
= (int) 0 ;
6084 int arg2
= (int) 0 ;
6085 int arg3
= (int) 0 ;
6086 int arg4
= (int) 0 ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6093 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6099 arg1
= (int)(SWIG_As_int(obj0
));
6100 if (SWIG_arg_fail(1)) SWIG_fail
;
6105 arg2
= (int)(SWIG_As_int(obj1
));
6106 if (SWIG_arg_fail(2)) SWIG_fail
;
6111 arg3
= (int)(SWIG_As_int(obj2
));
6112 if (SWIG_arg_fail(3)) SWIG_fail
;
6117 arg4
= (int)(SWIG_As_int(obj3
));
6118 if (SWIG_arg_fail(4)) SWIG_fail
;
6122 if (!wxPyCheckForApp()) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6136 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxBitmap
*arg1
= 0 ;
6140 PyObject
* obj0
= 0 ;
6142 (char *) "bmp", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6148 if (SWIG_arg_fail(1)) SWIG_fail
;
6150 SWIG_null_ref("wxBitmap");
6152 if (SWIG_arg_fail(1)) SWIG_fail
;
6155 if (!wxPyCheckForApp()) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6169 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxBitmap
*arg1
= 0 ;
6172 wxColour
*arg2
= 0 ;
6173 int arg3
= (int) 0 ;
6176 PyObject
* obj0
= 0 ;
6177 PyObject
* obj1
= 0 ;
6178 PyObject
* obj2
= 0 ;
6180 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6186 if (SWIG_arg_fail(1)) SWIG_fail
;
6188 SWIG_null_ref("wxBitmap");
6190 if (SWIG_arg_fail(1)) SWIG_fail
;
6194 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6198 arg3
= (int)(SWIG_As_int(obj2
));
6199 if (SWIG_arg_fail(3)) SWIG_fail
;
6203 if (!wxPyCheckForApp()) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6217 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6220 wxPoint
*arg2
= (wxPoint
*) 0 ;
6221 int arg3
= (int) wxWINDING_RULE
;
6223 PyObject
* obj0
= 0 ;
6224 PyObject
* obj1
= 0 ;
6226 (char *) "points",(char *) "fillStyle", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6231 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6232 if (arg2
== NULL
) SWIG_fail
;
6236 arg3
= (int)(SWIG_As_int(obj1
));
6237 if (SWIG_arg_fail(3)) SWIG_fail
;
6241 if (!wxPyCheckForApp()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6250 if (arg2
) delete [] arg2
;
6255 if (arg2
) delete [] arg2
;
6261 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6263 wxRegion
*arg1
= (wxRegion
*) 0 ;
6264 PyObject
* obj0
= 0 ;
6266 (char *) "self", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6271 if (SWIG_arg_fail(1)) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 Py_INCREF(Py_None
); resultobj
= Py_None
;
6286 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
;
6288 wxRegion
*arg1
= (wxRegion
*) 0 ;
6289 PyObject
* obj0
= 0 ;
6291 (char *) "self", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6296 if (SWIG_arg_fail(1)) SWIG_fail
;
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 wxPyEndAllowThreads(__tstate
);
6302 if (PyErr_Occurred()) SWIG_fail
;
6304 Py_INCREF(Py_None
); resultobj
= Py_None
;
6311 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
;
6313 wxRegion
*arg1
= (wxRegion
*) 0 ;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj1
= 0 ;
6319 PyObject
* obj2
= 0 ;
6321 (char *) "self",(char *) "x",(char *) "y", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6326 if (SWIG_arg_fail(1)) SWIG_fail
;
6328 arg2
= (int)(SWIG_As_int(obj1
));
6329 if (SWIG_arg_fail(2)) SWIG_fail
;
6332 arg3
= (int)(SWIG_As_int(obj2
));
6333 if (SWIG_arg_fail(3)) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6351 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxRegion
*arg1
= (wxRegion
*) 0 ;
6356 wxRegionContain result
;
6357 PyObject
* obj0
= 0 ;
6358 PyObject
* obj1
= 0 ;
6359 PyObject
* obj2
= 0 ;
6361 (char *) "self",(char *) "x",(char *) "y", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6366 if (SWIG_arg_fail(1)) SWIG_fail
;
6368 arg2
= (int)(SWIG_As_int(obj1
));
6369 if (SWIG_arg_fail(2)) SWIG_fail
;
6372 arg3
= (int)(SWIG_As_int(obj2
));
6373 if (SWIG_arg_fail(3)) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_From_int((result
));
6389 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxRegion
*arg1
= (wxRegion
*) 0 ;
6393 wxRegionContain result
;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6398 (char *) "self",(char *) "pt", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6403 if (SWIG_arg_fail(1)) SWIG_fail
;
6406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 resultobj
= SWIG_From_int((result
));
6422 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxRegion
*arg1
= (wxRegion
*) 0 ;
6426 wxRegionContain result
;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6431 (char *) "self",(char *) "rect", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6436 if (SWIG_arg_fail(1)) SWIG_fail
;
6439 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_From_int((result
));
6455 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxRegion
*arg1
= (wxRegion
*) 0 ;
6462 wxRegionContain result
;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 PyObject
* obj2
= 0 ;
6466 PyObject
* obj3
= 0 ;
6467 PyObject
* obj4
= 0 ;
6469 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6474 if (SWIG_arg_fail(1)) SWIG_fail
;
6476 arg2
= (int)(SWIG_As_int(obj1
));
6477 if (SWIG_arg_fail(2)) SWIG_fail
;
6480 arg3
= (int)(SWIG_As_int(obj2
));
6481 if (SWIG_arg_fail(3)) SWIG_fail
;
6484 arg4
= (int)(SWIG_As_int(obj3
));
6485 if (SWIG_arg_fail(4)) SWIG_fail
;
6488 arg5
= (int)(SWIG_As_int(obj4
));
6489 if (SWIG_arg_fail(5)) SWIG_fail
;
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 resultobj
= SWIG_From_int((result
));
6505 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxRegion
*arg1
= (wxRegion
*) 0 ;
6509 PyObject
* obj0
= 0 ;
6511 (char *) "self", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
6515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6516 if (SWIG_arg_fail(1)) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= (arg1
)->GetBox();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6526 resultptr
= new wxRect((wxRect
&)(result
));
6527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6535 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxRegion
*arg1
= (wxRegion
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6544 PyObject
* obj1
= 0 ;
6545 PyObject
* obj2
= 0 ;
6546 PyObject
* obj3
= 0 ;
6547 PyObject
* obj4
= 0 ;
6549 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6554 if (SWIG_arg_fail(1)) SWIG_fail
;
6556 arg2
= (int)(SWIG_As_int(obj1
));
6557 if (SWIG_arg_fail(2)) SWIG_fail
;
6560 arg3
= (int)(SWIG_As_int(obj2
));
6561 if (SWIG_arg_fail(3)) SWIG_fail
;
6564 arg4
= (int)(SWIG_As_int(obj3
));
6565 if (SWIG_arg_fail(4)) SWIG_fail
;
6568 arg5
= (int)(SWIG_As_int(obj4
));
6569 if (SWIG_arg_fail(5)) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6587 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
*resultobj
;
6589 wxRegion
*arg1
= (wxRegion
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6596 (char *) "self",(char *) "rect", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6601 if (SWIG_arg_fail(1)) SWIG_fail
;
6604 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6622 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 wxRegion
*arg1
= (wxRegion
*) 0 ;
6625 wxRegion
*arg2
= 0 ;
6627 PyObject
* obj0
= 0 ;
6628 PyObject
* obj1
= 0 ;
6630 (char *) "self",(char *) "region", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6635 if (SWIG_arg_fail(1)) SWIG_fail
;
6637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6638 if (SWIG_arg_fail(2)) SWIG_fail
;
6640 SWIG_null_ref("wxRegion");
6642 if (SWIG_arg_fail(2)) SWIG_fail
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6660 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxRegion
*arg1
= (wxRegion
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6666 (char *) "self", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
6670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6671 if (SWIG_arg_fail(1)) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (bool)(arg1
)->IsEmpty();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6688 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxRegion
*arg1
= (wxRegion
*) 0 ;
6696 PyObject
* obj0
= 0 ;
6697 PyObject
* obj1
= 0 ;
6698 PyObject
* obj2
= 0 ;
6699 PyObject
* obj3
= 0 ;
6700 PyObject
* obj4
= 0 ;
6702 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6707 if (SWIG_arg_fail(1)) SWIG_fail
;
6709 arg2
= (int)(SWIG_As_int(obj1
));
6710 if (SWIG_arg_fail(2)) SWIG_fail
;
6713 arg3
= (int)(SWIG_As_int(obj2
));
6714 if (SWIG_arg_fail(3)) SWIG_fail
;
6717 arg4
= (int)(SWIG_As_int(obj3
));
6718 if (SWIG_arg_fail(4)) SWIG_fail
;
6721 arg5
= (int)(SWIG_As_int(obj4
));
6722 if (SWIG_arg_fail(5)) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6740 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxRegion
*arg1
= (wxRegion
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6749 (char *) "self",(char *) "rect", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6754 if (SWIG_arg_fail(1)) SWIG_fail
;
6757 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6775 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxRegion
*arg1
= (wxRegion
*) 0 ;
6778 wxRegion
*arg2
= 0 ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6783 (char *) "self",(char *) "region", NULL
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6788 if (SWIG_arg_fail(1)) SWIG_fail
;
6790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6791 if (SWIG_arg_fail(2)) SWIG_fail
;
6793 SWIG_null_ref("wxRegion");
6795 if (SWIG_arg_fail(2)) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6813 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxRegion
*arg1
= (wxRegion
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 PyObject
* obj2
= 0 ;
6824 PyObject
* obj3
= 0 ;
6825 PyObject
* obj4
= 0 ;
6827 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6832 if (SWIG_arg_fail(1)) SWIG_fail
;
6834 arg2
= (int)(SWIG_As_int(obj1
));
6835 if (SWIG_arg_fail(2)) SWIG_fail
;
6838 arg3
= (int)(SWIG_As_int(obj2
));
6839 if (SWIG_arg_fail(3)) SWIG_fail
;
6842 arg4
= (int)(SWIG_As_int(obj3
));
6843 if (SWIG_arg_fail(4)) SWIG_fail
;
6846 arg5
= (int)(SWIG_As_int(obj4
));
6847 if (SWIG_arg_fail(5)) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6865 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
;
6867 wxRegion
*arg1
= (wxRegion
*) 0 ;
6871 PyObject
* obj0
= 0 ;
6872 PyObject
* obj1
= 0 ;
6874 (char *) "self",(char *) "rect", NULL
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6879 if (SWIG_arg_fail(1)) SWIG_fail
;
6882 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6900 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxRegion
*arg1
= (wxRegion
*) 0 ;
6903 wxRegion
*arg2
= 0 ;
6905 PyObject
* obj0
= 0 ;
6906 PyObject
* obj1
= 0 ;
6908 (char *) "self",(char *) "region", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6913 if (SWIG_arg_fail(1)) SWIG_fail
;
6915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6916 if (SWIG_arg_fail(2)) SWIG_fail
;
6918 SWIG_null_ref("wxRegion");
6920 if (SWIG_arg_fail(2)) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6938 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxRegion
*arg1
= (wxRegion
*) 0 ;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6948 PyObject
* obj2
= 0 ;
6949 PyObject
* obj3
= 0 ;
6950 PyObject
* obj4
= 0 ;
6952 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6957 if (SWIG_arg_fail(1)) SWIG_fail
;
6959 arg2
= (int)(SWIG_As_int(obj1
));
6960 if (SWIG_arg_fail(2)) SWIG_fail
;
6963 arg3
= (int)(SWIG_As_int(obj2
));
6964 if (SWIG_arg_fail(3)) SWIG_fail
;
6967 arg4
= (int)(SWIG_As_int(obj3
));
6968 if (SWIG_arg_fail(4)) SWIG_fail
;
6971 arg5
= (int)(SWIG_As_int(obj4
));
6972 if (SWIG_arg_fail(5)) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6990 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxRegion
*arg1
= (wxRegion
*) 0 ;
6996 PyObject
* obj0
= 0 ;
6997 PyObject
* obj1
= 0 ;
6999 (char *) "self",(char *) "rect", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7004 if (SWIG_arg_fail(1)) SWIG_fail
;
7007 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7025 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxRegion
*arg1
= (wxRegion
*) 0 ;
7028 wxRegion
*arg2
= 0 ;
7030 PyObject
* obj0
= 0 ;
7031 PyObject
* obj1
= 0 ;
7033 (char *) "self",(char *) "region", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7038 if (SWIG_arg_fail(1)) SWIG_fail
;
7040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7041 if (SWIG_arg_fail(2)) SWIG_fail
;
7043 SWIG_null_ref("wxRegion");
7045 if (SWIG_arg_fail(2)) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7063 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxRegion
*arg1
= (wxRegion
*) 0 ;
7066 SwigValueWrapper
<wxBitmap
> result
;
7067 PyObject
* obj0
= 0 ;
7069 (char *) "self", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7074 if (SWIG_arg_fail(1)) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 result
= (arg1
)->ConvertToBitmap();
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7083 wxBitmap
* resultptr
;
7084 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7093 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxRegion
*arg1
= (wxRegion
*) 0 ;
7096 wxBitmap
*arg2
= 0 ;
7098 PyObject
* obj0
= 0 ;
7099 PyObject
* obj1
= 0 ;
7101 (char *) "self",(char *) "bmp", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7106 if (SWIG_arg_fail(1)) SWIG_fail
;
7108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7109 if (SWIG_arg_fail(2)) SWIG_fail
;
7111 SWIG_null_ref("wxBitmap");
7113 if (SWIG_arg_fail(2)) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7131 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxRegion
*arg1
= (wxRegion
*) 0 ;
7134 wxBitmap
*arg2
= 0 ;
7135 wxColour
*arg3
= 0 ;
7136 int arg4
= (int) 0 ;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7141 PyObject
* obj2
= 0 ;
7142 PyObject
* obj3
= 0 ;
7144 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7149 if (SWIG_arg_fail(1)) SWIG_fail
;
7151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7152 if (SWIG_arg_fail(2)) SWIG_fail
;
7154 SWIG_null_ref("wxBitmap");
7156 if (SWIG_arg_fail(2)) SWIG_fail
;
7160 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7164 arg4
= (int)(SWIG_As_int(obj3
));
7165 if (SWIG_arg_fail(4)) SWIG_fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7184 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7187 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7189 return Py_BuildValue((char *)"");
7191 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxRegion
*arg1
= 0 ;
7194 wxRegionIterator
*result
;
7195 PyObject
* obj0
= 0 ;
7197 (char *) "region", NULL
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7203 if (SWIG_arg_fail(1)) SWIG_fail
;
7205 SWIG_null_ref("wxRegion");
7207 if (SWIG_arg_fail(1)) SWIG_fail
;
7210 if (!wxPyCheckForApp()) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7224 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7234 if (SWIG_arg_fail(1)) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 Py_INCREF(Py_None
); resultobj
= Py_None
;
7249 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7255 (char *) "self", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7260 if (SWIG_arg_fail(1)) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (int)(arg1
)->GetX();
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7269 resultobj
= SWIG_From_int((int)(result
));
7277 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7283 (char *) "self", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7288 if (SWIG_arg_fail(1)) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 result
= (int)(arg1
)->GetY();
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= SWIG_From_int((int)(result
));
7305 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7307 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7309 PyObject
* obj0
= 0 ;
7311 (char *) "self", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7316 if (SWIG_arg_fail(1)) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= (int)(arg1
)->GetW();
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= SWIG_From_int((int)(result
));
7333 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7337 PyObject
* obj0
= 0 ;
7339 (char *) "self", NULL
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7344 if (SWIG_arg_fail(1)) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (int)(arg1
)->GetWidth();
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_From_int((int)(result
));
7361 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7367 (char *) "self", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7372 if (SWIG_arg_fail(1)) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (int)(arg1
)->GetH();
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_From_int((int)(result
));
7389 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7393 PyObject
* obj0
= 0 ;
7395 (char *) "self", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7400 if (SWIG_arg_fail(1)) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (int)(arg1
)->GetHeight();
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= SWIG_From_int((int)(result
));
7417 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7421 PyObject
* obj0
= 0 ;
7423 (char *) "self", NULL
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
7427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7428 if (SWIG_arg_fail(1)) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 result
= (arg1
)->GetRect();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7438 resultptr
= new wxRect((wxRect
&)(result
));
7439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7447 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7453 (char *) "self", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
7457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7458 if (SWIG_arg_fail(1)) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= (bool)(arg1
)->HaveRects();
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7475 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7478 PyObject
* obj0
= 0 ;
7480 (char *) "self", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
7484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7485 if (SWIG_arg_fail(1)) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 Py_INCREF(Py_None
); resultobj
= Py_None
;
7500 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7503 PyObject
* obj0
= 0 ;
7505 (char *) "self", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
7509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7510 if (SWIG_arg_fail(1)) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 wxRegionIterator_Next(arg1
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 Py_INCREF(Py_None
); resultobj
= Py_None
;
7525 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7527 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7529 PyObject
* obj0
= 0 ;
7531 (char *) "self", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
7535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7536 if (SWIG_arg_fail(1)) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (bool)wxRegionIterator___nonzero__(arg1
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7553 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
7555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7556 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
7558 return Py_BuildValue((char *)"");
7560 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
;
7562 wxNativeFontInfo
*result
;
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
7582 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7587 (char *) "self", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
7591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7592 if (SWIG_arg_fail(1)) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 Py_INCREF(Py_None
); resultobj
= Py_None
;
7607 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7610 PyObject
* obj0
= 0 ;
7612 (char *) "self", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
7616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7617 if (SWIG_arg_fail(1)) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 Py_INCREF(Py_None
); resultobj
= Py_None
;
7632 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7636 PyObject
* obj0
= 0 ;
7637 PyObject
* obj1
= 0 ;
7639 (char *) "self",(char *) "font", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
7643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7644 if (SWIG_arg_fail(1)) SWIG_fail
;
7646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7647 if (SWIG_arg_fail(2)) SWIG_fail
;
7649 SWIG_null_ref("wxFont");
7651 if (SWIG_arg_fail(2)) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 Py_INCREF(Py_None
); resultobj
= Py_None
;
7667 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7671 PyObject
* obj0
= 0 ;
7673 (char *) "self", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
7677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7678 if (SWIG_arg_fail(1)) SWIG_fail
;
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= SWIG_From_int((int)(result
));
7695 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7699 PyObject
* obj0
= 0 ;
7701 (char *) "self", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
7705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7706 if (SWIG_arg_fail(1)) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= SWIG_From_int((result
));
7721 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
*resultobj
;
7723 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7724 wxFontWeight result
;
7725 PyObject
* obj0
= 0 ;
7727 (char *) "self", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
7731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= SWIG_From_int((result
));
7747 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7753 (char *) "self", NULL
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7758 if (SWIG_arg_fail(1)) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7775 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "self", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
7785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7786 if (SWIG_arg_fail(1)) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7807 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7810 wxFontFamily result
;
7811 PyObject
* obj0
= 0 ;
7813 (char *) "self", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
7817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7818 if (SWIG_arg_fail(1)) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_From_int((result
));
7833 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7836 wxFontEncoding result
;
7837 PyObject
* obj0
= 0 ;
7839 (char *) "self", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
7843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7844 if (SWIG_arg_fail(1)) SWIG_fail
;
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7852 resultobj
= SWIG_From_int((result
));
7859 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7863 PyObject
* obj0
= 0 ;
7864 PyObject
* obj1
= 0 ;
7866 (char *) "self",(char *) "pointsize", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7871 if (SWIG_arg_fail(1)) SWIG_fail
;
7873 arg2
= (int)(SWIG_As_int(obj1
));
7874 if (SWIG_arg_fail(2)) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 (arg1
)->SetPointSize(arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 Py_INCREF(Py_None
); resultobj
= Py_None
;
7890 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7894 PyObject
* obj0
= 0 ;
7895 PyObject
* obj1
= 0 ;
7897 (char *) "self",(char *) "style", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7902 if (SWIG_arg_fail(1)) SWIG_fail
;
7904 arg2
= (wxFontStyle
)(SWIG_As_int(obj1
));
7905 if (SWIG_arg_fail(2)) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 (arg1
)->SetStyle((wxFontStyle
)arg2
);
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7914 Py_INCREF(Py_None
); resultobj
= Py_None
;
7921 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7923 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7925 PyObject
* obj0
= 0 ;
7926 PyObject
* obj1
= 0 ;
7928 (char *) "self",(char *) "weight", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail
;
7935 arg2
= (wxFontWeight
)(SWIG_As_int(obj1
));
7936 if (SWIG_arg_fail(2)) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 (arg1
)->SetWeight((wxFontWeight
)arg2
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 Py_INCREF(Py_None
); resultobj
= Py_None
;
7952 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7956 PyObject
* obj0
= 0 ;
7957 PyObject
* obj1
= 0 ;
7959 (char *) "self",(char *) "underlined", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7964 if (SWIG_arg_fail(1)) SWIG_fail
;
7966 arg2
= (bool)(SWIG_As_bool(obj1
));
7967 if (SWIG_arg_fail(2)) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 (arg1
)->SetUnderlined(arg2
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 Py_INCREF(Py_None
); resultobj
= Py_None
;
7983 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7988 PyObject
* obj1
= 0 ;
7990 (char *) "self",(char *) "facename", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7995 if (SWIG_arg_fail(1)) SWIG_fail
;
7997 wxString
* sptr
= wxString_in_helper(obj1
);
7998 if (sptr
== NULL
) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 (arg1
)->SetFaceName(arg2
);
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 Py_INCREF(Py_None
); resultobj
= Py_None
;
8016 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8020 PyObject
* obj0
= 0 ;
8021 PyObject
* obj1
= 0 ;
8023 (char *) "self",(char *) "family", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8028 if (SWIG_arg_fail(1)) SWIG_fail
;
8030 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
8031 if (SWIG_arg_fail(2)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 (arg1
)->SetFamily((wxFontFamily
)arg2
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 Py_INCREF(Py_None
); resultobj
= Py_None
;
8047 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8050 wxFontEncoding arg2
;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8054 (char *) "self",(char *) "encoding", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail
;
8061 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8062 if (SWIG_arg_fail(2)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8081 wxString
*arg2
= 0 ;
8083 bool temp2
= false ;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8087 (char *) "self",(char *) "s", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail
;
8094 arg2
= wxString_in_helper(obj1
);
8095 if (arg2
== NULL
) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8122 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
*resultobj
;
8124 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8126 PyObject
* obj0
= 0 ;
8128 (char *) "self", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8133 if (SWIG_arg_fail(1)) SWIG_fail
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8154 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8160 (char *) "self", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail
;
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 result
= wxNativeFontInfo___str__(arg1
);
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8186 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8189 wxString
*arg2
= 0 ;
8191 bool temp2
= false ;
8192 PyObject
* obj0
= 0 ;
8193 PyObject
* obj1
= 0 ;
8195 (char *) "self",(char *) "s", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
8199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8200 if (SWIG_arg_fail(1)) SWIG_fail
;
8202 arg2
= wxString_in_helper(obj1
);
8203 if (arg2
== NULL
) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8230 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8234 PyObject
* obj0
= 0 ;
8236 (char *) "self", NULL
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8241 if (SWIG_arg_fail(1)) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8262 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8265 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8267 return Py_BuildValue((char *)"");
8269 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8272 wxString
*arg2
= (wxString
*) 0 ;
8273 bool temp2
= false ;
8274 PyObject
* obj0
= 0 ;
8275 PyObject
* obj1
= 0 ;
8277 (char *) "self",(char *) "facename", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8282 if (SWIG_arg_fail(1)) SWIG_fail
;
8284 arg2
= wxString_in_helper(obj1
);
8285 if (arg2
== NULL
) SWIG_fail
;
8288 if (arg1
) (arg1
)->facename
= *arg2
;
8290 Py_INCREF(Py_None
); resultobj
= Py_None
;
8305 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8309 PyObject
* obj0
= 0 ;
8311 (char *) "self", NULL
8314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8316 if (SWIG_arg_fail(1)) SWIG_fail
;
8317 result
= (wxString
*)& ((arg1
)->facename
);
8321 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8323 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8332 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8335 wxFontEncoding arg2
;
8336 PyObject
* obj0
= 0 ;
8337 PyObject
* obj1
= 0 ;
8339 (char *) "self",(char *) "encoding", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8344 if (SWIG_arg_fail(1)) SWIG_fail
;
8346 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8347 if (SWIG_arg_fail(2)) SWIG_fail
;
8349 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
8351 Py_INCREF(Py_None
); resultobj
= Py_None
;
8358 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8361 wxFontEncoding result
;
8362 PyObject
* obj0
= 0 ;
8364 (char *) "self", NULL
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
8368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8369 if (SWIG_arg_fail(1)) SWIG_fail
;
8370 result
= (wxFontEncoding
) ((arg1
)->encoding
);
8372 resultobj
= SWIG_From_int((result
));
8379 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxNativeEncodingInfo
*result
;
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
8401 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8406 (char *) "self", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
8410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 Py_INCREF(Py_None
); resultobj
= Py_None
;
8426 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
*resultobj
;
8428 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8429 wxString
*arg2
= 0 ;
8431 bool temp2
= false ;
8432 PyObject
* obj0
= 0 ;
8433 PyObject
* obj1
= 0 ;
8435 (char *) "self",(char *) "s", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8440 if (SWIG_arg_fail(1)) SWIG_fail
;
8442 arg2
= wxString_in_helper(obj1
);
8443 if (arg2
== NULL
) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8470 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8474 PyObject
* obj0
= 0 ;
8476 (char *) "self", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
8480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8481 if (SWIG_arg_fail(1)) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8502 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
8504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8505 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
8507 return Py_BuildValue((char *)"");
8509 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxFontEncoding arg1
;
8512 wxNativeEncodingInfo
*result
;
8513 PyObject
* obj0
= 0 ;
8515 (char *) "encoding", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
8520 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8521 if (SWIG_arg_fail(1)) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
8537 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
;
8539 wxNativeEncodingInfo
*arg1
= 0 ;
8541 PyObject
* obj0
= 0 ;
8543 (char *) "info", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
8548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8549 if (SWIG_arg_fail(1)) SWIG_fail
;
8551 SWIG_null_ref("wxNativeEncodingInfo");
8553 if (SWIG_arg_fail(1)) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8571 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxFontMapper
*result
;
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (wxFontMapper
*)new wxFontMapper();
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
8593 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
;
8595 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8596 PyObject
* obj0
= 0 ;
8598 (char *) "self", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
8602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8603 if (SWIG_arg_fail(1)) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 Py_INCREF(Py_None
); resultobj
= Py_None
;
8618 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxFontMapper
*result
;
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (wxFontMapper
*)wxFontMapper::Get();
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8640 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8643 wxFontMapper
*result
;
8644 PyObject
* obj0
= 0 ;
8646 (char *) "mapper", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
8650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8651 if (SWIG_arg_fail(1)) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8666 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8669 wxString
*arg2
= 0 ;
8670 bool arg3
= (bool) true ;
8671 wxFontEncoding result
;
8672 bool temp2
= false ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8675 PyObject
* obj2
= 0 ;
8677 (char *) "self",(char *) "charset",(char *) "interactive", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8682 if (SWIG_arg_fail(1)) SWIG_fail
;
8684 arg2
= wxString_in_helper(obj1
);
8685 if (arg2
== NULL
) SWIG_fail
;
8690 arg3
= (bool)(SWIG_As_bool(obj2
));
8691 if (SWIG_arg_fail(3)) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_From_int((result
));
8716 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8717 PyObject
*resultobj
;
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8732 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8740 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
;
8743 wxFontEncoding result
;
8744 PyObject
* obj0
= 0 ;
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
8751 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8752 if (SWIG_arg_fail(1)) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 resultobj
= SWIG_From_int((result
));
8768 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxFontEncoding arg1
;
8772 PyObject
* obj0
= 0 ;
8774 (char *) "encoding", NULL
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
8779 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8780 if (SWIG_arg_fail(1)) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8802 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxFontEncoding arg1
;
8806 PyObject
* obj0
= 0 ;
8808 (char *) "encoding", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
8813 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8814 if (SWIG_arg_fail(1)) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8836 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxString
*arg1
= 0 ;
8839 wxFontEncoding result
;
8840 bool temp1
= false ;
8841 PyObject
* obj0
= 0 ;
8843 (char *) "name", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
8848 arg1
= wxString_in_helper(obj0
);
8849 if (arg1
== NULL
) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= SWIG_From_int((result
));
8874 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8877 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8881 (char *) "self",(char *) "config", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
8885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8886 if (SWIG_arg_fail(1)) SWIG_fail
;
8887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8888 if (SWIG_arg_fail(2)) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 (arg1
)->SetConfig(arg2
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 Py_INCREF(Py_None
); resultobj
= Py_None
;
8903 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8906 wxString
*arg2
= 0 ;
8907 bool temp2
= false ;
8908 PyObject
* obj0
= 0 ;
8909 PyObject
* obj1
= 0 ;
8911 (char *) "self",(char *) "prefix", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8916 if (SWIG_arg_fail(1)) SWIG_fail
;
8918 arg2
= wxString_in_helper(obj1
);
8919 if (arg2
== NULL
) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= wxFontMapper::GetDefaultConfigPath();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8972 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8975 wxFontEncoding arg2
;
8976 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8977 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8978 bool arg4
= (bool) true ;
8980 bool temp3
= false ;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8983 PyObject
* obj2
= 0 ;
8984 PyObject
* obj3
= 0 ;
8986 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail
;
8993 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8994 if (SWIG_arg_fail(2)) SWIG_fail
;
8998 arg3
= wxString_in_helper(obj2
);
8999 if (arg3
== NULL
) SWIG_fail
;
9005 arg4
= (bool)(SWIG_As_bool(obj3
));
9006 if (SWIG_arg_fail(4)) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9031 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9034 wxFontEncoding arg2
;
9035 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9036 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9038 bool temp3
= false ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9041 PyObject
* obj2
= 0 ;
9043 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9048 if (SWIG_arg_fail(1)) SWIG_fail
;
9050 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9051 if (SWIG_arg_fail(2)) SWIG_fail
;
9055 arg3
= wxString_in_helper(obj2
);
9056 if (arg3
== NULL
) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9084 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9087 wxWindow
*arg2
= (wxWindow
*) 0 ;
9088 PyObject
* obj0
= 0 ;
9089 PyObject
* obj1
= 0 ;
9091 (char *) "self",(char *) "parent", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail
;
9097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9098 if (SWIG_arg_fail(2)) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 (arg1
)->SetDialogParent(arg2
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 Py_INCREF(Py_None
); resultobj
= Py_None
;
9113 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9116 wxString
*arg2
= 0 ;
9117 bool temp2
= false ;
9118 PyObject
* obj0
= 0 ;
9119 PyObject
* obj1
= 0 ;
9121 (char *) "self",(char *) "title", NULL
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9126 if (SWIG_arg_fail(1)) SWIG_fail
;
9128 arg2
= wxString_in_helper(obj1
);
9129 if (arg2
== NULL
) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 Py_INCREF(Py_None
); resultobj
= Py_None
;
9154 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9157 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9159 return Py_BuildValue((char *)"");
9161 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
;
9167 bool arg5
= (bool) false ;
9168 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9169 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9170 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9172 bool temp6
= false ;
9173 PyObject
* obj0
= 0 ;
9174 PyObject
* obj1
= 0 ;
9175 PyObject
* obj2
= 0 ;
9176 PyObject
* obj3
= 0 ;
9177 PyObject
* obj4
= 0 ;
9178 PyObject
* obj5
= 0 ;
9179 PyObject
* obj6
= 0 ;
9181 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9186 arg1
= (int)(SWIG_As_int(obj0
));
9187 if (SWIG_arg_fail(1)) SWIG_fail
;
9190 arg2
= (int)(SWIG_As_int(obj1
));
9191 if (SWIG_arg_fail(2)) SWIG_fail
;
9194 arg3
= (int)(SWIG_As_int(obj2
));
9195 if (SWIG_arg_fail(3)) SWIG_fail
;
9198 arg4
= (int)(SWIG_As_int(obj3
));
9199 if (SWIG_arg_fail(4)) SWIG_fail
;
9203 arg5
= (bool)(SWIG_As_bool(obj4
));
9204 if (SWIG_arg_fail(5)) SWIG_fail
;
9209 arg6
= wxString_in_helper(obj5
);
9210 if (arg6
== NULL
) SWIG_fail
;
9216 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9217 if (SWIG_arg_fail(7)) SWIG_fail
;
9221 if (!wxPyCheckForApp()) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9243 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxFont
*arg1
= (wxFont
*) 0 ;
9246 PyObject
* obj0
= 0 ;
9248 (char *) "self", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
9252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 Py_INCREF(Py_None
); resultobj
= Py_None
;
9268 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxNativeFontInfo
*arg1
= 0 ;
9272 PyObject
* obj0
= 0 ;
9274 (char *) "info", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail
;
9282 SWIG_null_ref("wxNativeFontInfo");
9284 if (SWIG_arg_fail(1)) SWIG_fail
;
9287 if (!wxPyCheckForApp()) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9301 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxString
*arg1
= 0 ;
9305 bool temp1
= false ;
9306 PyObject
* obj0
= 0 ;
9308 (char *) "info", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9313 arg1
= wxString_in_helper(obj0
);
9314 if (arg1
== NULL
) SWIG_fail
;
9318 if (!wxPyCheckForApp()) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9340 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9344 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9345 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9346 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9347 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9349 bool temp4
= false ;
9350 PyObject
* obj0
= 0 ;
9351 PyObject
* obj1
= 0 ;
9352 PyObject
* obj2
= 0 ;
9353 PyObject
* obj3
= 0 ;
9354 PyObject
* obj4
= 0 ;
9356 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9361 arg1
= (int)(SWIG_As_int(obj0
));
9362 if (SWIG_arg_fail(1)) SWIG_fail
;
9365 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9366 if (SWIG_arg_fail(2)) SWIG_fail
;
9370 arg3
= (int)(SWIG_As_int(obj2
));
9371 if (SWIG_arg_fail(3)) SWIG_fail
;
9376 arg4
= wxString_in_helper(obj3
);
9377 if (arg4
== NULL
) SWIG_fail
;
9383 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
9384 if (SWIG_arg_fail(5)) SWIG_fail
;
9388 if (!wxPyCheckForApp()) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9410 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9416 bool arg5
= (bool) false ;
9417 wxString
const &arg6_defvalue
= wxEmptyString
;
9418 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9419 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9422 bool temp6
= false ;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9425 PyObject
* obj2
= 0 ;
9426 PyObject
* obj3
= 0 ;
9427 PyObject
* obj4
= 0 ;
9428 PyObject
* obj5
= 0 ;
9429 PyObject
* obj6
= 0 ;
9431 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9437 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9440 arg2
= (int)(SWIG_As_int(obj1
));
9441 if (SWIG_arg_fail(2)) SWIG_fail
;
9444 arg3
= (int)(SWIG_As_int(obj2
));
9445 if (SWIG_arg_fail(3)) SWIG_fail
;
9448 arg4
= (int)(SWIG_As_int(obj3
));
9449 if (SWIG_arg_fail(4)) SWIG_fail
;
9453 arg5
= (bool)(SWIG_As_bool(obj4
));
9454 if (SWIG_arg_fail(5)) SWIG_fail
;
9459 arg6
= wxString_in_helper(obj5
);
9460 if (arg6
== NULL
) SWIG_fail
;
9466 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9467 if (SWIG_arg_fail(7)) SWIG_fail
;
9471 if (!wxPyCheckForApp()) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9493 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxFont
*arg1
= (wxFont
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9499 (char *) "self", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
9503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9504 if (SWIG_arg_fail(1)) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (bool)((wxFont
const *)arg1
)->Ok();
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9521 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxFont
*arg1
= (wxFont
*) 0 ;
9524 wxFont
*arg2
= (wxFont
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9527 PyObject
* obj1
= 0 ;
9529 (char *) "self",(char *) "other", NULL
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9534 if (SWIG_arg_fail(1)) SWIG_fail
;
9535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9536 if (SWIG_arg_fail(2)) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9553 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxFont
*arg1
= (wxFont
*) 0 ;
9556 wxFont
*arg2
= (wxFont
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9561 (char *) "self",(char *) "other", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9566 if (SWIG_arg_fail(1)) SWIG_fail
;
9567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9568 if (SWIG_arg_fail(2)) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9585 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxFont
*arg1
= (wxFont
*) 0 ;
9589 PyObject
* obj0
= 0 ;
9591 (char *) "self", NULL
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
9595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9596 if (SWIG_arg_fail(1)) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= SWIG_From_int((int)(result
));
9613 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxFont
*arg1
= (wxFont
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "self", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
9623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9624 if (SWIG_arg_fail(1)) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= ((wxFont
const *)arg1
)->GetPixelSize();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9634 resultptr
= new wxSize((wxSize
&)(result
));
9635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9643 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxFont
*arg1
= (wxFont
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
9653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9654 if (SWIG_arg_fail(1)) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9671 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxFont
*arg1
= (wxFont
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9677 (char *) "self", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
9681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9682 if (SWIG_arg_fail(1)) SWIG_fail
;
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (int)((wxFont
const *)arg1
)->GetFamily();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_From_int((int)(result
));
9699 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxFont
*arg1
= (wxFont
*) 0 ;
9703 PyObject
* obj0
= 0 ;
9705 (char *) "self", NULL
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
9709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9710 if (SWIG_arg_fail(1)) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= (int)((wxFont
const *)arg1
)->GetStyle();
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= SWIG_From_int((int)(result
));
9727 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxFont
*arg1
= (wxFont
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9733 (char *) "self", NULL
9736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
9737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9738 if (SWIG_arg_fail(1)) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= (int)((wxFont
const *)arg1
)->GetWeight();
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9747 resultobj
= SWIG_From_int((int)(result
));
9755 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxFont
*arg1
= (wxFont
*) 0 ;
9759 PyObject
* obj0
= 0 ;
9761 (char *) "self", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
9765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9766 if (SWIG_arg_fail(1)) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9783 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
;
9785 wxFont
*arg1
= (wxFont
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9789 (char *) "self", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
9793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9794 if (SWIG_arg_fail(1)) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= ((wxFont
const *)arg1
)->GetFaceName();
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9815 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxFont
*arg1
= (wxFont
*) 0 ;
9818 wxFontEncoding result
;
9819 PyObject
* obj0
= 0 ;
9821 (char *) "self", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
9825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9826 if (SWIG_arg_fail(1)) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9834 resultobj
= SWIG_From_int((result
));
9841 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxFont
*arg1
= (wxFont
*) 0 ;
9844 wxNativeFontInfo
*result
;
9845 PyObject
* obj0
= 0 ;
9847 (char *) "self", NULL
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
9851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9852 if (SWIG_arg_fail(1)) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
9867 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxFont
*arg1
= (wxFont
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9873 (char *) "self", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
9877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9878 if (SWIG_arg_fail(1)) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9895 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxFont
*arg1
= (wxFont
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9901 (char *) "self", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
9905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9906 if (SWIG_arg_fail(1)) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9927 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9929 wxFont
*arg1
= (wxFont
*) 0 ;
9931 PyObject
* obj0
= 0 ;
9933 (char *) "self", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
9937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9938 if (SWIG_arg_fail(1)) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9959 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxFont
*arg1
= (wxFont
*) 0 ;
9963 PyObject
* obj0
= 0 ;
9964 PyObject
* obj1
= 0 ;
9966 (char *) "self",(char *) "pointSize", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9971 if (SWIG_arg_fail(1)) SWIG_fail
;
9973 arg2
= (int)(SWIG_As_int(obj1
));
9974 if (SWIG_arg_fail(2)) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 (arg1
)->SetPointSize(arg2
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 Py_INCREF(Py_None
); resultobj
= Py_None
;
9990 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxFont
*arg1
= (wxFont
*) 0 ;
9995 PyObject
* obj0
= 0 ;
9996 PyObject
* obj1
= 0 ;
9998 (char *) "self",(char *) "pixelSize", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10003 if (SWIG_arg_fail(1)) SWIG_fail
;
10006 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 Py_INCREF(Py_None
); resultobj
= Py_None
;
10022 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxFont
*arg1
= (wxFont
*) 0 ;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self",(char *) "family", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10034 if (SWIG_arg_fail(1)) SWIG_fail
;
10036 arg2
= (int)(SWIG_As_int(obj1
));
10037 if (SWIG_arg_fail(2)) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 (arg1
)->SetFamily(arg2
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 Py_INCREF(Py_None
); resultobj
= Py_None
;
10053 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
;
10055 wxFont
*arg1
= (wxFont
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 char *kwnames
[] = {
10060 (char *) "self",(char *) "style", NULL
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10065 if (SWIG_arg_fail(1)) SWIG_fail
;
10067 arg2
= (int)(SWIG_As_int(obj1
));
10068 if (SWIG_arg_fail(2)) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 (arg1
)->SetStyle(arg2
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 Py_INCREF(Py_None
); resultobj
= Py_None
;
10084 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxFont
*arg1
= (wxFont
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 char *kwnames
[] = {
10091 (char *) "self",(char *) "weight", NULL
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10096 if (SWIG_arg_fail(1)) SWIG_fail
;
10098 arg2
= (int)(SWIG_As_int(obj1
));
10099 if (SWIG_arg_fail(2)) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 (arg1
)->SetWeight(arg2
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 Py_INCREF(Py_None
); resultobj
= Py_None
;
10115 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
*resultobj
;
10117 wxFont
*arg1
= (wxFont
*) 0 ;
10118 wxString
*arg2
= 0 ;
10119 bool temp2
= false ;
10120 PyObject
* obj0
= 0 ;
10121 PyObject
* obj1
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self",(char *) "faceName", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10128 if (SWIG_arg_fail(1)) SWIG_fail
;
10130 arg2
= wxString_in_helper(obj1
);
10131 if (arg2
== NULL
) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 Py_INCREF(Py_None
); resultobj
= Py_None
;
10156 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxFont
*arg1
= (wxFont
*) 0 ;
10160 PyObject
* obj0
= 0 ;
10161 PyObject
* obj1
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "self",(char *) "underlined", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10168 if (SWIG_arg_fail(1)) SWIG_fail
;
10170 arg2
= (bool)(SWIG_As_bool(obj1
));
10171 if (SWIG_arg_fail(2)) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 (arg1
)->SetUnderlined(arg2
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 Py_INCREF(Py_None
); resultobj
= Py_None
;
10187 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxFont
*arg1
= (wxFont
*) 0 ;
10190 wxFontEncoding arg2
;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self",(char *) "encoding", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10199 if (SWIG_arg_fail(1)) SWIG_fail
;
10201 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10202 if (SWIG_arg_fail(2)) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 Py_INCREF(Py_None
); resultobj
= Py_None
;
10218 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxFont
*arg1
= (wxFont
*) 0 ;
10221 wxNativeFontInfo
*arg2
= 0 ;
10222 PyObject
* obj0
= 0 ;
10223 PyObject
* obj1
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "self",(char *) "info", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10230 if (SWIG_arg_fail(1)) SWIG_fail
;
10232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10233 if (SWIG_arg_fail(2)) SWIG_fail
;
10234 if (arg2
== NULL
) {
10235 SWIG_null_ref("wxNativeFontInfo");
10237 if (SWIG_arg_fail(2)) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 Py_INCREF(Py_None
); resultobj
= Py_None
;
10253 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
*resultobj
;
10255 wxFont
*arg1
= (wxFont
*) 0 ;
10256 wxString
*arg2
= 0 ;
10257 bool temp2
= false ;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "info", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10266 if (SWIG_arg_fail(1)) SWIG_fail
;
10268 arg2
= wxString_in_helper(obj1
);
10269 if (arg2
== NULL
) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 Py_INCREF(Py_None
); resultobj
= Py_None
;
10294 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxFont
*arg1
= (wxFont
*) 0 ;
10297 wxString
*arg2
= 0 ;
10298 bool temp2
= false ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self",(char *) "info", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10307 if (SWIG_arg_fail(1)) SWIG_fail
;
10309 arg2
= wxString_in_helper(obj1
);
10310 if (arg2
== NULL
) SWIG_fail
;
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 Py_INCREF(Py_None
); resultobj
= Py_None
;
10335 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 wxFont
*arg1
= (wxFont
*) 0 ;
10339 PyObject
* obj0
= 0 ;
10340 char *kwnames
[] = {
10341 (char *) "self", NULL
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
10345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10346 if (SWIG_arg_fail(1)) SWIG_fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 result
= ((wxFont
const *)arg1
)->GetFamilyString();
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10367 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 wxFont
*arg1
= (wxFont
*) 0 ;
10371 PyObject
* obj0
= 0 ;
10372 char *kwnames
[] = {
10373 (char *) "self", NULL
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
10377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10378 if (SWIG_arg_fail(1)) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 result
= ((wxFont
const *)arg1
)->GetStyleString();
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10399 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxFont
*arg1
= (wxFont
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
10409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10410 if (SWIG_arg_fail(1)) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= ((wxFont
const *)arg1
)->GetWeightString();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10431 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxFont
*arg1
= (wxFont
*) 0 ;
10434 bool arg2
= (bool) true ;
10435 PyObject
* obj0
= 0 ;
10436 PyObject
* obj1
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "self",(char *) "no", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
10442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10443 if (SWIG_arg_fail(1)) SWIG_fail
;
10446 arg2
= (bool)(SWIG_As_bool(obj1
));
10447 if (SWIG_arg_fail(2)) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 (arg1
)->SetNoAntiAliasing(arg2
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 Py_INCREF(Py_None
); resultobj
= Py_None
;
10464 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxFont
*arg1
= (wxFont
*) 0 ;
10468 PyObject
* obj0
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
10474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10475 if (SWIG_arg_fail(1)) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10492 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxFontEncoding result
;
10495 char *kwnames
[] = {
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
10501 if (!wxPyCheckForApp()) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_From_int((result
));
10515 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxFontEncoding arg1
;
10518 PyObject
* obj0
= 0 ;
10519 char *kwnames
[] = {
10520 (char *) "encoding", NULL
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
10525 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
10526 if (SWIG_arg_fail(1)) SWIG_fail
;
10529 if (!wxPyCheckForApp()) SWIG_fail
;
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 Py_INCREF(Py_None
); resultobj
= Py_None
;
10543 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
10545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10546 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
10548 return Py_BuildValue((char *)"");
10550 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxPyFontEnumerator
*result
;
10553 char *kwnames
[] = {
10557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
10559 if (!wxPyCheckForApp()) SWIG_fail
;
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
10573 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10576 PyObject
* obj0
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
10582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10583 if (SWIG_arg_fail(1)) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 Py_INCREF(Py_None
); resultobj
= Py_None
;
10598 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10601 PyObject
*arg2
= (PyObject
*) 0 ;
10602 PyObject
*arg3
= (PyObject
*) 0 ;
10604 PyObject
* obj0
= 0 ;
10605 PyObject
* obj1
= 0 ;
10606 PyObject
* obj2
= 0 ;
10607 PyObject
* obj3
= 0 ;
10608 char *kwnames
[] = {
10609 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10614 if (SWIG_arg_fail(1)) SWIG_fail
;
10618 arg4
= (bool)(SWIG_As_bool(obj3
));
10619 if (SWIG_arg_fail(4)) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 Py_INCREF(Py_None
); resultobj
= Py_None
;
10635 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10638 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
10639 bool arg3
= (bool) false ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 PyObject
* obj2
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10650 if (SWIG_arg_fail(1)) SWIG_fail
;
10653 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10654 if (SWIG_arg_fail(2)) SWIG_fail
;
10659 arg3
= (bool)(SWIG_As_bool(obj2
));
10660 if (SWIG_arg_fail(3)) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10679 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10682 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10683 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10685 bool temp2
= false ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "facename", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail
;
10697 arg2
= wxString_in_helper(obj1
);
10698 if (arg2
== NULL
) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10726 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10730 PyObject
* obj0
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "self", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
10736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10737 if (SWIG_arg_fail(1)) SWIG_fail
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= result
;
10752 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10756 PyObject
* obj0
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
10762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10763 if (SWIG_arg_fail(1)) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= result
;
10778 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
10780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10781 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
10783 return Py_BuildValue((char *)"");
10785 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
;
10787 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 PyObject
* obj1
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self",(char *) "Language", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10797 if (SWIG_arg_fail(1)) SWIG_fail
;
10799 arg2
= (int)(SWIG_As_int(obj1
));
10800 if (SWIG_arg_fail(2)) SWIG_fail
;
10802 if (arg1
) (arg1
)->Language
= arg2
;
10804 Py_INCREF(Py_None
); resultobj
= Py_None
;
10811 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
10821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10822 if (SWIG_arg_fail(1)) SWIG_fail
;
10823 result
= (int) ((arg1
)->Language
);
10826 resultobj
= SWIG_From_int((int)(result
));
10834 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10836 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10837 wxString
*arg2
= (wxString
*) 0 ;
10838 bool temp2
= false ;
10839 PyObject
* obj0
= 0 ;
10840 PyObject
* obj1
= 0 ;
10841 char *kwnames
[] = {
10842 (char *) "self",(char *) "CanonicalName", NULL
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10847 if (SWIG_arg_fail(1)) SWIG_fail
;
10849 arg2
= wxString_in_helper(obj1
);
10850 if (arg2
== NULL
) SWIG_fail
;
10853 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
10855 Py_INCREF(Py_None
); resultobj
= Py_None
;
10870 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10874 PyObject
* obj0
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
10880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10881 if (SWIG_arg_fail(1)) SWIG_fail
;
10882 result
= (wxString
*)& ((arg1
)->CanonicalName
);
10886 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10888 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10897 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
;
10899 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10900 wxString
*arg2
= (wxString
*) 0 ;
10901 bool temp2
= false ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self",(char *) "Description", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10910 if (SWIG_arg_fail(1)) SWIG_fail
;
10912 arg2
= wxString_in_helper(obj1
);
10913 if (arg2
== NULL
) SWIG_fail
;
10916 if (arg1
) (arg1
)->Description
= *arg2
;
10918 Py_INCREF(Py_None
); resultobj
= Py_None
;
10933 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
;
10935 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
10943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10944 if (SWIG_arg_fail(1)) SWIG_fail
;
10945 result
= (wxString
*)& ((arg1
)->Description
);
10949 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10951 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10960 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
10962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10963 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
10965 return Py_BuildValue((char *)"");
10967 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 int arg1
= (int) -1 ;
10970 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
10972 PyObject
* obj0
= 0 ;
10973 PyObject
* obj1
= 0 ;
10974 char *kwnames
[] = {
10975 (char *) "language",(char *) "flags", NULL
10978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
10981 arg1
= (int)(SWIG_As_int(obj0
));
10982 if (SWIG_arg_fail(1)) SWIG_fail
;
10987 arg2
= (int)(SWIG_As_int(obj1
));
10988 if (SWIG_arg_fail(2)) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11005 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
;
11007 wxLocale
*arg1
= (wxLocale
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11015 if (SWIG_arg_fail(1)) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 Py_INCREF(Py_None
); resultobj
= Py_None
;
11030 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxLocale
*arg1
= (wxLocale
*) 0 ;
11033 wxString
*arg2
= 0 ;
11034 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11035 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11036 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11037 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11038 bool arg5
= (bool) true ;
11039 bool arg6
= (bool) false ;
11041 bool temp2
= false ;
11042 bool temp3
= false ;
11043 bool temp4
= false ;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 PyObject
* obj2
= 0 ;
11047 PyObject
* obj3
= 0 ;
11048 PyObject
* obj4
= 0 ;
11049 PyObject
* obj5
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11056 if (SWIG_arg_fail(1)) SWIG_fail
;
11058 arg2
= wxString_in_helper(obj1
);
11059 if (arg2
== NULL
) SWIG_fail
;
11064 arg3
= wxString_in_helper(obj2
);
11065 if (arg3
== NULL
) SWIG_fail
;
11071 arg4
= wxString_in_helper(obj3
);
11072 if (arg4
== NULL
) SWIG_fail
;
11078 arg5
= (bool)(SWIG_As_bool(obj4
));
11079 if (SWIG_arg_fail(5)) SWIG_fail
;
11084 arg6
= (bool)(SWIG_As_bool(obj5
));
11085 if (SWIG_arg_fail(6)) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11128 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
;
11130 wxLocale
*arg1
= (wxLocale
*) 0 ;
11131 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11132 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 PyObject
* obj2
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self",(char *) "language",(char *) "flags", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11143 if (SWIG_arg_fail(1)) SWIG_fail
;
11146 arg2
= (int)(SWIG_As_int(obj1
));
11147 if (SWIG_arg_fail(2)) SWIG_fail
;
11152 arg3
= (int)(SWIG_As_int(obj2
));
11153 if (SWIG_arg_fail(3)) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11172 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11175 char *kwnames
[] = {
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (int)wxLocale::GetSystemLanguage();
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= SWIG_From_int((int)(result
));
11196 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxFontEncoding result
;
11199 char *kwnames
[] = {
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= SWIG_From_int((result
));
11218 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11221 char *kwnames
[] = {
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 result
= wxLocale::GetSystemEncodingName();
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11246 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxLocale
*arg1
= (wxLocale
*) 0 ;
11250 PyObject
* obj0
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "self", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
11256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11257 if (SWIG_arg_fail(1)) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11274 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxLocale
*arg1
= (wxLocale
*) 0 ;
11278 PyObject
* obj0
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
11284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11285 if (SWIG_arg_fail(1)) SWIG_fail
;
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= ((wxLocale
const *)arg1
)->GetLocale();
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11306 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxLocale
*arg1
= (wxLocale
*) 0 ;
11310 PyObject
* obj0
= 0 ;
11311 char *kwnames
[] = {
11312 (char *) "self", NULL
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
11316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11317 if (SWIG_arg_fail(1)) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_From_int((int)(result
));
11334 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxLocale
*arg1
= (wxLocale
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
11344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11345 if (SWIG_arg_fail(1)) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= ((wxLocale
const *)arg1
)->GetSysName();
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11366 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxLocale
*arg1
= (wxLocale
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
11376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11377 if (SWIG_arg_fail(1)) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11398 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxString
*arg1
= 0 ;
11401 bool temp1
= false ;
11402 PyObject
* obj0
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "prefix", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
11409 arg1
= wxString_in_helper(obj0
);
11410 if (arg1
== NULL
) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 Py_INCREF(Py_None
); resultobj
= Py_None
;
11435 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxLocale
*arg1
= (wxLocale
*) 0 ;
11438 wxString
*arg2
= 0 ;
11440 bool temp2
= false ;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self",(char *) "szDomain", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
11448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11449 if (SWIG_arg_fail(1)) SWIG_fail
;
11451 arg2
= wxString_in_helper(obj1
);
11452 if (arg2
== NULL
) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11479 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxLocale
*arg1
= (wxLocale
*) 0 ;
11482 wxString
*arg2
= 0 ;
11484 bool temp2
= false ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self",(char *) "szDomain", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
11492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11493 if (SWIG_arg_fail(1)) SWIG_fail
;
11495 arg2
= wxString_in_helper(obj1
);
11496 if (arg2
== NULL
) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11523 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11526 wxLanguageInfo
*result
;
11527 PyObject
* obj0
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "lang", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
11534 arg1
= (int)(SWIG_As_int(obj0
));
11535 if (SWIG_arg_fail(1)) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11551 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11555 PyObject
* obj0
= 0 ;
11556 char *kwnames
[] = {
11557 (char *) "lang", NULL
11560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
11562 arg1
= (int)(SWIG_As_int(obj0
));
11563 if (SWIG_arg_fail(1)) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= wxLocale::GetLanguageName(arg1
);
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11585 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxString
*arg1
= 0 ;
11588 wxLanguageInfo
*result
;
11589 bool temp1
= false ;
11590 PyObject
* obj0
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "locale", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
11597 arg1
= wxString_in_helper(obj0
);
11598 if (arg1
== NULL
) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11623 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxLanguageInfo
*arg1
= 0 ;
11626 PyObject
* obj0
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "info", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
11633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11634 if (SWIG_arg_fail(1)) SWIG_fail
;
11635 if (arg1
== NULL
) {
11636 SWIG_null_ref("wxLanguageInfo");
11638 if (SWIG_arg_fail(1)) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 Py_INCREF(Py_None
); resultobj
= Py_None
;
11654 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxLocale
*arg1
= (wxLocale
*) 0 ;
11657 wxString
*arg2
= 0 ;
11658 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11659 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11661 bool temp2
= false ;
11662 bool temp3
= false ;
11663 PyObject
* obj0
= 0 ;
11664 PyObject
* obj1
= 0 ;
11665 PyObject
* obj2
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11672 if (SWIG_arg_fail(1)) SWIG_fail
;
11674 arg2
= wxString_in_helper(obj1
);
11675 if (arg2
== NULL
) SWIG_fail
;
11680 arg3
= wxString_in_helper(obj2
);
11681 if (arg3
== NULL
) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11721 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxLocale
*arg1
= (wxLocale
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
11731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
11737 result
= (wxString
*) &_result_ref
;
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11747 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11756 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
11758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11759 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
11761 return Py_BuildValue((char *)"");
11763 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
*resultobj
;
11766 char *kwnames
[] = {
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (wxLocale
*)wxGetLocale();
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
11785 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
11786 PyObject
*resultobj
;
11787 wxString
*arg1
= 0 ;
11789 bool temp1
= false ;
11790 PyObject
* obj0
= 0 ;
11792 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
11794 arg1
= wxString_in_helper(obj0
);
11795 if (arg1
== NULL
) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= wxGetTranslation((wxString
const &)*arg1
);
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11826 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
11827 PyObject
*resultobj
;
11828 wxString
*arg1
= 0 ;
11829 wxString
*arg2
= 0 ;
11832 bool temp1
= false ;
11833 bool temp2
= false ;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 PyObject
* obj2
= 0 ;
11838 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
11840 arg1
= wxString_in_helper(obj0
);
11841 if (arg1
== NULL
) SWIG_fail
;
11845 arg2
= wxString_in_helper(obj1
);
11846 if (arg2
== NULL
) SWIG_fail
;
11850 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11851 if (SWIG_arg_fail(3)) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11889 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
11894 argc
= PyObject_Length(args
);
11895 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11896 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11901 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11904 return _wrap_GetTranslation__SWIG_0(self
,args
);
11910 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11914 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11917 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
11919 return _wrap_GetTranslation__SWIG_1(self
,args
);
11925 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
11930 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxEncodingConverter
*result
;
11933 char *kwnames
[] = {
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 result
= (wxEncodingConverter
*)new wxEncodingConverter();
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
11952 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
11961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
11962 if (SWIG_arg_fail(1)) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 Py_INCREF(Py_None
); resultobj
= Py_None
;
11977 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
11980 wxFontEncoding arg2
;
11981 wxFontEncoding arg3
;
11982 int arg4
= (int) wxCONVERT_STRICT
;
11984 PyObject
* obj0
= 0 ;
11985 PyObject
* obj1
= 0 ;
11986 PyObject
* obj2
= 0 ;
11987 PyObject
* obj3
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
11994 if (SWIG_arg_fail(1)) SWIG_fail
;
11996 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
11997 if (SWIG_arg_fail(2)) SWIG_fail
;
12000 arg3
= (wxFontEncoding
)(SWIG_As_int(obj2
));
12001 if (SWIG_arg_fail(3)) SWIG_fail
;
12005 arg4
= (int)(SWIG_As_int(obj3
));
12006 if (SWIG_arg_fail(4)) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12025 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12028 wxString
*arg2
= 0 ;
12030 bool temp2
= false ;
12031 PyObject
* obj0
= 0 ;
12032 PyObject
* obj1
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self",(char *) "input", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12039 if (SWIG_arg_fail(1)) SWIG_fail
;
12041 arg2
= wxString_in_helper(obj1
);
12042 if (arg2
== NULL
) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12073 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
*resultobj
;
12075 wxFontEncoding arg1
;
12076 int arg2
= (int) wxPLATFORM_CURRENT
;
12077 wxFontEncodingArray result
;
12078 PyObject
* obj0
= 0 ;
12079 PyObject
* obj1
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "enc",(char *) "platform", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12086 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12087 if (SWIG_arg_fail(1)) SWIG_fail
;
12091 arg2
= (int)(SWIG_As_int(obj1
));
12092 if (SWIG_arg_fail(2)) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= PyList_New(0);
12104 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12105 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12106 PyList_Append(resultobj
, number
);
12116 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
;
12118 wxFontEncoding arg1
;
12119 wxFontEncodingArray result
;
12120 PyObject
* obj0
= 0 ;
12121 char *kwnames
[] = {
12122 (char *) "enc", NULL
12125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12127 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12128 if (SWIG_arg_fail(1)) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= PyList_New(0);
12139 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12140 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12141 PyList_Append(resultobj
, number
);
12151 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxFontEncoding arg1
;
12154 wxFontEncoding arg2
;
12156 PyObject
* obj0
= 0 ;
12157 PyObject
* obj1
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "encIn",(char *) "encOut", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12164 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12165 if (SWIG_arg_fail(1)) SWIG_fail
;
12168 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12169 if (SWIG_arg_fail(2)) SWIG_fail
;
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12187 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12190 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12192 return Py_BuildValue((char *)"");
12194 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxDC
*arg1
= (wxDC
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
12203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxDC
*arg1
= (wxDC
*) 0 ;
12222 PyObject
* obj0
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12229 if (SWIG_arg_fail(1)) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 (arg1
)->BeginDrawing();
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12237 Py_INCREF(Py_None
); resultobj
= Py_None
;
12244 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
;
12246 wxDC
*arg1
= (wxDC
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12254 if (SWIG_arg_fail(1)) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 (arg1
)->EndDrawing();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 Py_INCREF(Py_None
); resultobj
= Py_None
;
12269 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxDC
*arg1
= (wxDC
*) 0 ;
12274 wxColour
*arg4
= 0 ;
12275 int arg5
= (int) wxFLOOD_SURFACE
;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 PyObject
* obj2
= 0 ;
12281 PyObject
* obj3
= 0 ;
12282 PyObject
* obj4
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12289 if (SWIG_arg_fail(1)) SWIG_fail
;
12291 arg2
= (int)(SWIG_As_int(obj1
));
12292 if (SWIG_arg_fail(2)) SWIG_fail
;
12295 arg3
= (int)(SWIG_As_int(obj2
));
12296 if (SWIG_arg_fail(3)) SWIG_fail
;
12300 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12304 arg5
= (int)(SWIG_As_int(obj4
));
12305 if (SWIG_arg_fail(5)) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12324 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxDC
*arg1
= (wxDC
*) 0 ;
12327 wxPoint
*arg2
= 0 ;
12328 wxColour
*arg3
= 0 ;
12329 int arg4
= (int) wxFLOOD_SURFACE
;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 PyObject
* obj2
= 0 ;
12336 PyObject
* obj3
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12343 if (SWIG_arg_fail(1)) SWIG_fail
;
12346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12350 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12354 arg4
= (int)(SWIG_As_int(obj3
));
12355 if (SWIG_arg_fail(4)) SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12374 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxDC
*arg1
= (wxDC
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 PyObject
* obj2
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self",(char *) "x",(char *) "y", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail
;
12391 arg2
= (int)(SWIG_As_int(obj1
));
12392 if (SWIG_arg_fail(2)) SWIG_fail
;
12395 arg3
= (int)(SWIG_As_int(obj2
));
12396 if (SWIG_arg_fail(3)) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12406 wxColour
* resultptr
;
12407 resultptr
= new wxColour((wxColour
&)(result
));
12408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12416 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
;
12418 wxDC
*arg1
= (wxDC
*) 0 ;
12419 wxPoint
*arg2
= 0 ;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "self",(char *) "pt", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12430 if (SWIG_arg_fail(1)) SWIG_fail
;
12433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12443 wxColour
* resultptr
;
12444 resultptr
= new wxColour((wxColour
&)(result
));
12445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12453 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
;
12455 wxDC
*arg1
= (wxDC
*) 0 ;
12460 PyObject
* obj0
= 0 ;
12461 PyObject
* obj1
= 0 ;
12462 PyObject
* obj2
= 0 ;
12463 PyObject
* obj3
= 0 ;
12464 PyObject
* obj4
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12471 if (SWIG_arg_fail(1)) SWIG_fail
;
12473 arg2
= (int)(SWIG_As_int(obj1
));
12474 if (SWIG_arg_fail(2)) SWIG_fail
;
12477 arg3
= (int)(SWIG_As_int(obj2
));
12478 if (SWIG_arg_fail(3)) SWIG_fail
;
12481 arg4
= (int)(SWIG_As_int(obj3
));
12482 if (SWIG_arg_fail(4)) SWIG_fail
;
12485 arg5
= (int)(SWIG_As_int(obj4
));
12486 if (SWIG_arg_fail(5)) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 Py_INCREF(Py_None
); resultobj
= Py_None
;
12502 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxDC
*arg1
= (wxDC
*) 0 ;
12505 wxPoint
*arg2
= 0 ;
12506 wxPoint
*arg3
= 0 ;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 PyObject
* obj2
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12518 if (SWIG_arg_fail(1)) SWIG_fail
;
12521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 Py_INCREF(Py_None
); resultobj
= Py_None
;
12541 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxDC
*arg1
= (wxDC
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 PyObject
* obj1
= 0 ;
12548 PyObject
* obj2
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self",(char *) "x",(char *) "y", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12555 if (SWIG_arg_fail(1)) SWIG_fail
;
12557 arg2
= (int)(SWIG_As_int(obj1
));
12558 if (SWIG_arg_fail(2)) SWIG_fail
;
12561 arg3
= (int)(SWIG_As_int(obj2
));
12562 if (SWIG_arg_fail(3)) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 (arg1
)->CrossHair(arg2
,arg3
);
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12571 Py_INCREF(Py_None
); resultobj
= Py_None
;
12578 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxDC
*arg1
= (wxDC
*) 0 ;
12581 wxPoint
*arg2
= 0 ;
12583 PyObject
* obj0
= 0 ;
12584 PyObject
* obj1
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self",(char *) "pt", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail
;
12594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 Py_INCREF(Py_None
); resultobj
= Py_None
;
12610 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxDC
*arg1
= (wxDC
*) 0 ;
12619 PyObject
* obj0
= 0 ;
12620 PyObject
* obj1
= 0 ;
12621 PyObject
* obj2
= 0 ;
12622 PyObject
* obj3
= 0 ;
12623 PyObject
* obj4
= 0 ;
12624 PyObject
* obj5
= 0 ;
12625 PyObject
* obj6
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12632 if (SWIG_arg_fail(1)) SWIG_fail
;
12634 arg2
= (int)(SWIG_As_int(obj1
));
12635 if (SWIG_arg_fail(2)) SWIG_fail
;
12638 arg3
= (int)(SWIG_As_int(obj2
));
12639 if (SWIG_arg_fail(3)) SWIG_fail
;
12642 arg4
= (int)(SWIG_As_int(obj3
));
12643 if (SWIG_arg_fail(4)) SWIG_fail
;
12646 arg5
= (int)(SWIG_As_int(obj4
));
12647 if (SWIG_arg_fail(5)) SWIG_fail
;
12650 arg6
= (int)(SWIG_As_int(obj5
));
12651 if (SWIG_arg_fail(6)) SWIG_fail
;
12654 arg7
= (int)(SWIG_As_int(obj6
));
12655 if (SWIG_arg_fail(7)) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 Py_INCREF(Py_None
); resultobj
= Py_None
;
12671 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
;
12673 wxDC
*arg1
= (wxDC
*) 0 ;
12674 wxPoint
*arg2
= 0 ;
12675 wxPoint
*arg3
= 0 ;
12676 wxPoint
*arg4
= 0 ;
12680 PyObject
* obj0
= 0 ;
12681 PyObject
* obj1
= 0 ;
12682 PyObject
* obj2
= 0 ;
12683 PyObject
* obj3
= 0 ;
12684 char *kwnames
[] = {
12685 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
12688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12690 if (SWIG_arg_fail(1)) SWIG_fail
;
12693 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12697 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12701 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 Py_INCREF(Py_None
); resultobj
= Py_None
;
12717 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxDC
*arg1
= (wxDC
*) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 PyObject
* obj2
= 0 ;
12727 PyObject
* obj3
= 0 ;
12728 PyObject
* obj4
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12735 if (SWIG_arg_fail(1)) SWIG_fail
;
12737 arg2
= (int)(SWIG_As_int(obj1
));
12738 if (SWIG_arg_fail(2)) SWIG_fail
;
12741 arg3
= (int)(SWIG_As_int(obj2
));
12742 if (SWIG_arg_fail(3)) SWIG_fail
;
12745 arg4
= (int)(SWIG_As_int(obj3
));
12746 if (SWIG_arg_fail(4)) SWIG_fail
;
12749 arg5
= (int)(SWIG_As_int(obj4
));
12750 if (SWIG_arg_fail(5)) SWIG_fail
;
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12759 Py_INCREF(Py_None
); resultobj
= Py_None
;
12766 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxDC
*arg1
= (wxDC
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self",(char *) "rect", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12779 if (SWIG_arg_fail(1)) SWIG_fail
;
12782 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 Py_INCREF(Py_None
); resultobj
= Py_None
;
12798 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxDC
*arg1
= (wxDC
*) 0 ;
12807 PyObject
* obj0
= 0 ;
12808 PyObject
* obj1
= 0 ;
12809 PyObject
* obj2
= 0 ;
12810 PyObject
* obj3
= 0 ;
12811 PyObject
* obj4
= 0 ;
12812 PyObject
* obj5
= 0 ;
12813 PyObject
* obj6
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12820 if (SWIG_arg_fail(1)) SWIG_fail
;
12822 arg2
= (int)(SWIG_As_int(obj1
));
12823 if (SWIG_arg_fail(2)) SWIG_fail
;
12826 arg3
= (int)(SWIG_As_int(obj2
));
12827 if (SWIG_arg_fail(3)) SWIG_fail
;
12830 arg4
= (int)(SWIG_As_int(obj3
));
12831 if (SWIG_arg_fail(4)) SWIG_fail
;
12834 arg5
= (int)(SWIG_As_int(obj4
));
12835 if (SWIG_arg_fail(5)) SWIG_fail
;
12838 arg6
= (double)(SWIG_As_double(obj5
));
12839 if (SWIG_arg_fail(6)) SWIG_fail
;
12842 arg7
= (double)(SWIG_As_double(obj6
));
12843 if (SWIG_arg_fail(7)) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 Py_INCREF(Py_None
); resultobj
= Py_None
;
12859 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxDC
*arg1
= (wxDC
*) 0 ;
12862 wxPoint
*arg2
= 0 ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 PyObject
* obj2
= 0 ;
12871 PyObject
* obj3
= 0 ;
12872 PyObject
* obj4
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail
;
12882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12886 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12889 arg4
= (double)(SWIG_As_double(obj3
));
12890 if (SWIG_arg_fail(4)) SWIG_fail
;
12893 arg5
= (double)(SWIG_As_double(obj4
));
12894 if (SWIG_arg_fail(5)) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 Py_INCREF(Py_None
); resultobj
= Py_None
;
12910 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxDC
*arg1
= (wxDC
*) 0 ;
12915 PyObject
* obj0
= 0 ;
12916 PyObject
* obj1
= 0 ;
12917 PyObject
* obj2
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self",(char *) "x",(char *) "y", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12924 if (SWIG_arg_fail(1)) SWIG_fail
;
12926 arg2
= (int)(SWIG_As_int(obj1
));
12927 if (SWIG_arg_fail(2)) SWIG_fail
;
12930 arg3
= (int)(SWIG_As_int(obj2
));
12931 if (SWIG_arg_fail(3)) SWIG_fail
;
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 (arg1
)->DrawPoint(arg2
,arg3
);
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12940 Py_INCREF(Py_None
); resultobj
= Py_None
;
12947 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12948 PyObject
*resultobj
;
12949 wxDC
*arg1
= (wxDC
*) 0 ;
12950 wxPoint
*arg2
= 0 ;
12952 PyObject
* obj0
= 0 ;
12953 PyObject
* obj1
= 0 ;
12954 char *kwnames
[] = {
12955 (char *) "self",(char *) "pt", NULL
12958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12960 if (SWIG_arg_fail(1)) SWIG_fail
;
12963 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 Py_INCREF(Py_None
); resultobj
= Py_None
;
12979 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxDC
*arg1
= (wxDC
*) 0 ;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 PyObject
* obj2
= 0 ;
12989 PyObject
* obj3
= 0 ;
12990 PyObject
* obj4
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12997 if (SWIG_arg_fail(1)) SWIG_fail
;
12999 arg2
= (int)(SWIG_As_int(obj1
));
13000 if (SWIG_arg_fail(2)) SWIG_fail
;
13003 arg3
= (int)(SWIG_As_int(obj2
));
13004 if (SWIG_arg_fail(3)) SWIG_fail
;
13007 arg4
= (int)(SWIG_As_int(obj3
));
13008 if (SWIG_arg_fail(4)) SWIG_fail
;
13011 arg5
= (int)(SWIG_As_int(obj4
));
13012 if (SWIG_arg_fail(5)) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 Py_INCREF(Py_None
); resultobj
= Py_None
;
13028 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxDC
*arg1
= (wxDC
*) 0 ;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "self",(char *) "rect", NULL
13039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13041 if (SWIG_arg_fail(1)) SWIG_fail
;
13044 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 Py_INCREF(Py_None
); resultobj
= Py_None
;
13060 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxDC
*arg1
= (wxDC
*) 0 ;
13063 wxPoint
*arg2
= 0 ;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 PyObject
* obj2
= 0 ;
13070 char *kwnames
[] = {
13071 (char *) "self",(char *) "pt",(char *) "sz", NULL
13074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13076 if (SWIG_arg_fail(1)) SWIG_fail
;
13079 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13083 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 Py_INCREF(Py_None
); resultobj
= Py_None
;
13099 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxDC
*arg1
= (wxDC
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 PyObject
* obj2
= 0 ;
13110 PyObject
* obj3
= 0 ;
13111 PyObject
* obj4
= 0 ;
13112 PyObject
* obj5
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13119 if (SWIG_arg_fail(1)) SWIG_fail
;
13121 arg2
= (int)(SWIG_As_int(obj1
));
13122 if (SWIG_arg_fail(2)) SWIG_fail
;
13125 arg3
= (int)(SWIG_As_int(obj2
));
13126 if (SWIG_arg_fail(3)) SWIG_fail
;
13129 arg4
= (int)(SWIG_As_int(obj3
));
13130 if (SWIG_arg_fail(4)) SWIG_fail
;
13133 arg5
= (int)(SWIG_As_int(obj4
));
13134 if (SWIG_arg_fail(5)) SWIG_fail
;
13137 arg6
= (double)(SWIG_As_double(obj5
));
13138 if (SWIG_arg_fail(6)) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 Py_INCREF(Py_None
); resultobj
= Py_None
;
13154 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxDC
*arg1
= (wxDC
*) 0 ;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 PyObject
* obj2
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self",(char *) "r",(char *) "radius", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13169 if (SWIG_arg_fail(1)) SWIG_fail
;
13172 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13175 arg3
= (double)(SWIG_As_double(obj2
));
13176 if (SWIG_arg_fail(3)) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 Py_INCREF(Py_None
); resultobj
= Py_None
;
13192 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxDC
*arg1
= (wxDC
*) 0 ;
13195 wxPoint
*arg2
= 0 ;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 PyObject
* obj2
= 0 ;
13203 PyObject
* obj3
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13210 if (SWIG_arg_fail(1)) SWIG_fail
;
13213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13217 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13220 arg4
= (double)(SWIG_As_double(obj3
));
13221 if (SWIG_arg_fail(4)) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13230 Py_INCREF(Py_None
); resultobj
= Py_None
;
13237 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxDC
*arg1
= (wxDC
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 PyObject
* obj1
= 0 ;
13245 PyObject
* obj2
= 0 ;
13246 PyObject
* obj3
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13253 if (SWIG_arg_fail(1)) SWIG_fail
;
13255 arg2
= (int)(SWIG_As_int(obj1
));
13256 if (SWIG_arg_fail(2)) SWIG_fail
;
13259 arg3
= (int)(SWIG_As_int(obj2
));
13260 if (SWIG_arg_fail(3)) SWIG_fail
;
13263 arg4
= (int)(SWIG_As_int(obj3
));
13264 if (SWIG_arg_fail(4)) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 Py_INCREF(Py_None
); resultobj
= Py_None
;
13280 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxDC
*arg1
= (wxDC
*) 0 ;
13283 wxPoint
*arg2
= 0 ;
13286 PyObject
* obj0
= 0 ;
13287 PyObject
* obj1
= 0 ;
13288 PyObject
* obj2
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self",(char *) "pt",(char *) "radius", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13295 if (SWIG_arg_fail(1)) SWIG_fail
;
13298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13301 arg3
= (int)(SWIG_As_int(obj2
));
13302 if (SWIG_arg_fail(3)) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 Py_INCREF(Py_None
); resultobj
= Py_None
;
13318 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxDC
*arg1
= (wxDC
*) 0 ;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 PyObject
* obj2
= 0 ;
13328 PyObject
* obj3
= 0 ;
13329 PyObject
* obj4
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13336 if (SWIG_arg_fail(1)) SWIG_fail
;
13338 arg2
= (int)(SWIG_As_int(obj1
));
13339 if (SWIG_arg_fail(2)) SWIG_fail
;
13342 arg3
= (int)(SWIG_As_int(obj2
));
13343 if (SWIG_arg_fail(3)) SWIG_fail
;
13346 arg4
= (int)(SWIG_As_int(obj3
));
13347 if (SWIG_arg_fail(4)) SWIG_fail
;
13350 arg5
= (int)(SWIG_As_int(obj4
));
13351 if (SWIG_arg_fail(5)) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 Py_INCREF(Py_None
); resultobj
= Py_None
;
13367 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 wxDC
*arg1
= (wxDC
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 PyObject
* obj1
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self",(char *) "rect", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13380 if (SWIG_arg_fail(1)) SWIG_fail
;
13383 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 Py_INCREF(Py_None
); resultobj
= Py_None
;
13399 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxDC
*arg1
= (wxDC
*) 0 ;
13402 wxPoint
*arg2
= 0 ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 PyObject
* obj2
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "pt",(char *) "sz", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13415 if (SWIG_arg_fail(1)) SWIG_fail
;
13418 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13422 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 Py_INCREF(Py_None
); resultobj
= Py_None
;
13438 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxDC
*arg1
= (wxDC
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 PyObject
* obj2
= 0 ;
13447 PyObject
* obj3
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13454 if (SWIG_arg_fail(1)) SWIG_fail
;
13456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13457 if (SWIG_arg_fail(2)) SWIG_fail
;
13458 if (arg2
== NULL
) {
13459 SWIG_null_ref("wxIcon");
13461 if (SWIG_arg_fail(2)) SWIG_fail
;
13464 arg3
= (int)(SWIG_As_int(obj2
));
13465 if (SWIG_arg_fail(3)) SWIG_fail
;
13468 arg4
= (int)(SWIG_As_int(obj3
));
13469 if (SWIG_arg_fail(4)) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 Py_INCREF(Py_None
); resultobj
= Py_None
;
13485 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxDC
*arg1
= (wxDC
*) 0 ;
13489 wxPoint
*arg3
= 0 ;
13491 PyObject
* obj0
= 0 ;
13492 PyObject
* obj1
= 0 ;
13493 PyObject
* obj2
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self",(char *) "icon",(char *) "pt", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13500 if (SWIG_arg_fail(1)) SWIG_fail
;
13502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13503 if (SWIG_arg_fail(2)) SWIG_fail
;
13504 if (arg2
== NULL
) {
13505 SWIG_null_ref("wxIcon");
13507 if (SWIG_arg_fail(2)) SWIG_fail
;
13511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 Py_INCREF(Py_None
); resultobj
= Py_None
;
13527 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxDC
*arg1
= (wxDC
*) 0 ;
13530 wxBitmap
*arg2
= 0 ;
13533 bool arg5
= (bool) false ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 PyObject
* obj2
= 0 ;
13537 PyObject
* obj3
= 0 ;
13538 PyObject
* obj4
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13545 if (SWIG_arg_fail(1)) SWIG_fail
;
13547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13548 if (SWIG_arg_fail(2)) SWIG_fail
;
13549 if (arg2
== NULL
) {
13550 SWIG_null_ref("wxBitmap");
13552 if (SWIG_arg_fail(2)) SWIG_fail
;
13555 arg3
= (int)(SWIG_As_int(obj2
));
13556 if (SWIG_arg_fail(3)) SWIG_fail
;
13559 arg4
= (int)(SWIG_As_int(obj3
));
13560 if (SWIG_arg_fail(4)) SWIG_fail
;
13564 arg5
= (bool)(SWIG_As_bool(obj4
));
13565 if (SWIG_arg_fail(5)) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
13572 wxPyEndAllowThreads(__tstate
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 Py_INCREF(Py_None
); resultobj
= Py_None
;
13582 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
;
13584 wxDC
*arg1
= (wxDC
*) 0 ;
13585 wxBitmap
*arg2
= 0 ;
13586 wxPoint
*arg3
= 0 ;
13587 bool arg4
= (bool) false ;
13589 PyObject
* obj0
= 0 ;
13590 PyObject
* obj1
= 0 ;
13591 PyObject
* obj2
= 0 ;
13592 PyObject
* obj3
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13599 if (SWIG_arg_fail(1)) SWIG_fail
;
13601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13602 if (SWIG_arg_fail(2)) SWIG_fail
;
13603 if (arg2
== NULL
) {
13604 SWIG_null_ref("wxBitmap");
13606 if (SWIG_arg_fail(2)) SWIG_fail
;
13610 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13614 arg4
= (bool)(SWIG_As_bool(obj3
));
13615 if (SWIG_arg_fail(4)) SWIG_fail
;
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13620 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13622 wxPyEndAllowThreads(__tstate
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13625 Py_INCREF(Py_None
); resultobj
= Py_None
;
13632 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
;
13634 wxDC
*arg1
= (wxDC
*) 0 ;
13635 wxString
*arg2
= 0 ;
13638 bool temp2
= false ;
13639 PyObject
* obj0
= 0 ;
13640 PyObject
* obj1
= 0 ;
13641 PyObject
* obj2
= 0 ;
13642 PyObject
* obj3
= 0 ;
13643 char *kwnames
[] = {
13644 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
13647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13649 if (SWIG_arg_fail(1)) SWIG_fail
;
13651 arg2
= wxString_in_helper(obj1
);
13652 if (arg2
== NULL
) SWIG_fail
;
13656 arg3
= (int)(SWIG_As_int(obj2
));
13657 if (SWIG_arg_fail(3)) SWIG_fail
;
13660 arg4
= (int)(SWIG_As_int(obj3
));
13661 if (SWIG_arg_fail(4)) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 Py_INCREF(Py_None
); resultobj
= Py_None
;
13685 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxDC
*arg1
= (wxDC
*) 0 ;
13688 wxString
*arg2
= 0 ;
13689 wxPoint
*arg3
= 0 ;
13690 bool temp2
= false ;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 PyObject
* obj2
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "self",(char *) "text",(char *) "pt", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13701 if (SWIG_arg_fail(1)) SWIG_fail
;
13703 arg2
= wxString_in_helper(obj1
);
13704 if (arg2
== NULL
) SWIG_fail
;
13709 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 Py_INCREF(Py_None
); resultobj
= Py_None
;
13733 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxDC
*arg1
= (wxDC
*) 0 ;
13736 wxString
*arg2
= 0 ;
13740 bool temp2
= false ;
13741 PyObject
* obj0
= 0 ;
13742 PyObject
* obj1
= 0 ;
13743 PyObject
* obj2
= 0 ;
13744 PyObject
* obj3
= 0 ;
13745 PyObject
* obj4
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13752 if (SWIG_arg_fail(1)) SWIG_fail
;
13754 arg2
= wxString_in_helper(obj1
);
13755 if (arg2
== NULL
) SWIG_fail
;
13759 arg3
= (int)(SWIG_As_int(obj2
));
13760 if (SWIG_arg_fail(3)) SWIG_fail
;
13763 arg4
= (int)(SWIG_As_int(obj3
));
13764 if (SWIG_arg_fail(4)) SWIG_fail
;
13767 arg5
= (double)(SWIG_As_double(obj4
));
13768 if (SWIG_arg_fail(5)) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 Py_INCREF(Py_None
); resultobj
= Py_None
;
13792 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
;
13794 wxDC
*arg1
= (wxDC
*) 0 ;
13795 wxString
*arg2
= 0 ;
13796 wxPoint
*arg3
= 0 ;
13798 bool temp2
= false ;
13800 PyObject
* obj0
= 0 ;
13801 PyObject
* obj1
= 0 ;
13802 PyObject
* obj2
= 0 ;
13803 PyObject
* obj3
= 0 ;
13804 char *kwnames
[] = {
13805 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13810 if (SWIG_arg_fail(1)) SWIG_fail
;
13812 arg2
= wxString_in_helper(obj1
);
13813 if (arg2
== NULL
) SWIG_fail
;
13818 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13821 arg4
= (double)(SWIG_As_double(obj3
));
13822 if (SWIG_arg_fail(4)) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 Py_INCREF(Py_None
); resultobj
= Py_None
;
13846 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
;
13848 wxDC
*arg1
= (wxDC
*) 0 ;
13853 wxDC
*arg6
= (wxDC
*) 0 ;
13856 int arg9
= (int) wxCOPY
;
13857 bool arg10
= (bool) false ;
13858 int arg11
= (int) -1 ;
13859 int arg12
= (int) -1 ;
13861 PyObject
* obj0
= 0 ;
13862 PyObject
* obj1
= 0 ;
13863 PyObject
* obj2
= 0 ;
13864 PyObject
* obj3
= 0 ;
13865 PyObject
* obj4
= 0 ;
13866 PyObject
* obj5
= 0 ;
13867 PyObject
* obj6
= 0 ;
13868 PyObject
* obj7
= 0 ;
13869 PyObject
* obj8
= 0 ;
13870 PyObject
* obj9
= 0 ;
13871 PyObject
* obj10
= 0 ;
13872 PyObject
* obj11
= 0 ;
13873 char *kwnames
[] = {
13874 (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
13877 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
;
13878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13879 if (SWIG_arg_fail(1)) SWIG_fail
;
13881 arg2
= (int)(SWIG_As_int(obj1
));
13882 if (SWIG_arg_fail(2)) SWIG_fail
;
13885 arg3
= (int)(SWIG_As_int(obj2
));
13886 if (SWIG_arg_fail(3)) SWIG_fail
;
13889 arg4
= (int)(SWIG_As_int(obj3
));
13890 if (SWIG_arg_fail(4)) SWIG_fail
;
13893 arg5
= (int)(SWIG_As_int(obj4
));
13894 if (SWIG_arg_fail(5)) SWIG_fail
;
13896 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13897 if (SWIG_arg_fail(6)) SWIG_fail
;
13899 arg7
= (int)(SWIG_As_int(obj6
));
13900 if (SWIG_arg_fail(7)) SWIG_fail
;
13903 arg8
= (int)(SWIG_As_int(obj7
));
13904 if (SWIG_arg_fail(8)) SWIG_fail
;
13908 arg9
= (int)(SWIG_As_int(obj8
));
13909 if (SWIG_arg_fail(9)) SWIG_fail
;
13914 arg10
= (bool)(SWIG_As_bool(obj9
));
13915 if (SWIG_arg_fail(10)) SWIG_fail
;
13920 arg11
= (int)(SWIG_As_int(obj10
));
13921 if (SWIG_arg_fail(11)) SWIG_fail
;
13926 arg12
= (int)(SWIG_As_int(obj11
));
13927 if (SWIG_arg_fail(12)) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13946 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxDC
*arg1
= (wxDC
*) 0 ;
13949 wxPoint
*arg2
= 0 ;
13951 wxDC
*arg4
= (wxDC
*) 0 ;
13952 wxPoint
*arg5
= 0 ;
13953 int arg6
= (int) wxCOPY
;
13954 bool arg7
= (bool) false ;
13955 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
13956 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
13962 PyObject
* obj0
= 0 ;
13963 PyObject
* obj1
= 0 ;
13964 PyObject
* obj2
= 0 ;
13965 PyObject
* obj3
= 0 ;
13966 PyObject
* obj4
= 0 ;
13967 PyObject
* obj5
= 0 ;
13968 PyObject
* obj6
= 0 ;
13969 PyObject
* obj7
= 0 ;
13970 char *kwnames
[] = {
13971 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
13974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13976 if (SWIG_arg_fail(1)) SWIG_fail
;
13979 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13983 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13985 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13986 if (SWIG_arg_fail(4)) SWIG_fail
;
13989 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13993 arg6
= (int)(SWIG_As_int(obj5
));
13994 if (SWIG_arg_fail(6)) SWIG_fail
;
13999 arg7
= (bool)(SWIG_As_bool(obj6
));
14000 if (SWIG_arg_fail(7)) SWIG_fail
;
14006 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14025 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxDC
*arg1
= (wxDC
*) 0 ;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 PyObject
* obj2
= 0 ;
14035 PyObject
* obj3
= 0 ;
14036 PyObject
* obj4
= 0 ;
14037 char *kwnames
[] = {
14038 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14043 if (SWIG_arg_fail(1)) SWIG_fail
;
14045 arg2
= (int)(SWIG_As_int(obj1
));
14046 if (SWIG_arg_fail(2)) SWIG_fail
;
14049 arg3
= (int)(SWIG_As_int(obj2
));
14050 if (SWIG_arg_fail(3)) SWIG_fail
;
14053 arg4
= (int)(SWIG_As_int(obj3
));
14054 if (SWIG_arg_fail(4)) SWIG_fail
;
14057 arg5
= (int)(SWIG_As_int(obj4
));
14058 if (SWIG_arg_fail(5)) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 Py_INCREF(Py_None
); resultobj
= Py_None
;
14074 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxDC
*arg1
= (wxDC
*) 0 ;
14077 wxPoint
*arg2
= 0 ;
14081 PyObject
* obj0
= 0 ;
14082 PyObject
* obj1
= 0 ;
14083 PyObject
* obj2
= 0 ;
14084 char *kwnames
[] = {
14085 (char *) "self",(char *) "pt",(char *) "sz", NULL
14088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14090 if (SWIG_arg_fail(1)) SWIG_fail
;
14093 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14097 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 Py_INCREF(Py_None
); resultobj
= Py_None
;
14113 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
;
14115 wxDC
*arg1
= (wxDC
*) 0 ;
14116 wxRegion
*arg2
= 0 ;
14117 PyObject
* obj0
= 0 ;
14118 PyObject
* obj1
= 0 ;
14119 char *kwnames
[] = {
14120 (char *) "self",(char *) "region", NULL
14123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14125 if (SWIG_arg_fail(1)) SWIG_fail
;
14127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14128 if (SWIG_arg_fail(2)) SWIG_fail
;
14129 if (arg2
== NULL
) {
14130 SWIG_null_ref("wxRegion");
14132 if (SWIG_arg_fail(2)) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 Py_INCREF(Py_None
); resultobj
= Py_None
;
14148 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxDC
*arg1
= (wxDC
*) 0 ;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self",(char *) "rect", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14161 if (SWIG_arg_fail(1)) SWIG_fail
;
14164 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14173 Py_INCREF(Py_None
); resultobj
= Py_None
;
14180 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxDC
*arg1
= (wxDC
*) 0 ;
14184 wxPoint
*arg3
= (wxPoint
*) 0 ;
14185 int arg4
= (int) 0 ;
14186 int arg5
= (int) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 PyObject
* obj1
= 0 ;
14189 PyObject
* obj2
= 0 ;
14190 PyObject
* obj3
= 0 ;
14191 char *kwnames
[] = {
14192 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14197 if (SWIG_arg_fail(1)) SWIG_fail
;
14199 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14200 if (arg3
== NULL
) SWIG_fail
;
14204 arg4
= (int)(SWIG_As_int(obj2
));
14205 if (SWIG_arg_fail(4)) SWIG_fail
;
14210 arg5
= (int)(SWIG_As_int(obj3
));
14211 if (SWIG_arg_fail(5)) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 Py_INCREF(Py_None
); resultobj
= Py_None
;
14223 if (arg3
) delete [] arg3
;
14228 if (arg3
) delete [] arg3
;
14234 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxDC
*arg1
= (wxDC
*) 0 ;
14238 wxPoint
*arg3
= (wxPoint
*) 0 ;
14239 int arg4
= (int) 0 ;
14240 int arg5
= (int) 0 ;
14241 int arg6
= (int) wxODDEVEN_RULE
;
14242 PyObject
* obj0
= 0 ;
14243 PyObject
* obj1
= 0 ;
14244 PyObject
* obj2
= 0 ;
14245 PyObject
* obj3
= 0 ;
14246 PyObject
* obj4
= 0 ;
14247 char *kwnames
[] = {
14248 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14253 if (SWIG_arg_fail(1)) SWIG_fail
;
14255 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14256 if (arg3
== NULL
) SWIG_fail
;
14260 arg4
= (int)(SWIG_As_int(obj2
));
14261 if (SWIG_arg_fail(4)) SWIG_fail
;
14266 arg5
= (int)(SWIG_As_int(obj3
));
14267 if (SWIG_arg_fail(5)) SWIG_fail
;
14272 arg6
= (int)(SWIG_As_int(obj4
));
14273 if (SWIG_arg_fail(6)) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 Py_INCREF(Py_None
); resultobj
= Py_None
;
14285 if (arg3
) delete [] arg3
;
14290 if (arg3
) delete [] arg3
;
14296 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14297 PyObject
*resultobj
;
14298 wxDC
*arg1
= (wxDC
*) 0 ;
14299 wxString
*arg2
= 0 ;
14301 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14302 int arg5
= (int) -1 ;
14303 bool temp2
= false ;
14305 PyObject
* obj0
= 0 ;
14306 PyObject
* obj1
= 0 ;
14307 PyObject
* obj2
= 0 ;
14308 PyObject
* obj3
= 0 ;
14309 PyObject
* obj4
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14316 if (SWIG_arg_fail(1)) SWIG_fail
;
14318 arg2
= wxString_in_helper(obj1
);
14319 if (arg2
== NULL
) SWIG_fail
;
14324 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
14328 arg4
= (int)(SWIG_As_int(obj3
));
14329 if (SWIG_arg_fail(4)) SWIG_fail
;
14334 arg5
= (int)(SWIG_As_int(obj4
));
14335 if (SWIG_arg_fail(5)) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 Py_INCREF(Py_None
); resultobj
= Py_None
;
14360 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxDC
*arg1
= (wxDC
*) 0 ;
14363 wxString
*arg2
= 0 ;
14364 wxBitmap
*arg3
= 0 ;
14366 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14367 int arg6
= (int) -1 ;
14369 bool temp2
= false ;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 PyObject
* obj2
= 0 ;
14374 PyObject
* obj3
= 0 ;
14375 PyObject
* obj4
= 0 ;
14376 PyObject
* obj5
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14383 if (SWIG_arg_fail(1)) SWIG_fail
;
14385 arg2
= wxString_in_helper(obj1
);
14386 if (arg2
== NULL
) SWIG_fail
;
14390 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14391 if (SWIG_arg_fail(3)) SWIG_fail
;
14392 if (arg3
== NULL
) {
14393 SWIG_null_ref("wxBitmap");
14395 if (SWIG_arg_fail(3)) SWIG_fail
;
14399 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
14403 arg5
= (int)(SWIG_As_int(obj4
));
14404 if (SWIG_arg_fail(5)) SWIG_fail
;
14409 arg6
= (int)(SWIG_As_int(obj5
));
14410 if (SWIG_arg_fail(6)) SWIG_fail
;
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14421 wxRect
* resultptr
;
14422 resultptr
= new wxRect((wxRect
&)(result
));
14423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14439 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxDC
*arg1
= (wxDC
*) 0 ;
14443 wxPoint
*arg3
= (wxPoint
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self",(char *) "points", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
14451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14452 if (SWIG_arg_fail(1)) SWIG_fail
;
14454 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14455 if (arg3
== NULL
) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 (arg1
)->DrawSpline(arg2
,arg3
);
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 Py_INCREF(Py_None
); resultobj
= Py_None
;
14466 if (arg3
) delete [] arg3
;
14471 if (arg3
) delete [] arg3
;
14477 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxDC
*arg1
= (wxDC
*) 0 ;
14480 PyObject
* obj0
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
14486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14487 if (SWIG_arg_fail(1)) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 Py_INCREF(Py_None
); resultobj
= Py_None
;
14502 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxDC
*arg1
= (wxDC
*) 0 ;
14505 wxString
*arg2
= 0 ;
14507 bool temp2
= false ;
14508 PyObject
* obj0
= 0 ;
14509 PyObject
* obj1
= 0 ;
14510 char *kwnames
[] = {
14511 (char *) "self",(char *) "message", NULL
14514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
14515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14516 if (SWIG_arg_fail(1)) SWIG_fail
;
14518 arg2
= wxString_in_helper(obj1
);
14519 if (arg2
== NULL
) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14546 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxDC
*arg1
= (wxDC
*) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 char *kwnames
[] = {
14551 (char *) "self", NULL
14554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
14555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14556 if (SWIG_arg_fail(1)) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14564 Py_INCREF(Py_None
); resultobj
= Py_None
;
14571 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxDC
*arg1
= (wxDC
*) 0 ;
14574 PyObject
* obj0
= 0 ;
14575 char *kwnames
[] = {
14576 (char *) "self", NULL
14579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
14580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14581 if (SWIG_arg_fail(1)) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 (arg1
)->StartPage();
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 Py_INCREF(Py_None
); resultobj
= Py_None
;
14596 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxDC
*arg1
= (wxDC
*) 0 ;
14599 PyObject
* obj0
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
14605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14606 if (SWIG_arg_fail(1)) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 Py_INCREF(Py_None
); resultobj
= Py_None
;
14621 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
;
14623 wxDC
*arg1
= (wxDC
*) 0 ;
14625 PyObject
* obj0
= 0 ;
14626 PyObject
* obj1
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self",(char *) "font", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14633 if (SWIG_arg_fail(1)) SWIG_fail
;
14635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14636 if (SWIG_arg_fail(2)) SWIG_fail
;
14637 if (arg2
== NULL
) {
14638 SWIG_null_ref("wxFont");
14640 if (SWIG_arg_fail(2)) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 (arg1
)->SetFont((wxFont
const &)*arg2
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 Py_INCREF(Py_None
); resultobj
= Py_None
;
14656 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxDC
*arg1
= (wxDC
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self",(char *) "pen", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14668 if (SWIG_arg_fail(1)) SWIG_fail
;
14670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
14671 if (SWIG_arg_fail(2)) SWIG_fail
;
14672 if (arg2
== NULL
) {
14673 SWIG_null_ref("wxPen");
14675 if (SWIG_arg_fail(2)) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 (arg1
)->SetPen((wxPen
const &)*arg2
);
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 Py_INCREF(Py_None
); resultobj
= Py_None
;
14691 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxDC
*arg1
= (wxDC
*) 0 ;
14694 wxBrush
*arg2
= 0 ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self",(char *) "brush", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14703 if (SWIG_arg_fail(1)) SWIG_fail
;
14705 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14706 if (SWIG_arg_fail(2)) SWIG_fail
;
14707 if (arg2
== NULL
) {
14708 SWIG_null_ref("wxBrush");
14710 if (SWIG_arg_fail(2)) SWIG_fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 Py_INCREF(Py_None
); resultobj
= Py_None
;
14726 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxDC
*arg1
= (wxDC
*) 0 ;
14729 wxBrush
*arg2
= 0 ;
14730 PyObject
* obj0
= 0 ;
14731 PyObject
* obj1
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self",(char *) "brush", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14738 if (SWIG_arg_fail(1)) SWIG_fail
;
14740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14741 if (SWIG_arg_fail(2)) SWIG_fail
;
14742 if (arg2
== NULL
) {
14743 SWIG_null_ref("wxBrush");
14745 if (SWIG_arg_fail(2)) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 Py_INCREF(Py_None
); resultobj
= Py_None
;
14761 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 wxDC
*arg1
= (wxDC
*) 0 ;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "self",(char *) "mode", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14773 if (SWIG_arg_fail(1)) SWIG_fail
;
14775 arg2
= (int)(SWIG_As_int(obj1
));
14776 if (SWIG_arg_fail(2)) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 (arg1
)->SetBackgroundMode(arg2
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 Py_INCREF(Py_None
); resultobj
= Py_None
;
14792 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxDC
*arg1
= (wxDC
*) 0 ;
14795 wxPalette
*arg2
= 0 ;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self",(char *) "palette", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
14803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14804 if (SWIG_arg_fail(1)) SWIG_fail
;
14806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
14807 if (SWIG_arg_fail(2)) SWIG_fail
;
14808 if (arg2
== NULL
) {
14809 SWIG_null_ref("wxPalette");
14811 if (SWIG_arg_fail(2)) SWIG_fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 Py_INCREF(Py_None
); resultobj
= Py_None
;
14827 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxDC
*arg1
= (wxDC
*) 0 ;
14830 PyObject
* obj0
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "self", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
14836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14837 if (SWIG_arg_fail(1)) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 (arg1
)->DestroyClippingRegion();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 Py_INCREF(Py_None
); resultobj
= Py_None
;
14852 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxDC
*arg1
= (wxDC
*) 0 ;
14855 int *arg2
= (int *) 0 ;
14856 int *arg3
= (int *) 0 ;
14857 int *arg4
= (int *) 0 ;
14858 int *arg5
= (int *) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self", NULL
14872 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14873 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14874 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14875 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
14877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14878 if (SWIG_arg_fail(1)) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 Py_INCREF(Py_None
); resultobj
= Py_None
;
14887 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14888 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14889 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14890 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14891 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14892 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14893 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14894 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14901 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxDC
*arg1
= (wxDC
*) 0 ;
14905 PyObject
* obj0
= 0 ;
14906 char *kwnames
[] = {
14907 (char *) "self", NULL
14910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
14911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14912 if (SWIG_arg_fail(1)) SWIG_fail
;
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 result
= wxDC_GetClippingRect(arg1
);
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14921 wxRect
* resultptr
;
14922 resultptr
= new wxRect((wxRect
&)(result
));
14923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14931 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxDC
*arg1
= (wxDC
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
14941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14942 if (SWIG_arg_fail(1)) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_From_int((int)(result
));
14959 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxDC
*arg1
= (wxDC
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
14969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14970 if (SWIG_arg_fail(1)) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= SWIG_From_int((int)(result
));
14987 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxDC
*arg1
= (wxDC
*) 0 ;
14990 wxString
*arg2
= 0 ;
14991 int *arg3
= (int *) 0 ;
14992 int *arg4
= (int *) 0 ;
14993 bool temp2
= false ;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self",(char *) "string", NULL
15004 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15005 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15008 if (SWIG_arg_fail(1)) SWIG_fail
;
15010 arg2
= wxString_in_helper(obj1
);
15011 if (arg2
== NULL
) SWIG_fail
;
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 Py_INCREF(Py_None
); resultobj
= Py_None
;
15022 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15023 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15024 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15025 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15040 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxDC
*arg1
= (wxDC
*) 0 ;
15043 wxString
*arg2
= 0 ;
15044 int *arg3
= (int *) 0 ;
15045 int *arg4
= (int *) 0 ;
15046 int *arg5
= (int *) 0 ;
15047 int *arg6
= (int *) 0 ;
15048 wxFont
*arg7
= (wxFont
*) NULL
;
15049 bool temp2
= false ;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 PyObject
* obj2
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self",(char *) "string",(char *) "font", NULL
15065 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15066 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15067 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15068 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15071 if (SWIG_arg_fail(1)) SWIG_fail
;
15073 arg2
= wxString_in_helper(obj1
);
15074 if (arg2
== NULL
) SWIG_fail
;
15078 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15079 if (SWIG_arg_fail(7)) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 Py_INCREF(Py_None
); resultobj
= Py_None
;
15089 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15090 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15091 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15092 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15093 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15094 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15095 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15096 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15111 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxDC
*arg1
= (wxDC
*) 0 ;
15114 wxString
*arg2
= 0 ;
15115 int *arg3
= (int *) 0 ;
15116 int *arg4
= (int *) 0 ;
15117 int *arg5
= (int *) 0 ;
15118 wxFont
*arg6
= (wxFont
*) NULL
;
15119 bool temp2
= false ;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 PyObject
* obj2
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self",(char *) "text",(char *) "font", NULL
15133 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15134 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15135 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15138 if (SWIG_arg_fail(1)) SWIG_fail
;
15140 arg2
= wxString_in_helper(obj1
);
15141 if (arg2
== NULL
) SWIG_fail
;
15145 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15146 if (SWIG_arg_fail(6)) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 Py_INCREF(Py_None
); resultobj
= Py_None
;
15156 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15157 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15158 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15159 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15160 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15161 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15176 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxDC
*arg1
= (wxDC
*) 0 ;
15179 wxString
*arg2
= 0 ;
15181 bool temp2
= false ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self",(char *) "text", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15190 if (SWIG_arg_fail(1)) SWIG_fail
;
15192 arg2
= wxString_in_helper(obj1
);
15193 if (arg2
== NULL
) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= PyList_New(0);
15206 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15207 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15208 PyList_Append(resultobj
, val
);
15226 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxDC
*arg1
= (wxDC
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15237 if (SWIG_arg_fail(1)) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (arg1
)->GetSize();
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15246 wxSize
* resultptr
;
15247 resultptr
= new wxSize((wxSize
&)(result
));
15248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15256 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxDC
*arg1
= (wxDC
*) 0 ;
15259 int *arg2
= (int *) 0 ;
15260 int *arg3
= (int *) 0 ;
15265 PyObject
* obj0
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self", NULL
15270 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15271 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15274 if (SWIG_arg_fail(1)) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 (arg1
)->GetSize(arg2
,arg3
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 Py_INCREF(Py_None
); resultobj
= Py_None
;
15283 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15284 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15285 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15286 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15293 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxDC
*arg1
= (wxDC
*) 0 ;
15297 PyObject
* obj0
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
15303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15304 if (SWIG_arg_fail(1)) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= ((wxDC
const *)arg1
)->GetSizeMM();
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15313 wxSize
* resultptr
;
15314 resultptr
= new wxSize((wxSize
&)(result
));
15315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15323 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxDC
*arg1
= (wxDC
*) 0 ;
15326 int *arg2
= (int *) 0 ;
15327 int *arg3
= (int *) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self", NULL
15337 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15338 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
15340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15341 if (SWIG_arg_fail(1)) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 Py_INCREF(Py_None
); resultobj
= Py_None
;
15350 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15351 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15352 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15353 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15360 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxDC
*arg1
= (wxDC
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 PyObject
* obj1
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "x", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
15372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15373 if (SWIG_arg_fail(1)) SWIG_fail
;
15375 arg2
= (int)(SWIG_As_int(obj1
));
15376 if (SWIG_arg_fail(2)) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= SWIG_From_int((int)(result
));
15394 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
;
15396 wxDC
*arg1
= (wxDC
*) 0 ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self",(char *) "y", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
15406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15407 if (SWIG_arg_fail(1)) SWIG_fail
;
15409 arg2
= (int)(SWIG_As_int(obj1
));
15410 if (SWIG_arg_fail(2)) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_From_int((int)(result
));
15428 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxDC
*arg1
= (wxDC
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "x", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15441 if (SWIG_arg_fail(1)) SWIG_fail
;
15443 arg2
= (int)(SWIG_As_int(obj1
));
15444 if (SWIG_arg_fail(2)) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= SWIG_From_int((int)(result
));
15462 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxDC
*arg1
= (wxDC
*) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self",(char *) "y", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15475 if (SWIG_arg_fail(1)) SWIG_fail
;
15477 arg2
= (int)(SWIG_As_int(obj1
));
15478 if (SWIG_arg_fail(2)) SWIG_fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15488 resultobj
= SWIG_From_int((int)(result
));
15496 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxDC
*arg1
= (wxDC
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self",(char *) "x", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
15508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15509 if (SWIG_arg_fail(1)) SWIG_fail
;
15511 arg2
= (int)(SWIG_As_int(obj1
));
15512 if (SWIG_arg_fail(2)) SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= SWIG_From_int((int)(result
));
15530 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
;
15532 wxDC
*arg1
= (wxDC
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 PyObject
* obj1
= 0 ;
15537 char *kwnames
[] = {
15538 (char *) "self",(char *) "y", NULL
15541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
15542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15543 if (SWIG_arg_fail(1)) SWIG_fail
;
15545 arg2
= (int)(SWIG_As_int(obj1
));
15546 if (SWIG_arg_fail(2)) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= SWIG_From_int((int)(result
));
15564 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxDC
*arg1
= (wxDC
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self",(char *) "x", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15577 if (SWIG_arg_fail(1)) SWIG_fail
;
15579 arg2
= (int)(SWIG_As_int(obj1
));
15580 if (SWIG_arg_fail(2)) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= SWIG_From_int((int)(result
));
15598 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxDC
*arg1
= (wxDC
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self",(char *) "y", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15611 if (SWIG_arg_fail(1)) SWIG_fail
;
15613 arg2
= (int)(SWIG_As_int(obj1
));
15614 if (SWIG_arg_fail(2)) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_From_int((int)(result
));
15632 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxDC
*arg1
= (wxDC
*) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
15642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15643 if (SWIG_arg_fail(1)) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15660 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 wxDC
*arg1
= (wxDC
*) 0 ;
15664 PyObject
* obj0
= 0 ;
15665 char *kwnames
[] = {
15666 (char *) "self", NULL
15669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
15670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15671 if (SWIG_arg_fail(1)) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15688 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxDC
*arg1
= (wxDC
*) 0 ;
15692 PyObject
* obj0
= 0 ;
15693 char *kwnames
[] = {
15694 (char *) "self", NULL
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
15698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15699 if (SWIG_arg_fail(1)) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (int)((wxDC
const *)arg1
)->GetDepth();
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= SWIG_From_int((int)(result
));
15716 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxDC
*arg1
= (wxDC
*) 0 ;
15720 PyObject
* obj0
= 0 ;
15721 char *kwnames
[] = {
15722 (char *) "self", NULL
15725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
15726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15727 if (SWIG_arg_fail(1)) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= ((wxDC
const *)arg1
)->GetPPI();
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15736 wxSize
* resultptr
;
15737 resultptr
= new wxSize((wxSize
&)(result
));
15738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15746 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
;
15748 wxDC
*arg1
= (wxDC
*) 0 ;
15750 PyObject
* obj0
= 0 ;
15751 char *kwnames
[] = {
15752 (char *) "self", NULL
15755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
15756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15757 if (SWIG_arg_fail(1)) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 result
= (bool)((wxDC
const *)arg1
)->Ok();
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15774 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxDC
*arg1
= (wxDC
*) 0 ;
15778 PyObject
* obj0
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
15784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15785 if (SWIG_arg_fail(1)) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= SWIG_From_int((int)(result
));
15802 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxDC
*arg1
= (wxDC
*) 0 ;
15806 PyObject
* obj0
= 0 ;
15807 char *kwnames
[] = {
15808 (char *) "self", NULL
15811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
15812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15813 if (SWIG_arg_fail(1)) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
15818 result
= (wxBrush
*) &_result_ref
;
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15825 wxBrush
* resultptr
= new wxBrush(*result
);
15826 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15834 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
;
15836 wxDC
*arg1
= (wxDC
*) 0 ;
15838 PyObject
* obj0
= 0 ;
15839 char *kwnames
[] = {
15840 (char *) "self", NULL
15843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
15844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15845 if (SWIG_arg_fail(1)) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
15850 result
= (wxBrush
*) &_result_ref
;
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15857 wxBrush
* resultptr
= new wxBrush(*result
);
15858 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15866 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxDC
*arg1
= (wxDC
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
15876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15877 if (SWIG_arg_fail(1)) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
15882 result
= (wxFont
*) &_result_ref
;
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15889 wxFont
* resultptr
= new wxFont(*result
);
15890 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15898 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15899 PyObject
*resultobj
;
15900 wxDC
*arg1
= (wxDC
*) 0 ;
15902 PyObject
* obj0
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
15908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15909 if (SWIG_arg_fail(1)) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
15914 result
= (wxPen
*) &_result_ref
;
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15921 wxPen
* resultptr
= new wxPen(*result
);
15922 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
15930 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxDC
*arg1
= (wxDC
*) 0 ;
15934 PyObject
* obj0
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "self", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
15940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15941 if (SWIG_arg_fail(1)) SWIG_fail
;
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
15946 result
= (wxColour
*) &_result_ref
;
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
15959 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxDC
*arg1
= (wxDC
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 char *kwnames
[] = {
15965 (char *) "self", NULL
15968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
15969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15970 if (SWIG_arg_fail(1)) SWIG_fail
;
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
15975 result
= (wxColour
*) &_result_ref
;
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
15988 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxDC
*arg1
= (wxDC
*) 0 ;
15991 wxColour
*arg2
= 0 ;
15993 PyObject
* obj0
= 0 ;
15994 PyObject
* obj1
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self",(char *) "colour", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16001 if (SWIG_arg_fail(1)) SWIG_fail
;
16004 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16013 Py_INCREF(Py_None
); resultobj
= Py_None
;
16020 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxDC
*arg1
= (wxDC
*) 0 ;
16023 wxColour
*arg2
= 0 ;
16025 PyObject
* obj0
= 0 ;
16026 PyObject
* obj1
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self",(char *) "colour", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16033 if (SWIG_arg_fail(1)) SWIG_fail
;
16036 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 Py_INCREF(Py_None
); resultobj
= Py_None
;
16052 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxDC
*arg1
= (wxDC
*) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16063 if (SWIG_arg_fail(1)) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= SWIG_From_int((int)(result
));
16080 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxDC
*arg1
= (wxDC
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self",(char *) "mode", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16092 if (SWIG_arg_fail(1)) SWIG_fail
;
16094 arg2
= (int)(SWIG_As_int(obj1
));
16095 if (SWIG_arg_fail(2)) SWIG_fail
;
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 (arg1
)->SetMapMode(arg2
);
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16104 Py_INCREF(Py_None
); resultobj
= Py_None
;
16111 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
;
16113 wxDC
*arg1
= (wxDC
*) 0 ;
16114 double *arg2
= (double *) 0 ;
16115 double *arg3
= (double *) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 char *kwnames
[] = {
16122 (char *) "self", NULL
16125 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16126 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16129 if (SWIG_arg_fail(1)) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 Py_INCREF(Py_None
); resultobj
= Py_None
;
16138 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16139 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16140 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16141 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16148 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxDC
*arg1
= (wxDC
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 PyObject
* obj1
= 0 ;
16155 PyObject
* obj2
= 0 ;
16156 char *kwnames
[] = {
16157 (char *) "self",(char *) "x",(char *) "y", NULL
16160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16162 if (SWIG_arg_fail(1)) SWIG_fail
;
16164 arg2
= (double)(SWIG_As_double(obj1
));
16165 if (SWIG_arg_fail(2)) SWIG_fail
;
16168 arg3
= (double)(SWIG_As_double(obj2
));
16169 if (SWIG_arg_fail(3)) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 (arg1
)->SetUserScale(arg2
,arg3
);
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 Py_INCREF(Py_None
); resultobj
= Py_None
;
16185 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxDC
*arg1
= (wxDC
*) 0 ;
16188 double *arg2
= (double *) 0 ;
16189 double *arg3
= (double *) 0 ;
16194 PyObject
* obj0
= 0 ;
16195 char *kwnames
[] = {
16196 (char *) "self", NULL
16199 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16200 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16203 if (SWIG_arg_fail(1)) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 (arg1
)->GetLogicalScale(arg2
,arg3
);
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 Py_INCREF(Py_None
); resultobj
= Py_None
;
16212 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16213 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16214 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16215 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16222 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 wxDC
*arg1
= (wxDC
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 PyObject
* obj1
= 0 ;
16229 PyObject
* obj2
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self",(char *) "x",(char *) "y", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16236 if (SWIG_arg_fail(1)) SWIG_fail
;
16238 arg2
= (double)(SWIG_As_double(obj1
));
16239 if (SWIG_arg_fail(2)) SWIG_fail
;
16242 arg3
= (double)(SWIG_As_double(obj2
));
16243 if (SWIG_arg_fail(3)) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 (arg1
)->SetLogicalScale(arg2
,arg3
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 Py_INCREF(Py_None
); resultobj
= Py_None
;
16259 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 wxDC
*arg1
= (wxDC
*) 0 ;
16263 PyObject
* obj0
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16270 if (SWIG_arg_fail(1)) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16279 wxPoint
* resultptr
;
16280 resultptr
= new wxPoint((wxPoint
&)(result
));
16281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16289 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxDC
*arg1
= (wxDC
*) 0 ;
16292 int *arg2
= (int *) 0 ;
16293 int *arg3
= (int *) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "self", NULL
16303 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16304 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
16306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16307 if (SWIG_arg_fail(1)) SWIG_fail
;
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16315 Py_INCREF(Py_None
); resultobj
= Py_None
;
16316 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16317 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16318 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16319 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16326 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
;
16328 wxDC
*arg1
= (wxDC
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 PyObject
* obj2
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self",(char *) "x",(char *) "y", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16340 if (SWIG_arg_fail(1)) SWIG_fail
;
16342 arg2
= (int)(SWIG_As_int(obj1
));
16343 if (SWIG_arg_fail(2)) SWIG_fail
;
16346 arg3
= (int)(SWIG_As_int(obj2
));
16347 if (SWIG_arg_fail(3)) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16356 Py_INCREF(Py_None
); resultobj
= Py_None
;
16363 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxDC
*arg1
= (wxDC
*) 0 ;
16366 wxPoint
*arg2
= 0 ;
16368 PyObject
* obj0
= 0 ;
16369 PyObject
* obj1
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "self",(char *) "point", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16376 if (SWIG_arg_fail(1)) SWIG_fail
;
16379 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16388 Py_INCREF(Py_None
); resultobj
= Py_None
;
16395 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxDC
*arg1
= (wxDC
*) 0 ;
16399 PyObject
* obj0
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
16405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16406 if (SWIG_arg_fail(1)) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 wxPoint
* resultptr
;
16416 resultptr
= new wxPoint((wxPoint
&)(result
));
16417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16425 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxDC
*arg1
= (wxDC
*) 0 ;
16428 int *arg2
= (int *) 0 ;
16429 int *arg3
= (int *) 0 ;
16434 PyObject
* obj0
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "self", NULL
16439 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16440 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
16442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16443 if (SWIG_arg_fail(1)) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16451 Py_INCREF(Py_None
); resultobj
= Py_None
;
16452 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16453 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16454 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16455 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16462 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxDC
*arg1
= (wxDC
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 PyObject
* obj1
= 0 ;
16469 PyObject
* obj2
= 0 ;
16470 char *kwnames
[] = {
16471 (char *) "self",(char *) "x",(char *) "y", NULL
16474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16476 if (SWIG_arg_fail(1)) SWIG_fail
;
16478 arg2
= (int)(SWIG_As_int(obj1
));
16479 if (SWIG_arg_fail(2)) SWIG_fail
;
16482 arg3
= (int)(SWIG_As_int(obj2
));
16483 if (SWIG_arg_fail(3)) SWIG_fail
;
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
16489 wxPyEndAllowThreads(__tstate
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16492 Py_INCREF(Py_None
); resultobj
= Py_None
;
16499 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxDC
*arg1
= (wxDC
*) 0 ;
16502 wxPoint
*arg2
= 0 ;
16504 PyObject
* obj0
= 0 ;
16505 PyObject
* obj1
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self",(char *) "point", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16512 if (SWIG_arg_fail(1)) SWIG_fail
;
16515 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16524 Py_INCREF(Py_None
); resultobj
= Py_None
;
16531 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxDC
*arg1
= (wxDC
*) 0 ;
16536 PyObject
* obj0
= 0 ;
16537 PyObject
* obj1
= 0 ;
16538 PyObject
* obj2
= 0 ;
16539 char *kwnames
[] = {
16540 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16545 if (SWIG_arg_fail(1)) SWIG_fail
;
16547 arg2
= (bool)(SWIG_As_bool(obj1
));
16548 if (SWIG_arg_fail(2)) SWIG_fail
;
16551 arg3
= (bool)(SWIG_As_bool(obj2
));
16552 if (SWIG_arg_fail(3)) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 (arg1
)->SetAxisOrientation(arg2
,arg3
);
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16561 Py_INCREF(Py_None
); resultobj
= Py_None
;
16568 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxDC
*arg1
= (wxDC
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
16578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16579 if (SWIG_arg_fail(1)) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16588 resultobj
= SWIG_From_int((int)(result
));
16596 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxDC
*arg1
= (wxDC
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 PyObject
* obj1
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "self",(char *) "function", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
16607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16608 if (SWIG_arg_fail(1)) SWIG_fail
;
16610 arg2
= (int)(SWIG_As_int(obj1
));
16611 if (SWIG_arg_fail(2)) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 (arg1
)->SetLogicalFunction(arg2
);
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 Py_INCREF(Py_None
); resultobj
= Py_None
;
16627 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
;
16629 wxDC
*arg1
= (wxDC
*) 0 ;
16630 PyObject
* obj0
= 0 ;
16631 char *kwnames
[] = {
16632 (char *) "self", NULL
16635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
16636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16637 if (SWIG_arg_fail(1)) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 (arg1
)->ComputeScaleAndOrigin();
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 Py_INCREF(Py_None
); resultobj
= Py_None
;
16652 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxDC
*arg1
= (wxDC
*) 0 ;
16657 PyObject
* obj0
= 0 ;
16658 PyObject
* obj1
= 0 ;
16659 PyObject
* obj2
= 0 ;
16660 char *kwnames
[] = {
16661 (char *) "self",(char *) "x",(char *) "y", NULL
16664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16666 if (SWIG_arg_fail(1)) SWIG_fail
;
16668 arg2
= (int)(SWIG_As_int(obj1
));
16669 if (SWIG_arg_fail(2)) SWIG_fail
;
16672 arg3
= (int)(SWIG_As_int(obj2
));
16673 if (SWIG_arg_fail(3)) SWIG_fail
;
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 (arg1
)->CalcBoundingBox(arg2
,arg3
);
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16682 Py_INCREF(Py_None
); resultobj
= Py_None
;
16689 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
;
16691 wxDC
*arg1
= (wxDC
*) 0 ;
16692 wxPoint
*arg2
= 0 ;
16694 PyObject
* obj0
= 0 ;
16695 PyObject
* obj1
= 0 ;
16696 char *kwnames
[] = {
16697 (char *) "self",(char *) "point", NULL
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16702 if (SWIG_arg_fail(1)) SWIG_fail
;
16705 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 Py_INCREF(Py_None
); resultobj
= Py_None
;
16721 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16723 wxDC
*arg1
= (wxDC
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
16730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16731 if (SWIG_arg_fail(1)) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 (arg1
)->ResetBoundingBox();
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 Py_INCREF(Py_None
); resultobj
= Py_None
;
16746 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 wxDC
*arg1
= (wxDC
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "self", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
16756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16757 if (SWIG_arg_fail(1)) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (int)((wxDC
const *)arg1
)->MinX();
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16766 resultobj
= SWIG_From_int((int)(result
));
16774 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
;
16776 wxDC
*arg1
= (wxDC
*) 0 ;
16778 PyObject
* obj0
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "self", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
16784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16785 if (SWIG_arg_fail(1)) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= (int)((wxDC
const *)arg1
)->MaxX();
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_From_int((int)(result
));
16802 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxDC
*arg1
= (wxDC
*) 0 ;
16806 PyObject
* obj0
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
16812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16813 if (SWIG_arg_fail(1)) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 result
= (int)((wxDC
const *)arg1
)->MinY();
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= SWIG_From_int((int)(result
));
16830 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16832 wxDC
*arg1
= (wxDC
*) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "self", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
16840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16841 if (SWIG_arg_fail(1)) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 result
= (int)((wxDC
const *)arg1
)->MaxY();
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= SWIG_From_int((int)(result
));
16858 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
;
16860 wxDC
*arg1
= (wxDC
*) 0 ;
16861 int *arg2
= (int *) 0 ;
16862 int *arg3
= (int *) 0 ;
16863 int *arg4
= (int *) 0 ;
16864 int *arg5
= (int *) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "self", NULL
16878 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16879 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16880 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16881 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
16883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16884 if (SWIG_arg_fail(1)) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 Py_INCREF(Py_None
); resultobj
= Py_None
;
16893 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16894 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16895 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16896 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16897 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16898 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16899 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
16900 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
16907 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxDC
*arg1
= (wxDC
*) 0 ;
16910 PyObject
*arg2
= (PyObject
*) 0 ;
16911 PyObject
*arg3
= (PyObject
*) 0 ;
16912 PyObject
*arg4
= (PyObject
*) 0 ;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 PyObject
* obj2
= 0 ;
16917 PyObject
* obj3
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= result
;
16942 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxDC
*arg1
= (wxDC
*) 0 ;
16945 PyObject
*arg2
= (PyObject
*) 0 ;
16946 PyObject
*arg3
= (PyObject
*) 0 ;
16947 PyObject
*arg4
= (PyObject
*) 0 ;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 PyObject
* obj2
= 0 ;
16952 PyObject
* obj3
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16959 if (SWIG_arg_fail(1)) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= result
;
16977 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxDC
*arg1
= (wxDC
*) 0 ;
16980 PyObject
*arg2
= (PyObject
*) 0 ;
16981 PyObject
*arg3
= (PyObject
*) 0 ;
16982 PyObject
*arg4
= (PyObject
*) 0 ;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 PyObject
* obj2
= 0 ;
16987 PyObject
* obj3
= 0 ;
16988 char *kwnames
[] = {
16989 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16994 if (SWIG_arg_fail(1)) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 resultobj
= result
;
17012 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxDC
*arg1
= (wxDC
*) 0 ;
17015 PyObject
*arg2
= (PyObject
*) 0 ;
17016 PyObject
*arg3
= (PyObject
*) 0 ;
17017 PyObject
*arg4
= (PyObject
*) 0 ;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 PyObject
* obj2
= 0 ;
17022 PyObject
* obj3
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17029 if (SWIG_arg_fail(1)) SWIG_fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= result
;
17047 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxDC
*arg1
= (wxDC
*) 0 ;
17050 PyObject
*arg2
= (PyObject
*) 0 ;
17051 PyObject
*arg3
= (PyObject
*) 0 ;
17052 PyObject
*arg4
= (PyObject
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 PyObject
* obj2
= 0 ;
17057 PyObject
* obj3
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17064 if (SWIG_arg_fail(1)) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= result
;
17082 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxDC
*arg1
= (wxDC
*) 0 ;
17085 PyObject
*arg2
= (PyObject
*) 0 ;
17086 PyObject
*arg3
= (PyObject
*) 0 ;
17087 PyObject
*arg4
= (PyObject
*) 0 ;
17088 PyObject
*arg5
= (PyObject
*) 0 ;
17090 PyObject
* obj0
= 0 ;
17091 PyObject
* obj1
= 0 ;
17092 PyObject
* obj2
= 0 ;
17093 PyObject
* obj3
= 0 ;
17094 PyObject
* obj4
= 0 ;
17095 char *kwnames
[] = {
17096 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17101 if (SWIG_arg_fail(1)) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17113 resultobj
= result
;
17120 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17123 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17125 return Py_BuildValue((char *)"");
17127 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxMemoryDC
*result
;
17130 char *kwnames
[] = {
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17136 if (!wxPyCheckForApp()) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (wxMemoryDC
*)new wxMemoryDC();
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17150 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxDC
*arg1
= (wxDC
*) 0 ;
17153 wxMemoryDC
*result
;
17154 PyObject
* obj0
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "oldDC", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17161 if (SWIG_arg_fail(1)) SWIG_fail
;
17163 if (!wxPyCheckForApp()) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17167 wxPyEndAllowThreads(__tstate
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17177 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17180 wxBitmap
*arg2
= 0 ;
17181 PyObject
* obj0
= 0 ;
17182 PyObject
* obj1
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "self",(char *) "bitmap", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17189 if (SWIG_arg_fail(1)) SWIG_fail
;
17191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17192 if (SWIG_arg_fail(2)) SWIG_fail
;
17193 if (arg2
== NULL
) {
17194 SWIG_null_ref("wxBitmap");
17196 if (SWIG_arg_fail(2)) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 Py_INCREF(Py_None
); resultobj
= Py_None
;
17212 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17215 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17217 return Py_BuildValue((char *)"");
17219 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17220 PyObject
*resultobj
;
17221 wxDC
*arg1
= (wxDC
*) 0 ;
17222 wxBitmap
*arg2
= 0 ;
17223 wxBufferedDC
*result
;
17224 PyObject
* obj0
= 0 ;
17225 PyObject
* obj1
= 0 ;
17227 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
17228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17229 if (SWIG_arg_fail(1)) SWIG_fail
;
17231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17232 if (SWIG_arg_fail(2)) SWIG_fail
;
17233 if (arg2
== NULL
) {
17234 SWIG_null_ref("wxBitmap");
17236 if (SWIG_arg_fail(2)) SWIG_fail
;
17239 if (!wxPyCheckForApp()) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17253 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
17254 PyObject
*resultobj
;
17255 wxDC
*arg1
= (wxDC
*) 0 ;
17257 wxBufferedDC
*result
;
17259 PyObject
* obj0
= 0 ;
17260 PyObject
* obj1
= 0 ;
17262 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
17263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17264 if (SWIG_arg_fail(1)) SWIG_fail
;
17267 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17270 if (!wxPyCheckForApp()) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17284 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
17289 argc
= PyObject_Length(args
);
17290 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17291 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17297 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17307 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
17315 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17323 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17332 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
17335 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17340 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
17345 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17348 PyObject
* obj0
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "self", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
17354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17355 if (SWIG_arg_fail(1)) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 Py_INCREF(Py_None
); resultobj
= Py_None
;
17370 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17373 PyObject
* obj0
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
17379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17380 if (SWIG_arg_fail(1)) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17388 Py_INCREF(Py_None
); resultobj
= Py_None
;
17395 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
17397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17398 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
17400 return Py_BuildValue((char *)"");
17402 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 wxWindow
*arg1
= (wxWindow
*) 0 ;
17405 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17406 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17407 wxBufferedPaintDC
*result
;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "window",(char *) "buffer", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17416 if (SWIG_arg_fail(1)) SWIG_fail
;
17419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17420 if (SWIG_arg_fail(2)) SWIG_fail
;
17421 if (arg2
== NULL
) {
17422 SWIG_null_ref("wxBitmap");
17424 if (SWIG_arg_fail(2)) SWIG_fail
;
17428 if (!wxPyCheckForApp()) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
17442 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
17444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17445 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
17447 return Py_BuildValue((char *)"");
17449 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
;
17451 wxScreenDC
*result
;
17452 char *kwnames
[] = {
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
17458 if (!wxPyCheckForApp()) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (wxScreenDC
*)new wxScreenDC();
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
17472 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17475 wxWindow
*arg2
= (wxWindow
*) 0 ;
17477 PyObject
* obj0
= 0 ;
17478 PyObject
* obj1
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self",(char *) "window", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
17484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17485 if (SWIG_arg_fail(1)) SWIG_fail
;
17486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17487 if (SWIG_arg_fail(2)) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17504 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17507 wxRect
*arg2
= (wxRect
*) NULL
;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 char *kwnames
[] = {
17512 (char *) "self",(char *) "rect", NULL
17515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
17516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17517 if (SWIG_arg_fail(1)) SWIG_fail
;
17519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
17520 if (SWIG_arg_fail(2)) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17538 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "self", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
17548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17549 if (SWIG_arg_fail(1)) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 result
= (bool)(arg1
)->EndDrawingOnTop();
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17566 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
17568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17569 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
17571 return Py_BuildValue((char *)"");
17573 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxWindow
*arg1
= (wxWindow
*) 0 ;
17576 wxClientDC
*result
;
17577 PyObject
* obj0
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "win", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
17583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17584 if (SWIG_arg_fail(1)) SWIG_fail
;
17586 if (!wxPyCheckForApp()) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= (wxClientDC
*)new wxClientDC(arg1
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
17600 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
17602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17603 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
17605 return Py_BuildValue((char *)"");
17607 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxWindow
*arg1
= (wxWindow
*) 0 ;
17611 PyObject
* obj0
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "win", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
17617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17618 if (SWIG_arg_fail(1)) SWIG_fail
;
17620 if (!wxPyCheckForApp()) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
17634 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
17636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17637 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
17639 return Py_BuildValue((char *)"");
17641 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxWindow
*arg1
= (wxWindow
*) 0 ;
17644 wxWindowDC
*result
;
17645 PyObject
* obj0
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "win", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
17651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17652 if (SWIG_arg_fail(1)) SWIG_fail
;
17654 if (!wxPyCheckForApp()) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
17668 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
17670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17671 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
17673 return Py_BuildValue((char *)"");
17675 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17679 wxMirrorDC
*result
;
17680 PyObject
* obj0
= 0 ;
17681 PyObject
* obj1
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "dc",(char *) "mirror", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17689 if (SWIG_arg_fail(1)) SWIG_fail
;
17690 if (arg1
== NULL
) {
17691 SWIG_null_ref("wxDC");
17693 if (SWIG_arg_fail(1)) SWIG_fail
;
17696 arg2
= (bool)(SWIG_As_bool(obj1
));
17697 if (SWIG_arg_fail(2)) SWIG_fail
;
17700 if (!wxPyCheckForApp()) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
17714 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
17716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17717 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
17719 return Py_BuildValue((char *)"");
17721 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxPrintData
*arg1
= 0 ;
17724 wxPostScriptDC
*result
;
17725 PyObject
* obj0
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "printData", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
17732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17733 if (SWIG_arg_fail(1)) SWIG_fail
;
17734 if (arg1
== NULL
) {
17735 SWIG_null_ref("wxPrintData");
17737 if (SWIG_arg_fail(1)) SWIG_fail
;
17740 if (!wxPyCheckForApp()) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
17754 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17757 wxPrintData
*result
;
17758 PyObject
* obj0
= 0 ;
17759 char *kwnames
[] = {
17760 (char *) "self", NULL
17763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
17764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17765 if (SWIG_arg_fail(1)) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17770 result
= (wxPrintData
*) &_result_ref
;
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
17783 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17786 wxPrintData
*arg2
= 0 ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self",(char *) "data", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17795 if (SWIG_arg_fail(1)) SWIG_fail
;
17797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17798 if (SWIG_arg_fail(2)) SWIG_fail
;
17799 if (arg2
== NULL
) {
17800 SWIG_null_ref("wxPrintData");
17802 if (SWIG_arg_fail(2)) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 Py_INCREF(Py_None
); resultobj
= Py_None
;
17818 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17821 PyObject
* obj0
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "ppi", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
17828 arg1
= (int)(SWIG_As_int(obj0
));
17829 if (SWIG_arg_fail(1)) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 wxPostScriptDC::SetResolution(arg1
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 Py_INCREF(Py_None
); resultobj
= Py_None
;
17845 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17848 char *kwnames
[] = {
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 result
= (int)wxPostScriptDC::GetResolution();
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= SWIG_From_int((int)(result
));
17869 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
17871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17872 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
17874 return Py_BuildValue((char *)"");
17876 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17879 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17880 wxMetaFile
*result
;
17881 bool temp1
= false ;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "filename", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
17890 arg1
= wxString_in_helper(obj0
);
17891 if (arg1
== NULL
) SWIG_fail
;
17896 if (!wxPyCheckForApp()) SWIG_fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
17918 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
17920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17921 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
17923 return Py_BuildValue((char *)"");
17925 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17928 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17929 int arg2
= (int) 0 ;
17930 int arg3
= (int) 0 ;
17931 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17932 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17933 wxMetaFileDC
*result
;
17934 bool temp1
= false ;
17935 bool temp4
= false ;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 PyObject
* obj2
= 0 ;
17939 PyObject
* obj3
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17947 arg1
= wxString_in_helper(obj0
);
17948 if (arg1
== NULL
) SWIG_fail
;
17954 arg2
= (int)(SWIG_As_int(obj1
));
17955 if (SWIG_arg_fail(2)) SWIG_fail
;
17960 arg3
= (int)(SWIG_As_int(obj2
));
17961 if (SWIG_arg_fail(3)) SWIG_fail
;
17966 arg4
= wxString_in_helper(obj3
);
17967 if (arg4
== NULL
) SWIG_fail
;
17972 if (!wxPyCheckForApp()) SWIG_fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
18002 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
18004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18005 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
18007 return Py_BuildValue((char *)"");
18009 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxPrintData
*arg1
= 0 ;
18012 wxPrinterDC
*result
;
18013 PyObject
* obj0
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "printData", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
18020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18021 if (SWIG_arg_fail(1)) SWIG_fail
;
18022 if (arg1
== NULL
) {
18023 SWIG_null_ref("wxPrintData");
18025 if (SWIG_arg_fail(1)) SWIG_fail
;
18028 if (!wxPyCheckForApp()) SWIG_fail
;
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
18042 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
18044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18045 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
18047 return Py_BuildValue((char *)"");
18049 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18053 int arg3
= (int) true ;
18054 int arg4
= (int) 1 ;
18055 wxImageList
*result
;
18056 PyObject
* obj0
= 0 ;
18057 PyObject
* obj1
= 0 ;
18058 PyObject
* obj2
= 0 ;
18059 PyObject
* obj3
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18066 arg1
= (int)(SWIG_As_int(obj0
));
18067 if (SWIG_arg_fail(1)) SWIG_fail
;
18070 arg2
= (int)(SWIG_As_int(obj1
));
18071 if (SWIG_arg_fail(2)) SWIG_fail
;
18075 arg3
= (int)(SWIG_As_int(obj2
));
18076 if (SWIG_arg_fail(3)) SWIG_fail
;
18081 arg4
= (int)(SWIG_As_int(obj3
));
18082 if (SWIG_arg_fail(4)) SWIG_fail
;
18086 if (!wxPyCheckForApp()) SWIG_fail
;
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= wxPyMake_wxObject(result
, 1);
18102 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 wxImageList
*arg1
= (wxImageList
*) 0 ;
18105 PyObject
* obj0
= 0 ;
18106 char *kwnames
[] = {
18107 (char *) "self", NULL
18110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
18111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18112 if (SWIG_arg_fail(1)) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 Py_INCREF(Py_None
); resultobj
= Py_None
;
18127 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxImageList
*arg1
= (wxImageList
*) 0 ;
18130 wxBitmap
*arg2
= 0 ;
18131 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
18132 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 PyObject
* obj2
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
18141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18143 if (SWIG_arg_fail(1)) SWIG_fail
;
18145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18146 if (SWIG_arg_fail(2)) SWIG_fail
;
18147 if (arg2
== NULL
) {
18148 SWIG_null_ref("wxBitmap");
18150 if (SWIG_arg_fail(2)) SWIG_fail
;
18154 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18155 if (SWIG_arg_fail(3)) SWIG_fail
;
18156 if (arg3
== NULL
) {
18157 SWIG_null_ref("wxBitmap");
18159 if (SWIG_arg_fail(3)) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= SWIG_From_int((int)(result
));
18178 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxImageList
*arg1
= (wxImageList
*) 0 ;
18181 wxBitmap
*arg2
= 0 ;
18182 wxColour
*arg3
= 0 ;
18185 PyObject
* obj0
= 0 ;
18186 PyObject
* obj1
= 0 ;
18187 PyObject
* obj2
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18194 if (SWIG_arg_fail(1)) SWIG_fail
;
18196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18197 if (SWIG_arg_fail(2)) SWIG_fail
;
18198 if (arg2
== NULL
) {
18199 SWIG_null_ref("wxBitmap");
18201 if (SWIG_arg_fail(2)) SWIG_fail
;
18205 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= SWIG_From_int((int)(result
));
18223 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxImageList
*arg1
= (wxImageList
*) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 PyObject
* obj1
= 0 ;
18230 char *kwnames
[] = {
18231 (char *) "self",(char *) "icon", NULL
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18236 if (SWIG_arg_fail(1)) SWIG_fail
;
18238 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
18239 if (SWIG_arg_fail(2)) SWIG_fail
;
18240 if (arg2
== NULL
) {
18241 SWIG_null_ref("wxIcon");
18243 if (SWIG_arg_fail(2)) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18253 resultobj
= SWIG_From_int((int)(result
));
18261 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxImageList
*arg1
= (wxImageList
*) 0 ;
18265 wxBitmap
*arg3
= 0 ;
18267 PyObject
* obj0
= 0 ;
18268 PyObject
* obj1
= 0 ;
18269 PyObject
* obj2
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self",(char *) "index",(char *) "bitmap", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18276 if (SWIG_arg_fail(1)) SWIG_fail
;
18278 arg2
= (int)(SWIG_As_int(obj1
));
18279 if (SWIG_arg_fail(2)) SWIG_fail
;
18282 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18283 if (SWIG_arg_fail(3)) SWIG_fail
;
18284 if (arg3
== NULL
) {
18285 SWIG_null_ref("wxBitmap");
18287 if (SWIG_arg_fail(3)) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18305 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxImageList
*arg1
= (wxImageList
*) 0 ;
18312 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
18313 bool arg7
= (bool) (bool)false ;
18315 PyObject
* obj0
= 0 ;
18316 PyObject
* obj1
= 0 ;
18317 PyObject
* obj2
= 0 ;
18318 PyObject
* obj3
= 0 ;
18319 PyObject
* obj4
= 0 ;
18320 PyObject
* obj5
= 0 ;
18321 PyObject
* obj6
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
18326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18328 if (SWIG_arg_fail(1)) SWIG_fail
;
18330 arg2
= (int)(SWIG_As_int(obj1
));
18331 if (SWIG_arg_fail(2)) SWIG_fail
;
18334 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18335 if (SWIG_arg_fail(3)) SWIG_fail
;
18336 if (arg3
== NULL
) {
18337 SWIG_null_ref("wxDC");
18339 if (SWIG_arg_fail(3)) SWIG_fail
;
18342 arg4
= (int)(SWIG_As_int(obj3
));
18343 if (SWIG_arg_fail(4)) SWIG_fail
;
18346 arg5
= (int)(SWIG_As_int(obj4
));
18347 if (SWIG_arg_fail(5)) SWIG_fail
;
18351 arg6
= (int)(SWIG_As_int(obj5
));
18352 if (SWIG_arg_fail(6)) SWIG_fail
;
18357 arg7
= (bool const)(SWIG_As_bool(obj6
));
18358 if (SWIG_arg_fail(7)) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18377 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxImageList
*arg1
= (wxImageList
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
18387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18388 if (SWIG_arg_fail(1)) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (int)(arg1
)->GetImageCount();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_From_int((int)(result
));
18405 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxImageList
*arg1
= (wxImageList
*) 0 ;
18410 PyObject
* obj0
= 0 ;
18411 PyObject
* obj1
= 0 ;
18412 char *kwnames
[] = {
18413 (char *) "self",(char *) "index", NULL
18416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
18417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18418 if (SWIG_arg_fail(1)) SWIG_fail
;
18420 arg2
= (int)(SWIG_As_int(obj1
));
18421 if (SWIG_arg_fail(2)) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (bool)(arg1
)->Remove(arg2
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18439 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxImageList
*arg1
= (wxImageList
*) 0 ;
18443 PyObject
* obj0
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "self", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
18449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18450 if (SWIG_arg_fail(1)) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (bool)(arg1
)->RemoveAll();
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18467 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 wxImageList
*arg1
= (wxImageList
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 PyObject
* obj1
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self",(char *) "index", NULL
18483 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18484 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18487 if (SWIG_arg_fail(1)) SWIG_fail
;
18489 arg2
= (int)(SWIG_As_int(obj1
));
18490 if (SWIG_arg_fail(2)) SWIG_fail
;
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18499 Py_INCREF(Py_None
); resultobj
= Py_None
;
18500 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18501 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18502 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
18503 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
18510 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
18512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18513 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
18515 return Py_BuildValue((char *)"");
18517 static int _wrap_NORMAL_FONT_set(PyObject
*) {
18518 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
18523 static PyObject
*_wrap_NORMAL_FONT_get(void) {
18526 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
18531 static int _wrap_SMALL_FONT_set(PyObject
*) {
18532 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
18537 static PyObject
*_wrap_SMALL_FONT_get(void) {
18540 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
18545 static int _wrap_ITALIC_FONT_set(PyObject
*) {
18546 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
18551 static PyObject
*_wrap_ITALIC_FONT_get(void) {
18554 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
18559 static int _wrap_SWISS_FONT_set(PyObject
*) {
18560 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
18565 static PyObject
*_wrap_SWISS_FONT_get(void) {
18568 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
18573 static int _wrap_RED_PEN_set(PyObject
*) {
18574 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
18579 static PyObject
*_wrap_RED_PEN_get(void) {
18582 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
18587 static int _wrap_CYAN_PEN_set(PyObject
*) {
18588 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
18593 static PyObject
*_wrap_CYAN_PEN_get(void) {
18596 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
18601 static int _wrap_GREEN_PEN_set(PyObject
*) {
18602 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
18607 static PyObject
*_wrap_GREEN_PEN_get(void) {
18610 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
18615 static int _wrap_BLACK_PEN_set(PyObject
*) {
18616 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
18621 static PyObject
*_wrap_BLACK_PEN_get(void) {
18624 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
18629 static int _wrap_WHITE_PEN_set(PyObject
*) {
18630 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
18635 static PyObject
*_wrap_WHITE_PEN_get(void) {
18638 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
18643 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
18644 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
18649 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
18652 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
18657 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
18658 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
18663 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
18666 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
18671 static int _wrap_GREY_PEN_set(PyObject
*) {
18672 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
18677 static PyObject
*_wrap_GREY_PEN_get(void) {
18680 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18685 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
18686 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
18691 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
18694 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18699 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
18700 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
18705 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
18708 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18713 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
18714 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
18719 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
18722 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18727 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
18728 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
18733 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
18736 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18741 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
18742 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
18747 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
18750 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18755 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
18756 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
18761 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
18764 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18769 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
18770 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
18775 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
18778 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18783 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
18784 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
18789 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
18792 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18797 static int _wrap_RED_BRUSH_set(PyObject
*) {
18798 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
18803 static PyObject
*_wrap_RED_BRUSH_get(void) {
18806 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18811 static int _wrap_GREY_BRUSH_set(PyObject
*) {
18812 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
18817 static PyObject
*_wrap_GREY_BRUSH_get(void) {
18820 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18825 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
18826 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
18831 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
18834 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18839 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
18840 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
18845 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
18848 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18853 static int _wrap_BLACK_set(PyObject
*) {
18854 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
18859 static PyObject
*_wrap_BLACK_get(void) {
18862 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
18867 static int _wrap_WHITE_set(PyObject
*) {
18868 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
18873 static PyObject
*_wrap_WHITE_get(void) {
18876 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
18881 static int _wrap_RED_set(PyObject
*) {
18882 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
18887 static PyObject
*_wrap_RED_get(void) {
18890 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
18895 static int _wrap_BLUE_set(PyObject
*) {
18896 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
18901 static PyObject
*_wrap_BLUE_get(void) {
18904 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
18909 static int _wrap_GREEN_set(PyObject
*) {
18910 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
18915 static PyObject
*_wrap_GREEN_get(void) {
18918 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
18923 static int _wrap_CYAN_set(PyObject
*) {
18924 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
18929 static PyObject
*_wrap_CYAN_get(void) {
18932 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
18937 static int _wrap_LIGHT_GREY_set(PyObject
*) {
18938 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
18943 static PyObject
*_wrap_LIGHT_GREY_get(void) {
18946 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
18951 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
18952 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
18957 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
18960 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18965 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
18966 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
18971 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
18974 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18979 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
18980 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
18985 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
18988 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
18993 static int _wrap_NullBitmap_set(PyObject
*) {
18994 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
18999 static PyObject
*_wrap_NullBitmap_get(void) {
19002 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
19007 static int _wrap_NullIcon_set(PyObject
*) {
19008 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
19013 static PyObject
*_wrap_NullIcon_get(void) {
19016 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
19021 static int _wrap_NullCursor_set(PyObject
*) {
19022 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
19027 static PyObject
*_wrap_NullCursor_get(void) {
19030 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
19035 static int _wrap_NullPen_set(PyObject
*) {
19036 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
19041 static PyObject
*_wrap_NullPen_get(void) {
19044 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
19049 static int _wrap_NullBrush_set(PyObject
*) {
19050 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
19055 static PyObject
*_wrap_NullBrush_get(void) {
19058 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
19063 static int _wrap_NullPalette_set(PyObject
*) {
19064 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
19069 static PyObject
*_wrap_NullPalette_get(void) {
19072 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
19077 static int _wrap_NullFont_set(PyObject
*) {
19078 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
19083 static PyObject
*_wrap_NullFont_get(void) {
19086 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
19091 static int _wrap_NullColour_set(PyObject
*) {
19092 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
19097 static PyObject
*_wrap_NullColour_get(void) {
19100 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
19105 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxPenList
*arg1
= (wxPenList
*) 0 ;
19108 wxPen
*arg2
= (wxPen
*) 0 ;
19109 PyObject
* obj0
= 0 ;
19110 PyObject
* obj1
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self",(char *) "pen", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
19116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19117 if (SWIG_arg_fail(1)) SWIG_fail
;
19118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19119 if (SWIG_arg_fail(2)) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 (arg1
)->AddPen(arg2
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxPenList
*arg1
= (wxPenList
*) 0 ;
19137 wxColour
*arg2
= 0 ;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj1
= 0 ;
19144 PyObject
* obj2
= 0 ;
19145 PyObject
* obj3
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19152 if (SWIG_arg_fail(1)) SWIG_fail
;
19155 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19158 arg3
= (int)(SWIG_As_int(obj2
));
19159 if (SWIG_arg_fail(3)) SWIG_fail
;
19162 arg4
= (int)(SWIG_As_int(obj3
));
19163 if (SWIG_arg_fail(4)) SWIG_fail
;
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
19179 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxPenList
*arg1
= (wxPenList
*) 0 ;
19182 wxPen
*arg2
= (wxPen
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 PyObject
* obj1
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self",(char *) "pen", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
19190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19191 if (SWIG_arg_fail(1)) SWIG_fail
;
19192 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19193 if (SWIG_arg_fail(2)) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 (arg1
)->RemovePen(arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 Py_INCREF(Py_None
); resultobj
= Py_None
;
19208 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxPenList
*arg1
= (wxPenList
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
19218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19219 if (SWIG_arg_fail(1)) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (int)(arg1
)->GetCount();
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= SWIG_From_int((int)(result
));
19236 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
19238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19239 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
19241 return Py_BuildValue((char *)"");
19243 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19245 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19246 wxBrush
*arg2
= (wxBrush
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 char *kwnames
[] = {
19250 (char *) "self",(char *) "brush", NULL
19253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19255 if (SWIG_arg_fail(1)) SWIG_fail
;
19256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19257 if (SWIG_arg_fail(2)) SWIG_fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 (arg1
)->AddBrush(arg2
);
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 Py_INCREF(Py_None
); resultobj
= Py_None
;
19272 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19275 wxColour
*arg2
= 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 PyObject
* obj2
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self",(char *) "colour",(char *) "style", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19288 if (SWIG_arg_fail(1)) SWIG_fail
;
19291 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19294 arg3
= (int)(SWIG_As_int(obj2
));
19295 if (SWIG_arg_fail(3)) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
19311 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
;
19313 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19314 wxBrush
*arg2
= (wxBrush
*) 0 ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "brush", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19323 if (SWIG_arg_fail(1)) SWIG_fail
;
19324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19325 if (SWIG_arg_fail(2)) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 (arg1
)->RemoveBrush(arg2
);
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 Py_INCREF(Py_None
); resultobj
= Py_None
;
19340 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19344 PyObject
* obj0
= 0 ;
19345 char *kwnames
[] = {
19346 (char *) "self", NULL
19349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
19350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19351 if (SWIG_arg_fail(1)) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 result
= (int)(arg1
)->GetCount();
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19360 resultobj
= SWIG_From_int((int)(result
));
19368 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
19370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19371 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
19373 return Py_BuildValue((char *)"");
19375 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19376 PyObject
*resultobj
;
19377 wxColourDatabase
*result
;
19378 char *kwnames
[] = {
19382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
19384 if (!wxPyCheckForApp()) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= (wxColourDatabase
*)new wxColourDatabase();
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
19398 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19401 PyObject
* obj0
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
19407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19408 if (SWIG_arg_fail(1)) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 Py_INCREF(Py_None
); resultobj
= Py_None
;
19423 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19426 wxString
*arg2
= 0 ;
19428 bool temp2
= false ;
19429 PyObject
* obj0
= 0 ;
19430 PyObject
* obj1
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self",(char *) "name", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
19436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19437 if (SWIG_arg_fail(1)) SWIG_fail
;
19439 arg2
= wxString_in_helper(obj1
);
19440 if (arg2
== NULL
) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19451 wxColour
* resultptr
;
19452 resultptr
= new wxColour((wxColour
&)(result
));
19453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19469 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
;
19471 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19472 wxColour
*arg2
= 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "colour", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
19482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19483 if (SWIG_arg_fail(1)) SWIG_fail
;
19486 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19508 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19510 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19511 wxString
*arg2
= 0 ;
19512 wxColour
*arg3
= 0 ;
19513 bool temp2
= false ;
19515 PyObject
* obj0
= 0 ;
19516 PyObject
* obj1
= 0 ;
19517 PyObject
* obj2
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self",(char *) "name",(char *) "colour", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19524 if (SWIG_arg_fail(1)) SWIG_fail
;
19526 arg2
= wxString_in_helper(obj1
);
19527 if (arg2
== NULL
) SWIG_fail
;
19532 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19541 Py_INCREF(Py_None
); resultobj
= Py_None
;
19556 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19559 wxString
*arg2
= 0 ;
19563 bool temp2
= false ;
19564 PyObject
* obj0
= 0 ;
19565 PyObject
* obj1
= 0 ;
19566 PyObject
* obj2
= 0 ;
19567 PyObject
* obj3
= 0 ;
19568 PyObject
* obj4
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19575 if (SWIG_arg_fail(1)) SWIG_fail
;
19577 arg2
= wxString_in_helper(obj1
);
19578 if (arg2
== NULL
) SWIG_fail
;
19582 arg3
= (int)(SWIG_As_int(obj2
));
19583 if (SWIG_arg_fail(3)) SWIG_fail
;
19586 arg4
= (int)(SWIG_As_int(obj3
));
19587 if (SWIG_arg_fail(4)) SWIG_fail
;
19590 arg5
= (int)(SWIG_As_int(obj4
));
19591 if (SWIG_arg_fail(5)) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 Py_INCREF(Py_None
); resultobj
= Py_None
;
19615 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
19617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19618 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
19620 return Py_BuildValue((char *)"");
19622 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
;
19624 wxFontList
*arg1
= (wxFontList
*) 0 ;
19625 wxFont
*arg2
= (wxFont
*) 0 ;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 char *kwnames
[] = {
19629 (char *) "self",(char *) "font", NULL
19632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19634 if (SWIG_arg_fail(1)) SWIG_fail
;
19635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
19636 if (SWIG_arg_fail(2)) SWIG_fail
;
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 (arg1
)->AddFont(arg2
);
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 Py_INCREF(Py_None
); resultobj
= Py_None
;
19651 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
;
19653 wxFontList
*arg1
= (wxFontList
*) 0 ;
19658 bool arg6
= (bool) false ;
19659 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19660 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19661 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
19663 bool temp7
= false ;
19664 PyObject
* obj0
= 0 ;
19665 PyObject
* obj1
= 0 ;
19666 PyObject
* obj2
= 0 ;
19667 PyObject
* obj3
= 0 ;
19668 PyObject
* obj4
= 0 ;
19669 PyObject
* obj5
= 0 ;
19670 PyObject
* obj6
= 0 ;
19671 PyObject
* obj7
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19678 if (SWIG_arg_fail(1)) SWIG_fail
;
19680 arg2
= (int)(SWIG_As_int(obj1
));
19681 if (SWIG_arg_fail(2)) SWIG_fail
;
19684 arg3
= (int)(SWIG_As_int(obj2
));
19685 if (SWIG_arg_fail(3)) SWIG_fail
;
19688 arg4
= (int)(SWIG_As_int(obj3
));
19689 if (SWIG_arg_fail(4)) SWIG_fail
;
19692 arg5
= (int)(SWIG_As_int(obj4
));
19693 if (SWIG_arg_fail(5)) SWIG_fail
;
19697 arg6
= (bool)(SWIG_As_bool(obj5
));
19698 if (SWIG_arg_fail(6)) SWIG_fail
;
19703 arg7
= wxString_in_helper(obj6
);
19704 if (arg7
== NULL
) SWIG_fail
;
19710 arg8
= (wxFontEncoding
)(SWIG_As_int(obj7
));
19711 if (SWIG_arg_fail(8)) SWIG_fail
;
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
19736 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
;
19738 wxFontList
*arg1
= (wxFontList
*) 0 ;
19739 wxFont
*arg2
= (wxFont
*) 0 ;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self",(char *) "font", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19748 if (SWIG_arg_fail(1)) SWIG_fail
;
19749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
19750 if (SWIG_arg_fail(2)) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 (arg1
)->RemoveFont(arg2
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 Py_INCREF(Py_None
); resultobj
= Py_None
;
19765 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxFontList
*arg1
= (wxFontList
*) 0 ;
19769 PyObject
* obj0
= 0 ;
19770 char *kwnames
[] = {
19771 (char *) "self", NULL
19774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
19775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19776 if (SWIG_arg_fail(1)) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= (int)(arg1
)->GetCount();
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= SWIG_From_int((int)(result
));
19793 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
19795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19796 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
19798 return Py_BuildValue((char *)"");
19800 static int _wrap_TheFontList_set(PyObject
*) {
19801 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
19806 static PyObject
*_wrap_TheFontList_get(void) {
19809 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
19814 static int _wrap_ThePenList_set(PyObject
*) {
19815 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
19820 static PyObject
*_wrap_ThePenList_get(void) {
19823 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
19828 static int _wrap_TheBrushList_set(PyObject
*) {
19829 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
19834 static PyObject
*_wrap_TheBrushList_get(void) {
19837 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
19842 static int _wrap_TheColourDatabase_set(PyObject
*) {
19843 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
19848 static PyObject
*_wrap_TheColourDatabase_get(void) {
19851 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
19856 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19859 char *kwnames
[] = {
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (wxEffects
*)new wxEffects();
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
19878 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxEffects
*arg1
= (wxEffects
*) 0 ;
19882 PyObject
* obj0
= 0 ;
19883 char *kwnames
[] = {
19884 (char *) "self", NULL
19887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
19888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
19889 if (SWIG_arg_fail(1)) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19898 wxColour
* resultptr
;
19899 resultptr
= new wxColour((wxColour
&)(result
));
19900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19908 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19909 PyObject
*resultobj
;
19910 wxEffects
*arg1
= (wxEffects
*) 0 ;
19912 PyObject
* obj0
= 0 ;
19913 char *kwnames
[] = {
19914 (char *) "self", NULL
19917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
19918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
19919 if (SWIG_arg_fail(1)) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19928 wxColour
* resultptr
;
19929 resultptr
= new wxColour((wxColour
&)(result
));
19930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19938 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxEffects
*arg1
= (wxEffects
*) 0 ;
19942 PyObject
* obj0
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "self", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
19948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
19949 if (SWIG_arg_fail(1)) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19958 wxColour
* resultptr
;
19959 resultptr
= new wxColour((wxColour
&)(result
));
19960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19968 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxEffects
*arg1
= (wxEffects
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 char *kwnames
[] = {
19974 (char *) "self", NULL
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
19978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
19979 if (SWIG_arg_fail(1)) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19988 wxColour
* resultptr
;
19989 resultptr
= new wxColour((wxColour
&)(result
));
19990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19998 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxEffects
*arg1
= (wxEffects
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
20008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20009 if (SWIG_arg_fail(1)) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20018 wxColour
* resultptr
;
20019 resultptr
= new wxColour((wxColour
&)(result
));
20020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20028 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxEffects
*arg1
= (wxEffects
*) 0 ;
20031 wxColour
*arg2
= 0 ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self",(char *) "c", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20041 if (SWIG_arg_fail(1)) SWIG_fail
;
20044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 Py_INCREF(Py_None
); resultobj
= Py_None
;
20060 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
;
20062 wxEffects
*arg1
= (wxEffects
*) 0 ;
20063 wxColour
*arg2
= 0 ;
20065 PyObject
* obj0
= 0 ;
20066 PyObject
* obj1
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self",(char *) "c", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20073 if (SWIG_arg_fail(1)) SWIG_fail
;
20076 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 Py_INCREF(Py_None
); resultobj
= Py_None
;
20092 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxEffects
*arg1
= (wxEffects
*) 0 ;
20095 wxColour
*arg2
= 0 ;
20097 PyObject
* obj0
= 0 ;
20098 PyObject
* obj1
= 0 ;
20099 char *kwnames
[] = {
20100 (char *) "self",(char *) "c", NULL
20103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20105 if (SWIG_arg_fail(1)) SWIG_fail
;
20108 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20117 Py_INCREF(Py_None
); resultobj
= Py_None
;
20124 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
;
20126 wxEffects
*arg1
= (wxEffects
*) 0 ;
20127 wxColour
*arg2
= 0 ;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "self",(char *) "c", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20137 if (SWIG_arg_fail(1)) SWIG_fail
;
20140 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 Py_INCREF(Py_None
); resultobj
= Py_None
;
20156 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxEffects
*arg1
= (wxEffects
*) 0 ;
20159 wxColour
*arg2
= 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self",(char *) "c", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20169 if (SWIG_arg_fail(1)) SWIG_fail
;
20172 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 Py_INCREF(Py_None
); resultobj
= Py_None
;
20188 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
;
20190 wxEffects
*arg1
= (wxEffects
*) 0 ;
20191 wxColour
*arg2
= 0 ;
20192 wxColour
*arg3
= 0 ;
20193 wxColour
*arg4
= 0 ;
20194 wxColour
*arg5
= 0 ;
20195 wxColour
*arg6
= 0 ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 PyObject
* obj2
= 0 ;
20204 PyObject
* obj3
= 0 ;
20205 PyObject
* obj4
= 0 ;
20206 PyObject
* obj5
= 0 ;
20207 char *kwnames
[] = {
20208 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
20211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20213 if (SWIG_arg_fail(1)) SWIG_fail
;
20216 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20220 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20224 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
20228 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
20232 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 Py_INCREF(Py_None
); resultobj
= Py_None
;
20248 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20250 wxEffects
*arg1
= (wxEffects
*) 0 ;
20253 int arg4
= (int) 1 ;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20257 PyObject
* obj2
= 0 ;
20258 PyObject
* obj3
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20265 if (SWIG_arg_fail(1)) SWIG_fail
;
20267 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20268 if (SWIG_arg_fail(2)) SWIG_fail
;
20269 if (arg2
== NULL
) {
20270 SWIG_null_ref("wxDC");
20272 if (SWIG_arg_fail(2)) SWIG_fail
;
20276 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20280 arg4
= (int)(SWIG_As_int(obj3
));
20281 if (SWIG_arg_fail(4)) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 Py_INCREF(Py_None
); resultobj
= Py_None
;
20298 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxEffects
*arg1
= (wxEffects
*) 0 ;
20303 wxBitmap
*arg4
= 0 ;
20306 PyObject
* obj0
= 0 ;
20307 PyObject
* obj1
= 0 ;
20308 PyObject
* obj2
= 0 ;
20309 PyObject
* obj3
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20316 if (SWIG_arg_fail(1)) SWIG_fail
;
20319 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20322 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20323 if (SWIG_arg_fail(3)) SWIG_fail
;
20324 if (arg3
== NULL
) {
20325 SWIG_null_ref("wxDC");
20327 if (SWIG_arg_fail(3)) SWIG_fail
;
20330 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20331 if (SWIG_arg_fail(4)) SWIG_fail
;
20332 if (arg4
== NULL
) {
20333 SWIG_null_ref("wxBitmap");
20335 if (SWIG_arg_fail(4)) SWIG_fail
;
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20353 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
20355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20356 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
20358 return Py_BuildValue((char *)"");
20360 static PyMethodDef SwigMethods
[] = {
20361 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20362 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20363 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20364 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20365 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20366 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
20367 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20368 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20369 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20370 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20371 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20372 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20373 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20374 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20375 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20376 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20377 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20378 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20379 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20380 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20381 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20382 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20383 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
20384 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20385 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20386 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20387 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20388 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20389 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20390 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
20391 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20392 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20393 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20394 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20395 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20396 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20397 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20398 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20399 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20400 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20401 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20402 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20403 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20404 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20405 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20406 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20407 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20408 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20409 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20410 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
20411 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20412 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20413 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20414 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20415 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20416 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20417 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20418 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20419 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20420 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20421 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
20422 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20423 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20424 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20425 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20426 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20427 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20428 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20429 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20430 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20431 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20432 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20433 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20434 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20435 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20436 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20437 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20438 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20439 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20440 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20441 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20442 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20443 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20444 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20445 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20446 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20447 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20448 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20449 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
20450 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20451 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
20452 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20453 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20454 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20455 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20456 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20457 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20458 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20459 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20460 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20461 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20462 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20463 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20464 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20465 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20466 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20467 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
20468 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20469 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20470 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20471 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20472 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20473 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20474 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20475 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
20476 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20477 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20478 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20479 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20480 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20481 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20482 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20483 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
20484 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20485 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20486 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20487 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20488 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20489 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
20490 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20491 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20492 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20493 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20494 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20495 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20496 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20497 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20498 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20499 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20500 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20501 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20502 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20503 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20504 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20505 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20506 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20507 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20508 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20509 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20510 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20511 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20512 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20513 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20514 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20515 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20516 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20517 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20518 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
20519 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20520 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20521 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20522 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20523 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20524 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20525 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20526 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20527 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20528 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20529 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20530 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20531 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20532 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
20533 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20534 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20535 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20536 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20537 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20538 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20539 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20540 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20541 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20542 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20543 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20544 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20545 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20546 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20547 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20548 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20549 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20550 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20551 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20552 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20553 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20554 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20555 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20556 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
20557 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20558 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20559 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20560 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20561 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20562 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20563 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20564 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20565 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
20566 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20567 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20568 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20569 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20570 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20571 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20572 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20573 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20574 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20575 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20576 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20577 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20578 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20579 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20580 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20581 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20582 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20583 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20584 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20585 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
20586 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20587 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20588 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20589 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20590 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20591 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20592 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20593 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20594 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20595 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20596 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20597 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20598 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20599 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20600 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20601 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20602 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20603 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20604 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20605 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20606 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20607 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20608 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20609 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20610 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20611 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20612 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20613 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20614 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20615 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20616 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20617 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20618 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20619 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20620 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20621 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20622 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20623 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20624 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20625 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20626 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
20627 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20628 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20629 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20630 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20631 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20632 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20633 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20634 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
20635 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20636 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20637 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20638 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20639 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20640 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20641 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
20642 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20643 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20644 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20645 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20646 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20647 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20648 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20649 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20650 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20651 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20652 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20653 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20654 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20655 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20656 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20657 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20658 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20659 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20660 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20661 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20662 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20663 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
20664 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20665 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
20666 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20667 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20668 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20669 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20670 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20671 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20672 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20673 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
20674 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20675 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20676 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20677 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20678 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20679 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20680 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20681 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20682 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20683 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20684 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20685 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20686 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20687 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20688 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20689 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20690 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20691 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20692 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20693 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20694 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20695 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20696 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20697 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20698 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20699 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20700 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20701 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20702 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20703 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20704 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20705 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20706 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20707 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20708 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20709 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20710 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20711 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20712 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20713 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20714 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20715 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20716 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20717 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20718 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20719 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20720 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20721 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20722 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20723 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20724 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20725 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20726 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20727 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20728 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20729 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20730 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20731 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20732 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20733 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20734 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20735 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20736 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20737 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20738 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20739 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20740 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20741 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20742 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20743 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20744 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20745 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20746 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20747 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20748 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20749 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20750 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20751 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20752 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20753 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20754 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20755 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20756 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20757 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20758 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20759 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20760 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20761 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20762 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20763 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20764 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20765 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20766 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20767 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20768 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20769 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20770 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20771 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20772 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20773 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20774 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20775 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20776 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20777 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20778 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20779 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20780 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20781 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20782 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20783 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20784 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20785 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20786 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20787 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20788 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20789 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20790 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20791 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20792 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20793 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20794 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20795 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20796 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20797 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20798 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20799 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20800 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20801 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
20802 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20803 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20804 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20805 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
20806 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
20807 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20808 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20809 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
20810 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20811 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
20812 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20813 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20814 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20815 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20816 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
20817 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20818 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
20819 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20820 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
20821 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20822 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
20823 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20824 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
20825 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20826 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20827 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20828 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20829 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20830 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
20831 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20832 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
20833 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20834 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
20835 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20836 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
20837 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20838 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20839 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20840 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20841 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20842 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20843 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20844 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20845 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20846 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20847 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20848 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
20849 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20850 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20851 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20852 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20853 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
20854 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20855 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20856 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20857 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20858 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
20859 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20860 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20861 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20862 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20863 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20864 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20865 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
20866 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20867 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20868 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20869 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20870 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
20871 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20872 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20873 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20874 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20875 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20876 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20877 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20878 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20879 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20880 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20881 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20882 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20883 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20884 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20885 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
20886 { NULL
, NULL
, 0, NULL
}
20890 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
20892 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
20893 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
20895 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
20896 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20898 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
20899 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
20901 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
20902 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
20904 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
20905 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
20907 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
20908 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
20910 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
20911 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
20913 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
20914 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
20916 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
20917 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
20919 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
20920 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
20922 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
20923 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
20925 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
20926 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
20928 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
20929 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
20931 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
20932 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
20934 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
20935 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
20937 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
20938 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
20940 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
20941 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20943 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
20944 return (void *)((wxDC
*) ((wxClientDC
*) x
));
20946 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
20947 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
20949 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
20950 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
20952 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
20953 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
20955 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
20956 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
20958 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
20959 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
20961 static void *_p_wxPenTo_p_wxObject(void *x
) {
20962 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
20964 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
20965 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
20967 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
20968 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
20970 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
20971 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
20973 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
20974 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
20976 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
20977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
20979 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
20980 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
20982 static void *_p_wxIconTo_p_wxObject(void *x
) {
20983 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
20985 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
20986 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
20988 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
20989 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
20991 static void *_p_wxSizerTo_p_wxObject(void *x
) {
20992 return (void *)((wxObject
*) ((wxSizer
*) x
));
20994 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
20995 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
20997 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
20998 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21000 static void *_p_wxPenListTo_p_wxObject(void *x
) {
21001 return (void *)((wxObject
*) ((wxPenList
*) x
));
21003 static void *_p_wxEventTo_p_wxObject(void *x
) {
21004 return (void *)((wxObject
*) ((wxEvent
*) x
));
21006 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21007 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21009 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21010 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21012 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21013 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21015 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21016 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21018 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21019 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21021 static void *_p_wxDCTo_p_wxObject(void *x
) {
21022 return (void *)((wxObject
*) ((wxDC
*) x
));
21024 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21025 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21027 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21028 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21030 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21031 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21033 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21034 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21036 static void *_p_wxControlTo_p_wxObject(void *x
) {
21037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21039 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21040 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21042 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
21043 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
21045 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21046 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21048 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
21049 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
21051 static void *_p_wxRegionTo_p_wxObject(void *x
) {
21052 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
21054 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21055 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21057 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
21058 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
21060 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
21061 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
21063 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
21064 return (void *)((wxObject
*) ((wxEffects
*) x
));
21066 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21067 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21069 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21070 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21072 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
21073 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
21075 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21076 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21078 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21079 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21081 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21082 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21084 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21087 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21088 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21090 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21091 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21093 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21094 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21096 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21097 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21099 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21100 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21102 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21103 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21105 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21108 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21109 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21111 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21114 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21115 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21117 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21118 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21120 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21121 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21123 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21124 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21126 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21127 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21129 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21130 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21132 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21133 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21135 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21136 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21138 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21139 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21141 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21142 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21144 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
21145 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21147 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
21148 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
21150 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
21151 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
21153 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
21154 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
21156 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21157 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21159 static void *_p_wxImageTo_p_wxObject(void *x
) {
21160 return (void *)((wxObject
*) ((wxImage
*) x
));
21162 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21163 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21165 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
21166 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
21168 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
21169 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
21171 static void *_p_wxImageListTo_p_wxObject(void *x
) {
21172 return (void *)((wxObject
*) ((wxImageList
*) x
));
21174 static void *_p_wxCursorTo_p_wxObject(void *x
) {
21175 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
21177 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
21178 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
21180 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
21181 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
21183 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21184 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21186 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21187 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21189 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21190 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21192 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21193 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21195 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21196 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21198 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21201 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
21202 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
21204 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
21205 return (void *)((wxObject
*) ((wxBrushList
*) x
));
21207 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21208 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21210 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
21211 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
21213 static void *_p_wxMaskTo_p_wxObject(void *x
) {
21214 return (void *)((wxObject
*) ((wxMask
*) x
));
21216 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21217 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21219 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21220 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21222 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21223 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21225 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21226 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21228 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21229 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21231 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21232 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21234 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21235 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21237 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21238 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21240 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21241 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21243 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21244 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21246 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21249 static void *_p_wxFontTo_p_wxObject(void *x
) {
21250 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
21252 static void *_p_wxBrushTo_p_wxObject(void *x
) {
21253 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
21255 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
21256 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
21258 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21261 static void *_p_wxColourTo_p_wxObject(void *x
) {
21262 return (void *)((wxObject
*) ((wxColour
*) x
));
21264 static void *_p_wxFontListTo_p_wxObject(void *x
) {
21265 return (void *)((wxObject
*) ((wxFontList
*) x
));
21267 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21270 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21271 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21273 static void *_p_wxControlTo_p_wxWindow(void *x
) {
21274 return (void *)((wxWindow
*) ((wxControl
*) x
));
21276 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
21277 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
21279 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
21280 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
21282 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}};
21283 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}};
21284 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}};
21285 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}};
21286 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}};
21287 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}};
21288 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}};
21289 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}};
21290 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}};
21291 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}};
21292 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}};
21293 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}};
21294 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}};
21295 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}};
21296 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}};
21297 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}};
21298 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}};
21299 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}};
21300 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}};
21301 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}};
21302 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}};
21303 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}};
21304 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}};
21305 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}};
21306 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}};
21307 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}};
21308 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}};
21309 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}};
21310 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}};
21311 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}};
21312 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}};
21313 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}};
21314 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}};
21315 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}};
21316 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}};
21317 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}};
21318 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}};
21319 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}};
21320 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}};
21321 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}};
21322 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}};
21323 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}};
21324 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}};
21325 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}};
21326 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}};
21327 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}};
21328 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}};
21329 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}};
21330 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}};
21331 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}};
21332 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}};
21333 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}};
21334 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}};
21335 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}};
21336 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}};
21337 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}};
21338 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}};
21339 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}};
21340 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}};
21341 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}};
21342 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}};
21343 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}};
21345 static swig_type_info
*swig_types_initial
[] = {
21346 _swigt__p_wxPostScriptDC
,
21348 _swigt__p_wxColour
,
21350 _swigt__p_wxMirrorDC
,
21351 _swigt__p_form_ops_t
,
21352 _swigt__p_wxDuplexMode
,
21353 _swigt__p_wxPyFontEnumerator
,
21355 _swigt__p_wxIconLocation
,
21357 _swigt__p_wxMetaFileDC
,
21361 _swigt__p_wxWindow
,
21363 _swigt__p_wxMemoryDC
,
21364 _swigt__p_wxFontMapper
,
21365 _swigt__p_wxEffects
,
21366 _swigt__p_wxNativeEncodingInfo
,
21367 _swigt__p_wxPalette
,
21368 _swigt__p_wxBitmap
,
21369 _swigt__p_wxObject
,
21370 _swigt__p_wxRegionIterator
,
21372 _swigt__p_wxPaperSize
,
21373 _swigt__p_wxString
,
21374 _swigt__unsigned_int
,
21375 _swigt__p_unsigned_int
,
21376 _swigt__p_wxPrinterDC
,
21377 _swigt__p_wxIconBundle
,
21380 _swigt__p_wxScreenDC
,
21381 _swigt__p_wxCursor
,
21382 _swigt__p_wxClientDC
,
21383 _swigt__p_wxBufferedDC
,
21384 _swigt__p_wxImageList
,
21385 _swigt__p_unsigned_char
,
21386 _swigt__p_wxGDIObject
,
21388 _swigt__p_wxLocale
,
21390 _swigt__std__ptrdiff_t
,
21391 _swigt__p_wxRegion
,
21392 _swigt__p_wxConfigBase
,
21393 _swigt__p_wxLanguageInfo
,
21394 _swigt__p_wxWindowDC
,
21395 _swigt__p_wxPrintData
,
21396 _swigt__p_wxBrushList
,
21397 _swigt__p_wxFontList
,
21399 _swigt__p_wxBufferedPaintDC
,
21400 _swigt__p_wxPaintDC
,
21401 _swigt__p_wxPenList
,
21403 _swigt__p_wxMetaFile
,
21404 _swigt__p_unsigned_long
,
21405 _swigt__p_wxNativeFontInfo
,
21406 _swigt__p_wxEncodingConverter
,
21407 _swigt__p_wxColourDatabase
,
21412 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
21414 static swig_const_info swig_const_table
[] = {
21415 {0, 0, 0, 0.0, 0, 0}};
21426 /* Python-specific SWIG API */
21427 #define SWIG_newvarlink() SWIG_Python_newvarlink()
21428 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
21429 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
21431 /* -----------------------------------------------------------------------------
21432 * global variable support code.
21433 * ----------------------------------------------------------------------------- */
21435 typedef struct swig_globalvar
{
21436 char *name
; /* Name of global variable */
21437 PyObject
*(*get_attr
)(); /* Return the current value */
21438 int (*set_attr
)(PyObject
*); /* Set the value */
21439 struct swig_globalvar
*next
;
21442 typedef struct swig_varlinkobject
{
21444 swig_globalvar
*vars
;
21445 } swig_varlinkobject
;
21448 swig_varlink_repr(swig_varlinkobject
*v
) {
21450 return PyString_FromString("<Swig global variables>");
21454 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
21455 swig_globalvar
*var
;
21457 fprintf(fp
,"Swig global variables { ");
21458 for (var
= v
->vars
; var
; var
=var
->next
) {
21459 fprintf(fp
,"%s", var
->name
);
21460 if (var
->next
) fprintf(fp
,", ");
21462 fprintf(fp
," }\n");
21467 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
21468 swig_globalvar
*var
= v
->vars
;
21470 if (strcmp(var
->name
,n
) == 0) {
21471 return (*var
->get_attr
)();
21475 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
21480 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
21481 swig_globalvar
*var
= v
->vars
;
21483 if (strcmp(var
->name
,n
) == 0) {
21484 return (*var
->set_attr
)(p
);
21488 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
21492 static PyTypeObject varlinktype
= {
21493 PyObject_HEAD_INIT(0)
21494 0, /* Number of items in variable part (ob_size) */
21495 (char *)"swigvarlink", /* Type name (tp_name) */
21496 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
21497 0, /* Itemsize (tp_itemsize) */
21498 0, /* Deallocator (tp_dealloc) */
21499 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
21500 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
21501 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
21502 0, /* tp_compare */
21503 (reprfunc
) swig_varlink_repr
, /* tp_repr */
21504 0, /* tp_as_number */
21505 0, /* tp_as_sequence */
21506 0, /* tp_as_mapping */
21510 0, /* tp_getattro */
21511 0, /* tp_setattro */
21512 0, /* tp_as_buffer */
21515 #if PY_VERSION_HEX >= 0x02000000
21516 0, /* tp_traverse */
21519 #if PY_VERSION_HEX >= 0x02010000
21520 0, /* tp_richcompare */
21521 0, /* tp_weaklistoffset */
21523 #if PY_VERSION_HEX >= 0x02020000
21524 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
21526 #if PY_VERSION_HEX >= 0x02030000
21529 #ifdef COUNT_ALLOCS
21530 0,0,0,0 /* tp_alloc -> tp_next */
21534 /* Create a variable linking object for use later */
21536 SWIG_Python_newvarlink(void) {
21537 swig_varlinkobject
*result
= 0;
21538 result
= PyMem_NEW(swig_varlinkobject
,1);
21539 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
21540 result
->ob_type
= &varlinktype
;
21542 result
->ob_refcnt
= 0;
21543 Py_XINCREF((PyObject
*) result
);
21544 return ((PyObject
*) result
);
21548 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
21549 swig_varlinkobject
*v
;
21550 swig_globalvar
*gv
;
21551 v
= (swig_varlinkobject
*) p
;
21552 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
21553 gv
->name
= (char *) malloc(strlen(name
)+1);
21554 strcpy(gv
->name
,name
);
21555 gv
->get_attr
= get_attr
;
21556 gv
->set_attr
= set_attr
;
21557 gv
->next
= v
->vars
;
21561 /* -----------------------------------------------------------------------------
21562 * constants/methods manipulation
21563 * ----------------------------------------------------------------------------- */
21565 /* Install Constants */
21567 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
21570 for (i
= 0; constants
[i
].type
; i
++) {
21571 switch(constants
[i
].type
) {
21573 obj
= PyInt_FromLong(constants
[i
].lvalue
);
21575 case SWIG_PY_FLOAT
:
21576 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
21578 case SWIG_PY_STRING
:
21579 if (constants
[i
].pvalue
) {
21580 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
21582 Py_INCREF(Py_None
);
21586 case SWIG_PY_POINTER
:
21587 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
21589 case SWIG_PY_BINARY
:
21590 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
21597 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
21603 /* -----------------------------------------------------------------------------*/
21604 /* Fix SwigMethods to carry the callback ptrs when needed */
21605 /* -----------------------------------------------------------------------------*/
21608 SWIG_Python_FixMethods(PyMethodDef
*methods
,
21609 swig_const_info
*const_table
,
21610 swig_type_info
**types
,
21611 swig_type_info
**types_initial
) {
21613 for (i
= 0; methods
[i
].ml_name
; ++i
) {
21614 char *c
= methods
[i
].ml_doc
;
21615 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
21617 swig_const_info
*ci
= 0;
21618 char *name
= c
+ 10;
21619 for (j
= 0; const_table
[j
].type
; j
++) {
21620 if (strncmp(const_table
[j
].name
, name
,
21621 strlen(const_table
[j
].name
)) == 0) {
21622 ci
= &(const_table
[j
]);
21627 size_t shift
= (ci
->ptype
) - types
;
21628 swig_type_info
*ty
= types_initial
[shift
];
21629 size_t ldoc
= (c
- methods
[i
].ml_doc
);
21630 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
21631 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
21633 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
21634 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
21636 strncpy(buff
, "swig_ptr: ", 10);
21638 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
21639 methods
[i
].ml_doc
= ndoc
;
21645 /* -----------------------------------------------------------------------------*
21646 * Initialize type list
21647 * -----------------------------------------------------------------------------*/
21649 #if PY_MAJOR_VERSION < 2
21650 /* PyModule_AddObject function was introduced in Python 2.0. The following function
21651 is copied out of Python/modsupport.c in python version 2.3.4 */
21653 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
21656 if (!PyModule_Check(m
)) {
21657 PyErr_SetString(PyExc_TypeError
,
21658 "PyModule_AddObject() needs module as first arg");
21662 PyErr_SetString(PyExc_TypeError
,
21663 "PyModule_AddObject() needs non-NULL value");
21667 dict
= PyModule_GetDict(m
);
21668 if (dict
== NULL
) {
21669 /* Internal error -- modules must have a dict! */
21670 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
21671 PyModule_GetName(m
));
21674 if (PyDict_SetItemString(dict
, name
, o
))
21681 static swig_type_info
**
21682 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
21683 static PyMethodDef swig_empty_runtime_method_table
[] = {
21685 NULL
, NULL
, 0, NULL
21689 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
21690 swig_empty_runtime_method_table
);
21691 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
21692 if (pointer
&& module) {
21693 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
21695 return type_list_handle
;
21698 static swig_type_info
**
21699 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
21700 swig_type_info
**type_pointer
;
21702 /* first check if module already created */
21703 type_pointer
= SWIG_Python_GetTypeListHandle();
21704 if (type_pointer
) {
21705 return type_pointer
;
21707 /* create a new module and variable */
21708 return SWIG_Python_SetTypeListHandle(type_list_handle
);
21716 /* -----------------------------------------------------------------------------*
21717 * Partial Init method
21718 * -----------------------------------------------------------------------------*/
21720 #ifdef SWIG_LINK_RUNTIME
21724 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
21730 SWIGEXPORT(void) SWIG_init(void) {
21731 static PyObject
*SWIG_globals
= 0;
21732 static int typeinit
= 0;
21735 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
21737 /* Fix SwigMethods to carry the callback ptrs when needed */
21738 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
21740 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
21741 d
= PyModule_GetDict(m
);
21744 #ifdef SWIG_LINK_RUNTIME
21745 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
21747 # ifndef SWIG_STATIC_RUNTIME
21748 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
21751 for (i
= 0; swig_types_initial
[i
]; i
++) {
21752 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
21756 SWIG_InstallConstants(d
,swig_const_table
);
21759 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));
21762 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));
21765 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));
21768 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));
21771 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));
21774 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));
21777 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));
21780 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));
21783 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));
21786 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));
21789 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));
21792 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));
21795 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));
21798 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));
21801 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));
21804 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));
21807 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));
21810 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));
21813 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));
21816 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));
21819 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));
21822 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));
21825 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));
21828 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));
21831 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));
21834 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));
21837 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));
21840 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));
21843 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));
21846 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));
21849 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));
21852 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));
21855 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));
21858 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));
21861 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));
21864 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));
21867 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));
21870 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));
21873 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));
21876 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));
21879 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));
21882 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));
21885 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));
21888 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));
21891 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));
21894 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));
21897 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));
21900 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));
21903 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));
21906 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));
21909 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));
21912 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));
21915 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));
21918 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));
21921 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));
21924 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));
21927 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));
21930 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));
21933 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));
21936 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));
21939 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));
21942 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));
21945 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));
21948 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));
21951 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));
21954 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));
21957 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));
21960 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));
21963 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));
21966 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));
21969 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));
21972 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));
21975 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));
21978 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));
21981 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));
21984 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));
21987 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));
21990 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));
21993 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));
21996 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));
21999 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));
22002 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));
22005 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));
22008 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));
22011 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));
22014 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));
22017 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));
22020 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));
22023 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));
22026 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));
22029 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));
22032 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));
22035 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));
22038 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));
22041 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));
22044 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));
22047 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));
22050 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));
22053 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));
22056 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));
22059 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));
22062 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));
22065 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));
22068 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));
22071 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));
22074 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));
22077 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));
22080 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));
22083 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));
22086 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));
22089 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));
22092 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));
22095 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));
22098 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));
22101 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));
22104 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));
22107 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));
22110 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));
22113 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));
22116 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));
22119 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));
22122 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));
22125 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));
22128 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));
22131 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));
22134 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));
22137 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));
22140 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
22143 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));
22146 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));
22149 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));
22152 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));
22155 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));
22158 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));
22161 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));
22164 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));
22167 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));
22170 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));
22173 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));
22176 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));
22179 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));
22182 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));
22185 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));
22188 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));
22191 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));
22194 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));
22197 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));
22200 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
22203 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));
22206 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));
22209 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));
22212 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));
22215 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));
22218 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));
22221 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));
22224 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));
22227 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));
22230 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));
22233 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));
22236 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));
22239 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));
22242 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));
22245 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));
22248 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));
22251 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));
22254 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));
22257 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));
22260 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));
22263 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));
22266 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));
22269 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));
22272 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));
22275 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
22278 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));
22281 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));
22284 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));
22287 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));
22290 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));
22293 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));
22296 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));
22299 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));
22302 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));
22305 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));
22308 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));
22311 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));
22314 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));
22317 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));
22320 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
22323 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));
22326 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));
22329 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));
22332 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
22335 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));
22338 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));
22341 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));
22344 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
22347 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
22350 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
22353 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));
22356 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
22359 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));
22362 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));
22365 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));
22368 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));
22371 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));
22374 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));
22377 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));
22380 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));
22383 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));
22386 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
22389 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));
22392 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));
22395 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));
22398 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));
22401 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));
22404 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));
22407 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));
22410 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));
22413 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
22416 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
22419 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));
22422 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));
22425 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));
22428 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));
22431 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));
22434 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));
22437 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));
22440 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));
22443 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));
22446 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));
22449 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));
22452 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));
22455 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));
22458 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));
22461 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));
22464 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));
22467 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));
22470 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));
22473 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));
22476 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));
22479 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));
22482 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));
22485 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));
22488 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));
22491 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));
22494 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));
22497 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));
22500 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));
22503 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));
22506 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));
22509 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));
22512 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));
22515 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));
22518 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));
22521 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));
22524 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));
22527 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));
22530 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));
22533 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));
22536 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));
22539 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
22542 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));
22545 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));
22548 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));
22551 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));
22554 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));
22557 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));
22560 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));
22563 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));
22566 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));
22569 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));
22572 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
22575 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
22578 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));
22581 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));
22584 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));
22587 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));
22590 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));
22593 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));
22596 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
22599 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));
22602 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));
22605 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));
22608 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));
22611 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));
22614 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));
22617 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));
22620 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));
22623 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));
22626 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));
22629 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));
22632 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));
22635 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));
22638 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));
22641 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));
22644 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));
22647 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));
22650 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));
22653 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));
22656 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));
22659 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));
22662 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));
22665 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));
22668 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));
22671 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));
22674 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));
22677 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));
22680 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));
22683 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));
22686 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
22689 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));
22692 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
22695 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));
22698 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));
22701 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));
22704 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));
22707 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));
22710 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));
22713 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));
22716 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));
22719 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
22722 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));
22725 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));
22728 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));
22731 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));
22734 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));
22737 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));
22740 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));
22743 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));
22746 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));
22749 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));
22752 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));
22755 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));
22758 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));
22761 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));
22764 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));
22767 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));
22770 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));
22773 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));
22776 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));
22779 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));
22782 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));
22785 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));
22788 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));
22791 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));
22794 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));
22797 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));
22800 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));
22803 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));
22806 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));
22809 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));
22812 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));
22815 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));
22818 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));
22821 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));
22824 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));
22827 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));
22830 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));
22833 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));
22836 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));
22839 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));
22842 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));
22845 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));
22848 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));
22851 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));
22854 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));
22857 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));
22860 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));
22863 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));
22866 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));
22869 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));
22872 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));
22875 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));
22878 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));
22881 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));
22884 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));
22887 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));
22890 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));
22893 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));
22896 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));
22899 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));
22901 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
22902 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
22903 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
22904 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
22905 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
22906 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
22907 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
22908 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
22909 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
22910 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
22911 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
22912 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
22913 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
22914 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
22915 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
22916 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
22917 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
22918 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
22919 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
22920 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
22921 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
22922 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
22923 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
22924 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
22925 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
22926 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
22927 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
22928 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
22929 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
22930 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
22931 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
22932 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
22933 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
22934 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
22935 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
22936 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
22937 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
22938 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
22939 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
22940 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
22941 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
22942 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
22943 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
22944 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
22945 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
22946 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
22947 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
22949 // Work around a chicken/egg problem in drawlist.cpp
22950 wxPyDrawList_SetAPIPtr();