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",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
1343 #define SWIGTYPE_p_wxBrush swig_types[1]
1344 #define SWIGTYPE_p_wxColour swig_types[2]
1345 #define SWIGTYPE_p_wxDC swig_types[3]
1346 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
1347 #define SWIGTYPE_p_form_ops_t swig_types[5]
1348 #define SWIGTYPE_p_wxDuplexMode swig_types[6]
1349 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[7]
1350 #define SWIGTYPE_p_char swig_types[8]
1351 #define SWIGTYPE_p_wxIconLocation swig_types[9]
1352 #define SWIGTYPE_p_wxImage swig_types[10]
1353 #define SWIGTYPE_p_wxMetaFileDC swig_types[11]
1354 #define SWIGTYPE_p_wxMask swig_types[12]
1355 #define SWIGTYPE_p_wxSize swig_types[13]
1356 #define SWIGTYPE_p_wxFont swig_types[14]
1357 #define SWIGTYPE_p_wxWindow swig_types[15]
1358 #define SWIGTYPE_p_double swig_types[16]
1359 #define SWIGTYPE_p_wxMemoryDC swig_types[17]
1360 #define SWIGTYPE_p_wxFontMapper swig_types[18]
1361 #define SWIGTYPE_p_wxEffects swig_types[19]
1362 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[20]
1363 #define SWIGTYPE_p_wxPalette swig_types[21]
1364 #define SWIGTYPE_p_wxBitmap swig_types[22]
1365 #define SWIGTYPE_p_wxObject swig_types[23]
1366 #define SWIGTYPE_p_wxRegionIterator swig_types[24]
1367 #define SWIGTYPE_p_wxRect swig_types[25]
1368 #define SWIGTYPE_p_wxPaperSize swig_types[26]
1369 #define SWIGTYPE_p_wxString swig_types[27]
1370 #define SWIGTYPE_unsigned_int swig_types[28]
1371 #define SWIGTYPE_p_unsigned_int swig_types[29]
1372 #define SWIGTYPE_p_wxPrinterDC swig_types[30]
1373 #define SWIGTYPE_p_wxIconBundle swig_types[31]
1374 #define SWIGTYPE_p_wxPoint swig_types[32]
1375 #define SWIGTYPE_p_wxDash swig_types[33]
1376 #define SWIGTYPE_p_wxScreenDC swig_types[34]
1377 #define SWIGTYPE_p_wxCursor swig_types[35]
1378 #define SWIGTYPE_p_wxClientDC swig_types[36]
1379 #define SWIGTYPE_p_wxBufferedDC swig_types[37]
1380 #define SWIGTYPE_p_wxImageList swig_types[38]
1381 #define SWIGTYPE_p_unsigned_char swig_types[39]
1382 #define SWIGTYPE_p_wxGDIObject swig_types[40]
1383 #define SWIGTYPE_p_wxIcon swig_types[41]
1384 #define SWIGTYPE_p_wxLocale swig_types[42]
1385 #define SWIGTYPE_ptrdiff_t swig_types[43]
1386 #define SWIGTYPE_std__ptrdiff_t swig_types[44]
1387 #define SWIGTYPE_p_wxRegion swig_types[45]
1388 #define SWIGTYPE_p_wxConfigBase swig_types[46]
1389 #define SWIGTYPE_p_wxLanguageInfo swig_types[47]
1390 #define SWIGTYPE_p_wxWindowDC swig_types[48]
1391 #define SWIGTYPE_p_wxPrintData swig_types[49]
1392 #define SWIGTYPE_p_wxBrushList swig_types[50]
1393 #define SWIGTYPE_p_wxFontList swig_types[51]
1394 #define SWIGTYPE_p_wxPen swig_types[52]
1395 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[53]
1396 #define SWIGTYPE_p_wxPaintDC swig_types[54]
1397 #define SWIGTYPE_p_wxPenList swig_types[55]
1398 #define SWIGTYPE_p_int swig_types[56]
1399 #define SWIGTYPE_p_wxMetaFile swig_types[57]
1400 #define SWIGTYPE_p_unsigned_long swig_types[58]
1401 #define SWIGTYPE_p_wxNativeFontInfo swig_types[59]
1402 #define SWIGTYPE_p_wxEncodingConverter swig_types[60]
1403 #define SWIGTYPE_p_wxColourDatabase swig_types[61]
1404 static swig_type_info
*swig_types
[63];
1406 /* -------- TYPES TABLE (END) -------- */
1409 /*-----------------------------------------------
1410 @(target):= _gdi_.so
1411 ------------------------------------------------*/
1412 #define SWIG_init init_gdi_
1414 #define SWIG_name "_gdi_"
1416 #include "wx/wxPython/wxPython.h"
1417 #include "wx/wxPython/pyclasses.h"
1420 static const wxString
wxPyEmptyString(wxEmptyString
);
1426 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1429 if (value
< min_value
) {
1431 PyErr_Format(PyExc_OverflowError
,
1432 "value %ld is less than '%s' minimum %ld",
1433 value
, errmsg
, min_value
);
1436 } else if (value
> max_value
) {
1438 PyErr_Format(PyExc_OverflowError
,
1439 "value %ld is greater than '%s' maximum %ld",
1440 value
, errmsg
, max_value
);
1449 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1451 if (PyNumber_Check(obj
)) {
1452 if (val
) *val
= PyInt_AsLong(obj
);
1456 SWIG_type_error("number", obj
);
1462 #if INT_MAX != LONG_MAX
1464 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1466 const char* errmsg
= val
? "int" : (char*)0;
1468 if (SWIG_AsVal_long(obj
, &v
)) {
1469 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1470 if (val
) *val
= (int)(v
);
1479 SWIG_type_error(errmsg
, obj
);
1485 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1487 return SWIG_AsVal_long(obj
,(long*)val
);
1493 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1495 if (obj
== Py_True
) {
1496 if (val
) *val
= true;
1499 if (obj
== Py_False
) {
1500 if (val
) *val
= false;
1504 if (SWIG_AsVal_int(obj
, &res
)) {
1505 if (val
) *val
= res
? true : false;
1511 SWIG_type_error("bool", obj
);
1517 SWIGINTERNSHORT
bool
1518 SWIG_As_bool(PyObject
* obj
)
1521 if (!SWIG_AsVal_bool(obj
, &v
)) {
1523 this is needed to make valgrind/purify happier.
1525 memset((void*)&v
, 0, sizeof(bool));
1532 SWIG_Check_bool(PyObject
* obj
)
1534 return SWIG_AsVal_bool(obj
, (bool*)0);
1539 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1542 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1543 SWIG_type_error("unsigned number", obj
);
1546 *val
= (unsigned long)v
;
1552 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1553 unsigned long max_value
,
1556 if (value
> max_value
) {
1558 PyErr_Format(PyExc_OverflowError
,
1559 "value %lu is greater than '%s' minimum %lu",
1560 value
, errmsg
, max_value
);
1569 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1571 const char* errmsg
= val
? "unsigned char" : (char*)0;
1573 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1574 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1575 if (val
) *val
= (unsigned char)(v
);
1584 SWIG_type_error(errmsg
, obj
);
1590 SWIGINTERNSHORT
unsigned char
1591 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1594 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1596 this is needed to make valgrind/purify happier.
1598 memset((void*)&v
, 0, sizeof(unsigned char));
1605 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1607 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1611 SWIGINTERNSHORT
unsigned long
1612 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1615 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1617 this is needed to make valgrind/purify happier.
1619 memset((void*)&v
, 0, sizeof(unsigned long));
1626 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1628 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1632 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1633 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1637 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1638 #define SWIG_From_long PyInt_FromLong
1641 static PyObject
*wxColour_Get(wxColour
*self
){
1642 PyObject
* rv
= PyTuple_New(3);
1648 green
= self
->Green();
1649 blue
= self
->Blue();
1651 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
1652 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
1653 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
1656 static unsigned long wxColour_GetRGB(wxColour
*self
){
1657 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
1660 SWIGINTERNSHORT PyObject
*
1661 SWIG_From_unsigned_SS_long(unsigned long value
)
1663 return (value
> LONG_MAX
) ?
1664 PyLong_FromUnsignedLong(value
)
1665 : PyInt_FromLong((long)(value
));
1670 SWIG_As_int(PyObject
* obj
)
1673 if (!SWIG_AsVal_int(obj
, &v
)) {
1675 this is needed to make valgrind/purify happier.
1677 memset((void*)&v
, 0, sizeof(int));
1684 SWIG_Check_int(PyObject
* obj
)
1686 return SWIG_AsVal_int(obj
, (int*)0);
1690 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1691 #define SWIG_From_int PyInt_FromLong
1695 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1701 } else if (target
== Py_None
) {
1705 if (!PyTuple_Check(target
)) {
1707 target
= PyTuple_New(1);
1708 PyTuple_SetItem(target
, 0, o2
);
1710 o3
= PyTuple_New(1);
1711 PyTuple_SetItem(o3
, 0, o
);
1714 target
= PySequence_Concat(o2
, o3
);
1722 static PyObject
*wxPen_GetDashes(wxPen
*self
){
1724 int count
= self
->GetDashes(&dashes
);
1725 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1726 PyObject
* retval
= PyList_New(0);
1727 for (int x
=0; x
<count
; x
++) {
1728 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
1729 PyList_Append(retval
, pyint
);
1732 wxPyEndBlockThreads(blocked
);
1735 static void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
1736 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1737 int size
= PyList_Size(pyDashes
);
1738 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
1740 // black magic warning! The array of wxDashes needs to exist as
1741 // long as the pen does because wxPen does not copy the array. So
1742 // stick a copy in a Python string object and attach it to _self,
1743 // and then call SetDashes with a pointer to that array. Then
1744 // when the Python pen object is destroyed the array will be
1746 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
1747 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
1749 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
1751 Py_DECREF(strDashes
);
1752 wxPyEndBlockThreads(blocked
);
1754 static bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
1755 static bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
1757 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1758 #define SWIG_From_short PyInt_FromLong
1763 SWIG_AsVal_short(PyObject
*obj
, short *val
)
1765 const char* errmsg
= val
? "short" : (char*)0;
1767 if (SWIG_AsVal_long(obj
, &v
)) {
1768 if (SWIG_CheckLongInRange(v
, SHRT_MIN
, SHRT_MAX
, errmsg
)) {
1769 if (val
) *val
= (short)(v
);
1778 SWIG_type_error(errmsg
, obj
);
1784 SWIGINTERNSHORT
short
1785 SWIG_As_short(PyObject
* obj
)
1788 if (!SWIG_AsVal_short(obj
, &v
)) {
1790 this is needed to make valgrind/purify happier.
1792 memset((void*)&v
, 0, sizeof(short));
1799 SWIG_Check_short(PyObject
* obj
)
1801 return SWIG_AsVal_short(obj
, (short*)0);
1805 #include <wx/image.h>
1807 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1808 char** cArray
= NULL
;
1811 if (!PyList_Check(listOfStrings
)) {
1812 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1815 count
= PyList_Size(listOfStrings
);
1816 cArray
= new char*[count
];
1818 for(int x
=0; x
<count
; x
++) {
1819 // TODO: Need some validation and error checking here
1820 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1826 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1827 char** cArray
= NULL
;
1830 cArray
= ConvertListOfStrings(listOfStrings
);
1833 bmp
= new wxBitmap(cArray
);
1837 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1840 PyString_AsStringAndSize(bits
, &buf
, &length
);
1841 return new wxBitmap(buf
, width
, height
, depth
);
1843 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1844 wxSize
size(self
->GetWidth(), self
->GetHeight());
1847 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1848 wxMask
*mask
= new wxMask(*self
, colour
);
1849 self
->SetMask(mask
);
1851 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1852 self
->SetWidth(size
.x
);
1853 self
->SetHeight(size
.y
);
1855 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
1856 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
1857 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
1859 return new wxMask(bitmap
, *wxBLACK
);
1861 return new wxMask(bitmap
, colour
);
1864 #include <wx/iconbndl.h>
1866 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
1867 wxIcon
* icon
= new wxIcon();
1868 icon
->CopyFromBitmap(bmp
);
1871 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
1872 char** cArray
= NULL
;
1875 cArray
= ConvertListOfStrings(listOfStrings
);
1878 icon
= new wxIcon(cArray
);
1882 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
1886 return new wxIconLocation(*filename
);
1889 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
1896 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
1904 SWIGINTERNSHORT
long
1905 SWIG_As_long(PyObject
* obj
)
1908 if (!SWIG_AsVal_long(obj
, &v
)) {
1910 this is needed to make valgrind/purify happier.
1912 memset((void*)&v
, 0, sizeof(long));
1919 SWIG_Check_long(PyObject
* obj
)
1921 return SWIG_AsVal_long(obj
, (long*)0);
1924 static wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
1926 wxImage
img(cursorName
, type
);
1927 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
1928 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
1929 return new wxCursor(img
);
1931 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
1936 static void wxRegionIterator_Next(wxRegionIterator
*self
){
1939 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
1940 return self
->operator bool();
1943 #include <wx/fontutil.h>
1944 #include <wx/fontmap.h>
1945 #include <wx/fontenum.h>
1947 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
1948 return self
->ToString();
1951 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
1952 static wxNativeEncodingInfo info
;
1953 if ( wxGetNativeFontEncoding(encoding
, &info
) )
1959 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
1960 wxFontEncoding alt_enc
;
1961 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1962 return PyInt_FromLong(alt_enc
);
1968 static wxFont
*new_wxFont(wxString
const &info
){
1969 wxNativeFontInfo nfi
;
1970 nfi
.FromString(info
);
1971 return new wxFont(nfi
);
1973 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1974 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
1976 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1977 return wxFontBase::New(pixelSize
, family
,
1978 style
, weight
, underlined
,
1981 static wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1982 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
1984 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
1985 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
1987 class wxPyFontEnumerator
: public wxFontEnumerator
{
1989 wxPyFontEnumerator() {}
1990 ~wxPyFontEnumerator() {}
1992 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
1993 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
1998 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
1999 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
2002 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
2003 wxArrayString
* arr
= self
->GetEncodings();
2005 return wxArrayString2PyList_helper(*arr
);
2007 return PyList_New(0);
2009 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
2010 wxArrayString
* arr
= self
->GetFacenames();
2012 return wxArrayString2PyList_helper(*arr
);
2014 return PyList_New(0);
2019 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2022 loc
= new wxLocale();
2024 loc
= new wxLocale(language
, flags
);
2025 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2026 // for the floating point conversions and such to work right.
2027 #if PY_VERSION_HEX < 0x02040000
2028 setlocale(LC_NUMERIC
, "C");
2032 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
2033 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
2034 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2035 // for the floating point conversions and such to work right.
2036 #if PY_VERSION_HEX < 0x02040000
2037 setlocale(LC_NUMERIC
, "C");
2041 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2042 bool rc
= self
->Init(language
, flags
);
2043 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2044 // for the floating point conversions and such to work right.
2045 #if PY_VERSION_HEX < 0x02040000
2046 setlocale(LC_NUMERIC
, "C");
2051 #include "wx/wxPython/pydrawxxx.h"
2053 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2055 self
->GetPixel(x
, y
, &col
);
2058 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2060 self
->GetPixel(pt
, &col
);
2065 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2067 if (PyNumber_Check(obj
)) {
2068 if (val
) *val
= PyFloat_AsDouble(obj
);
2072 SWIG_type_error("number", obj
);
2078 SWIGINTERNSHORT
double
2079 SWIG_As_double(PyObject
* obj
)
2082 if (!SWIG_AsVal_double(obj
, &v
)) {
2084 this is needed to make valgrind/purify happier.
2086 memset((void*)&v
, 0, sizeof(double));
2093 SWIG_Check_double(PyObject
* obj
)
2095 return SWIG_AsVal_double(obj
, (double*)0);
2098 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2100 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2104 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2106 self
->GetClippingBox(rect
);
2109 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2111 self
->GetPartialTextExtents(text
, widths
);
2115 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2116 #define SWIG_From_double PyFloat_FromDouble
2120 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2121 self
->SetLogicalOrigin(point
.x
, point
.y
);
2123 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2124 self
->SetDeviceOrigin(point
.x
, point
.y
);
2126 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2127 self
->CalcBoundingBox(point
.x
, point
.y
);
2129 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2130 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2132 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2133 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2135 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2136 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2138 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2139 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2141 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2142 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2144 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2145 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2148 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2156 #include <wx/dcbuffer.h>
2159 #include <wx/dcps.h>
2162 #include <wx/metafile.h>
2166 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2167 self
->AddColour(name
, wxColour(red
, green
, blue
));
2170 #include <wx/effects.h>
2175 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxGDIObject
*result
;
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2184 if (!wxPyCheckForApp()) SWIG_fail
;
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 result
= (wxGDIObject
*)new wxGDIObject();
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2198 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2201 PyObject
* obj0
= 0 ;
2203 (char *) "self", NULL
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2208 if (SWIG_arg_fail(1)) SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2216 Py_INCREF(Py_None
); resultobj
= Py_None
;
2223 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2234 if (SWIG_arg_fail(1)) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (bool)(arg1
)->GetVisible();
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2251 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
*resultobj
;
2253 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2255 PyObject
* obj0
= 0 ;
2256 PyObject
* obj1
= 0 ;
2258 (char *) "self",(char *) "visible", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2263 if (SWIG_arg_fail(1)) SWIG_fail
;
2265 arg2
= (bool)(SWIG_As_bool(obj1
));
2266 if (SWIG_arg_fail(2)) SWIG_fail
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 (arg1
)->SetVisible(arg2
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2275 Py_INCREF(Py_None
); resultobj
= Py_None
;
2282 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2286 PyObject
* obj0
= 0 ;
2288 (char *) "self", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2293 if (SWIG_arg_fail(1)) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 result
= (bool)(arg1
)->IsNull();
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2310 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2313 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2315 return Py_BuildValue((char *)"");
2317 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2318 PyObject
*resultobj
;
2319 byte arg1
= (byte
) 0 ;
2320 byte arg2
= (byte
) 0 ;
2321 byte arg3
= (byte
) 0 ;
2323 PyObject
* obj0
= 0 ;
2324 PyObject
* obj1
= 0 ;
2325 PyObject
* obj2
= 0 ;
2327 (char *) "red",(char *) "green",(char *) "blue", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2333 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
2334 if (SWIG_arg_fail(1)) SWIG_fail
;
2339 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2340 if (SWIG_arg_fail(2)) SWIG_fail
;
2345 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2346 if (SWIG_arg_fail(3)) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2363 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
*resultobj
;
2365 wxString
*arg1
= 0 ;
2367 bool temp1
= false ;
2368 PyObject
* obj0
= 0 ;
2370 (char *) "colorName", NULL
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2375 arg1
= wxString_in_helper(obj0
);
2376 if (arg1
== NULL
) SWIG_fail
;
2380 if (!wxPyCheckForApp()) SWIG_fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2402 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2404 unsigned long arg1
;
2406 PyObject
* obj0
= 0 ;
2408 (char *) "colRGB", NULL
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2413 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
2414 if (SWIG_arg_fail(1)) SWIG_fail
;
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 result
= (wxColour
*)new wxColour(arg1
);
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2430 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
*resultobj
;
2432 wxColour
*arg1
= (wxColour
*) 0 ;
2433 PyObject
* obj0
= 0 ;
2435 (char *) "self", NULL
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2440 if (SWIG_arg_fail(1)) SWIG_fail
;
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2448 Py_INCREF(Py_None
); resultobj
= Py_None
;
2455 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2457 wxColour
*arg1
= (wxColour
*) 0 ;
2459 PyObject
* obj0
= 0 ;
2461 (char *) "self", NULL
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2466 if (SWIG_arg_fail(1)) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 result
= (byte
)(arg1
)->Red();
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2475 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2483 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2485 wxColour
*arg1
= (wxColour
*) 0 ;
2487 PyObject
* obj0
= 0 ;
2489 (char *) "self", NULL
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2494 if (SWIG_arg_fail(1)) SWIG_fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 result
= (byte
)(arg1
)->Green();
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2503 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2511 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 wxColour
*arg1
= (wxColour
*) 0 ;
2515 PyObject
* obj0
= 0 ;
2517 (char *) "self", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2522 if (SWIG_arg_fail(1)) SWIG_fail
;
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 result
= (byte
)(arg1
)->Blue();
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2531 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2539 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
*resultobj
;
2541 wxColour
*arg1
= (wxColour
*) 0 ;
2543 PyObject
* obj0
= 0 ;
2545 (char *) "self", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2550 if (SWIG_arg_fail(1)) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 result
= (bool)(arg1
)->Ok();
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2567 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
*resultobj
;
2569 wxColour
*arg1
= (wxColour
*) 0 ;
2573 PyObject
* obj0
= 0 ;
2574 PyObject
* obj1
= 0 ;
2575 PyObject
* obj2
= 0 ;
2576 PyObject
* obj3
= 0 ;
2578 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2583 if (SWIG_arg_fail(1)) SWIG_fail
;
2585 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2586 if (SWIG_arg_fail(2)) SWIG_fail
;
2589 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2590 if (SWIG_arg_fail(3)) SWIG_fail
;
2593 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2594 if (SWIG_arg_fail(4)) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 (arg1
)->Set(arg2
,arg3
,arg4
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 Py_INCREF(Py_None
); resultobj
= Py_None
;
2610 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxColour
*arg1
= (wxColour
*) 0 ;
2613 unsigned long arg2
;
2614 PyObject
* obj0
= 0 ;
2615 PyObject
* obj1
= 0 ;
2617 (char *) "self",(char *) "colRGB", NULL
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2622 if (SWIG_arg_fail(1)) SWIG_fail
;
2624 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
2625 if (SWIG_arg_fail(2)) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2634 Py_INCREF(Py_None
); resultobj
= Py_None
;
2641 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
*resultobj
;
2643 wxColour
*arg1
= (wxColour
*) 0 ;
2644 wxString
*arg2
= 0 ;
2645 bool temp2
= false ;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2649 (char *) "self",(char *) "colourName", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2654 if (SWIG_arg_fail(1)) SWIG_fail
;
2656 arg2
= wxString_in_helper(obj1
);
2657 if (arg2
== NULL
) SWIG_fail
;
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 (arg1
)->InitFromName((wxString
const &)*arg2
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2667 Py_INCREF(Py_None
); resultobj
= Py_None
;
2682 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
*resultobj
;
2684 wxColour
*arg1
= (wxColour
*) 0 ;
2686 PyObject
* obj0
= 0 ;
2688 (char *) "self", NULL
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2693 if (SWIG_arg_fail(1)) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= SWIG_From_long((long)(result
));
2710 static PyObject
*_wrap_Colour___eq__(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___eq__",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___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2747 wxColour
*arg1
= (wxColour
*) 0 ;
2748 wxColour
*arg2
= 0 ;
2751 PyObject
* obj0
= 0 ;
2752 PyObject
* obj1
= 0 ;
2754 (char *) "self",(char *) "colour", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2759 if (SWIG_arg_fail(1)) SWIG_fail
;
2762 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2780 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxColour
*arg1
= (wxColour
*) 0 ;
2784 PyObject
* obj0
= 0 ;
2786 (char *) "self", NULL
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2791 if (SWIG_arg_fail(1)) SWIG_fail
;
2793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2794 result
= (PyObject
*)wxColour_Get(arg1
);
2796 wxPyEndAllowThreads(__tstate
);
2797 if (PyErr_Occurred()) SWIG_fail
;
2806 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxColour
*arg1
= (wxColour
*) 0 ;
2809 unsigned long result
;
2810 PyObject
* obj0
= 0 ;
2812 (char *) "self", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2817 if (SWIG_arg_fail(1)) SWIG_fail
;
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 result
= (unsigned long)wxColour_GetRGB(arg1
);
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2826 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
2834 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2837 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2839 return Py_BuildValue((char *)"");
2841 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2844 unsigned char *arg2
= (unsigned char *) 0 ;
2845 unsigned char *arg3
= (unsigned char *) 0 ;
2846 unsigned char *arg4
= (unsigned char *) 0 ;
2848 PyObject
* obj0
= 0 ;
2849 PyObject
* obj1
= 0 ;
2850 PyObject
* obj2
= 0 ;
2851 PyObject
* obj3
= 0 ;
2853 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2858 arg1
= (int)(SWIG_As_int(obj0
));
2859 if (SWIG_arg_fail(1)) SWIG_fail
;
2861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2862 if (SWIG_arg_fail(2)) SWIG_fail
;
2863 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2864 if (SWIG_arg_fail(3)) SWIG_fail
;
2865 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2866 if (SWIG_arg_fail(4)) SWIG_fail
;
2868 if (!wxPyCheckForApp()) SWIG_fail
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
2882 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 wxPalette
*arg1
= (wxPalette
*) 0 ;
2885 PyObject
* obj0
= 0 ;
2887 (char *) "self", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
2891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2892 if (SWIG_arg_fail(1)) SWIG_fail
;
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2900 Py_INCREF(Py_None
); resultobj
= Py_None
;
2907 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 wxPalette
*arg1
= (wxPalette
*) 0 ;
2914 PyObject
* obj0
= 0 ;
2915 PyObject
* obj1
= 0 ;
2916 PyObject
* obj2
= 0 ;
2917 PyObject
* obj3
= 0 ;
2919 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2924 if (SWIG_arg_fail(1)) SWIG_fail
;
2926 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2927 if (SWIG_arg_fail(2)) SWIG_fail
;
2930 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2931 if (SWIG_arg_fail(3)) SWIG_fail
;
2934 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2935 if (SWIG_arg_fail(4)) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2945 resultobj
= SWIG_From_int((int)(result
));
2953 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
*resultobj
;
2955 wxPalette
*arg1
= (wxPalette
*) 0 ;
2957 byte
*arg3
= (byte
*) 0 ;
2958 byte
*arg4
= (byte
*) 0 ;
2959 byte
*arg5
= (byte
*) 0 ;
2967 PyObject
* obj0
= 0 ;
2968 PyObject
* obj1
= 0 ;
2970 (char *) "self",(char *) "pixel", NULL
2973 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2974 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2975 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2978 if (SWIG_arg_fail(1)) SWIG_fail
;
2980 arg2
= (int)(SWIG_As_int(obj1
));
2981 if (SWIG_arg_fail(2)) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2993 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2994 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
2995 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2996 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
2997 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2998 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
3005 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
*resultobj
;
3007 wxPalette
*arg1
= (wxPalette
*) 0 ;
3009 PyObject
* obj0
= 0 ;
3011 (char *) "self", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
3015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3016 if (SWIG_arg_fail(1)) SWIG_fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3025 resultobj
= SWIG_From_int((int)(result
));
3033 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxPalette
*arg1
= (wxPalette
*) 0 ;
3037 PyObject
* obj0
= 0 ;
3039 (char *) "self", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3044 if (SWIG_arg_fail(1)) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= (bool)(arg1
)->Ok();
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3061 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3064 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3066 return Py_BuildValue((char *)"");
3068 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxColour
*arg1
= 0 ;
3071 int arg2
= (int) 1 ;
3072 int arg3
= (int) wxSOLID
;
3075 PyObject
* obj0
= 0 ;
3076 PyObject
* obj1
= 0 ;
3077 PyObject
* obj2
= 0 ;
3079 (char *) "colour",(char *) "width",(char *) "style", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3085 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3089 arg2
= (int)(SWIG_As_int(obj1
));
3090 if (SWIG_arg_fail(2)) SWIG_fail
;
3095 arg3
= (int)(SWIG_As_int(obj2
));
3096 if (SWIG_arg_fail(3)) SWIG_fail
;
3100 if (!wxPyCheckForApp()) SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3114 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3116 wxPen
*arg1
= (wxPen
*) 0 ;
3117 PyObject
* obj0
= 0 ;
3119 (char *) "self", NULL
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3124 if (SWIG_arg_fail(1)) SWIG_fail
;
3126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 wxPyEndAllowThreads(__tstate
);
3130 if (PyErr_Occurred()) SWIG_fail
;
3132 Py_INCREF(Py_None
); resultobj
= Py_None
;
3139 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxPen
*arg1
= (wxPen
*) 0 ;
3143 PyObject
* obj0
= 0 ;
3145 (char *) "self", NULL
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3150 if (SWIG_arg_fail(1)) SWIG_fail
;
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 result
= (int)(arg1
)->GetCap();
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3159 resultobj
= SWIG_From_int((int)(result
));
3167 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 wxPen
*arg1
= (wxPen
*) 0 ;
3171 PyObject
* obj0
= 0 ;
3173 (char *) "self", NULL
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3178 if (SWIG_arg_fail(1)) SWIG_fail
;
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 result
= (arg1
)->GetColour();
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3187 wxColour
* resultptr
;
3188 resultptr
= new wxColour((wxColour
&)(result
));
3189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3197 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
;
3199 wxPen
*arg1
= (wxPen
*) 0 ;
3201 PyObject
* obj0
= 0 ;
3203 (char *) "self", NULL
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3208 if (SWIG_arg_fail(1)) SWIG_fail
;
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 result
= (int)(arg1
)->GetJoin();
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3217 resultobj
= SWIG_From_int((int)(result
));
3225 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
*resultobj
;
3227 wxPen
*arg1
= (wxPen
*) 0 ;
3229 PyObject
* obj0
= 0 ;
3231 (char *) "self", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3236 if (SWIG_arg_fail(1)) SWIG_fail
;
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 result
= (int)(arg1
)->GetStyle();
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3245 resultobj
= SWIG_From_int((int)(result
));
3253 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
*resultobj
;
3255 wxPen
*arg1
= (wxPen
*) 0 ;
3257 PyObject
* obj0
= 0 ;
3259 (char *) "self", NULL
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3264 if (SWIG_arg_fail(1)) SWIG_fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 result
= (int)(arg1
)->GetWidth();
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3273 resultobj
= SWIG_From_int((int)(result
));
3281 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxPen
*arg1
= (wxPen
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3287 (char *) "self", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 result
= (bool)(arg1
)->Ok();
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3309 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
*resultobj
;
3311 wxPen
*arg1
= (wxPen
*) 0 ;
3313 PyObject
* obj0
= 0 ;
3314 PyObject
* obj1
= 0 ;
3316 (char *) "self",(char *) "cap_style", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3321 if (SWIG_arg_fail(1)) SWIG_fail
;
3323 arg2
= (int)(SWIG_As_int(obj1
));
3324 if (SWIG_arg_fail(2)) SWIG_fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 (arg1
)->SetCap(arg2
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3333 Py_INCREF(Py_None
); resultobj
= Py_None
;
3340 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxPen
*arg1
= (wxPen
*) 0 ;
3343 wxColour
*arg2
= 0 ;
3345 PyObject
* obj0
= 0 ;
3346 PyObject
* obj1
= 0 ;
3348 (char *) "self",(char *) "colour", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3353 if (SWIG_arg_fail(1)) SWIG_fail
;
3356 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 (arg1
)->SetColour(*arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 Py_INCREF(Py_None
); resultobj
= Py_None
;
3372 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxPen
*arg1
= (wxPen
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3379 (char *) "self",(char *) "join_style", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3384 if (SWIG_arg_fail(1)) SWIG_fail
;
3386 arg2
= (int)(SWIG_As_int(obj1
));
3387 if (SWIG_arg_fail(2)) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 (arg1
)->SetJoin(arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 Py_INCREF(Py_None
); resultobj
= Py_None
;
3403 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxPen
*arg1
= (wxPen
*) 0 ;
3407 PyObject
* obj0
= 0 ;
3408 PyObject
* obj1
= 0 ;
3410 (char *) "self",(char *) "style", NULL
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3415 if (SWIG_arg_fail(1)) SWIG_fail
;
3417 arg2
= (int)(SWIG_As_int(obj1
));
3418 if (SWIG_arg_fail(2)) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 (arg1
)->SetStyle(arg2
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 Py_INCREF(Py_None
); resultobj
= Py_None
;
3434 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxPen
*arg1
= (wxPen
*) 0 ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3441 (char *) "self",(char *) "width", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail
;
3448 arg2
= (int)(SWIG_As_int(obj1
));
3449 if (SWIG_arg_fail(2)) SWIG_fail
;
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 (arg1
)->SetWidth(arg2
);
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3458 Py_INCREF(Py_None
); resultobj
= Py_None
;
3465 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
*resultobj
;
3467 wxPen
*arg1
= (wxPen
*) 0 ;
3469 wxDash
*arg3
= (wxDash
*) 0 ;
3470 PyObject
* obj0
= 0 ;
3471 PyObject
* obj1
= 0 ;
3473 (char *) "self",(char *) "dashes", NULL
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3478 if (SWIG_arg_fail(1)) SWIG_fail
;
3480 arg2
= PyList_Size(obj1
);
3481 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3482 if (arg3
== NULL
) SWIG_fail
;
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 (arg1
)->SetDashes(arg2
,arg3
);
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3491 Py_INCREF(Py_None
); resultobj
= Py_None
;
3493 if (arg3
) delete [] arg3
;
3498 if (arg3
) delete [] arg3
;
3504 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3506 wxPen
*arg1
= (wxPen
*) 0 ;
3508 PyObject
* obj0
= 0 ;
3510 (char *) "self", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3515 if (SWIG_arg_fail(1)) SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3530 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
;
3532 wxPen
*arg1
= (wxPen
*) 0 ;
3533 PyObject
*arg2
= (PyObject
*) 0 ;
3534 PyObject
*arg3
= (PyObject
*) 0 ;
3535 PyObject
* obj0
= 0 ;
3536 PyObject
* obj1
= 0 ;
3537 PyObject
* obj2
= 0 ;
3539 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3544 if (SWIG_arg_fail(1)) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 wxPen__SetDashes(arg1
,arg2
,arg3
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 Py_INCREF(Py_None
); resultobj
= Py_None
;
3561 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxPen
*arg1
= (wxPen
*) 0 ;
3564 wxPen
*arg2
= (wxPen
*) 0 ;
3566 PyObject
* obj0
= 0 ;
3567 PyObject
* obj1
= 0 ;
3569 (char *) "self",(char *) "other", NULL
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3574 if (SWIG_arg_fail(1)) SWIG_fail
;
3575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3576 if (SWIG_arg_fail(2)) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3593 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3595 wxPen
*arg1
= (wxPen
*) 0 ;
3596 wxPen
*arg2
= (wxPen
*) 0 ;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3601 (char *) "self",(char *) "other", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3606 if (SWIG_arg_fail(1)) SWIG_fail
;
3607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3608 if (SWIG_arg_fail(2)) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3625 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3628 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3630 return Py_BuildValue((char *)"");
3632 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 wxColour
*arg1
= 0 ;
3635 int arg2
= (int) wxSOLID
;
3638 PyObject
* obj0
= 0 ;
3639 PyObject
* obj1
= 0 ;
3641 (char *) "colour",(char *) "style", NULL
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3647 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3651 arg2
= (int)(SWIG_As_int(obj1
));
3652 if (SWIG_arg_fail(2)) SWIG_fail
;
3656 if (!wxPyCheckForApp()) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3670 static PyObject
*_wrap_new_BrushFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxBitmap
*arg1
= 0 ;
3674 PyObject
* obj0
= 0 ;
3676 (char *) "stippleBitmap", NULL
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) goto fail
;
3681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3682 if (SWIG_arg_fail(1)) SWIG_fail
;
3684 SWIG_null_ref("wxBitmap");
3686 if (SWIG_arg_fail(1)) SWIG_fail
;
3689 if (!wxPyCheckForApp()) SWIG_fail
;
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3703 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxBrush
*arg1
= (wxBrush
*) 0 ;
3706 PyObject
* obj0
= 0 ;
3708 (char *) "self", NULL
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3713 if (SWIG_arg_fail(1)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 Py_INCREF(Py_None
); resultobj
= Py_None
;
3728 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxBrush
*arg1
= (wxBrush
*) 0 ;
3731 wxColour
*arg2
= 0 ;
3733 PyObject
* obj0
= 0 ;
3734 PyObject
* obj1
= 0 ;
3736 (char *) "self",(char *) "col", NULL
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3741 if (SWIG_arg_fail(1)) SWIG_fail
;
3744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 (arg1
)->SetColour((wxColour
const &)*arg2
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 Py_INCREF(Py_None
); resultobj
= Py_None
;
3760 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 wxBrush
*arg1
= (wxBrush
*) 0 ;
3764 PyObject
* obj0
= 0 ;
3765 PyObject
* obj1
= 0 ;
3767 (char *) "self",(char *) "style", NULL
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3772 if (SWIG_arg_fail(1)) SWIG_fail
;
3774 arg2
= (int)(SWIG_As_int(obj1
));
3775 if (SWIG_arg_fail(2)) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 (arg1
)->SetStyle(arg2
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxBrush
*arg1
= (wxBrush
*) 0 ;
3794 wxBitmap
*arg2
= 0 ;
3795 PyObject
* obj0
= 0 ;
3796 PyObject
* obj1
= 0 ;
3798 (char *) "self",(char *) "stipple", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3803 if (SWIG_arg_fail(1)) SWIG_fail
;
3805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3806 if (SWIG_arg_fail(2)) SWIG_fail
;
3808 SWIG_null_ref("wxBitmap");
3810 if (SWIG_arg_fail(2)) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 Py_INCREF(Py_None
); resultobj
= Py_None
;
3826 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxBrush
*arg1
= (wxBrush
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3832 (char *) "self", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
3836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3837 if (SWIG_arg_fail(1)) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= ((wxBrush
const *)arg1
)->GetColour();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 wxColour
* resultptr
;
3847 resultptr
= new wxColour((wxColour
&)(result
));
3848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3856 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
;
3858 wxBrush
*arg1
= (wxBrush
*) 0 ;
3860 PyObject
* obj0
= 0 ;
3862 (char *) "self", NULL
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
3866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3867 if (SWIG_arg_fail(1)) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3876 resultobj
= SWIG_From_int((int)(result
));
3884 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
*resultobj
;
3886 wxBrush
*arg1
= (wxBrush
*) 0 ;
3888 PyObject
* obj0
= 0 ;
3890 (char *) "self", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
3894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3895 if (SWIG_arg_fail(1)) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3910 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxBrush
*arg1
= (wxBrush
*) 0 ;
3914 PyObject
* obj0
= 0 ;
3916 (char *) "self", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
3920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3921 if (SWIG_arg_fail(1)) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3938 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxBrush
*arg1
= (wxBrush
*) 0 ;
3942 PyObject
* obj0
= 0 ;
3944 (char *) "self", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
3948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3949 if (SWIG_arg_fail(1)) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (bool)(arg1
)->Ok();
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3966 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxBrush
*arg1
= (wxBrush
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3972 (char *) "self", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
3976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3977 if (SWIG_arg_fail(1)) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 result
= (short)(arg1
)->MacGetTheme();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3986 resultobj
= SWIG_From_short((short)(result
));
3994 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxBrush
*arg1
= (wxBrush
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4001 (char *) "self",(char *) "macThemeBrush", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
4005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4006 if (SWIG_arg_fail(1)) SWIG_fail
;
4008 arg2
= (short)(SWIG_As_short(obj1
));
4009 if (SWIG_arg_fail(2)) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 (arg1
)->MacSetTheme(arg2
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 Py_INCREF(Py_None
); resultobj
= Py_None
;
4025 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
4027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4028 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
4030 return Py_BuildValue((char *)"");
4032 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxString
*arg1
= 0 ;
4035 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
4037 bool temp1
= false ;
4038 PyObject
* obj0
= 0 ;
4039 PyObject
* obj1
= 0 ;
4041 (char *) "name",(char *) "type", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4046 arg1
= wxString_in_helper(obj0
);
4047 if (arg1
== NULL
) SWIG_fail
;
4052 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4053 if (SWIG_arg_fail(2)) SWIG_fail
;
4057 if (!wxPyCheckForApp()) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4079 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4084 (char *) "self", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4089 if (SWIG_arg_fail(1)) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 Py_INCREF(Py_None
); resultobj
= Py_None
;
4104 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4108 int arg3
= (int) -1 ;
4110 PyObject
* obj0
= 0 ;
4111 PyObject
* obj1
= 0 ;
4112 PyObject
* obj2
= 0 ;
4114 (char *) "width",(char *) "height",(char *) "depth", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4119 arg1
= (int)(SWIG_As_int(obj0
));
4120 if (SWIG_arg_fail(1)) SWIG_fail
;
4123 arg2
= (int)(SWIG_As_int(obj1
));
4124 if (SWIG_arg_fail(2)) SWIG_fail
;
4128 arg3
= (int)(SWIG_As_int(obj2
));
4129 if (SWIG_arg_fail(3)) SWIG_fail
;
4133 if (!wxPyCheckForApp()) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4147 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4151 PyObject
* obj0
= 0 ;
4153 (char *) "icon", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4159 if (SWIG_arg_fail(1)) SWIG_fail
;
4161 SWIG_null_ref("wxIcon");
4163 if (SWIG_arg_fail(1)) SWIG_fail
;
4166 if (!wxPyCheckForApp()) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4180 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4183 int arg2
= (int) -1 ;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4188 (char *) "image",(char *) "depth", NULL
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4194 if (SWIG_arg_fail(1)) SWIG_fail
;
4196 SWIG_null_ref("wxImage");
4198 if (SWIG_arg_fail(1)) SWIG_fail
;
4202 arg2
= (int)(SWIG_As_int(obj1
));
4203 if (SWIG_arg_fail(2)) SWIG_fail
;
4207 if (!wxPyCheckForApp()) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4221 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 PyObject
*arg1
= (PyObject
*) 0 ;
4225 PyObject
* obj0
= 0 ;
4227 (char *) "listOfStrings", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4233 if (!wxPyCheckForApp()) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4247 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4249 PyObject
*arg1
= (PyObject
*) 0 ;
4252 int arg4
= (int) 1 ;
4254 PyObject
* obj0
= 0 ;
4255 PyObject
* obj1
= 0 ;
4256 PyObject
* obj2
= 0 ;
4257 PyObject
* obj3
= 0 ;
4259 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4265 arg2
= (int)(SWIG_As_int(obj1
));
4266 if (SWIG_arg_fail(2)) SWIG_fail
;
4269 arg3
= (int)(SWIG_As_int(obj2
));
4270 if (SWIG_arg_fail(3)) SWIG_fail
;
4274 arg4
= (int)(SWIG_As_int(obj3
));
4275 if (SWIG_arg_fail(4)) SWIG_fail
;
4279 if (!wxPyCheckForApp()) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4293 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
*resultobj
;
4295 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4297 PyObject
* obj0
= 0 ;
4299 (char *) "self", NULL
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4304 if (SWIG_arg_fail(1)) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= (bool)(arg1
)->Ok();
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4321 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4323 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4325 PyObject
* obj0
= 0 ;
4327 (char *) "self", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4332 if (SWIG_arg_fail(1)) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (int)(arg1
)->GetWidth();
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_From_int((int)(result
));
4349 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "self", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4360 if (SWIG_arg_fail(1)) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (int)(arg1
)->GetHeight();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= SWIG_From_int((int)(result
));
4377 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4381 PyObject
* obj0
= 0 ;
4383 (char *) "self", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4388 if (SWIG_arg_fail(1)) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (int)(arg1
)->GetDepth();
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= SWIG_From_int((int)(result
));
4405 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4411 (char *) "self", NULL
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4416 if (SWIG_arg_fail(1)) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= wxBitmap_GetSize(arg1
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4426 resultptr
= new wxSize((wxSize
&)(result
));
4427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4435 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4438 SwigValueWrapper
<wxImage
> result
;
4439 PyObject
* obj0
= 0 ;
4441 (char *) "self", NULL
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4446 if (SWIG_arg_fail(1)) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4455 wxImage
* resultptr
;
4456 resultptr
= new wxImage((wxImage
&)(result
));
4457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4465 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4469 PyObject
* obj0
= 0 ;
4471 (char *) "self", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4476 if (SWIG_arg_fail(1)) SWIG_fail
;
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4491 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4494 wxMask
*arg2
= (wxMask
*) 0 ;
4495 PyObject
* obj0
= 0 ;
4496 PyObject
* obj1
= 0 ;
4498 (char *) "self",(char *) "mask", NULL
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4503 if (SWIG_arg_fail(1)) SWIG_fail
;
4504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4505 if (SWIG_arg_fail(2)) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 (arg1
)->SetMask(arg2
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 Py_INCREF(Py_None
); resultobj
= Py_None
;
4520 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4523 wxColour
*arg2
= 0 ;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4528 (char *) "self",(char *) "colour", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4533 if (SWIG_arg_fail(1)) SWIG_fail
;
4536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 Py_INCREF(Py_None
); resultobj
= Py_None
;
4552 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
;
4554 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4556 SwigValueWrapper
<wxBitmap
> result
;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4561 (char *) "self",(char *) "rect", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4566 if (SWIG_arg_fail(1)) SWIG_fail
;
4569 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4579 wxBitmap
* resultptr
;
4580 resultptr
= new wxBitmap((wxBitmap
&)(result
));
4581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4589 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
;
4591 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4592 wxString
*arg2
= 0 ;
4594 wxPalette
*arg4
= (wxPalette
*) NULL
;
4596 bool temp2
= false ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4599 PyObject
* obj2
= 0 ;
4600 PyObject
* obj3
= 0 ;
4602 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg2
= wxString_in_helper(obj1
);
4610 if (arg2
== NULL
) SWIG_fail
;
4614 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4615 if (SWIG_arg_fail(3)) SWIG_fail
;
4618 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(4)) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4645 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4648 wxString
*arg2
= 0 ;
4651 bool temp2
= false ;
4652 PyObject
* obj0
= 0 ;
4653 PyObject
* obj1
= 0 ;
4654 PyObject
* obj2
= 0 ;
4656 (char *) "self",(char *) "name",(char *) "type", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4661 if (SWIG_arg_fail(1)) SWIG_fail
;
4663 arg2
= wxString_in_helper(obj1
);
4664 if (arg2
== NULL
) SWIG_fail
;
4668 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4669 if (SWIG_arg_fail(3)) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4695 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
;
4697 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4699 PyObject
* obj0
= 0 ;
4701 (char *) "self", NULL
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4706 if (SWIG_arg_fail(1)) SWIG_fail
;
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4721 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
*resultobj
;
4723 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4726 PyObject
* obj0
= 0 ;
4727 PyObject
* obj1
= 0 ;
4729 (char *) "self",(char *) "icon", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4737 if (SWIG_arg_fail(2)) SWIG_fail
;
4739 SWIG_null_ref("wxIcon");
4741 if (SWIG_arg_fail(2)) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4759 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4763 PyObject
* obj0
= 0 ;
4764 PyObject
* obj1
= 0 ;
4766 (char *) "self",(char *) "height", NULL
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4771 if (SWIG_arg_fail(1)) SWIG_fail
;
4773 arg2
= (int)(SWIG_As_int(obj1
));
4774 if (SWIG_arg_fail(2)) SWIG_fail
;
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 (arg1
)->SetHeight(arg2
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 Py_INCREF(Py_None
); resultobj
= Py_None
;
4790 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
;
4792 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4794 PyObject
* obj0
= 0 ;
4795 PyObject
* obj1
= 0 ;
4797 (char *) "self",(char *) "width", NULL
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4802 if (SWIG_arg_fail(1)) SWIG_fail
;
4804 arg2
= (int)(SWIG_As_int(obj1
));
4805 if (SWIG_arg_fail(2)) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 (arg1
)->SetWidth(arg2
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 Py_INCREF(Py_None
); resultobj
= Py_None
;
4821 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "self",(char *) "depth", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4833 if (SWIG_arg_fail(1)) SWIG_fail
;
4835 arg2
= (int)(SWIG_As_int(obj1
));
4836 if (SWIG_arg_fail(2)) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 (arg1
)->SetDepth(arg2
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 Py_INCREF(Py_None
); resultobj
= Py_None
;
4852 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4860 (char *) "self",(char *) "size", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4865 if (SWIG_arg_fail(1)) SWIG_fail
;
4868 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 Py_INCREF(Py_None
); resultobj
= Py_None
;
4884 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4887 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4889 PyObject
* obj0
= 0 ;
4890 PyObject
* obj1
= 0 ;
4892 (char *) "self",(char *) "other", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4897 if (SWIG_arg_fail(1)) SWIG_fail
;
4898 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4899 if (SWIG_arg_fail(2)) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4916 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4919 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4924 (char *) "self",(char *) "other", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4929 if (SWIG_arg_fail(1)) SWIG_fail
;
4930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4931 if (SWIG_arg_fail(2)) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4948 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
4950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4951 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
4953 return Py_BuildValue((char *)"");
4955 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxBitmap
*arg1
= 0 ;
4958 wxColour
const &arg2_defvalue
= wxNullColour
;
4959 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4962 PyObject
* obj0
= 0 ;
4963 PyObject
* obj1
= 0 ;
4965 (char *) "bitmap",(char *) "colour", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
4970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4971 if (SWIG_arg_fail(1)) SWIG_fail
;
4973 SWIG_null_ref("wxBitmap");
4975 if (SWIG_arg_fail(1)) SWIG_fail
;
4980 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4984 if (!wxPyCheckForApp()) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
4998 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
5000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5001 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
5003 return Py_BuildValue((char *)"");
5005 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
;
5007 wxString
*arg1
= 0 ;
5009 int arg3
= (int) -1 ;
5010 int arg4
= (int) -1 ;
5012 bool temp1
= false ;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5015 PyObject
* obj2
= 0 ;
5016 PyObject
* obj3
= 0 ;
5018 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5023 arg1
= wxString_in_helper(obj0
);
5024 if (arg1
== NULL
) SWIG_fail
;
5028 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
5029 if (SWIG_arg_fail(2)) SWIG_fail
;
5033 arg3
= (int)(SWIG_As_int(obj2
));
5034 if (SWIG_arg_fail(3)) SWIG_fail
;
5039 arg4
= (int)(SWIG_As_int(obj3
));
5040 if (SWIG_arg_fail(4)) SWIG_fail
;
5044 if (!wxPyCheckForApp()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5066 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
*resultobj
;
5068 wxIcon
*arg1
= (wxIcon
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5071 (char *) "self", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5076 if (SWIG_arg_fail(1)) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 Py_INCREF(Py_None
); resultobj
= Py_None
;
5091 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
*resultobj
;
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5100 if (!wxPyCheckForApp()) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (wxIcon
*)new wxIcon();
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5114 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxIconLocation
*arg1
= 0 ;
5118 PyObject
* obj0
= 0 ;
5120 (char *) "loc", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5126 if (SWIG_arg_fail(1)) SWIG_fail
;
5128 SWIG_null_ref("wxIconLocation");
5130 if (SWIG_arg_fail(1)) SWIG_fail
;
5133 if (!wxPyCheckForApp()) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5147 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxBitmap
*arg1
= 0 ;
5151 PyObject
* obj0
= 0 ;
5153 (char *) "bmp", NULL
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5159 if (SWIG_arg_fail(1)) SWIG_fail
;
5161 SWIG_null_ref("wxBitmap");
5163 if (SWIG_arg_fail(1)) SWIG_fail
;
5166 if (!wxPyCheckForApp()) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5180 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 PyObject
*arg1
= (PyObject
*) 0 ;
5184 PyObject
* obj0
= 0 ;
5186 (char *) "listOfStrings", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5192 if (!wxPyCheckForApp()) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (wxIcon
*)new_wxIcon(arg1
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5206 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxIcon
*arg1
= (wxIcon
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5212 (char *) "self", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5217 if (SWIG_arg_fail(1)) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (bool)(arg1
)->Ok();
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5234 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
;
5236 wxIcon
*arg1
= (wxIcon
*) 0 ;
5238 PyObject
* obj0
= 0 ;
5240 (char *) "self", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5245 if (SWIG_arg_fail(1)) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (int)(arg1
)->GetWidth();
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5254 resultobj
= SWIG_From_int((int)(result
));
5262 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxIcon
*arg1
= (wxIcon
*) 0 ;
5266 PyObject
* obj0
= 0 ;
5268 (char *) "self", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5273 if (SWIG_arg_fail(1)) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (int)(arg1
)->GetHeight();
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5282 resultobj
= SWIG_From_int((int)(result
));
5290 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxIcon
*arg1
= (wxIcon
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5296 (char *) "self", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (int)(arg1
)->GetDepth();
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= SWIG_From_int((int)(result
));
5318 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
;
5320 wxIcon
*arg1
= (wxIcon
*) 0 ;
5322 PyObject
* obj0
= 0 ;
5323 PyObject
* obj1
= 0 ;
5325 (char *) "self",(char *) "w", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5330 if (SWIG_arg_fail(1)) SWIG_fail
;
5332 arg2
= (int)(SWIG_As_int(obj1
));
5333 if (SWIG_arg_fail(2)) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 (arg1
)->SetWidth(arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxIcon
*arg1
= (wxIcon
*) 0 ;
5353 PyObject
* obj0
= 0 ;
5354 PyObject
* obj1
= 0 ;
5356 (char *) "self",(char *) "h", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5361 if (SWIG_arg_fail(1)) SWIG_fail
;
5363 arg2
= (int)(SWIG_As_int(obj1
));
5364 if (SWIG_arg_fail(2)) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 (arg1
)->SetHeight(arg2
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 Py_INCREF(Py_None
); resultobj
= Py_None
;
5380 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxIcon
*arg1
= (wxIcon
*) 0 ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5387 (char *) "self",(char *) "d", NULL
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5392 if (SWIG_arg_fail(1)) SWIG_fail
;
5394 arg2
= (int)(SWIG_As_int(obj1
));
5395 if (SWIG_arg_fail(2)) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 (arg1
)->SetDepth(arg2
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 Py_INCREF(Py_None
); resultobj
= Py_None
;
5411 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxIcon
*arg1
= (wxIcon
*) 0 ;
5414 wxBitmap
*arg2
= 0 ;
5415 PyObject
* obj0
= 0 ;
5416 PyObject
* obj1
= 0 ;
5418 (char *) "self",(char *) "bmp", NULL
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5423 if (SWIG_arg_fail(1)) SWIG_fail
;
5425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5426 if (SWIG_arg_fail(2)) SWIG_fail
;
5428 SWIG_null_ref("wxBitmap");
5430 if (SWIG_arg_fail(2)) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5439 Py_INCREF(Py_None
); resultobj
= Py_None
;
5446 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5449 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5451 return Py_BuildValue((char *)"");
5453 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5456 int arg2
= (int) 0 ;
5457 wxIconLocation
*result
;
5458 bool temp1
= false ;
5459 PyObject
* obj0
= 0 ;
5460 PyObject
* obj1
= 0 ;
5462 (char *) "filename",(char *) "num", NULL
5465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5468 arg1
= wxString_in_helper(obj0
);
5469 if (arg1
== NULL
) SWIG_fail
;
5475 arg2
= (int)(SWIG_As_int(obj1
));
5476 if (SWIG_arg_fail(2)) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5501 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5503 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5504 PyObject
* obj0
= 0 ;
5506 (char *) "self", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5511 if (SWIG_arg_fail(1)) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5519 Py_INCREF(Py_None
); resultobj
= Py_None
;
5526 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5530 PyObject
* obj0
= 0 ;
5532 (char *) "self", NULL
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5537 if (SWIG_arg_fail(1)) SWIG_fail
;
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5554 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5557 wxString
*arg2
= 0 ;
5558 bool temp2
= false ;
5559 PyObject
* obj0
= 0 ;
5560 PyObject
* obj1
= 0 ;
5562 (char *) "self",(char *) "filename", NULL
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5567 if (SWIG_arg_fail(1)) SWIG_fail
;
5569 arg2
= wxString_in_helper(obj1
);
5570 if (arg2
== NULL
) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 (arg1
)->SetFileName((wxString
const &)*arg2
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 Py_INCREF(Py_None
); resultobj
= Py_None
;
5595 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5599 PyObject
* obj0
= 0 ;
5601 (char *) "self", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5606 if (SWIG_arg_fail(1)) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5611 result
= (wxString
*) &_result_ref
;
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5619 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5621 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5630 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5637 (char *) "self",(char *) "num", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5642 if (SWIG_arg_fail(1)) SWIG_fail
;
5644 arg2
= (int)(SWIG_As_int(obj1
));
5645 if (SWIG_arg_fail(2)) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 wxIconLocation_SetIndex(arg1
,arg2
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 Py_INCREF(Py_None
); resultobj
= Py_None
;
5661 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5665 PyObject
* obj0
= 0 ;
5667 (char *) "self", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5672 if (SWIG_arg_fail(1)) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 result
= (int)wxIconLocation_GetIndex(arg1
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5681 resultobj
= SWIG_From_int((int)(result
));
5689 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5692 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5694 return Py_BuildValue((char *)"");
5696 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxIconBundle
*result
;
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (wxIconBundle
*)new wxIconBundle();
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5718 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxString
*arg1
= 0 ;
5722 wxIconBundle
*result
;
5723 bool temp1
= false ;
5724 PyObject
* obj0
= 0 ;
5725 PyObject
* obj1
= 0 ;
5727 (char *) "file",(char *) "type", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5732 arg1
= wxString_in_helper(obj0
);
5733 if (arg1
== NULL
) SWIG_fail
;
5737 arg2
= (long)(SWIG_As_long(obj1
));
5738 if (SWIG_arg_fail(2)) SWIG_fail
;
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5762 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
;
5765 wxIconBundle
*result
;
5766 PyObject
* obj0
= 0 ;
5768 (char *) "icon", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
5773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5774 if (SWIG_arg_fail(1)) SWIG_fail
;
5776 SWIG_null_ref("wxIcon");
5778 if (SWIG_arg_fail(1)) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5794 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5797 PyObject
* obj0
= 0 ;
5799 (char *) "self", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
5803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5804 if (SWIG_arg_fail(1)) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 Py_INCREF(Py_None
); resultobj
= Py_None
;
5819 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5823 PyObject
* obj0
= 0 ;
5824 PyObject
* obj1
= 0 ;
5826 (char *) "self",(char *) "icon", NULL
5829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5831 if (SWIG_arg_fail(1)) SWIG_fail
;
5833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5834 if (SWIG_arg_fail(2)) SWIG_fail
;
5836 SWIG_null_ref("wxIcon");
5838 if (SWIG_arg_fail(2)) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5847 Py_INCREF(Py_None
); resultobj
= Py_None
;
5854 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
;
5856 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5857 wxString
*arg2
= 0 ;
5859 bool temp2
= false ;
5860 PyObject
* obj0
= 0 ;
5861 PyObject
* obj1
= 0 ;
5862 PyObject
* obj2
= 0 ;
5864 (char *) "self",(char *) "file",(char *) "type", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5869 if (SWIG_arg_fail(1)) SWIG_fail
;
5871 arg2
= wxString_in_helper(obj1
);
5872 if (arg2
== NULL
) SWIG_fail
;
5876 arg3
= (long)(SWIG_As_long(obj2
));
5877 if (SWIG_arg_fail(3)) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5901 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5907 PyObject
* obj0
= 0 ;
5908 PyObject
* obj1
= 0 ;
5910 (char *) "self",(char *) "size", NULL
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5915 if (SWIG_arg_fail(1)) SWIG_fail
;
5918 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
5924 result
= (wxIcon
*) &_result_ref
;
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5931 wxIcon
* resultptr
= new wxIcon(*result
);
5932 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
5940 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
5942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5943 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
5945 return Py_BuildValue((char *)"");
5947 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxString
*arg1
= 0 ;
5951 int arg3
= (int) 0 ;
5952 int arg4
= (int) 0 ;
5954 bool temp1
= false ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5957 PyObject
* obj2
= 0 ;
5958 PyObject
* obj3
= 0 ;
5960 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5965 arg1
= wxString_in_helper(obj0
);
5966 if (arg1
== NULL
) SWIG_fail
;
5970 arg2
= (long)(SWIG_As_long(obj1
));
5971 if (SWIG_arg_fail(2)) SWIG_fail
;
5975 arg3
= (int)(SWIG_As_int(obj2
));
5976 if (SWIG_arg_fail(3)) SWIG_fail
;
5981 arg4
= (int)(SWIG_As_int(obj3
));
5982 if (SWIG_arg_fail(4)) SWIG_fail
;
5986 if (!wxPyCheckForApp()) SWIG_fail
;
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6008 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxCursor
*arg1
= (wxCursor
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6013 (char *) "self", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
6017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6018 if (SWIG_arg_fail(1)) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 Py_INCREF(Py_None
); resultobj
= Py_None
;
6033 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6037 PyObject
* obj0
= 0 ;
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6044 arg1
= (int)(SWIG_As_int(obj0
));
6045 if (SWIG_arg_fail(1)) SWIG_fail
;
6048 if (!wxPyCheckForApp()) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (wxCursor
*)new wxCursor(arg1
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6062 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6066 PyObject
* obj0
= 0 ;
6068 (char *) "image", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6074 if (SWIG_arg_fail(1)) SWIG_fail
;
6076 SWIG_null_ref("wxImage");
6078 if (SWIG_arg_fail(1)) SWIG_fail
;
6081 if (!wxPyCheckForApp()) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6095 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
;
6097 wxCursor
*arg1
= (wxCursor
*) 0 ;
6099 PyObject
* obj0
= 0 ;
6101 (char *) "self", NULL
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6106 if (SWIG_arg_fail(1)) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (bool)(arg1
)->Ok();
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6123 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6126 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6128 return Py_BuildValue((char *)"");
6130 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 int arg1
= (int) 0 ;
6133 int arg2
= (int) 0 ;
6134 int arg3
= (int) 0 ;
6135 int arg4
= (int) 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6139 PyObject
* obj2
= 0 ;
6140 PyObject
* obj3
= 0 ;
6142 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6148 arg1
= (int)(SWIG_As_int(obj0
));
6149 if (SWIG_arg_fail(1)) SWIG_fail
;
6154 arg2
= (int)(SWIG_As_int(obj1
));
6155 if (SWIG_arg_fail(2)) SWIG_fail
;
6160 arg3
= (int)(SWIG_As_int(obj2
));
6161 if (SWIG_arg_fail(3)) SWIG_fail
;
6166 arg4
= (int)(SWIG_As_int(obj3
));
6167 if (SWIG_arg_fail(4)) SWIG_fail
;
6171 if (!wxPyCheckForApp()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6185 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxBitmap
*arg1
= 0 ;
6189 PyObject
* obj0
= 0 ;
6191 (char *) "bmp", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6197 if (SWIG_arg_fail(1)) SWIG_fail
;
6199 SWIG_null_ref("wxBitmap");
6201 if (SWIG_arg_fail(1)) SWIG_fail
;
6204 if (!wxPyCheckForApp()) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6218 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxBitmap
*arg1
= 0 ;
6221 wxColour
*arg2
= 0 ;
6222 int arg3
= (int) 0 ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6227 PyObject
* obj2
= 0 ;
6229 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6235 if (SWIG_arg_fail(1)) SWIG_fail
;
6237 SWIG_null_ref("wxBitmap");
6239 if (SWIG_arg_fail(1)) SWIG_fail
;
6243 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6247 arg3
= (int)(SWIG_As_int(obj2
));
6248 if (SWIG_arg_fail(3)) SWIG_fail
;
6252 if (!wxPyCheckForApp()) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6266 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6269 wxPoint
*arg2
= (wxPoint
*) 0 ;
6270 int arg3
= (int) wxWINDING_RULE
;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6275 (char *) "points",(char *) "fillStyle", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6280 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6281 if (arg2
== NULL
) SWIG_fail
;
6285 arg3
= (int)(SWIG_As_int(obj1
));
6286 if (SWIG_arg_fail(3)) SWIG_fail
;
6290 if (!wxPyCheckForApp()) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6299 if (arg2
) delete [] arg2
;
6304 if (arg2
) delete [] arg2
;
6310 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxRegion
*arg1
= (wxRegion
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6320 if (SWIG_arg_fail(1)) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 Py_INCREF(Py_None
); resultobj
= Py_None
;
6335 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxRegion
*arg1
= (wxRegion
*) 0 ;
6338 PyObject
* obj0
= 0 ;
6340 (char *) "self", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6345 if (SWIG_arg_fail(1)) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 Py_INCREF(Py_None
); resultobj
= Py_None
;
6360 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
;
6362 wxRegion
*arg1
= (wxRegion
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6368 PyObject
* obj2
= 0 ;
6370 (char *) "self",(char *) "x",(char *) "y", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6375 if (SWIG_arg_fail(1)) SWIG_fail
;
6377 arg2
= (int)(SWIG_As_int(obj1
));
6378 if (SWIG_arg_fail(2)) SWIG_fail
;
6381 arg3
= (int)(SWIG_As_int(obj2
));
6382 if (SWIG_arg_fail(3)) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6400 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
;
6402 wxRegion
*arg1
= (wxRegion
*) 0 ;
6405 wxRegionContain result
;
6406 PyObject
* obj0
= 0 ;
6407 PyObject
* obj1
= 0 ;
6408 PyObject
* obj2
= 0 ;
6410 (char *) "self",(char *) "x",(char *) "y", NULL
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6415 if (SWIG_arg_fail(1)) SWIG_fail
;
6417 arg2
= (int)(SWIG_As_int(obj1
));
6418 if (SWIG_arg_fail(2)) SWIG_fail
;
6421 arg3
= (int)(SWIG_As_int(obj2
));
6422 if (SWIG_arg_fail(3)) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= SWIG_From_int((result
));
6438 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxRegion
*arg1
= (wxRegion
*) 0 ;
6442 wxRegionContain result
;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6447 (char *) "self",(char *) "pt", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6452 if (SWIG_arg_fail(1)) SWIG_fail
;
6455 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= SWIG_From_int((result
));
6471 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxRegion
*arg1
= (wxRegion
*) 0 ;
6475 wxRegionContain result
;
6477 PyObject
* obj0
= 0 ;
6478 PyObject
* obj1
= 0 ;
6480 (char *) "self",(char *) "rect", NULL
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6485 if (SWIG_arg_fail(1)) SWIG_fail
;
6488 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_From_int((result
));
6504 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6506 wxRegion
*arg1
= (wxRegion
*) 0 ;
6511 wxRegionContain result
;
6512 PyObject
* obj0
= 0 ;
6513 PyObject
* obj1
= 0 ;
6514 PyObject
* obj2
= 0 ;
6515 PyObject
* obj3
= 0 ;
6516 PyObject
* obj4
= 0 ;
6518 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6523 if (SWIG_arg_fail(1)) SWIG_fail
;
6525 arg2
= (int)(SWIG_As_int(obj1
));
6526 if (SWIG_arg_fail(2)) SWIG_fail
;
6529 arg3
= (int)(SWIG_As_int(obj2
));
6530 if (SWIG_arg_fail(3)) SWIG_fail
;
6533 arg4
= (int)(SWIG_As_int(obj3
));
6534 if (SWIG_arg_fail(4)) SWIG_fail
;
6537 arg5
= (int)(SWIG_As_int(obj4
));
6538 if (SWIG_arg_fail(5)) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_From_int((result
));
6554 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxRegion
*arg1
= (wxRegion
*) 0 ;
6558 PyObject
* obj0
= 0 ;
6560 (char *) "self", NULL
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
6564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6565 if (SWIG_arg_fail(1)) SWIG_fail
;
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 result
= (arg1
)->GetBox();
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6575 resultptr
= new wxRect((wxRect
&)(result
));
6576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6584 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
;
6586 wxRegion
*arg1
= (wxRegion
*) 0 ;
6592 PyObject
* obj0
= 0 ;
6593 PyObject
* obj1
= 0 ;
6594 PyObject
* obj2
= 0 ;
6595 PyObject
* obj3
= 0 ;
6596 PyObject
* obj4
= 0 ;
6598 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6603 if (SWIG_arg_fail(1)) SWIG_fail
;
6605 arg2
= (int)(SWIG_As_int(obj1
));
6606 if (SWIG_arg_fail(2)) SWIG_fail
;
6609 arg3
= (int)(SWIG_As_int(obj2
));
6610 if (SWIG_arg_fail(3)) SWIG_fail
;
6613 arg4
= (int)(SWIG_As_int(obj3
));
6614 if (SWIG_arg_fail(4)) SWIG_fail
;
6617 arg5
= (int)(SWIG_As_int(obj4
));
6618 if (SWIG_arg_fail(5)) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6636 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 wxRegion
*arg1
= (wxRegion
*) 0 ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6645 (char *) "self",(char *) "rect", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6650 if (SWIG_arg_fail(1)) SWIG_fail
;
6653 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6671 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxRegion
*arg1
= (wxRegion
*) 0 ;
6674 wxRegion
*arg2
= 0 ;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6679 (char *) "self",(char *) "region", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6684 if (SWIG_arg_fail(1)) SWIG_fail
;
6686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6687 if (SWIG_arg_fail(2)) SWIG_fail
;
6689 SWIG_null_ref("wxRegion");
6691 if (SWIG_arg_fail(2)) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6709 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
;
6711 wxRegion
*arg1
= (wxRegion
*) 0 ;
6713 PyObject
* obj0
= 0 ;
6715 (char *) "self", NULL
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
6719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6720 if (SWIG_arg_fail(1)) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 result
= (bool)(arg1
)->IsEmpty();
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6737 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
;
6739 wxRegion
*arg1
= (wxRegion
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6747 PyObject
* obj2
= 0 ;
6748 PyObject
* obj3
= 0 ;
6749 PyObject
* obj4
= 0 ;
6751 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6756 if (SWIG_arg_fail(1)) SWIG_fail
;
6758 arg2
= (int)(SWIG_As_int(obj1
));
6759 if (SWIG_arg_fail(2)) SWIG_fail
;
6762 arg3
= (int)(SWIG_As_int(obj2
));
6763 if (SWIG_arg_fail(3)) SWIG_fail
;
6766 arg4
= (int)(SWIG_As_int(obj3
));
6767 if (SWIG_arg_fail(4)) SWIG_fail
;
6770 arg5
= (int)(SWIG_As_int(obj4
));
6771 if (SWIG_arg_fail(5)) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6789 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxRegion
*arg1
= (wxRegion
*) 0 ;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6798 (char *) "self",(char *) "rect", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6803 if (SWIG_arg_fail(1)) SWIG_fail
;
6806 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6824 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxRegion
*arg1
= (wxRegion
*) 0 ;
6827 wxRegion
*arg2
= 0 ;
6829 PyObject
* obj0
= 0 ;
6830 PyObject
* obj1
= 0 ;
6832 (char *) "self",(char *) "region", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6837 if (SWIG_arg_fail(1)) SWIG_fail
;
6839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6840 if (SWIG_arg_fail(2)) SWIG_fail
;
6842 SWIG_null_ref("wxRegion");
6844 if (SWIG_arg_fail(2)) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6862 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxRegion
*arg1
= (wxRegion
*) 0 ;
6870 PyObject
* obj0
= 0 ;
6871 PyObject
* obj1
= 0 ;
6872 PyObject
* obj2
= 0 ;
6873 PyObject
* obj3
= 0 ;
6874 PyObject
* obj4
= 0 ;
6876 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6881 if (SWIG_arg_fail(1)) SWIG_fail
;
6883 arg2
= (int)(SWIG_As_int(obj1
));
6884 if (SWIG_arg_fail(2)) SWIG_fail
;
6887 arg3
= (int)(SWIG_As_int(obj2
));
6888 if (SWIG_arg_fail(3)) SWIG_fail
;
6891 arg4
= (int)(SWIG_As_int(obj3
));
6892 if (SWIG_arg_fail(4)) SWIG_fail
;
6895 arg5
= (int)(SWIG_As_int(obj4
));
6896 if (SWIG_arg_fail(5)) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6914 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxRegion
*arg1
= (wxRegion
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6921 PyObject
* obj1
= 0 ;
6923 (char *) "self",(char *) "rect", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6928 if (SWIG_arg_fail(1)) SWIG_fail
;
6931 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6949 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxRegion
*arg1
= (wxRegion
*) 0 ;
6952 wxRegion
*arg2
= 0 ;
6954 PyObject
* obj0
= 0 ;
6955 PyObject
* obj1
= 0 ;
6957 (char *) "self",(char *) "region", NULL
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6962 if (SWIG_arg_fail(1)) SWIG_fail
;
6964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6965 if (SWIG_arg_fail(2)) SWIG_fail
;
6967 SWIG_null_ref("wxRegion");
6969 if (SWIG_arg_fail(2)) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6987 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxRegion
*arg1
= (wxRegion
*) 0 ;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6997 PyObject
* obj2
= 0 ;
6998 PyObject
* obj3
= 0 ;
6999 PyObject
* obj4
= 0 ;
7001 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7006 if (SWIG_arg_fail(1)) SWIG_fail
;
7008 arg2
= (int)(SWIG_As_int(obj1
));
7009 if (SWIG_arg_fail(2)) SWIG_fail
;
7012 arg3
= (int)(SWIG_As_int(obj2
));
7013 if (SWIG_arg_fail(3)) SWIG_fail
;
7016 arg4
= (int)(SWIG_As_int(obj3
));
7017 if (SWIG_arg_fail(4)) SWIG_fail
;
7020 arg5
= (int)(SWIG_As_int(obj4
));
7021 if (SWIG_arg_fail(5)) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7039 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxRegion
*arg1
= (wxRegion
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7048 (char *) "self",(char *) "rect", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7053 if (SWIG_arg_fail(1)) SWIG_fail
;
7056 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7074 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxRegion
*arg1
= (wxRegion
*) 0 ;
7077 wxRegion
*arg2
= 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "region", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7087 if (SWIG_arg_fail(1)) SWIG_fail
;
7089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7090 if (SWIG_arg_fail(2)) SWIG_fail
;
7092 SWIG_null_ref("wxRegion");
7094 if (SWIG_arg_fail(2)) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7112 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxRegion
*arg1
= (wxRegion
*) 0 ;
7115 SwigValueWrapper
<wxBitmap
> result
;
7116 PyObject
* obj0
= 0 ;
7118 (char *) "self", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7123 if (SWIG_arg_fail(1)) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (arg1
)->ConvertToBitmap();
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 wxBitmap
* resultptr
;
7133 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7142 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxRegion
*arg1
= (wxRegion
*) 0 ;
7145 wxBitmap
*arg2
= 0 ;
7147 PyObject
* obj0
= 0 ;
7148 PyObject
* obj1
= 0 ;
7150 (char *) "self",(char *) "bmp", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7155 if (SWIG_arg_fail(1)) SWIG_fail
;
7157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7158 if (SWIG_arg_fail(2)) SWIG_fail
;
7160 SWIG_null_ref("wxBitmap");
7162 if (SWIG_arg_fail(2)) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7180 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxRegion
*arg1
= (wxRegion
*) 0 ;
7183 wxBitmap
*arg2
= 0 ;
7184 wxColour
*arg3
= 0 ;
7185 int arg4
= (int) 0 ;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7190 PyObject
* obj2
= 0 ;
7191 PyObject
* obj3
= 0 ;
7193 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7198 if (SWIG_arg_fail(1)) SWIG_fail
;
7200 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7201 if (SWIG_arg_fail(2)) SWIG_fail
;
7203 SWIG_null_ref("wxBitmap");
7205 if (SWIG_arg_fail(2)) SWIG_fail
;
7209 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7213 arg4
= (int)(SWIG_As_int(obj3
));
7214 if (SWIG_arg_fail(4)) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7233 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7236 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7238 return Py_BuildValue((char *)"");
7240 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7242 wxRegion
*arg1
= 0 ;
7243 wxRegionIterator
*result
;
7244 PyObject
* obj0
= 0 ;
7246 (char *) "region", NULL
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7252 if (SWIG_arg_fail(1)) SWIG_fail
;
7254 SWIG_null_ref("wxRegion");
7256 if (SWIG_arg_fail(1)) SWIG_fail
;
7259 if (!wxPyCheckForApp()) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7273 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7276 PyObject
* obj0
= 0 ;
7278 (char *) "self", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7283 if (SWIG_arg_fail(1)) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 Py_INCREF(Py_None
); resultobj
= Py_None
;
7298 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7304 (char *) "self", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (int)(arg1
)->GetX();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= SWIG_From_int((int)(result
));
7326 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7328 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7332 (char *) "self", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7337 if (SWIG_arg_fail(1)) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= (int)(arg1
)->GetY();
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= SWIG_From_int((int)(result
));
7354 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7358 PyObject
* obj0
= 0 ;
7360 (char *) "self", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7365 if (SWIG_arg_fail(1)) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (int)(arg1
)->GetW();
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= SWIG_From_int((int)(result
));
7382 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7388 (char *) "self", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7393 if (SWIG_arg_fail(1)) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= (int)(arg1
)->GetWidth();
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= SWIG_From_int((int)(result
));
7410 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7412 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7414 PyObject
* obj0
= 0 ;
7416 (char *) "self", NULL
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7421 if (SWIG_arg_fail(1)) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 result
= (int)(arg1
)->GetH();
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7430 resultobj
= SWIG_From_int((int)(result
));
7438 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
;
7440 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7442 PyObject
* obj0
= 0 ;
7444 (char *) "self", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7449 if (SWIG_arg_fail(1)) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 result
= (int)(arg1
)->GetHeight();
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= SWIG_From_int((int)(result
));
7466 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
;
7468 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7470 PyObject
* obj0
= 0 ;
7472 (char *) "self", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
7476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7477 if (SWIG_arg_fail(1)) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 result
= (arg1
)->GetRect();
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7487 resultptr
= new wxRect((wxRect
&)(result
));
7488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7496 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "self", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
7506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7507 if (SWIG_arg_fail(1)) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (bool)(arg1
)->HaveRects();
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7524 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "self", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
7533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7534 if (SWIG_arg_fail(1)) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 Py_INCREF(Py_None
); resultobj
= Py_None
;
7549 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7554 (char *) "self", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
7558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7559 if (SWIG_arg_fail(1)) SWIG_fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 wxRegionIterator_Next(arg1
);
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 Py_INCREF(Py_None
); resultobj
= Py_None
;
7574 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7580 (char *) "self", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
7584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7585 if (SWIG_arg_fail(1)) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (bool)wxRegionIterator___nonzero__(arg1
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7602 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
7604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7605 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
7607 return Py_BuildValue((char *)"");
7609 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxNativeFontInfo
*result
;
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
7631 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7634 PyObject
* obj0
= 0 ;
7636 (char *) "self", NULL
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
7640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7641 if (SWIG_arg_fail(1)) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 Py_INCREF(Py_None
); resultobj
= Py_None
;
7656 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7659 PyObject
* obj0
= 0 ;
7661 (char *) "self", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
7665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7666 if (SWIG_arg_fail(1)) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 Py_INCREF(Py_None
); resultobj
= Py_None
;
7681 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7685 PyObject
* obj0
= 0 ;
7686 PyObject
* obj1
= 0 ;
7688 (char *) "self",(char *) "font", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
7692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7693 if (SWIG_arg_fail(1)) SWIG_fail
;
7695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7696 if (SWIG_arg_fail(2)) SWIG_fail
;
7698 SWIG_null_ref("wxFont");
7700 if (SWIG_arg_fail(2)) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 Py_INCREF(Py_None
); resultobj
= Py_None
;
7716 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
7726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7727 if (SWIG_arg_fail(1)) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_From_int((int)(result
));
7744 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7750 (char *) "self", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
7754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7755 if (SWIG_arg_fail(1)) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= SWIG_From_int((result
));
7770 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7773 wxFontWeight result
;
7774 PyObject
* obj0
= 0 ;
7776 (char *) "self", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
7780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7781 if (SWIG_arg_fail(1)) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_From_int((result
));
7796 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7802 (char *) "self", NULL
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7807 if (SWIG_arg_fail(1)) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7824 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7830 (char *) "self", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
7834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7835 if (SWIG_arg_fail(1)) SWIG_fail
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7856 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7859 wxFontFamily result
;
7860 PyObject
* obj0
= 0 ;
7862 (char *) "self", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
7866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7867 if (SWIG_arg_fail(1)) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 resultobj
= SWIG_From_int((result
));
7882 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7885 wxFontEncoding result
;
7886 PyObject
* obj0
= 0 ;
7888 (char *) "self", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
7892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7893 if (SWIG_arg_fail(1)) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_From_int((result
));
7908 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7913 PyObject
* obj1
= 0 ;
7915 (char *) "self",(char *) "pointsize", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7920 if (SWIG_arg_fail(1)) SWIG_fail
;
7922 arg2
= (int)(SWIG_As_int(obj1
));
7923 if (SWIG_arg_fail(2)) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 (arg1
)->SetPointSize(arg2
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 Py_INCREF(Py_None
); resultobj
= Py_None
;
7939 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7941 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7943 PyObject
* obj0
= 0 ;
7944 PyObject
* obj1
= 0 ;
7946 (char *) "self",(char *) "style", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7951 if (SWIG_arg_fail(1)) SWIG_fail
;
7953 arg2
= (wxFontStyle
)(SWIG_As_int(obj1
));
7954 if (SWIG_arg_fail(2)) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 (arg1
)->SetStyle((wxFontStyle
)arg2
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7970 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7977 (char *) "self",(char *) "weight", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7982 if (SWIG_arg_fail(1)) SWIG_fail
;
7984 arg2
= (wxFontWeight
)(SWIG_As_int(obj1
));
7985 if (SWIG_arg_fail(2)) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 (arg1
)->SetWeight((wxFontWeight
)arg2
);
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 Py_INCREF(Py_None
); resultobj
= Py_None
;
8001 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8005 PyObject
* obj0
= 0 ;
8006 PyObject
* obj1
= 0 ;
8008 (char *) "self",(char *) "underlined", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8013 if (SWIG_arg_fail(1)) SWIG_fail
;
8015 arg2
= (bool)(SWIG_As_bool(obj1
));
8016 if (SWIG_arg_fail(2)) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 (arg1
)->SetUnderlined(arg2
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 Py_INCREF(Py_None
); resultobj
= Py_None
;
8032 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8036 PyObject
* obj0
= 0 ;
8037 PyObject
* obj1
= 0 ;
8039 (char *) "self",(char *) "facename", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8044 if (SWIG_arg_fail(1)) SWIG_fail
;
8046 wxString
* sptr
= wxString_in_helper(obj1
);
8047 if (sptr
== NULL
) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 (arg1
)->SetFaceName(arg2
);
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 Py_INCREF(Py_None
); resultobj
= Py_None
;
8065 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8069 PyObject
* obj0
= 0 ;
8070 PyObject
* obj1
= 0 ;
8072 (char *) "self",(char *) "family", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8077 if (SWIG_arg_fail(1)) SWIG_fail
;
8079 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
8080 if (SWIG_arg_fail(2)) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 (arg1
)->SetFamily((wxFontFamily
)arg2
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 Py_INCREF(Py_None
); resultobj
= Py_None
;
8096 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8099 wxFontEncoding arg2
;
8100 PyObject
* obj0
= 0 ;
8101 PyObject
* obj1
= 0 ;
8103 (char *) "self",(char *) "encoding", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8108 if (SWIG_arg_fail(1)) SWIG_fail
;
8110 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8111 if (SWIG_arg_fail(2)) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 Py_INCREF(Py_None
); resultobj
= Py_None
;
8127 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8130 wxString
*arg2
= 0 ;
8132 bool temp2
= false ;
8133 PyObject
* obj0
= 0 ;
8134 PyObject
* obj1
= 0 ;
8136 (char *) "self",(char *) "s", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8141 if (SWIG_arg_fail(1)) SWIG_fail
;
8143 arg2
= wxString_in_helper(obj1
);
8144 if (arg2
== NULL
) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8171 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8175 PyObject
* obj0
= 0 ;
8177 (char *) "self", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8182 if (SWIG_arg_fail(1)) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8203 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8209 (char *) "self", NULL
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8214 if (SWIG_arg_fail(1)) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= wxNativeFontInfo___str__(arg1
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8235 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8238 wxString
*arg2
= 0 ;
8240 bool temp2
= false ;
8241 PyObject
* obj0
= 0 ;
8242 PyObject
* obj1
= 0 ;
8244 (char *) "self",(char *) "s", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
8248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8249 if (SWIG_arg_fail(1)) SWIG_fail
;
8251 arg2
= wxString_in_helper(obj1
);
8252 if (arg2
== NULL
) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8279 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8283 PyObject
* obj0
= 0 ;
8285 (char *) "self", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8290 if (SWIG_arg_fail(1)) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8311 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8314 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8316 return Py_BuildValue((char *)"");
8318 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8321 wxString
*arg2
= (wxString
*) 0 ;
8322 bool temp2
= false ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8326 (char *) "self",(char *) "facename", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8331 if (SWIG_arg_fail(1)) SWIG_fail
;
8333 arg2
= wxString_in_helper(obj1
);
8334 if (arg2
== NULL
) SWIG_fail
;
8337 if (arg1
) (arg1
)->facename
= *arg2
;
8339 Py_INCREF(Py_None
); resultobj
= Py_None
;
8354 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
;
8356 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8358 PyObject
* obj0
= 0 ;
8360 (char *) "self", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8365 if (SWIG_arg_fail(1)) SWIG_fail
;
8366 result
= (wxString
*)& ((arg1
)->facename
);
8370 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8372 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8381 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8384 wxFontEncoding arg2
;
8385 PyObject
* obj0
= 0 ;
8386 PyObject
* obj1
= 0 ;
8388 (char *) "self",(char *) "encoding", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8393 if (SWIG_arg_fail(1)) SWIG_fail
;
8395 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8396 if (SWIG_arg_fail(2)) SWIG_fail
;
8398 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
8400 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8410 wxFontEncoding result
;
8411 PyObject
* obj0
= 0 ;
8413 (char *) "self", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
8417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8418 if (SWIG_arg_fail(1)) SWIG_fail
;
8419 result
= (wxFontEncoding
) ((arg1
)->encoding
);
8421 resultobj
= SWIG_From_int((result
));
8428 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxNativeEncodingInfo
*result
;
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
8450 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
;
8452 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8455 (char *) "self", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
8459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8460 if (SWIG_arg_fail(1)) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 Py_INCREF(Py_None
); resultobj
= Py_None
;
8475 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8478 wxString
*arg2
= 0 ;
8480 bool temp2
= false ;
8481 PyObject
* obj0
= 0 ;
8482 PyObject
* obj1
= 0 ;
8484 (char *) "self",(char *) "s", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8489 if (SWIG_arg_fail(1)) SWIG_fail
;
8491 arg2
= wxString_in_helper(obj1
);
8492 if (arg2
== NULL
) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8519 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8521 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8523 PyObject
* obj0
= 0 ;
8525 (char *) "self", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
8529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8530 if (SWIG_arg_fail(1)) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8551 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
8553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8554 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
8556 return Py_BuildValue((char *)"");
8558 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
;
8560 wxFontEncoding arg1
;
8561 wxNativeEncodingInfo
*result
;
8562 PyObject
* obj0
= 0 ;
8564 (char *) "encoding", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
8569 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8570 if (SWIG_arg_fail(1)) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
8586 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxNativeEncodingInfo
*arg1
= 0 ;
8590 PyObject
* obj0
= 0 ;
8592 (char *) "info", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
8597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8598 if (SWIG_arg_fail(1)) SWIG_fail
;
8600 SWIG_null_ref("wxNativeEncodingInfo");
8602 if (SWIG_arg_fail(1)) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8620 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
;
8622 wxFontMapper
*result
;
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (wxFontMapper
*)new wxFontMapper();
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
8642 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8645 PyObject
* obj0
= 0 ;
8647 (char *) "self", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
8651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8652 if (SWIG_arg_fail(1)) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 Py_INCREF(Py_None
); resultobj
= Py_None
;
8667 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
;
8669 wxFontMapper
*result
;
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= (wxFontMapper
*)wxFontMapper::Get();
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8689 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8692 wxFontMapper
*result
;
8693 PyObject
* obj0
= 0 ;
8695 (char *) "mapper", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
8699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8700 if (SWIG_arg_fail(1)) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8715 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8717 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8718 wxString
*arg2
= 0 ;
8719 bool arg3
= (bool) true ;
8720 wxFontEncoding result
;
8721 bool temp2
= false ;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8724 PyObject
* obj2
= 0 ;
8726 (char *) "self",(char *) "charset",(char *) "interactive", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8731 if (SWIG_arg_fail(1)) SWIG_fail
;
8733 arg2
= wxString_in_helper(obj1
);
8734 if (arg2
== NULL
) SWIG_fail
;
8739 arg3
= (bool)(SWIG_As_bool(obj2
));
8740 if (SWIG_arg_fail(3)) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= SWIG_From_int((result
));
8765 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8781 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8789 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8792 wxFontEncoding result
;
8793 PyObject
* obj0
= 0 ;
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
8800 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8801 if (SWIG_arg_fail(1)) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 resultobj
= SWIG_From_int((result
));
8817 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8819 wxFontEncoding arg1
;
8821 PyObject
* obj0
= 0 ;
8823 (char *) "encoding", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
8828 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8829 if (SWIG_arg_fail(1)) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8851 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxFontEncoding arg1
;
8855 PyObject
* obj0
= 0 ;
8857 (char *) "encoding", NULL
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
8862 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8863 if (SWIG_arg_fail(1)) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8885 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxString
*arg1
= 0 ;
8888 wxFontEncoding result
;
8889 bool temp1
= false ;
8890 PyObject
* obj0
= 0 ;
8892 (char *) "name", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
8897 arg1
= wxString_in_helper(obj0
);
8898 if (arg1
== NULL
) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= SWIG_From_int((result
));
8923 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8926 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8927 PyObject
* obj0
= 0 ;
8928 PyObject
* obj1
= 0 ;
8930 (char *) "self",(char *) "config", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
8934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8935 if (SWIG_arg_fail(1)) SWIG_fail
;
8936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8937 if (SWIG_arg_fail(2)) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 (arg1
)->SetConfig(arg2
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 Py_INCREF(Py_None
); resultobj
= Py_None
;
8952 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8955 wxString
*arg2
= 0 ;
8956 bool temp2
= false ;
8957 PyObject
* obj0
= 0 ;
8958 PyObject
* obj1
= 0 ;
8960 (char *) "self",(char *) "prefix", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8965 if (SWIG_arg_fail(1)) SWIG_fail
;
8967 arg2
= wxString_in_helper(obj1
);
8968 if (arg2
== NULL
) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 Py_INCREF(Py_None
); resultobj
= Py_None
;
8993 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= wxFontMapper::GetDefaultConfigPath();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9021 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9024 wxFontEncoding arg2
;
9025 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9026 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9027 bool arg4
= (bool) true ;
9029 bool temp3
= false ;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9032 PyObject
* obj2
= 0 ;
9033 PyObject
* obj3
= 0 ;
9035 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9040 if (SWIG_arg_fail(1)) SWIG_fail
;
9042 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9043 if (SWIG_arg_fail(2)) SWIG_fail
;
9047 arg3
= wxString_in_helper(obj2
);
9048 if (arg3
== NULL
) SWIG_fail
;
9054 arg4
= (bool)(SWIG_As_bool(obj3
));
9055 if (SWIG_arg_fail(4)) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9080 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9083 wxFontEncoding arg2
;
9084 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9085 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9087 bool temp3
= false ;
9088 PyObject
* obj0
= 0 ;
9089 PyObject
* obj1
= 0 ;
9090 PyObject
* obj2
= 0 ;
9092 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9097 if (SWIG_arg_fail(1)) SWIG_fail
;
9099 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9100 if (SWIG_arg_fail(2)) SWIG_fail
;
9104 arg3
= wxString_in_helper(obj2
);
9105 if (arg3
== NULL
) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9133 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9135 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9136 wxWindow
*arg2
= (wxWindow
*) 0 ;
9137 PyObject
* obj0
= 0 ;
9138 PyObject
* obj1
= 0 ;
9140 (char *) "self",(char *) "parent", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9145 if (SWIG_arg_fail(1)) SWIG_fail
;
9146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9147 if (SWIG_arg_fail(2)) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 (arg1
)->SetDialogParent(arg2
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 Py_INCREF(Py_None
); resultobj
= Py_None
;
9162 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9165 wxString
*arg2
= 0 ;
9166 bool temp2
= false ;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9170 (char *) "self",(char *) "title", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9175 if (SWIG_arg_fail(1)) SWIG_fail
;
9177 arg2
= wxString_in_helper(obj1
);
9178 if (arg2
== NULL
) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 Py_INCREF(Py_None
); resultobj
= Py_None
;
9203 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9206 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9208 return Py_BuildValue((char *)"");
9210 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9216 bool arg5
= (bool) false ;
9217 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9218 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9219 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9221 bool temp6
= false ;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9224 PyObject
* obj2
= 0 ;
9225 PyObject
* obj3
= 0 ;
9226 PyObject
* obj4
= 0 ;
9227 PyObject
* obj5
= 0 ;
9228 PyObject
* obj6
= 0 ;
9230 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9235 arg1
= (int)(SWIG_As_int(obj0
));
9236 if (SWIG_arg_fail(1)) SWIG_fail
;
9239 arg2
= (int)(SWIG_As_int(obj1
));
9240 if (SWIG_arg_fail(2)) SWIG_fail
;
9243 arg3
= (int)(SWIG_As_int(obj2
));
9244 if (SWIG_arg_fail(3)) SWIG_fail
;
9247 arg4
= (int)(SWIG_As_int(obj3
));
9248 if (SWIG_arg_fail(4)) SWIG_fail
;
9252 arg5
= (bool)(SWIG_As_bool(obj4
));
9253 if (SWIG_arg_fail(5)) SWIG_fail
;
9258 arg6
= wxString_in_helper(obj5
);
9259 if (arg6
== NULL
) SWIG_fail
;
9265 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9266 if (SWIG_arg_fail(7)) SWIG_fail
;
9270 if (!wxPyCheckForApp()) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9292 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxFont
*arg1
= (wxFont
*) 0 ;
9295 PyObject
* obj0
= 0 ;
9297 (char *) "self", NULL
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
9301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9302 if (SWIG_arg_fail(1)) SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 Py_INCREF(Py_None
); resultobj
= Py_None
;
9317 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxNativeFontInfo
*arg1
= 0 ;
9321 PyObject
* obj0
= 0 ;
9323 (char *) "info", NULL
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9329 if (SWIG_arg_fail(1)) SWIG_fail
;
9331 SWIG_null_ref("wxNativeFontInfo");
9333 if (SWIG_arg_fail(1)) SWIG_fail
;
9336 if (!wxPyCheckForApp()) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9350 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxString
*arg1
= 0 ;
9354 bool temp1
= false ;
9355 PyObject
* obj0
= 0 ;
9357 (char *) "info", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9362 arg1
= wxString_in_helper(obj0
);
9363 if (arg1
== NULL
) SWIG_fail
;
9367 if (!wxPyCheckForApp()) SWIG_fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9389 static PyObject
*_wrap_new_FFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9393 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9394 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9395 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9396 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9398 bool temp4
= false ;
9399 PyObject
* obj0
= 0 ;
9400 PyObject
* obj1
= 0 ;
9401 PyObject
* obj2
= 0 ;
9402 PyObject
* obj3
= 0 ;
9403 PyObject
* obj4
= 0 ;
9405 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9410 arg1
= (int)(SWIG_As_int(obj0
));
9411 if (SWIG_arg_fail(1)) SWIG_fail
;
9414 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9415 if (SWIG_arg_fail(2)) SWIG_fail
;
9419 arg3
= (int)(SWIG_As_int(obj2
));
9420 if (SWIG_arg_fail(3)) SWIG_fail
;
9425 arg4
= wxString_in_helper(obj3
);
9426 if (arg4
== NULL
) SWIG_fail
;
9432 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
9433 if (SWIG_arg_fail(5)) SWIG_fail
;
9437 if (!wxPyCheckForApp()) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9459 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
;
9465 bool arg5
= (bool) false ;
9466 wxString
const &arg6_defvalue
= wxEmptyString
;
9467 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9468 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9471 bool temp6
= false ;
9472 PyObject
* obj0
= 0 ;
9473 PyObject
* obj1
= 0 ;
9474 PyObject
* obj2
= 0 ;
9475 PyObject
* obj3
= 0 ;
9476 PyObject
* obj4
= 0 ;
9477 PyObject
* obj5
= 0 ;
9478 PyObject
* obj6
= 0 ;
9480 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9486 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9489 arg2
= (int)(SWIG_As_int(obj1
));
9490 if (SWIG_arg_fail(2)) SWIG_fail
;
9493 arg3
= (int)(SWIG_As_int(obj2
));
9494 if (SWIG_arg_fail(3)) SWIG_fail
;
9497 arg4
= (int)(SWIG_As_int(obj3
));
9498 if (SWIG_arg_fail(4)) SWIG_fail
;
9502 arg5
= (bool)(SWIG_As_bool(obj4
));
9503 if (SWIG_arg_fail(5)) SWIG_fail
;
9508 arg6
= wxString_in_helper(obj5
);
9509 if (arg6
== NULL
) SWIG_fail
;
9515 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9516 if (SWIG_arg_fail(7)) SWIG_fail
;
9520 if (!wxPyCheckForApp()) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9542 static PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9546 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9547 wxString
const &arg4_defvalue
= wxEmptyString
;
9548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9549 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9552 bool temp4
= false ;
9553 PyObject
* obj0
= 0 ;
9554 PyObject
* obj1
= 0 ;
9555 PyObject
* obj2
= 0 ;
9556 PyObject
* obj3
= 0 ;
9557 PyObject
* obj4
= 0 ;
9559 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9565 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9568 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9569 if (SWIG_arg_fail(2)) SWIG_fail
;
9573 arg3
= (int)(SWIG_As_int(obj2
));
9574 if (SWIG_arg_fail(3)) SWIG_fail
;
9579 arg4
= wxString_in_helper(obj3
);
9580 if (arg4
== NULL
) SWIG_fail
;
9586 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
9587 if (SWIG_arg_fail(5)) SWIG_fail
;
9591 if (!wxPyCheckForApp()) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9613 static PyObject
*_wrap_Font_Ok(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_Ok",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
= (bool)((wxFont
const *)arg1
)->Ok();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9641 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxFont
*arg1
= (wxFont
*) 0 ;
9644 wxFont
*arg2
= (wxFont
*) 0 ;
9646 PyObject
* obj0
= 0 ;
9647 PyObject
* obj1
= 0 ;
9649 (char *) "self",(char *) "other", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9654 if (SWIG_arg_fail(1)) SWIG_fail
;
9655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9656 if (SWIG_arg_fail(2)) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9673 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxFont
*arg1
= (wxFont
*) 0 ;
9676 wxFont
*arg2
= (wxFont
*) 0 ;
9678 PyObject
* obj0
= 0 ;
9679 PyObject
* obj1
= 0 ;
9681 (char *) "self",(char *) "other", NULL
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9686 if (SWIG_arg_fail(1)) SWIG_fail
;
9687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9688 if (SWIG_arg_fail(2)) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9705 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 wxFont
*arg1
= (wxFont
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9711 (char *) "self", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
9715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9716 if (SWIG_arg_fail(1)) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_From_int((int)(result
));
9733 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxFont
*arg1
= (wxFont
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9739 (char *) "self", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
9743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9744 if (SWIG_arg_fail(1)) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= ((wxFont
const *)arg1
)->GetPixelSize();
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9754 resultptr
= new wxSize((wxSize
&)(result
));
9755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9763 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxFont
*arg1
= (wxFont
*) 0 ;
9767 PyObject
* obj0
= 0 ;
9769 (char *) "self", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
9773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9774 if (SWIG_arg_fail(1)) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9791 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9793 wxFont
*arg1
= (wxFont
*) 0 ;
9795 PyObject
* obj0
= 0 ;
9797 (char *) "self", NULL
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
9801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9802 if (SWIG_arg_fail(1)) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (int)((wxFont
const *)arg1
)->GetFamily();
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_From_int((int)(result
));
9819 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 wxFont
*arg1
= (wxFont
*) 0 ;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "self", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
9829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9830 if (SWIG_arg_fail(1)) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (int)((wxFont
const *)arg1
)->GetStyle();
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_From_int((int)(result
));
9847 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
*resultobj
;
9849 wxFont
*arg1
= (wxFont
*) 0 ;
9851 PyObject
* obj0
= 0 ;
9853 (char *) "self", NULL
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
9857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9858 if (SWIG_arg_fail(1)) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (int)((wxFont
const *)arg1
)->GetWeight();
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_From_int((int)(result
));
9875 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxFont
*arg1
= (wxFont
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9881 (char *) "self", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
9885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9886 if (SWIG_arg_fail(1)) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9903 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxFont
*arg1
= (wxFont
*) 0 ;
9907 PyObject
* obj0
= 0 ;
9909 (char *) "self", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
9913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9914 if (SWIG_arg_fail(1)) SWIG_fail
;
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= ((wxFont
const *)arg1
)->GetFaceName();
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9935 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9937 wxFont
*arg1
= (wxFont
*) 0 ;
9938 wxFontEncoding result
;
9939 PyObject
* obj0
= 0 ;
9941 (char *) "self", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
9945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9946 if (SWIG_arg_fail(1)) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= SWIG_From_int((result
));
9961 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxFont
*arg1
= (wxFont
*) 0 ;
9964 wxNativeFontInfo
*result
;
9965 PyObject
* obj0
= 0 ;
9967 (char *) "self", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
9971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9972 if (SWIG_arg_fail(1)) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
9987 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9989 wxFont
*arg1
= (wxFont
*) 0 ;
9991 PyObject
* obj0
= 0 ;
9993 (char *) "self", NULL
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
9997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9998 if (SWIG_arg_fail(1)) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10015 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxFont
*arg1
= (wxFont
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
10025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10026 if (SWIG_arg_fail(1)) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10047 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxFont
*arg1
= (wxFont
*) 0 ;
10051 PyObject
* obj0
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
10057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10058 if (SWIG_arg_fail(1)) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10079 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxFont
*arg1
= (wxFont
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "self",(char *) "pointSize", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10091 if (SWIG_arg_fail(1)) SWIG_fail
;
10093 arg2
= (int)(SWIG_As_int(obj1
));
10094 if (SWIG_arg_fail(2)) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 (arg1
)->SetPointSize(arg2
);
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 Py_INCREF(Py_None
); resultobj
= Py_None
;
10110 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxFont
*arg1
= (wxFont
*) 0 ;
10115 PyObject
* obj0
= 0 ;
10116 PyObject
* obj1
= 0 ;
10117 char *kwnames
[] = {
10118 (char *) "self",(char *) "pixelSize", NULL
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10123 if (SWIG_arg_fail(1)) SWIG_fail
;
10126 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 Py_INCREF(Py_None
); resultobj
= Py_None
;
10142 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxFont
*arg1
= (wxFont
*) 0 ;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self",(char *) "family", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10154 if (SWIG_arg_fail(1)) SWIG_fail
;
10156 arg2
= (int)(SWIG_As_int(obj1
));
10157 if (SWIG_arg_fail(2)) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 (arg1
)->SetFamily(arg2
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 Py_INCREF(Py_None
); resultobj
= Py_None
;
10173 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 wxFont
*arg1
= (wxFont
*) 0 ;
10177 PyObject
* obj0
= 0 ;
10178 PyObject
* obj1
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self",(char *) "style", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10185 if (SWIG_arg_fail(1)) SWIG_fail
;
10187 arg2
= (int)(SWIG_As_int(obj1
));
10188 if (SWIG_arg_fail(2)) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 (arg1
)->SetStyle(arg2
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 Py_INCREF(Py_None
); resultobj
= Py_None
;
10204 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxFont
*arg1
= (wxFont
*) 0 ;
10208 PyObject
* obj0
= 0 ;
10209 PyObject
* obj1
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "self",(char *) "weight", NULL
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10216 if (SWIG_arg_fail(1)) SWIG_fail
;
10218 arg2
= (int)(SWIG_As_int(obj1
));
10219 if (SWIG_arg_fail(2)) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 (arg1
)->SetWeight(arg2
);
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 Py_INCREF(Py_None
); resultobj
= Py_None
;
10235 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxFont
*arg1
= (wxFont
*) 0 ;
10238 wxString
*arg2
= 0 ;
10239 bool temp2
= false ;
10240 PyObject
* obj0
= 0 ;
10241 PyObject
* obj1
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self",(char *) "faceName", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10248 if (SWIG_arg_fail(1)) SWIG_fail
;
10250 arg2
= wxString_in_helper(obj1
);
10251 if (arg2
== NULL
) SWIG_fail
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 Py_INCREF(Py_None
); resultobj
= Py_None
;
10276 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxFont
*arg1
= (wxFont
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 char *kwnames
[] = {
10283 (char *) "self",(char *) "underlined", NULL
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10288 if (SWIG_arg_fail(1)) SWIG_fail
;
10290 arg2
= (bool)(SWIG_As_bool(obj1
));
10291 if (SWIG_arg_fail(2)) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 (arg1
)->SetUnderlined(arg2
);
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 Py_INCREF(Py_None
); resultobj
= Py_None
;
10307 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxFont
*arg1
= (wxFont
*) 0 ;
10310 wxFontEncoding arg2
;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self",(char *) "encoding", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10319 if (SWIG_arg_fail(1)) SWIG_fail
;
10321 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10322 if (SWIG_arg_fail(2)) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 Py_INCREF(Py_None
); resultobj
= Py_None
;
10338 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxFont
*arg1
= (wxFont
*) 0 ;
10341 wxNativeFontInfo
*arg2
= 0 ;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self",(char *) "info", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10350 if (SWIG_arg_fail(1)) SWIG_fail
;
10352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10353 if (SWIG_arg_fail(2)) SWIG_fail
;
10354 if (arg2
== NULL
) {
10355 SWIG_null_ref("wxNativeFontInfo");
10357 if (SWIG_arg_fail(2)) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 Py_INCREF(Py_None
); resultobj
= Py_None
;
10373 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxFont
*arg1
= (wxFont
*) 0 ;
10376 wxString
*arg2
= 0 ;
10377 bool temp2
= false ;
10378 PyObject
* obj0
= 0 ;
10379 PyObject
* obj1
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self",(char *) "info", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10386 if (SWIG_arg_fail(1)) SWIG_fail
;
10388 arg2
= wxString_in_helper(obj1
);
10389 if (arg2
== NULL
) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 Py_INCREF(Py_None
); resultobj
= Py_None
;
10414 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxFont
*arg1
= (wxFont
*) 0 ;
10417 wxString
*arg2
= 0 ;
10418 bool temp2
= false ;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self",(char *) "info", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10427 if (SWIG_arg_fail(1)) SWIG_fail
;
10429 arg2
= wxString_in_helper(obj1
);
10430 if (arg2
== NULL
) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 Py_INCREF(Py_None
); resultobj
= Py_None
;
10455 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxFont
*arg1
= (wxFont
*) 0 ;
10459 PyObject
* obj0
= 0 ;
10460 char *kwnames
[] = {
10461 (char *) "self", NULL
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
10465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10466 if (SWIG_arg_fail(1)) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= ((wxFont
const *)arg1
)->GetFamilyString();
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10487 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
;
10489 wxFont
*arg1
= (wxFont
*) 0 ;
10491 PyObject
* obj0
= 0 ;
10492 char *kwnames
[] = {
10493 (char *) "self", NULL
10496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
10497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10498 if (SWIG_arg_fail(1)) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= ((wxFont
const *)arg1
)->GetStyleString();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10519 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxFont
*arg1
= (wxFont
*) 0 ;
10523 PyObject
* obj0
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
10529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10530 if (SWIG_arg_fail(1)) SWIG_fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= ((wxFont
const *)arg1
)->GetWeightString();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10551 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxFont
*arg1
= (wxFont
*) 0 ;
10554 bool arg2
= (bool) true ;
10555 PyObject
* obj0
= 0 ;
10556 PyObject
* obj1
= 0 ;
10557 char *kwnames
[] = {
10558 (char *) "self",(char *) "no", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
10562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10563 if (SWIG_arg_fail(1)) SWIG_fail
;
10566 arg2
= (bool)(SWIG_As_bool(obj1
));
10567 if (SWIG_arg_fail(2)) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 (arg1
)->SetNoAntiAliasing(arg2
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 Py_INCREF(Py_None
); resultobj
= Py_None
;
10584 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10586 wxFont
*arg1
= (wxFont
*) 0 ;
10588 PyObject
* obj0
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "self", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
10594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10595 if (SWIG_arg_fail(1)) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10612 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxFontEncoding result
;
10615 char *kwnames
[] = {
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
10621 if (!wxPyCheckForApp()) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= SWIG_From_int((result
));
10635 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxFontEncoding arg1
;
10638 PyObject
* obj0
= 0 ;
10639 char *kwnames
[] = {
10640 (char *) "encoding", NULL
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
10645 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
10646 if (SWIG_arg_fail(1)) SWIG_fail
;
10649 if (!wxPyCheckForApp()) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 Py_INCREF(Py_None
); resultobj
= Py_None
;
10663 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
10665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10666 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
10668 return Py_BuildValue((char *)"");
10670 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxPyFontEnumerator
*result
;
10673 char *kwnames
[] = {
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
10679 if (!wxPyCheckForApp()) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
10693 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10696 PyObject
* obj0
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "self", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
10702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10703 if (SWIG_arg_fail(1)) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 Py_INCREF(Py_None
); resultobj
= Py_None
;
10718 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10721 PyObject
*arg2
= (PyObject
*) 0 ;
10722 PyObject
*arg3
= (PyObject
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 PyObject
* obj3
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10734 if (SWIG_arg_fail(1)) SWIG_fail
;
10738 arg4
= (bool)(SWIG_As_bool(obj3
));
10739 if (SWIG_arg_fail(4)) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 Py_INCREF(Py_None
); resultobj
= Py_None
;
10755 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10758 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
10759 bool arg3
= (bool) false ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 PyObject
* obj2
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10770 if (SWIG_arg_fail(1)) SWIG_fail
;
10773 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10774 if (SWIG_arg_fail(2)) SWIG_fail
;
10779 arg3
= (bool)(SWIG_As_bool(obj2
));
10780 if (SWIG_arg_fail(3)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10799 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10802 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10803 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10805 bool temp2
= false ;
10806 PyObject
* obj0
= 0 ;
10807 PyObject
* obj1
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self",(char *) "facename", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
10813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10814 if (SWIG_arg_fail(1)) SWIG_fail
;
10817 arg2
= wxString_in_helper(obj1
);
10818 if (arg2
== NULL
) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10846 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self", NULL
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
10856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10857 if (SWIG_arg_fail(1)) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 resultobj
= result
;
10872 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
;
10874 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10876 PyObject
* obj0
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "self", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
10882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10883 if (SWIG_arg_fail(1)) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= result
;
10898 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
10900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10901 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
10903 return Py_BuildValue((char *)"");
10905 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self",(char *) "Language", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10917 if (SWIG_arg_fail(1)) SWIG_fail
;
10919 arg2
= (int)(SWIG_As_int(obj1
));
10920 if (SWIG_arg_fail(2)) SWIG_fail
;
10922 if (arg1
) (arg1
)->Language
= arg2
;
10924 Py_INCREF(Py_None
); resultobj
= Py_None
;
10931 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10935 PyObject
* obj0
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
10941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10942 if (SWIG_arg_fail(1)) SWIG_fail
;
10943 result
= (int) ((arg1
)->Language
);
10946 resultobj
= SWIG_From_int((int)(result
));
10954 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10957 wxString
*arg2
= (wxString
*) 0 ;
10958 bool temp2
= false ;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self",(char *) "CanonicalName", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10967 if (SWIG_arg_fail(1)) SWIG_fail
;
10969 arg2
= wxString_in_helper(obj1
);
10970 if (arg2
== NULL
) SWIG_fail
;
10973 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
10975 Py_INCREF(Py_None
); resultobj
= Py_None
;
10990 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10994 PyObject
* obj0
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
11000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11001 if (SWIG_arg_fail(1)) SWIG_fail
;
11002 result
= (wxString
*)& ((arg1
)->CanonicalName
);
11006 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11008 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11017 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11020 wxString
*arg2
= (wxString
*) 0 ;
11021 bool temp2
= false ;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self",(char *) "Description", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail
;
11032 arg2
= wxString_in_helper(obj1
);
11033 if (arg2
== NULL
) SWIG_fail
;
11036 if (arg1
) (arg1
)->Description
= *arg2
;
11038 Py_INCREF(Py_None
); resultobj
= Py_None
;
11053 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11057 PyObject
* obj0
= 0 ;
11058 char *kwnames
[] = {
11059 (char *) "self", NULL
11062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
11063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11064 if (SWIG_arg_fail(1)) SWIG_fail
;
11065 result
= (wxString
*)& ((arg1
)->Description
);
11069 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11071 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11080 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
11082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11083 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
11085 return Py_BuildValue((char *)"");
11087 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
;
11089 int arg1
= (int) -1 ;
11090 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "language",(char *) "flags", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
11101 arg1
= (int)(SWIG_As_int(obj0
));
11102 if (SWIG_arg_fail(1)) SWIG_fail
;
11107 arg2
= (int)(SWIG_As_int(obj1
));
11108 if (SWIG_arg_fail(2)) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11125 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxLocale
*arg1
= (wxLocale
*) 0 ;
11128 PyObject
* obj0
= 0 ;
11129 char *kwnames
[] = {
11130 (char *) "self", NULL
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11135 if (SWIG_arg_fail(1)) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11143 Py_INCREF(Py_None
); resultobj
= Py_None
;
11150 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11152 wxLocale
*arg1
= (wxLocale
*) 0 ;
11153 wxString
*arg2
= 0 ;
11154 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11155 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11156 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11157 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11158 bool arg5
= (bool) true ;
11159 bool arg6
= (bool) false ;
11161 bool temp2
= false ;
11162 bool temp3
= false ;
11163 bool temp4
= false ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 PyObject
* obj2
= 0 ;
11167 PyObject
* obj3
= 0 ;
11168 PyObject
* obj4
= 0 ;
11169 PyObject
* obj5
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11176 if (SWIG_arg_fail(1)) SWIG_fail
;
11178 arg2
= wxString_in_helper(obj1
);
11179 if (arg2
== NULL
) SWIG_fail
;
11184 arg3
= wxString_in_helper(obj2
);
11185 if (arg3
== NULL
) SWIG_fail
;
11191 arg4
= wxString_in_helper(obj3
);
11192 if (arg4
== NULL
) SWIG_fail
;
11198 arg5
= (bool)(SWIG_As_bool(obj4
));
11199 if (SWIG_arg_fail(5)) SWIG_fail
;
11204 arg6
= (bool)(SWIG_As_bool(obj5
));
11205 if (SWIG_arg_fail(6)) SWIG_fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11248 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 wxLocale
*arg1
= (wxLocale
*) 0 ;
11251 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11252 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 PyObject
* obj2
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "self",(char *) "language",(char *) "flags", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11263 if (SWIG_arg_fail(1)) SWIG_fail
;
11266 arg2
= (int)(SWIG_As_int(obj1
));
11267 if (SWIG_arg_fail(2)) SWIG_fail
;
11272 arg3
= (int)(SWIG_As_int(obj2
));
11273 if (SWIG_arg_fail(3)) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11292 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
;
11295 char *kwnames
[] = {
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (int)wxLocale::GetSystemLanguage();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_From_int((int)(result
));
11316 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
;
11318 wxFontEncoding result
;
11319 char *kwnames
[] = {
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_From_int((result
));
11338 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11341 char *kwnames
[] = {
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= wxLocale::GetSystemEncodingName();
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_IsOk(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_IsOk",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
= (bool)((wxLocale
const *)arg1
)->IsOk();
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11394 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxLocale
*arg1
= (wxLocale
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
11404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11405 if (SWIG_arg_fail(1)) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= ((wxLocale
const *)arg1
)->GetLocale();
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11426 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxLocale
*arg1
= (wxLocale
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
11436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11437 if (SWIG_arg_fail(1)) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_From_int((int)(result
));
11454 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxLocale
*arg1
= (wxLocale
*) 0 ;
11458 PyObject
* obj0
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
11464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11465 if (SWIG_arg_fail(1)) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= ((wxLocale
const *)arg1
)->GetSysName();
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11486 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
;
11488 wxLocale
*arg1
= (wxLocale
*) 0 ;
11490 PyObject
* obj0
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
11496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11497 if (SWIG_arg_fail(1)) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11518 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxString
*arg1
= 0 ;
11521 bool temp1
= false ;
11522 PyObject
* obj0
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "prefix", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
11529 arg1
= wxString_in_helper(obj0
);
11530 if (arg1
== NULL
) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 Py_INCREF(Py_None
); resultobj
= Py_None
;
11555 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxLocale
*arg1
= (wxLocale
*) 0 ;
11558 wxString
*arg2
= 0 ;
11560 bool temp2
= false ;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 char *kwnames
[] = {
11564 (char *) "self",(char *) "szDomain", NULL
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
11568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11569 if (SWIG_arg_fail(1)) SWIG_fail
;
11571 arg2
= wxString_in_helper(obj1
);
11572 if (arg2
== NULL
) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11599 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxLocale
*arg1
= (wxLocale
*) 0 ;
11602 wxString
*arg2
= 0 ;
11604 bool temp2
= false ;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "self",(char *) "szDomain", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
11612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11613 if (SWIG_arg_fail(1)) SWIG_fail
;
11615 arg2
= wxString_in_helper(obj1
);
11616 if (arg2
== NULL
) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11643 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
;
11646 wxLanguageInfo
*result
;
11647 PyObject
* obj0
= 0 ;
11648 char *kwnames
[] = {
11649 (char *) "lang", NULL
11652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
11654 arg1
= (int)(SWIG_As_int(obj0
));
11655 if (SWIG_arg_fail(1)) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11671 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11675 PyObject
* obj0
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "lang", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
11682 arg1
= (int)(SWIG_As_int(obj0
));
11683 if (SWIG_arg_fail(1)) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= wxLocale::GetLanguageName(arg1
);
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());
11705 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
;
11707 wxString
*arg1
= 0 ;
11708 wxLanguageInfo
*result
;
11709 bool temp1
= false ;
11710 PyObject
* obj0
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "locale", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
11717 arg1
= wxString_in_helper(obj0
);
11718 if (arg1
== NULL
) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11743 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxLanguageInfo
*arg1
= 0 ;
11746 PyObject
* obj0
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "info", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
11753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11754 if (SWIG_arg_fail(1)) SWIG_fail
;
11755 if (arg1
== NULL
) {
11756 SWIG_null_ref("wxLanguageInfo");
11758 if (SWIG_arg_fail(1)) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 Py_INCREF(Py_None
); resultobj
= Py_None
;
11774 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11775 PyObject
*resultobj
;
11776 wxLocale
*arg1
= (wxLocale
*) 0 ;
11777 wxString
*arg2
= 0 ;
11778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11781 bool temp2
= false ;
11782 bool temp3
= false ;
11783 PyObject
* obj0
= 0 ;
11784 PyObject
* obj1
= 0 ;
11785 PyObject
* obj2
= 0 ;
11786 char *kwnames
[] = {
11787 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
11790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11792 if (SWIG_arg_fail(1)) SWIG_fail
;
11794 arg2
= wxString_in_helper(obj1
);
11795 if (arg2
== NULL
) SWIG_fail
;
11800 arg3
= wxString_in_helper(obj2
);
11801 if (arg3
== NULL
) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11841 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxLocale
*arg1
= (wxLocale
*) 0 ;
11845 PyObject
* obj0
= 0 ;
11846 char *kwnames
[] = {
11847 (char *) "self", NULL
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
11851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11852 if (SWIG_arg_fail(1)) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
11857 result
= (wxString
*) &_result_ref
;
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11867 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11876 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
11878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11879 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
11881 return Py_BuildValue((char *)"");
11883 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11886 char *kwnames
[] = {
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (wxLocale
*)wxGetLocale();
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
11905 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
11906 PyObject
*resultobj
;
11907 wxString
*arg1
= 0 ;
11909 bool temp1
= false ;
11910 PyObject
* obj0
= 0 ;
11912 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
11914 arg1
= wxString_in_helper(obj0
);
11915 if (arg1
== NULL
) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= wxGetTranslation((wxString
const &)*arg1
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11946 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
11947 PyObject
*resultobj
;
11948 wxString
*arg1
= 0 ;
11949 wxString
*arg2
= 0 ;
11952 bool temp1
= false ;
11953 bool temp2
= false ;
11954 PyObject
* obj0
= 0 ;
11955 PyObject
* obj1
= 0 ;
11956 PyObject
* obj2
= 0 ;
11958 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
11960 arg1
= wxString_in_helper(obj0
);
11961 if (arg1
== NULL
) SWIG_fail
;
11965 arg2
= wxString_in_helper(obj1
);
11966 if (arg2
== NULL
) SWIG_fail
;
11970 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11971 if (SWIG_arg_fail(3)) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12009 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
12014 argc
= PyObject_Length(args
);
12015 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
12016 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12021 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12024 return _wrap_GetTranslation__SWIG_0(self
,args
);
12030 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12034 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
12037 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
12039 return _wrap_GetTranslation__SWIG_1(self
,args
);
12045 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
12050 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxEncodingConverter
*result
;
12053 char *kwnames
[] = {
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= (wxEncodingConverter
*)new wxEncodingConverter();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
12072 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
;
12074 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12075 PyObject
* obj0
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
12081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 Py_INCREF(Py_None
); resultobj
= Py_None
;
12097 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
;
12099 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12100 wxFontEncoding arg2
;
12101 wxFontEncoding arg3
;
12102 int arg4
= (int) wxCONVERT_STRICT
;
12104 PyObject
* obj0
= 0 ;
12105 PyObject
* obj1
= 0 ;
12106 PyObject
* obj2
= 0 ;
12107 PyObject
* obj3
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12114 if (SWIG_arg_fail(1)) SWIG_fail
;
12116 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12117 if (SWIG_arg_fail(2)) SWIG_fail
;
12120 arg3
= (wxFontEncoding
)(SWIG_As_int(obj2
));
12121 if (SWIG_arg_fail(3)) SWIG_fail
;
12125 arg4
= (int)(SWIG_As_int(obj3
));
12126 if (SWIG_arg_fail(4)) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12145 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12148 wxString
*arg2
= 0 ;
12150 bool temp2
= false ;
12151 PyObject
* obj0
= 0 ;
12152 PyObject
* obj1
= 0 ;
12153 char *kwnames
[] = {
12154 (char *) "self",(char *) "input", NULL
12157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12159 if (SWIG_arg_fail(1)) SWIG_fail
;
12161 arg2
= wxString_in_helper(obj1
);
12162 if (arg2
== NULL
) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12193 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
;
12195 wxFontEncoding arg1
;
12196 int arg2
= (int) wxPLATFORM_CURRENT
;
12197 wxFontEncodingArray result
;
12198 PyObject
* obj0
= 0 ;
12199 PyObject
* obj1
= 0 ;
12200 char *kwnames
[] = {
12201 (char *) "enc",(char *) "platform", NULL
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12206 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12207 if (SWIG_arg_fail(1)) SWIG_fail
;
12211 arg2
= (int)(SWIG_As_int(obj1
));
12212 if (SWIG_arg_fail(2)) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= PyList_New(0);
12224 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12225 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12226 PyList_Append(resultobj
, number
);
12236 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxFontEncoding arg1
;
12239 wxFontEncodingArray result
;
12240 PyObject
* obj0
= 0 ;
12241 char *kwnames
[] = {
12242 (char *) "enc", NULL
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12247 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12248 if (SWIG_arg_fail(1)) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= PyList_New(0);
12259 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12260 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12261 PyList_Append(resultobj
, number
);
12271 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxFontEncoding arg1
;
12274 wxFontEncoding arg2
;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "encIn",(char *) "encOut", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12284 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12285 if (SWIG_arg_fail(1)) SWIG_fail
;
12288 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12289 if (SWIG_arg_fail(2)) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12307 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12310 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12312 return Py_BuildValue((char *)"");
12314 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxDC
*arg1
= (wxDC
*) 0 ;
12317 PyObject
* obj0
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "self", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
12323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12324 if (SWIG_arg_fail(1)) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 Py_INCREF(Py_None
); resultobj
= Py_None
;
12339 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxDC
*arg1
= (wxDC
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12349 if (SWIG_arg_fail(1)) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 (arg1
)->BeginDrawing();
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 Py_INCREF(Py_None
); resultobj
= Py_None
;
12364 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxDC
*arg1
= (wxDC
*) 0 ;
12367 PyObject
* obj0
= 0 ;
12368 char *kwnames
[] = {
12369 (char *) "self", NULL
12372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12374 if (SWIG_arg_fail(1)) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 (arg1
)->EndDrawing();
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 Py_INCREF(Py_None
); resultobj
= Py_None
;
12389 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxDC
*arg1
= (wxDC
*) 0 ;
12394 wxColour
*arg4
= 0 ;
12395 int arg5
= (int) wxFLOOD_SURFACE
;
12398 PyObject
* obj0
= 0 ;
12399 PyObject
* obj1
= 0 ;
12400 PyObject
* obj2
= 0 ;
12401 PyObject
* obj3
= 0 ;
12402 PyObject
* obj4
= 0 ;
12403 char *kwnames
[] = {
12404 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
12407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12409 if (SWIG_arg_fail(1)) SWIG_fail
;
12411 arg2
= (int)(SWIG_As_int(obj1
));
12412 if (SWIG_arg_fail(2)) SWIG_fail
;
12415 arg3
= (int)(SWIG_As_int(obj2
));
12416 if (SWIG_arg_fail(3)) SWIG_fail
;
12420 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12424 arg5
= (int)(SWIG_As_int(obj4
));
12425 if (SWIG_arg_fail(5)) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12444 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxDC
*arg1
= (wxDC
*) 0 ;
12447 wxPoint
*arg2
= 0 ;
12448 wxColour
*arg3
= 0 ;
12449 int arg4
= (int) wxFLOOD_SURFACE
;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 PyObject
* obj2
= 0 ;
12456 PyObject
* obj3
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12463 if (SWIG_arg_fail(1)) SWIG_fail
;
12466 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12470 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12474 arg4
= (int)(SWIG_As_int(obj3
));
12475 if (SWIG_arg_fail(4)) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12494 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxDC
*arg1
= (wxDC
*) 0 ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 PyObject
* obj2
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "self",(char *) "x",(char *) "y", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12509 if (SWIG_arg_fail(1)) SWIG_fail
;
12511 arg2
= (int)(SWIG_As_int(obj1
));
12512 if (SWIG_arg_fail(2)) SWIG_fail
;
12515 arg3
= (int)(SWIG_As_int(obj2
));
12516 if (SWIG_arg_fail(3)) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12526 wxColour
* resultptr
;
12527 resultptr
= new wxColour((wxColour
&)(result
));
12528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12536 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxDC
*arg1
= (wxDC
*) 0 ;
12539 wxPoint
*arg2
= 0 ;
12542 PyObject
* obj0
= 0 ;
12543 PyObject
* obj1
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self",(char *) "pt", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12550 if (SWIG_arg_fail(1)) SWIG_fail
;
12553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12563 wxColour
* resultptr
;
12564 resultptr
= new wxColour((wxColour
&)(result
));
12565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12573 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxDC
*arg1
= (wxDC
*) 0 ;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 PyObject
* obj2
= 0 ;
12583 PyObject
* obj3
= 0 ;
12584 PyObject
* obj4
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail
;
12593 arg2
= (int)(SWIG_As_int(obj1
));
12594 if (SWIG_arg_fail(2)) SWIG_fail
;
12597 arg3
= (int)(SWIG_As_int(obj2
));
12598 if (SWIG_arg_fail(3)) SWIG_fail
;
12601 arg4
= (int)(SWIG_As_int(obj3
));
12602 if (SWIG_arg_fail(4)) SWIG_fail
;
12605 arg5
= (int)(SWIG_As_int(obj4
));
12606 if (SWIG_arg_fail(5)) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 Py_INCREF(Py_None
); resultobj
= Py_None
;
12622 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxDC
*arg1
= (wxDC
*) 0 ;
12625 wxPoint
*arg2
= 0 ;
12626 wxPoint
*arg3
= 0 ;
12629 PyObject
* obj0
= 0 ;
12630 PyObject
* obj1
= 0 ;
12631 PyObject
* obj2
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12638 if (SWIG_arg_fail(1)) SWIG_fail
;
12641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 Py_INCREF(Py_None
); resultobj
= Py_None
;
12661 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxDC
*arg1
= (wxDC
*) 0 ;
12666 PyObject
* obj0
= 0 ;
12667 PyObject
* obj1
= 0 ;
12668 PyObject
* obj2
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self",(char *) "x",(char *) "y", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12675 if (SWIG_arg_fail(1)) SWIG_fail
;
12677 arg2
= (int)(SWIG_As_int(obj1
));
12678 if (SWIG_arg_fail(2)) SWIG_fail
;
12681 arg3
= (int)(SWIG_As_int(obj2
));
12682 if (SWIG_arg_fail(3)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 (arg1
)->CrossHair(arg2
,arg3
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 Py_INCREF(Py_None
); resultobj
= Py_None
;
12698 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxDC
*arg1
= (wxDC
*) 0 ;
12701 wxPoint
*arg2
= 0 ;
12703 PyObject
* obj0
= 0 ;
12704 PyObject
* obj1
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self",(char *) "pt", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail
;
12714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 Py_INCREF(Py_None
); resultobj
= Py_None
;
12730 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxDC
*arg1
= (wxDC
*) 0 ;
12739 PyObject
* obj0
= 0 ;
12740 PyObject
* obj1
= 0 ;
12741 PyObject
* obj2
= 0 ;
12742 PyObject
* obj3
= 0 ;
12743 PyObject
* obj4
= 0 ;
12744 PyObject
* obj5
= 0 ;
12745 PyObject
* obj6
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12752 if (SWIG_arg_fail(1)) SWIG_fail
;
12754 arg2
= (int)(SWIG_As_int(obj1
));
12755 if (SWIG_arg_fail(2)) SWIG_fail
;
12758 arg3
= (int)(SWIG_As_int(obj2
));
12759 if (SWIG_arg_fail(3)) SWIG_fail
;
12762 arg4
= (int)(SWIG_As_int(obj3
));
12763 if (SWIG_arg_fail(4)) SWIG_fail
;
12766 arg5
= (int)(SWIG_As_int(obj4
));
12767 if (SWIG_arg_fail(5)) SWIG_fail
;
12770 arg6
= (int)(SWIG_As_int(obj5
));
12771 if (SWIG_arg_fail(6)) SWIG_fail
;
12774 arg7
= (int)(SWIG_As_int(obj6
));
12775 if (SWIG_arg_fail(7)) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 Py_INCREF(Py_None
); resultobj
= Py_None
;
12791 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxDC
*arg1
= (wxDC
*) 0 ;
12794 wxPoint
*arg2
= 0 ;
12795 wxPoint
*arg3
= 0 ;
12796 wxPoint
*arg4
= 0 ;
12800 PyObject
* obj0
= 0 ;
12801 PyObject
* obj1
= 0 ;
12802 PyObject
* obj2
= 0 ;
12803 PyObject
* obj3
= 0 ;
12804 char *kwnames
[] = {
12805 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
12808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12810 if (SWIG_arg_fail(1)) SWIG_fail
;
12813 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12821 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 Py_INCREF(Py_None
); resultobj
= Py_None
;
12837 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxDC
*arg1
= (wxDC
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 PyObject
* obj2
= 0 ;
12847 PyObject
* obj3
= 0 ;
12848 PyObject
* obj4
= 0 ;
12849 char *kwnames
[] = {
12850 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12855 if (SWIG_arg_fail(1)) SWIG_fail
;
12857 arg2
= (int)(SWIG_As_int(obj1
));
12858 if (SWIG_arg_fail(2)) SWIG_fail
;
12861 arg3
= (int)(SWIG_As_int(obj2
));
12862 if (SWIG_arg_fail(3)) SWIG_fail
;
12865 arg4
= (int)(SWIG_As_int(obj3
));
12866 if (SWIG_arg_fail(4)) SWIG_fail
;
12869 arg5
= (int)(SWIG_As_int(obj4
));
12870 if (SWIG_arg_fail(5)) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 Py_INCREF(Py_None
); resultobj
= Py_None
;
12886 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxDC
*arg1
= (wxDC
*) 0 ;
12891 PyObject
* obj0
= 0 ;
12892 PyObject
* obj1
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self",(char *) "rect", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12899 if (SWIG_arg_fail(1)) SWIG_fail
;
12902 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 Py_INCREF(Py_None
); resultobj
= Py_None
;
12918 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxDC
*arg1
= (wxDC
*) 0 ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 PyObject
* obj2
= 0 ;
12930 PyObject
* obj3
= 0 ;
12931 PyObject
* obj4
= 0 ;
12932 PyObject
* obj5
= 0 ;
12933 PyObject
* obj6
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12940 if (SWIG_arg_fail(1)) SWIG_fail
;
12942 arg2
= (int)(SWIG_As_int(obj1
));
12943 if (SWIG_arg_fail(2)) SWIG_fail
;
12946 arg3
= (int)(SWIG_As_int(obj2
));
12947 if (SWIG_arg_fail(3)) SWIG_fail
;
12950 arg4
= (int)(SWIG_As_int(obj3
));
12951 if (SWIG_arg_fail(4)) SWIG_fail
;
12954 arg5
= (int)(SWIG_As_int(obj4
));
12955 if (SWIG_arg_fail(5)) SWIG_fail
;
12958 arg6
= (double)(SWIG_As_double(obj5
));
12959 if (SWIG_arg_fail(6)) SWIG_fail
;
12962 arg7
= (double)(SWIG_As_double(obj6
));
12963 if (SWIG_arg_fail(7)) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 Py_INCREF(Py_None
); resultobj
= Py_None
;
12979 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxDC
*arg1
= (wxDC
*) 0 ;
12982 wxPoint
*arg2
= 0 ;
12988 PyObject
* obj0
= 0 ;
12989 PyObject
* obj1
= 0 ;
12990 PyObject
* obj2
= 0 ;
12991 PyObject
* obj3
= 0 ;
12992 PyObject
* obj4
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12999 if (SWIG_arg_fail(1)) SWIG_fail
;
13002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13006 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13009 arg4
= (double)(SWIG_As_double(obj3
));
13010 if (SWIG_arg_fail(4)) SWIG_fail
;
13013 arg5
= (double)(SWIG_As_double(obj4
));
13014 if (SWIG_arg_fail(5)) SWIG_fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 Py_INCREF(Py_None
); resultobj
= Py_None
;
13030 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
;
13032 wxDC
*arg1
= (wxDC
*) 0 ;
13035 PyObject
* obj0
= 0 ;
13036 PyObject
* obj1
= 0 ;
13037 PyObject
* obj2
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self",(char *) "x",(char *) "y", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13044 if (SWIG_arg_fail(1)) SWIG_fail
;
13046 arg2
= (int)(SWIG_As_int(obj1
));
13047 if (SWIG_arg_fail(2)) SWIG_fail
;
13050 arg3
= (int)(SWIG_As_int(obj2
));
13051 if (SWIG_arg_fail(3)) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 (arg1
)->DrawPoint(arg2
,arg3
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 Py_INCREF(Py_None
); resultobj
= Py_None
;
13067 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxDC
*arg1
= (wxDC
*) 0 ;
13070 wxPoint
*arg2
= 0 ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self",(char *) "pt", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13080 if (SWIG_arg_fail(1)) SWIG_fail
;
13083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 Py_INCREF(Py_None
); resultobj
= Py_None
;
13099 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxDC
*arg1
= (wxDC
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 PyObject
* obj2
= 0 ;
13109 PyObject
* obj3
= 0 ;
13110 PyObject
* obj4
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13117 if (SWIG_arg_fail(1)) SWIG_fail
;
13119 arg2
= (int)(SWIG_As_int(obj1
));
13120 if (SWIG_arg_fail(2)) SWIG_fail
;
13123 arg3
= (int)(SWIG_As_int(obj2
));
13124 if (SWIG_arg_fail(3)) SWIG_fail
;
13127 arg4
= (int)(SWIG_As_int(obj3
));
13128 if (SWIG_arg_fail(4)) SWIG_fail
;
13131 arg5
= (int)(SWIG_As_int(obj4
));
13132 if (SWIG_arg_fail(5)) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 Py_INCREF(Py_None
); resultobj
= Py_None
;
13148 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxDC
*arg1
= (wxDC
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 PyObject
* obj1
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "rect", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13161 if (SWIG_arg_fail(1)) SWIG_fail
;
13164 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 Py_INCREF(Py_None
); resultobj
= Py_None
;
13180 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxDC
*arg1
= (wxDC
*) 0 ;
13183 wxPoint
*arg2
= 0 ;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 PyObject
* obj2
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self",(char *) "pt",(char *) "sz", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13196 if (SWIG_arg_fail(1)) SWIG_fail
;
13199 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13203 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 Py_INCREF(Py_None
); resultobj
= Py_None
;
13219 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxDC
*arg1
= (wxDC
*) 0 ;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 PyObject
* obj2
= 0 ;
13230 PyObject
* obj3
= 0 ;
13231 PyObject
* obj4
= 0 ;
13232 PyObject
* obj5
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13239 if (SWIG_arg_fail(1)) SWIG_fail
;
13241 arg2
= (int)(SWIG_As_int(obj1
));
13242 if (SWIG_arg_fail(2)) SWIG_fail
;
13245 arg3
= (int)(SWIG_As_int(obj2
));
13246 if (SWIG_arg_fail(3)) SWIG_fail
;
13249 arg4
= (int)(SWIG_As_int(obj3
));
13250 if (SWIG_arg_fail(4)) SWIG_fail
;
13253 arg5
= (int)(SWIG_As_int(obj4
));
13254 if (SWIG_arg_fail(5)) SWIG_fail
;
13257 arg6
= (double)(SWIG_As_double(obj5
));
13258 if (SWIG_arg_fail(6)) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 Py_INCREF(Py_None
); resultobj
= Py_None
;
13274 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxDC
*arg1
= (wxDC
*) 0 ;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 PyObject
* obj2
= 0 ;
13283 char *kwnames
[] = {
13284 (char *) "self",(char *) "r",(char *) "radius", NULL
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13289 if (SWIG_arg_fail(1)) SWIG_fail
;
13292 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13295 arg3
= (double)(SWIG_As_double(obj2
));
13296 if (SWIG_arg_fail(3)) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 Py_INCREF(Py_None
); resultobj
= Py_None
;
13312 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxDC
*arg1
= (wxDC
*) 0 ;
13315 wxPoint
*arg2
= 0 ;
13320 PyObject
* obj0
= 0 ;
13321 PyObject
* obj1
= 0 ;
13322 PyObject
* obj2
= 0 ;
13323 PyObject
* obj3
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13330 if (SWIG_arg_fail(1)) SWIG_fail
;
13333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13337 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13340 arg4
= (double)(SWIG_As_double(obj3
));
13341 if (SWIG_arg_fail(4)) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 Py_INCREF(Py_None
); resultobj
= Py_None
;
13357 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxDC
*arg1
= (wxDC
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 PyObject
* obj1
= 0 ;
13365 PyObject
* obj2
= 0 ;
13366 PyObject
* obj3
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13373 if (SWIG_arg_fail(1)) SWIG_fail
;
13375 arg2
= (int)(SWIG_As_int(obj1
));
13376 if (SWIG_arg_fail(2)) SWIG_fail
;
13379 arg3
= (int)(SWIG_As_int(obj2
));
13380 if (SWIG_arg_fail(3)) SWIG_fail
;
13383 arg4
= (int)(SWIG_As_int(obj3
));
13384 if (SWIG_arg_fail(4)) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 Py_INCREF(Py_None
); resultobj
= Py_None
;
13400 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxDC
*arg1
= (wxDC
*) 0 ;
13403 wxPoint
*arg2
= 0 ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 PyObject
* obj2
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "pt",(char *) "radius", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",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
;
13421 arg3
= (int)(SWIG_As_int(obj2
));
13422 if (SWIG_arg_fail(3)) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 Py_INCREF(Py_None
); resultobj
= Py_None
;
13438 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxDC
*arg1
= (wxDC
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 PyObject
* obj1
= 0 ;
13447 PyObject
* obj2
= 0 ;
13448 PyObject
* obj3
= 0 ;
13449 PyObject
* obj4
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13456 if (SWIG_arg_fail(1)) SWIG_fail
;
13458 arg2
= (int)(SWIG_As_int(obj1
));
13459 if (SWIG_arg_fail(2)) SWIG_fail
;
13462 arg3
= (int)(SWIG_As_int(obj2
));
13463 if (SWIG_arg_fail(3)) SWIG_fail
;
13466 arg4
= (int)(SWIG_As_int(obj3
));
13467 if (SWIG_arg_fail(4)) SWIG_fail
;
13470 arg5
= (int)(SWIG_As_int(obj4
));
13471 if (SWIG_arg_fail(5)) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 Py_INCREF(Py_None
); resultobj
= Py_None
;
13487 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxDC
*arg1
= (wxDC
*) 0 ;
13492 PyObject
* obj0
= 0 ;
13493 PyObject
* obj1
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self",(char *) "rect", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13500 if (SWIG_arg_fail(1)) SWIG_fail
;
13503 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 Py_INCREF(Py_None
); resultobj
= Py_None
;
13519 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
;
13521 wxDC
*arg1
= (wxDC
*) 0 ;
13522 wxPoint
*arg2
= 0 ;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 PyObject
* obj2
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self",(char *) "pt",(char *) "sz", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13535 if (SWIG_arg_fail(1)) SWIG_fail
;
13538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13542 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 Py_INCREF(Py_None
); resultobj
= Py_None
;
13558 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxDC
*arg1
= (wxDC
*) 0 ;
13564 PyObject
* obj0
= 0 ;
13565 PyObject
* obj1
= 0 ;
13566 PyObject
* obj2
= 0 ;
13567 PyObject
* obj3
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13574 if (SWIG_arg_fail(1)) SWIG_fail
;
13576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13577 if (SWIG_arg_fail(2)) SWIG_fail
;
13578 if (arg2
== NULL
) {
13579 SWIG_null_ref("wxIcon");
13581 if (SWIG_arg_fail(2)) SWIG_fail
;
13584 arg3
= (int)(SWIG_As_int(obj2
));
13585 if (SWIG_arg_fail(3)) SWIG_fail
;
13588 arg4
= (int)(SWIG_As_int(obj3
));
13589 if (SWIG_arg_fail(4)) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 Py_INCREF(Py_None
); resultobj
= Py_None
;
13605 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxDC
*arg1
= (wxDC
*) 0 ;
13609 wxPoint
*arg3
= 0 ;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 PyObject
* obj2
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self",(char *) "icon",(char *) "pt", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13620 if (SWIG_arg_fail(1)) SWIG_fail
;
13622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13623 if (SWIG_arg_fail(2)) SWIG_fail
;
13624 if (arg2
== NULL
) {
13625 SWIG_null_ref("wxIcon");
13627 if (SWIG_arg_fail(2)) SWIG_fail
;
13631 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 Py_INCREF(Py_None
); resultobj
= Py_None
;
13647 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
;
13649 wxDC
*arg1
= (wxDC
*) 0 ;
13650 wxBitmap
*arg2
= 0 ;
13653 bool arg5
= (bool) false ;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 PyObject
* obj2
= 0 ;
13657 PyObject
* obj3
= 0 ;
13658 PyObject
* obj4
= 0 ;
13659 char *kwnames
[] = {
13660 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13665 if (SWIG_arg_fail(1)) SWIG_fail
;
13667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13668 if (SWIG_arg_fail(2)) SWIG_fail
;
13669 if (arg2
== NULL
) {
13670 SWIG_null_ref("wxBitmap");
13672 if (SWIG_arg_fail(2)) SWIG_fail
;
13675 arg3
= (int)(SWIG_As_int(obj2
));
13676 if (SWIG_arg_fail(3)) SWIG_fail
;
13679 arg4
= (int)(SWIG_As_int(obj3
));
13680 if (SWIG_arg_fail(4)) SWIG_fail
;
13684 arg5
= (bool)(SWIG_As_bool(obj4
));
13685 if (SWIG_arg_fail(5)) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 Py_INCREF(Py_None
); resultobj
= Py_None
;
13702 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxDC
*arg1
= (wxDC
*) 0 ;
13705 wxBitmap
*arg2
= 0 ;
13706 wxPoint
*arg3
= 0 ;
13707 bool arg4
= (bool) false ;
13709 PyObject
* obj0
= 0 ;
13710 PyObject
* obj1
= 0 ;
13711 PyObject
* obj2
= 0 ;
13712 PyObject
* obj3
= 0 ;
13713 char *kwnames
[] = {
13714 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
13717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13719 if (SWIG_arg_fail(1)) SWIG_fail
;
13721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13722 if (SWIG_arg_fail(2)) SWIG_fail
;
13723 if (arg2
== NULL
) {
13724 SWIG_null_ref("wxBitmap");
13726 if (SWIG_arg_fail(2)) SWIG_fail
;
13730 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13734 arg4
= (bool)(SWIG_As_bool(obj3
));
13735 if (SWIG_arg_fail(4)) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 Py_INCREF(Py_None
); resultobj
= Py_None
;
13752 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxDC
*arg1
= (wxDC
*) 0 ;
13755 wxString
*arg2
= 0 ;
13758 bool temp2
= false ;
13759 PyObject
* obj0
= 0 ;
13760 PyObject
* obj1
= 0 ;
13761 PyObject
* obj2
= 0 ;
13762 PyObject
* obj3
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13769 if (SWIG_arg_fail(1)) SWIG_fail
;
13771 arg2
= wxString_in_helper(obj1
);
13772 if (arg2
== NULL
) SWIG_fail
;
13776 arg3
= (int)(SWIG_As_int(obj2
));
13777 if (SWIG_arg_fail(3)) SWIG_fail
;
13780 arg4
= (int)(SWIG_As_int(obj3
));
13781 if (SWIG_arg_fail(4)) SWIG_fail
;
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 Py_INCREF(Py_None
); resultobj
= Py_None
;
13805 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13806 PyObject
*resultobj
;
13807 wxDC
*arg1
= (wxDC
*) 0 ;
13808 wxString
*arg2
= 0 ;
13809 wxPoint
*arg3
= 0 ;
13810 bool temp2
= false ;
13812 PyObject
* obj0
= 0 ;
13813 PyObject
* obj1
= 0 ;
13814 PyObject
* obj2
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self",(char *) "text",(char *) "pt", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13821 if (SWIG_arg_fail(1)) SWIG_fail
;
13823 arg2
= wxString_in_helper(obj1
);
13824 if (arg2
== NULL
) SWIG_fail
;
13829 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 Py_INCREF(Py_None
); resultobj
= Py_None
;
13853 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13854 PyObject
*resultobj
;
13855 wxDC
*arg1
= (wxDC
*) 0 ;
13856 wxString
*arg2
= 0 ;
13860 bool temp2
= false ;
13861 PyObject
* obj0
= 0 ;
13862 PyObject
* obj1
= 0 ;
13863 PyObject
* obj2
= 0 ;
13864 PyObject
* obj3
= 0 ;
13865 PyObject
* obj4
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13872 if (SWIG_arg_fail(1)) SWIG_fail
;
13874 arg2
= wxString_in_helper(obj1
);
13875 if (arg2
== NULL
) SWIG_fail
;
13879 arg3
= (int)(SWIG_As_int(obj2
));
13880 if (SWIG_arg_fail(3)) SWIG_fail
;
13883 arg4
= (int)(SWIG_As_int(obj3
));
13884 if (SWIG_arg_fail(4)) SWIG_fail
;
13887 arg5
= (double)(SWIG_As_double(obj4
));
13888 if (SWIG_arg_fail(5)) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 Py_INCREF(Py_None
); resultobj
= Py_None
;
13912 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxDC
*arg1
= (wxDC
*) 0 ;
13915 wxString
*arg2
= 0 ;
13916 wxPoint
*arg3
= 0 ;
13918 bool temp2
= false ;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 PyObject
* obj2
= 0 ;
13923 PyObject
* obj3
= 0 ;
13924 char *kwnames
[] = {
13925 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13930 if (SWIG_arg_fail(1)) SWIG_fail
;
13932 arg2
= wxString_in_helper(obj1
);
13933 if (arg2
== NULL
) SWIG_fail
;
13938 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13941 arg4
= (double)(SWIG_As_double(obj3
));
13942 if (SWIG_arg_fail(4)) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 Py_INCREF(Py_None
); resultobj
= Py_None
;
13966 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxDC
*arg1
= (wxDC
*) 0 ;
13973 wxDC
*arg6
= (wxDC
*) 0 ;
13976 int arg9
= (int) wxCOPY
;
13977 bool arg10
= (bool) false ;
13978 int arg11
= (int) -1 ;
13979 int arg12
= (int) -1 ;
13981 PyObject
* obj0
= 0 ;
13982 PyObject
* obj1
= 0 ;
13983 PyObject
* obj2
= 0 ;
13984 PyObject
* obj3
= 0 ;
13985 PyObject
* obj4
= 0 ;
13986 PyObject
* obj5
= 0 ;
13987 PyObject
* obj6
= 0 ;
13988 PyObject
* obj7
= 0 ;
13989 PyObject
* obj8
= 0 ;
13990 PyObject
* obj9
= 0 ;
13991 PyObject
* obj10
= 0 ;
13992 PyObject
* obj11
= 0 ;
13993 char *kwnames
[] = {
13994 (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
13997 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
;
13998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13999 if (SWIG_arg_fail(1)) SWIG_fail
;
14001 arg2
= (int)(SWIG_As_int(obj1
));
14002 if (SWIG_arg_fail(2)) SWIG_fail
;
14005 arg3
= (int)(SWIG_As_int(obj2
));
14006 if (SWIG_arg_fail(3)) SWIG_fail
;
14009 arg4
= (int)(SWIG_As_int(obj3
));
14010 if (SWIG_arg_fail(4)) SWIG_fail
;
14013 arg5
= (int)(SWIG_As_int(obj4
));
14014 if (SWIG_arg_fail(5)) SWIG_fail
;
14016 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14017 if (SWIG_arg_fail(6)) SWIG_fail
;
14019 arg7
= (int)(SWIG_As_int(obj6
));
14020 if (SWIG_arg_fail(7)) SWIG_fail
;
14023 arg8
= (int)(SWIG_As_int(obj7
));
14024 if (SWIG_arg_fail(8)) SWIG_fail
;
14028 arg9
= (int)(SWIG_As_int(obj8
));
14029 if (SWIG_arg_fail(9)) SWIG_fail
;
14034 arg10
= (bool)(SWIG_As_bool(obj9
));
14035 if (SWIG_arg_fail(10)) SWIG_fail
;
14040 arg11
= (int)(SWIG_As_int(obj10
));
14041 if (SWIG_arg_fail(11)) SWIG_fail
;
14046 arg12
= (int)(SWIG_As_int(obj11
));
14047 if (SWIG_arg_fail(12)) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14066 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxDC
*arg1
= (wxDC
*) 0 ;
14069 wxPoint
*arg2
= 0 ;
14071 wxDC
*arg4
= (wxDC
*) 0 ;
14072 wxPoint
*arg5
= 0 ;
14073 int arg6
= (int) wxCOPY
;
14074 bool arg7
= (bool) false ;
14075 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
14076 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
14082 PyObject
* obj0
= 0 ;
14083 PyObject
* obj1
= 0 ;
14084 PyObject
* obj2
= 0 ;
14085 PyObject
* obj3
= 0 ;
14086 PyObject
* obj4
= 0 ;
14087 PyObject
* obj5
= 0 ;
14088 PyObject
* obj6
= 0 ;
14089 PyObject
* obj7
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14096 if (SWIG_arg_fail(1)) SWIG_fail
;
14099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14103 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14105 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14106 if (SWIG_arg_fail(4)) SWIG_fail
;
14109 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14113 arg6
= (int)(SWIG_As_int(obj5
));
14114 if (SWIG_arg_fail(6)) SWIG_fail
;
14119 arg7
= (bool)(SWIG_As_bool(obj6
));
14120 if (SWIG_arg_fail(7)) SWIG_fail
;
14126 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14131 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14145 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
;
14147 wxDC
*arg1
= (wxDC
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 PyObject
* obj1
= 0 ;
14154 PyObject
* obj2
= 0 ;
14155 PyObject
* obj3
= 0 ;
14156 PyObject
* obj4
= 0 ;
14157 char *kwnames
[] = {
14158 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14163 if (SWIG_arg_fail(1)) SWIG_fail
;
14165 arg2
= (int)(SWIG_As_int(obj1
));
14166 if (SWIG_arg_fail(2)) SWIG_fail
;
14169 arg3
= (int)(SWIG_As_int(obj2
));
14170 if (SWIG_arg_fail(3)) SWIG_fail
;
14173 arg4
= (int)(SWIG_As_int(obj3
));
14174 if (SWIG_arg_fail(4)) SWIG_fail
;
14177 arg5
= (int)(SWIG_As_int(obj4
));
14178 if (SWIG_arg_fail(5)) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 Py_INCREF(Py_None
); resultobj
= Py_None
;
14194 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxDC
*arg1
= (wxDC
*) 0 ;
14197 wxPoint
*arg2
= 0 ;
14201 PyObject
* obj0
= 0 ;
14202 PyObject
* obj1
= 0 ;
14203 PyObject
* obj2
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self",(char *) "pt",(char *) "sz", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14210 if (SWIG_arg_fail(1)) SWIG_fail
;
14213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14217 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14226 Py_INCREF(Py_None
); resultobj
= Py_None
;
14233 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14234 PyObject
*resultobj
;
14235 wxDC
*arg1
= (wxDC
*) 0 ;
14236 wxRegion
*arg2
= 0 ;
14237 PyObject
* obj0
= 0 ;
14238 PyObject
* obj1
= 0 ;
14239 char *kwnames
[] = {
14240 (char *) "self",(char *) "region", NULL
14243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14245 if (SWIG_arg_fail(1)) SWIG_fail
;
14247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14248 if (SWIG_arg_fail(2)) SWIG_fail
;
14249 if (arg2
== NULL
) {
14250 SWIG_null_ref("wxRegion");
14252 if (SWIG_arg_fail(2)) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 Py_INCREF(Py_None
); resultobj
= Py_None
;
14268 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxDC
*arg1
= (wxDC
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 char *kwnames
[] = {
14276 (char *) "self",(char *) "rect", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14281 if (SWIG_arg_fail(1)) SWIG_fail
;
14284 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 Py_INCREF(Py_None
); resultobj
= Py_None
;
14300 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxDC
*arg1
= (wxDC
*) 0 ;
14304 wxPoint
*arg3
= (wxPoint
*) 0 ;
14305 int arg4
= (int) 0 ;
14306 int arg5
= (int) 0 ;
14307 PyObject
* obj0
= 0 ;
14308 PyObject
* obj1
= 0 ;
14309 PyObject
* obj2
= 0 ;
14310 PyObject
* obj3
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14317 if (SWIG_arg_fail(1)) SWIG_fail
;
14319 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14320 if (arg3
== NULL
) SWIG_fail
;
14324 arg4
= (int)(SWIG_As_int(obj2
));
14325 if (SWIG_arg_fail(4)) SWIG_fail
;
14330 arg5
= (int)(SWIG_As_int(obj3
));
14331 if (SWIG_arg_fail(5)) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 Py_INCREF(Py_None
); resultobj
= Py_None
;
14343 if (arg3
) delete [] arg3
;
14348 if (arg3
) delete [] arg3
;
14354 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxDC
*arg1
= (wxDC
*) 0 ;
14358 wxPoint
*arg3
= (wxPoint
*) 0 ;
14359 int arg4
= (int) 0 ;
14360 int arg5
= (int) 0 ;
14361 int arg6
= (int) wxODDEVEN_RULE
;
14362 PyObject
* obj0
= 0 ;
14363 PyObject
* obj1
= 0 ;
14364 PyObject
* obj2
= 0 ;
14365 PyObject
* obj3
= 0 ;
14366 PyObject
* obj4
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14373 if (SWIG_arg_fail(1)) SWIG_fail
;
14375 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14376 if (arg3
== NULL
) SWIG_fail
;
14380 arg4
= (int)(SWIG_As_int(obj2
));
14381 if (SWIG_arg_fail(4)) SWIG_fail
;
14386 arg5
= (int)(SWIG_As_int(obj3
));
14387 if (SWIG_arg_fail(5)) SWIG_fail
;
14392 arg6
= (int)(SWIG_As_int(obj4
));
14393 if (SWIG_arg_fail(6)) SWIG_fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 Py_INCREF(Py_None
); resultobj
= Py_None
;
14405 if (arg3
) delete [] arg3
;
14410 if (arg3
) delete [] arg3
;
14416 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxDC
*arg1
= (wxDC
*) 0 ;
14419 wxString
*arg2
= 0 ;
14421 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14422 int arg5
= (int) -1 ;
14423 bool temp2
= false ;
14425 PyObject
* obj0
= 0 ;
14426 PyObject
* obj1
= 0 ;
14427 PyObject
* obj2
= 0 ;
14428 PyObject
* obj3
= 0 ;
14429 PyObject
* obj4
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14436 if (SWIG_arg_fail(1)) SWIG_fail
;
14438 arg2
= wxString_in_helper(obj1
);
14439 if (arg2
== NULL
) SWIG_fail
;
14444 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
14448 arg4
= (int)(SWIG_As_int(obj3
));
14449 if (SWIG_arg_fail(4)) SWIG_fail
;
14454 arg5
= (int)(SWIG_As_int(obj4
));
14455 if (SWIG_arg_fail(5)) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 Py_INCREF(Py_None
); resultobj
= Py_None
;
14480 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
;
14482 wxDC
*arg1
= (wxDC
*) 0 ;
14483 wxString
*arg2
= 0 ;
14484 wxBitmap
*arg3
= 0 ;
14486 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14487 int arg6
= (int) -1 ;
14489 bool temp2
= false ;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 PyObject
* obj2
= 0 ;
14494 PyObject
* obj3
= 0 ;
14495 PyObject
* obj4
= 0 ;
14496 PyObject
* obj5
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14503 if (SWIG_arg_fail(1)) SWIG_fail
;
14505 arg2
= wxString_in_helper(obj1
);
14506 if (arg2
== NULL
) SWIG_fail
;
14510 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14511 if (SWIG_arg_fail(3)) SWIG_fail
;
14512 if (arg3
== NULL
) {
14513 SWIG_null_ref("wxBitmap");
14515 if (SWIG_arg_fail(3)) SWIG_fail
;
14519 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
14523 arg5
= (int)(SWIG_As_int(obj4
));
14524 if (SWIG_arg_fail(5)) SWIG_fail
;
14529 arg6
= (int)(SWIG_As_int(obj5
));
14530 if (SWIG_arg_fail(6)) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14541 wxRect
* resultptr
;
14542 resultptr
= new wxRect((wxRect
&)(result
));
14543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14559 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
;
14561 wxDC
*arg1
= (wxDC
*) 0 ;
14563 wxPoint
*arg3
= (wxPoint
*) 0 ;
14564 PyObject
* obj0
= 0 ;
14565 PyObject
* obj1
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self",(char *) "points", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
14571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14572 if (SWIG_arg_fail(1)) SWIG_fail
;
14574 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14575 if (arg3
== NULL
) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 (arg1
)->DrawSpline(arg2
,arg3
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 Py_INCREF(Py_None
); resultobj
= Py_None
;
14586 if (arg3
) delete [] arg3
;
14591 if (arg3
) delete [] arg3
;
14597 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
;
14599 wxDC
*arg1
= (wxDC
*) 0 ;
14600 PyObject
* obj0
= 0 ;
14601 char *kwnames
[] = {
14602 (char *) "self", NULL
14605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
14606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14607 if (SWIG_arg_fail(1)) SWIG_fail
;
14609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 wxPyEndAllowThreads(__tstate
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14615 Py_INCREF(Py_None
); resultobj
= Py_None
;
14622 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
;
14624 wxDC
*arg1
= (wxDC
*) 0 ;
14625 wxString
*arg2
= 0 ;
14627 bool temp2
= false ;
14628 PyObject
* obj0
= 0 ;
14629 PyObject
* obj1
= 0 ;
14630 char *kwnames
[] = {
14631 (char *) "self",(char *) "message", NULL
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
14635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14636 if (SWIG_arg_fail(1)) SWIG_fail
;
14638 arg2
= wxString_in_helper(obj1
);
14639 if (arg2
== NULL
) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14666 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxDC
*arg1
= (wxDC
*) 0 ;
14669 PyObject
* obj0
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
14675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14676 if (SWIG_arg_fail(1)) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 Py_INCREF(Py_None
); resultobj
= Py_None
;
14691 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxDC
*arg1
= (wxDC
*) 0 ;
14694 PyObject
* obj0
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
14700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14701 if (SWIG_arg_fail(1)) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 (arg1
)->StartPage();
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 Py_INCREF(Py_None
); resultobj
= Py_None
;
14716 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxDC
*arg1
= (wxDC
*) 0 ;
14719 PyObject
* obj0
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "self", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
14725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14726 if (SWIG_arg_fail(1)) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 Py_INCREF(Py_None
); resultobj
= Py_None
;
14741 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxDC
*arg1
= (wxDC
*) 0 ;
14745 PyObject
* obj0
= 0 ;
14746 PyObject
* obj1
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "self",(char *) "font", NULL
14751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14753 if (SWIG_arg_fail(1)) SWIG_fail
;
14755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14756 if (SWIG_arg_fail(2)) SWIG_fail
;
14757 if (arg2
== NULL
) {
14758 SWIG_null_ref("wxFont");
14760 if (SWIG_arg_fail(2)) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 (arg1
)->SetFont((wxFont
const &)*arg2
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 Py_INCREF(Py_None
); resultobj
= Py_None
;
14776 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxDC
*arg1
= (wxDC
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 PyObject
* obj1
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self",(char *) "pen", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14788 if (SWIG_arg_fail(1)) SWIG_fail
;
14790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
14791 if (SWIG_arg_fail(2)) SWIG_fail
;
14792 if (arg2
== NULL
) {
14793 SWIG_null_ref("wxPen");
14795 if (SWIG_arg_fail(2)) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 (arg1
)->SetPen((wxPen
const &)*arg2
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 Py_INCREF(Py_None
); resultobj
= Py_None
;
14811 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxDC
*arg1
= (wxDC
*) 0 ;
14814 wxBrush
*arg2
= 0 ;
14815 PyObject
* obj0
= 0 ;
14816 PyObject
* obj1
= 0 ;
14817 char *kwnames
[] = {
14818 (char *) "self",(char *) "brush", NULL
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14823 if (SWIG_arg_fail(1)) SWIG_fail
;
14825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14826 if (SWIG_arg_fail(2)) SWIG_fail
;
14827 if (arg2
== NULL
) {
14828 SWIG_null_ref("wxBrush");
14830 if (SWIG_arg_fail(2)) SWIG_fail
;
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14839 Py_INCREF(Py_None
); resultobj
= Py_None
;
14846 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
;
14848 wxDC
*arg1
= (wxDC
*) 0 ;
14849 wxBrush
*arg2
= 0 ;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self",(char *) "brush", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14858 if (SWIG_arg_fail(1)) SWIG_fail
;
14860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14861 if (SWIG_arg_fail(2)) SWIG_fail
;
14862 if (arg2
== NULL
) {
14863 SWIG_null_ref("wxBrush");
14865 if (SWIG_arg_fail(2)) SWIG_fail
;
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 Py_INCREF(Py_None
); resultobj
= Py_None
;
14881 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
;
14883 wxDC
*arg1
= (wxDC
*) 0 ;
14885 PyObject
* obj0
= 0 ;
14886 PyObject
* obj1
= 0 ;
14887 char *kwnames
[] = {
14888 (char *) "self",(char *) "mode", NULL
14891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14893 if (SWIG_arg_fail(1)) SWIG_fail
;
14895 arg2
= (int)(SWIG_As_int(obj1
));
14896 if (SWIG_arg_fail(2)) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 (arg1
)->SetBackgroundMode(arg2
);
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 Py_INCREF(Py_None
); resultobj
= Py_None
;
14912 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxDC
*arg1
= (wxDC
*) 0 ;
14915 wxPalette
*arg2
= 0 ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self",(char *) "palette", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
14923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14924 if (SWIG_arg_fail(1)) SWIG_fail
;
14926 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
14927 if (SWIG_arg_fail(2)) SWIG_fail
;
14928 if (arg2
== NULL
) {
14929 SWIG_null_ref("wxPalette");
14931 if (SWIG_arg_fail(2)) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 Py_INCREF(Py_None
); resultobj
= Py_None
;
14947 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxDC
*arg1
= (wxDC
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "self", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
14956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14957 if (SWIG_arg_fail(1)) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 (arg1
)->DestroyClippingRegion();
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 Py_INCREF(Py_None
); resultobj
= Py_None
;
14972 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxDC
*arg1
= (wxDC
*) 0 ;
14975 int *arg2
= (int *) 0 ;
14976 int *arg3
= (int *) 0 ;
14977 int *arg4
= (int *) 0 ;
14978 int *arg5
= (int *) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14992 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14993 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14994 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14995 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
14997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14998 if (SWIG_arg_fail(1)) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 Py_INCREF(Py_None
); resultobj
= Py_None
;
15007 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15008 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15009 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15010 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15011 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15012 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15013 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15014 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15021 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxDC
*arg1
= (wxDC
*) 0 ;
15025 PyObject
* obj0
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "self", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
15031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15032 if (SWIG_arg_fail(1)) SWIG_fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 result
= wxDC_GetClippingRect(arg1
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15041 wxRect
* resultptr
;
15042 resultptr
= new wxRect((wxRect
&)(result
));
15043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15051 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxDC
*arg1
= (wxDC
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
15061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15062 if (SWIG_arg_fail(1)) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= SWIG_From_int((int)(result
));
15079 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxDC
*arg1
= (wxDC
*) 0 ;
15083 PyObject
* obj0
= 0 ;
15084 char *kwnames
[] = {
15085 (char *) "self", NULL
15088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
15089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15090 if (SWIG_arg_fail(1)) SWIG_fail
;
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_From_int((int)(result
));
15107 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15108 PyObject
*resultobj
;
15109 wxDC
*arg1
= (wxDC
*) 0 ;
15110 wxString
*arg2
= 0 ;
15111 int *arg3
= (int *) 0 ;
15112 int *arg4
= (int *) 0 ;
15113 bool temp2
= false ;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "self",(char *) "string", NULL
15124 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15125 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15128 if (SWIG_arg_fail(1)) SWIG_fail
;
15130 arg2
= wxString_in_helper(obj1
);
15131 if (arg2
== NULL
) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 Py_INCREF(Py_None
); resultobj
= Py_None
;
15142 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15143 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15144 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15145 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15160 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
;
15162 wxDC
*arg1
= (wxDC
*) 0 ;
15163 wxString
*arg2
= 0 ;
15164 int *arg3
= (int *) 0 ;
15165 int *arg4
= (int *) 0 ;
15166 int *arg5
= (int *) 0 ;
15167 int *arg6
= (int *) 0 ;
15168 wxFont
*arg7
= (wxFont
*) NULL
;
15169 bool temp2
= false ;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 PyObject
* obj2
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self",(char *) "string",(char *) "font", NULL
15185 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15186 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15187 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15188 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15191 if (SWIG_arg_fail(1)) SWIG_fail
;
15193 arg2
= wxString_in_helper(obj1
);
15194 if (arg2
== NULL
) SWIG_fail
;
15198 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15199 if (SWIG_arg_fail(7)) SWIG_fail
;
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15208 Py_INCREF(Py_None
); resultobj
= Py_None
;
15209 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15210 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15211 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15212 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15213 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15214 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15215 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15216 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15231 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxDC
*arg1
= (wxDC
*) 0 ;
15234 wxString
*arg2
= 0 ;
15235 int *arg3
= (int *) 0 ;
15236 int *arg4
= (int *) 0 ;
15237 int *arg5
= (int *) 0 ;
15238 wxFont
*arg6
= (wxFont
*) NULL
;
15239 bool temp2
= false ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 PyObject
* obj2
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self",(char *) "text",(char *) "font", NULL
15253 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15254 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15255 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15258 if (SWIG_arg_fail(1)) SWIG_fail
;
15260 arg2
= wxString_in_helper(obj1
);
15261 if (arg2
== NULL
) SWIG_fail
;
15265 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15266 if (SWIG_arg_fail(6)) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 Py_INCREF(Py_None
); resultobj
= Py_None
;
15276 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15277 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15278 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15279 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15280 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15281 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15296 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 wxDC
*arg1
= (wxDC
*) 0 ;
15299 wxString
*arg2
= 0 ;
15301 bool temp2
= false ;
15302 PyObject
* obj0
= 0 ;
15303 PyObject
* obj1
= 0 ;
15304 char *kwnames
[] = {
15305 (char *) "self",(char *) "text", NULL
15308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15310 if (SWIG_arg_fail(1)) SWIG_fail
;
15312 arg2
= wxString_in_helper(obj1
);
15313 if (arg2
== NULL
) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= PyList_New(0);
15326 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15327 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15328 PyList_Append(resultobj
, val
);
15346 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxDC
*arg1
= (wxDC
*) 0 ;
15350 PyObject
* obj0
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15357 if (SWIG_arg_fail(1)) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (arg1
)->GetSize();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15366 wxSize
* resultptr
;
15367 resultptr
= new wxSize((wxSize
&)(result
));
15368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15376 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxDC
*arg1
= (wxDC
*) 0 ;
15379 int *arg2
= (int *) 0 ;
15380 int *arg3
= (int *) 0 ;
15385 PyObject
* obj0
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self", NULL
15390 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15391 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15394 if (SWIG_arg_fail(1)) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 (arg1
)->GetSize(arg2
,arg3
);
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 Py_INCREF(Py_None
); resultobj
= Py_None
;
15403 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15404 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15405 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15406 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15413 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxDC
*arg1
= (wxDC
*) 0 ;
15417 PyObject
* obj0
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "self", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
15423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15424 if (SWIG_arg_fail(1)) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= ((wxDC
const *)arg1
)->GetSizeMM();
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15433 wxSize
* resultptr
;
15434 resultptr
= new wxSize((wxSize
&)(result
));
15435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15443 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 wxDC
*arg1
= (wxDC
*) 0 ;
15446 int *arg2
= (int *) 0 ;
15447 int *arg3
= (int *) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self", NULL
15457 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15458 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
15460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 Py_INCREF(Py_None
); resultobj
= Py_None
;
15470 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15471 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15472 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15473 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15480 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxDC
*arg1
= (wxDC
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 PyObject
* obj1
= 0 ;
15487 char *kwnames
[] = {
15488 (char *) "self",(char *) "x", NULL
15491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
15492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15493 if (SWIG_arg_fail(1)) SWIG_fail
;
15495 arg2
= (int)(SWIG_As_int(obj1
));
15496 if (SWIG_arg_fail(2)) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= SWIG_From_int((int)(result
));
15514 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxDC
*arg1
= (wxDC
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self",(char *) "y", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
15526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15527 if (SWIG_arg_fail(1)) SWIG_fail
;
15529 arg2
= (int)(SWIG_As_int(obj1
));
15530 if (SWIG_arg_fail(2)) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15540 resultobj
= SWIG_From_int((int)(result
));
15548 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
;
15550 wxDC
*arg1
= (wxDC
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 PyObject
* obj1
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self",(char *) "x", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail
;
15563 arg2
= (int)(SWIG_As_int(obj1
));
15564 if (SWIG_arg_fail(2)) SWIG_fail
;
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
15570 wxPyEndAllowThreads(__tstate
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= SWIG_From_int((int)(result
));
15582 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxDC
*arg1
= (wxDC
*) 0 ;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self",(char *) "y", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail
;
15597 arg2
= (int)(SWIG_As_int(obj1
));
15598 if (SWIG_arg_fail(2)) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_From_int((int)(result
));
15616 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxDC
*arg1
= (wxDC
*) 0 ;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self",(char *) "x", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
15628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15629 if (SWIG_arg_fail(1)) SWIG_fail
;
15631 arg2
= (int)(SWIG_As_int(obj1
));
15632 if (SWIG_arg_fail(2)) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= SWIG_From_int((int)(result
));
15650 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxDC
*arg1
= (wxDC
*) 0 ;
15655 PyObject
* obj0
= 0 ;
15656 PyObject
* obj1
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self",(char *) "y", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
15662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15663 if (SWIG_arg_fail(1)) SWIG_fail
;
15665 arg2
= (int)(SWIG_As_int(obj1
));
15666 if (SWIG_arg_fail(2)) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= SWIG_From_int((int)(result
));
15684 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxDC
*arg1
= (wxDC
*) 0 ;
15689 PyObject
* obj0
= 0 ;
15690 PyObject
* obj1
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "self",(char *) "x", NULL
15695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15697 if (SWIG_arg_fail(1)) SWIG_fail
;
15699 arg2
= (int)(SWIG_As_int(obj1
));
15700 if (SWIG_arg_fail(2)) SWIG_fail
;
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_From_int((int)(result
));
15718 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxDC
*arg1
= (wxDC
*) 0 ;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 char *kwnames
[] = {
15726 (char *) "self",(char *) "y", NULL
15729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15731 if (SWIG_arg_fail(1)) SWIG_fail
;
15733 arg2
= (int)(SWIG_As_int(obj1
));
15734 if (SWIG_arg_fail(2)) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= SWIG_From_int((int)(result
));
15752 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxDC
*arg1
= (wxDC
*) 0 ;
15756 PyObject
* obj0
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "self", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
15762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15763 if (SWIG_arg_fail(1)) SWIG_fail
;
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15780 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
;
15782 wxDC
*arg1
= (wxDC
*) 0 ;
15784 PyObject
* obj0
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "self", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
15790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15791 if (SWIG_arg_fail(1)) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15808 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxDC
*arg1
= (wxDC
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
15818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15819 if (SWIG_arg_fail(1)) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (int)((wxDC
const *)arg1
)->GetDepth();
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15828 resultobj
= SWIG_From_int((int)(result
));
15836 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxDC
*arg1
= (wxDC
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
15846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15847 if (SWIG_arg_fail(1)) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= ((wxDC
const *)arg1
)->GetPPI();
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15856 wxSize
* resultptr
;
15857 resultptr
= new wxSize((wxSize
&)(result
));
15858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15866 static PyObject
*_wrap_DC_Ok(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_Ok",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();
15880 result
= (bool)((wxDC
const *)arg1
)->Ok();
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15894 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxDC
*arg1
= (wxDC
*) 0 ;
15898 PyObject
* obj0
= 0 ;
15899 char *kwnames
[] = {
15900 (char *) "self", NULL
15903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
15904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15905 if (SWIG_arg_fail(1)) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= SWIG_From_int((int)(result
));
15922 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15923 PyObject
*resultobj
;
15924 wxDC
*arg1
= (wxDC
*) 0 ;
15926 PyObject
* obj0
= 0 ;
15927 char *kwnames
[] = {
15928 (char *) "self", NULL
15931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
15932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15933 if (SWIG_arg_fail(1)) SWIG_fail
;
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
15938 result
= (wxBrush
*) &_result_ref
;
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 wxBrush
* resultptr
= new wxBrush(*result
);
15946 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15954 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxDC
*arg1
= (wxDC
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
15964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15965 if (SWIG_arg_fail(1)) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
15970 result
= (wxBrush
*) &_result_ref
;
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15977 wxBrush
* resultptr
= new wxBrush(*result
);
15978 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15986 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxDC
*arg1
= (wxDC
*) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
15996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15997 if (SWIG_arg_fail(1)) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
16002 result
= (wxFont
*) &_result_ref
;
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16009 wxFont
* resultptr
= new wxFont(*result
);
16010 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16018 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxDC
*arg1
= (wxDC
*) 0 ;
16022 PyObject
* obj0
= 0 ;
16023 char *kwnames
[] = {
16024 (char *) "self", NULL
16027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
16028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16029 if (SWIG_arg_fail(1)) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
16034 result
= (wxPen
*) &_result_ref
;
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16041 wxPen
* resultptr
= new wxPen(*result
);
16042 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
16050 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
;
16052 wxDC
*arg1
= (wxDC
*) 0 ;
16054 PyObject
* obj0
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
16060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16061 if (SWIG_arg_fail(1)) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
16066 result
= (wxColour
*) &_result_ref
;
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16079 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxDC
*arg1
= (wxDC
*) 0 ;
16083 PyObject
* obj0
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
16089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16090 if (SWIG_arg_fail(1)) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
16095 result
= (wxColour
*) &_result_ref
;
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16108 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxDC
*arg1
= (wxDC
*) 0 ;
16111 wxColour
*arg2
= 0 ;
16113 PyObject
* obj0
= 0 ;
16114 PyObject
* obj1
= 0 ;
16115 char *kwnames
[] = {
16116 (char *) "self",(char *) "colour", NULL
16119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16121 if (SWIG_arg_fail(1)) SWIG_fail
;
16124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 Py_INCREF(Py_None
); resultobj
= Py_None
;
16140 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxDC
*arg1
= (wxDC
*) 0 ;
16143 wxColour
*arg2
= 0 ;
16145 PyObject
* obj0
= 0 ;
16146 PyObject
* obj1
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self",(char *) "colour", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16153 if (SWIG_arg_fail(1)) SWIG_fail
;
16156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16165 Py_INCREF(Py_None
); resultobj
= Py_None
;
16172 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxDC
*arg1
= (wxDC
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16183 if (SWIG_arg_fail(1)) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= SWIG_From_int((int)(result
));
16200 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxDC
*arg1
= (wxDC
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self",(char *) "mode", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16212 if (SWIG_arg_fail(1)) SWIG_fail
;
16214 arg2
= (int)(SWIG_As_int(obj1
));
16215 if (SWIG_arg_fail(2)) SWIG_fail
;
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 (arg1
)->SetMapMode(arg2
);
16221 wxPyEndAllowThreads(__tstate
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16224 Py_INCREF(Py_None
); resultobj
= Py_None
;
16231 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxDC
*arg1
= (wxDC
*) 0 ;
16234 double *arg2
= (double *) 0 ;
16235 double *arg3
= (double *) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "self", NULL
16245 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16246 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16249 if (SWIG_arg_fail(1)) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 Py_INCREF(Py_None
); resultobj
= Py_None
;
16258 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16259 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16260 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16261 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16268 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
;
16270 wxDC
*arg1
= (wxDC
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 PyObject
* obj1
= 0 ;
16275 PyObject
* obj2
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self",(char *) "x",(char *) "y", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16282 if (SWIG_arg_fail(1)) SWIG_fail
;
16284 arg2
= (double)(SWIG_As_double(obj1
));
16285 if (SWIG_arg_fail(2)) SWIG_fail
;
16288 arg3
= (double)(SWIG_As_double(obj2
));
16289 if (SWIG_arg_fail(3)) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 (arg1
)->SetUserScale(arg2
,arg3
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 Py_INCREF(Py_None
); resultobj
= Py_None
;
16305 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxDC
*arg1
= (wxDC
*) 0 ;
16308 double *arg2
= (double *) 0 ;
16309 double *arg3
= (double *) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 char *kwnames
[] = {
16316 (char *) "self", NULL
16319 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16320 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16323 if (SWIG_arg_fail(1)) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 (arg1
)->GetLogicalScale(arg2
,arg3
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 Py_INCREF(Py_None
); resultobj
= Py_None
;
16332 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16333 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16334 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16335 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16342 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxDC
*arg1
= (wxDC
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj1
= 0 ;
16349 PyObject
* obj2
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self",(char *) "x",(char *) "y", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16356 if (SWIG_arg_fail(1)) SWIG_fail
;
16358 arg2
= (double)(SWIG_As_double(obj1
));
16359 if (SWIG_arg_fail(2)) SWIG_fail
;
16362 arg3
= (double)(SWIG_As_double(obj2
));
16363 if (SWIG_arg_fail(3)) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 (arg1
)->SetLogicalScale(arg2
,arg3
);
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16372 Py_INCREF(Py_None
); resultobj
= Py_None
;
16379 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxDC
*arg1
= (wxDC
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16390 if (SWIG_arg_fail(1)) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 wxPoint
* resultptr
;
16400 resultptr
= new wxPoint((wxPoint
&)(result
));
16401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16409 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxDC
*arg1
= (wxDC
*) 0 ;
16412 int *arg2
= (int *) 0 ;
16413 int *arg3
= (int *) 0 ;
16418 PyObject
* obj0
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self", NULL
16423 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16424 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
16426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16427 if (SWIG_arg_fail(1)) SWIG_fail
;
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 Py_INCREF(Py_None
); resultobj
= Py_None
;
16436 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16437 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16438 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16439 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16446 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxDC
*arg1
= (wxDC
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 PyObject
* obj2
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self",(char *) "x",(char *) "y", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16460 if (SWIG_arg_fail(1)) SWIG_fail
;
16462 arg2
= (int)(SWIG_As_int(obj1
));
16463 if (SWIG_arg_fail(2)) SWIG_fail
;
16466 arg3
= (int)(SWIG_As_int(obj2
));
16467 if (SWIG_arg_fail(3)) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 Py_INCREF(Py_None
); resultobj
= Py_None
;
16483 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxDC
*arg1
= (wxDC
*) 0 ;
16486 wxPoint
*arg2
= 0 ;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self",(char *) "point", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16496 if (SWIG_arg_fail(1)) SWIG_fail
;
16499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 Py_INCREF(Py_None
); resultobj
= Py_None
;
16515 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxDC
*arg1
= (wxDC
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
16525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16526 if (SWIG_arg_fail(1)) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 wxPoint
* resultptr
;
16536 resultptr
= new wxPoint((wxPoint
&)(result
));
16537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16545 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxDC
*arg1
= (wxDC
*) 0 ;
16548 int *arg2
= (int *) 0 ;
16549 int *arg3
= (int *) 0 ;
16554 PyObject
* obj0
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "self", NULL
16559 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16560 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
16562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16563 if (SWIG_arg_fail(1)) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 Py_INCREF(Py_None
); resultobj
= Py_None
;
16572 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16573 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16574 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16575 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16582 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxDC
*arg1
= (wxDC
*) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 PyObject
* obj2
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self",(char *) "x",(char *) "y", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16596 if (SWIG_arg_fail(1)) SWIG_fail
;
16598 arg2
= (int)(SWIG_As_int(obj1
));
16599 if (SWIG_arg_fail(2)) SWIG_fail
;
16602 arg3
= (int)(SWIG_As_int(obj2
));
16603 if (SWIG_arg_fail(3)) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 Py_INCREF(Py_None
); resultobj
= Py_None
;
16619 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxDC
*arg1
= (wxDC
*) 0 ;
16622 wxPoint
*arg2
= 0 ;
16624 PyObject
* obj0
= 0 ;
16625 PyObject
* obj1
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self",(char *) "point", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16632 if (SWIG_arg_fail(1)) SWIG_fail
;
16635 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 Py_INCREF(Py_None
); resultobj
= Py_None
;
16651 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxDC
*arg1
= (wxDC
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 PyObject
* obj2
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16665 if (SWIG_arg_fail(1)) SWIG_fail
;
16667 arg2
= (bool)(SWIG_As_bool(obj1
));
16668 if (SWIG_arg_fail(2)) SWIG_fail
;
16671 arg3
= (bool)(SWIG_As_bool(obj2
));
16672 if (SWIG_arg_fail(3)) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 (arg1
)->SetAxisOrientation(arg2
,arg3
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 Py_INCREF(Py_None
); resultobj
= Py_None
;
16688 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxDC
*arg1
= (wxDC
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
16698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16699 if (SWIG_arg_fail(1)) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= SWIG_From_int((int)(result
));
16716 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxDC
*arg1
= (wxDC
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "function", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
16727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16728 if (SWIG_arg_fail(1)) SWIG_fail
;
16730 arg2
= (int)(SWIG_As_int(obj1
));
16731 if (SWIG_arg_fail(2)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 (arg1
)->SetLogicalFunction(arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxDC
*arg1
= (wxDC
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "self", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",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 (arg1
)->ComputeScaleAndOrigin();
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 Py_INCREF(Py_None
); resultobj
= Py_None
;
16772 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxDC
*arg1
= (wxDC
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 PyObject
* obj1
= 0 ;
16779 PyObject
* obj2
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "self",(char *) "x",(char *) "y", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16786 if (SWIG_arg_fail(1)) SWIG_fail
;
16788 arg2
= (int)(SWIG_As_int(obj1
));
16789 if (SWIG_arg_fail(2)) SWIG_fail
;
16792 arg3
= (int)(SWIG_As_int(obj2
));
16793 if (SWIG_arg_fail(3)) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 (arg1
)->CalcBoundingBox(arg2
,arg3
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 Py_INCREF(Py_None
); resultobj
= Py_None
;
16809 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxDC
*arg1
= (wxDC
*) 0 ;
16812 wxPoint
*arg2
= 0 ;
16814 PyObject
* obj0
= 0 ;
16815 PyObject
* obj1
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self",(char *) "point", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16822 if (SWIG_arg_fail(1)) SWIG_fail
;
16825 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 Py_INCREF(Py_None
); resultobj
= Py_None
;
16841 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxDC
*arg1
= (wxDC
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
16850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16851 if (SWIG_arg_fail(1)) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 (arg1
)->ResetBoundingBox();
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 Py_INCREF(Py_None
); resultobj
= Py_None
;
16866 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 wxDC
*arg1
= (wxDC
*) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
16876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16877 if (SWIG_arg_fail(1)) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 result
= (int)((wxDC
const *)arg1
)->MinX();
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16886 resultobj
= SWIG_From_int((int)(result
));
16894 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxDC
*arg1
= (wxDC
*) 0 ;
16898 PyObject
* obj0
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "self", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
16904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16905 if (SWIG_arg_fail(1)) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 result
= (int)((wxDC
const *)arg1
)->MaxX();
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16914 resultobj
= SWIG_From_int((int)(result
));
16922 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxDC
*arg1
= (wxDC
*) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 char *kwnames
[] = {
16928 (char *) "self", NULL
16931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
16932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16933 if (SWIG_arg_fail(1)) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (int)((wxDC
const *)arg1
)->MinY();
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_From_int((int)(result
));
16950 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxDC
*arg1
= (wxDC
*) 0 ;
16954 PyObject
* obj0
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
16960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16961 if (SWIG_arg_fail(1)) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (int)((wxDC
const *)arg1
)->MaxY();
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= SWIG_From_int((int)(result
));
16978 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxDC
*arg1
= (wxDC
*) 0 ;
16981 int *arg2
= (int *) 0 ;
16982 int *arg3
= (int *) 0 ;
16983 int *arg4
= (int *) 0 ;
16984 int *arg5
= (int *) 0 ;
16993 PyObject
* obj0
= 0 ;
16994 char *kwnames
[] = {
16995 (char *) "self", NULL
16998 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16999 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17000 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17001 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
17003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17004 if (SWIG_arg_fail(1)) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17012 Py_INCREF(Py_None
); resultobj
= Py_None
;
17013 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17014 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17015 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17016 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17017 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17018 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17019 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
17020 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
17027 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxDC
*arg1
= (wxDC
*) 0 ;
17030 PyObject
*arg2
= (PyObject
*) 0 ;
17031 PyObject
*arg3
= (PyObject
*) 0 ;
17032 PyObject
*arg4
= (PyObject
*) 0 ;
17034 PyObject
* obj0
= 0 ;
17035 PyObject
* obj1
= 0 ;
17036 PyObject
* obj2
= 0 ;
17037 PyObject
* obj3
= 0 ;
17038 char *kwnames
[] = {
17039 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17044 if (SWIG_arg_fail(1)) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 resultobj
= result
;
17062 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxDC
*arg1
= (wxDC
*) 0 ;
17065 PyObject
*arg2
= (PyObject
*) 0 ;
17066 PyObject
*arg3
= (PyObject
*) 0 ;
17067 PyObject
*arg4
= (PyObject
*) 0 ;
17069 PyObject
* obj0
= 0 ;
17070 PyObject
* obj1
= 0 ;
17071 PyObject
* obj2
= 0 ;
17072 PyObject
* obj3
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17079 if (SWIG_arg_fail(1)) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= result
;
17097 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
;
17099 wxDC
*arg1
= (wxDC
*) 0 ;
17100 PyObject
*arg2
= (PyObject
*) 0 ;
17101 PyObject
*arg3
= (PyObject
*) 0 ;
17102 PyObject
*arg4
= (PyObject
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 PyObject
* obj2
= 0 ;
17107 PyObject
* obj3
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17114 if (SWIG_arg_fail(1)) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= result
;
17132 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxDC
*arg1
= (wxDC
*) 0 ;
17135 PyObject
*arg2
= (PyObject
*) 0 ;
17136 PyObject
*arg3
= (PyObject
*) 0 ;
17137 PyObject
*arg4
= (PyObject
*) 0 ;
17139 PyObject
* obj0
= 0 ;
17140 PyObject
* obj1
= 0 ;
17141 PyObject
* obj2
= 0 ;
17142 PyObject
* obj3
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17149 if (SWIG_arg_fail(1)) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= result
;
17167 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxDC
*arg1
= (wxDC
*) 0 ;
17170 PyObject
*arg2
= (PyObject
*) 0 ;
17171 PyObject
*arg3
= (PyObject
*) 0 ;
17172 PyObject
*arg4
= (PyObject
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 PyObject
* obj2
= 0 ;
17177 PyObject
* obj3
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17184 if (SWIG_arg_fail(1)) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= result
;
17202 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 wxDC
*arg1
= (wxDC
*) 0 ;
17205 PyObject
*arg2
= (PyObject
*) 0 ;
17206 PyObject
*arg3
= (PyObject
*) 0 ;
17207 PyObject
*arg4
= (PyObject
*) 0 ;
17208 PyObject
*arg5
= (PyObject
*) 0 ;
17210 PyObject
* obj0
= 0 ;
17211 PyObject
* obj1
= 0 ;
17212 PyObject
* obj2
= 0 ;
17213 PyObject
* obj3
= 0 ;
17214 PyObject
* obj4
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17221 if (SWIG_arg_fail(1)) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17233 resultobj
= result
;
17240 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17243 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17245 return Py_BuildValue((char *)"");
17247 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxMemoryDC
*result
;
17250 char *kwnames
[] = {
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17256 if (!wxPyCheckForApp()) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 result
= (wxMemoryDC
*)new wxMemoryDC();
17260 wxPyEndAllowThreads(__tstate
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17270 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxDC
*arg1
= (wxDC
*) 0 ;
17273 wxMemoryDC
*result
;
17274 PyObject
* obj0
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "oldDC", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17281 if (SWIG_arg_fail(1)) SWIG_fail
;
17283 if (!wxPyCheckForApp()) SWIG_fail
;
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17297 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17300 wxBitmap
*arg2
= 0 ;
17301 PyObject
* obj0
= 0 ;
17302 PyObject
* obj1
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self",(char *) "bitmap", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17309 if (SWIG_arg_fail(1)) SWIG_fail
;
17311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17312 if (SWIG_arg_fail(2)) SWIG_fail
;
17313 if (arg2
== NULL
) {
17314 SWIG_null_ref("wxBitmap");
17316 if (SWIG_arg_fail(2)) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 Py_INCREF(Py_None
); resultobj
= Py_None
;
17332 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17335 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17337 return Py_BuildValue((char *)"");
17339 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17340 PyObject
*resultobj
;
17341 wxDC
*arg1
= (wxDC
*) 0 ;
17342 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17343 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17344 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17345 wxBufferedDC
*result
;
17346 PyObject
* obj0
= 0 ;
17347 PyObject
* obj1
= 0 ;
17348 PyObject
* obj2
= 0 ;
17350 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17352 if (SWIG_arg_fail(1)) SWIG_fail
;
17355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17356 if (SWIG_arg_fail(2)) SWIG_fail
;
17357 if (arg2
== NULL
) {
17358 SWIG_null_ref("wxBitmap");
17360 if (SWIG_arg_fail(2)) SWIG_fail
;
17365 arg3
= (int)(SWIG_As_int(obj2
));
17366 if (SWIG_arg_fail(3)) SWIG_fail
;
17370 if (!wxPyCheckForApp()) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17384 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
17385 PyObject
*resultobj
;
17386 wxDC
*arg1
= (wxDC
*) 0 ;
17388 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17389 wxBufferedDC
*result
;
17391 PyObject
* obj0
= 0 ;
17392 PyObject
* obj1
= 0 ;
17393 PyObject
* obj2
= 0 ;
17395 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17397 if (SWIG_arg_fail(1)) SWIG_fail
;
17400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17404 arg3
= (int)(SWIG_As_int(obj2
));
17405 if (SWIG_arg_fail(3)) SWIG_fail
;
17409 if (!wxPyCheckForApp()) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17423 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
17428 argc
= PyObject_Length(args
);
17429 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
17430 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17432 if ((argc
>= 1) && (argc
<= 3)) {
17436 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17445 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17449 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
17458 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17460 _v
= SWIG_Check_int(argv
[2]);
17462 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17467 if ((argc
>= 2) && (argc
<= 3)) {
17471 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17480 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
17484 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17486 _v
= SWIG_Check_int(argv
[2]);
17488 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17494 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
17499 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17502 PyObject
* obj0
= 0 ;
17503 char *kwnames
[] = {
17504 (char *) "self", NULL
17507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
17508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17509 if (SWIG_arg_fail(1)) SWIG_fail
;
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 Py_INCREF(Py_None
); resultobj
= Py_None
;
17524 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17527 PyObject
* obj0
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
17533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17534 if (SWIG_arg_fail(1)) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 Py_INCREF(Py_None
); resultobj
= Py_None
;
17549 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
17551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17552 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
17554 return Py_BuildValue((char *)"");
17556 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxWindow
*arg1
= (wxWindow
*) 0 ;
17559 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17560 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17561 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17562 wxBufferedPaintDC
*result
;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 PyObject
* obj2
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "window",(char *) "buffer",(char *) "style", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17572 if (SWIG_arg_fail(1)) SWIG_fail
;
17575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17576 if (SWIG_arg_fail(2)) SWIG_fail
;
17577 if (arg2
== NULL
) {
17578 SWIG_null_ref("wxBitmap");
17580 if (SWIG_arg_fail(2)) SWIG_fail
;
17585 arg3
= (int)(SWIG_As_int(obj2
));
17586 if (SWIG_arg_fail(3)) SWIG_fail
;
17590 if (!wxPyCheckForApp()) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
17604 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
17606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17607 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
17609 return Py_BuildValue((char *)"");
17611 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17612 PyObject
*resultobj
;
17613 wxScreenDC
*result
;
17614 char *kwnames
[] = {
17618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
17620 if (!wxPyCheckForApp()) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (wxScreenDC
*)new wxScreenDC();
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
17634 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17637 wxWindow
*arg2
= (wxWindow
*) 0 ;
17639 PyObject
* obj0
= 0 ;
17640 PyObject
* obj1
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self",(char *) "window", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
17646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17647 if (SWIG_arg_fail(1)) SWIG_fail
;
17648 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17649 if (SWIG_arg_fail(2)) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17666 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17669 wxRect
*arg2
= (wxRect
*) NULL
;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self",(char *) "rect", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
17678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17679 if (SWIG_arg_fail(1)) SWIG_fail
;
17681 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
17682 if (SWIG_arg_fail(2)) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17700 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17704 PyObject
* obj0
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
17710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17711 if (SWIG_arg_fail(1)) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (bool)(arg1
)->EndDrawingOnTop();
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17728 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
17730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17731 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
17733 return Py_BuildValue((char *)"");
17735 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxWindow
*arg1
= (wxWindow
*) 0 ;
17738 wxClientDC
*result
;
17739 PyObject
* obj0
= 0 ;
17740 char *kwnames
[] = {
17741 (char *) "win", NULL
17744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
17745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17746 if (SWIG_arg_fail(1)) SWIG_fail
;
17748 if (!wxPyCheckForApp()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (wxClientDC
*)new wxClientDC(arg1
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
17762 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
17764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17765 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
17767 return Py_BuildValue((char *)"");
17769 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxWindow
*arg1
= (wxWindow
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "win", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
17779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17780 if (SWIG_arg_fail(1)) SWIG_fail
;
17782 if (!wxPyCheckForApp()) SWIG_fail
;
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
17796 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
17798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17799 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
17801 return Py_BuildValue((char *)"");
17803 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxWindow
*arg1
= (wxWindow
*) 0 ;
17806 wxWindowDC
*result
;
17807 PyObject
* obj0
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "win", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
17813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17814 if (SWIG_arg_fail(1)) SWIG_fail
;
17816 if (!wxPyCheckForApp()) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
17830 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
17832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17833 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
17835 return Py_BuildValue((char *)"");
17837 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17841 wxMirrorDC
*result
;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "dc",(char *) "mirror", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17851 if (SWIG_arg_fail(1)) SWIG_fail
;
17852 if (arg1
== NULL
) {
17853 SWIG_null_ref("wxDC");
17855 if (SWIG_arg_fail(1)) SWIG_fail
;
17858 arg2
= (bool)(SWIG_As_bool(obj1
));
17859 if (SWIG_arg_fail(2)) SWIG_fail
;
17862 if (!wxPyCheckForApp()) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
17876 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
17878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17879 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
17881 return Py_BuildValue((char *)"");
17883 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
;
17885 wxPrintData
*arg1
= 0 ;
17886 wxPostScriptDC
*result
;
17887 PyObject
* obj0
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "printData", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
17894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17895 if (SWIG_arg_fail(1)) SWIG_fail
;
17896 if (arg1
== NULL
) {
17897 SWIG_null_ref("wxPrintData");
17899 if (SWIG_arg_fail(1)) SWIG_fail
;
17902 if (!wxPyCheckForApp()) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
17916 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17919 wxPrintData
*result
;
17920 PyObject
* obj0
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
17926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17927 if (SWIG_arg_fail(1)) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17932 result
= (wxPrintData
*) &_result_ref
;
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
17945 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17948 wxPrintData
*arg2
= 0 ;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self",(char *) "data", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17957 if (SWIG_arg_fail(1)) SWIG_fail
;
17959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17960 if (SWIG_arg_fail(2)) SWIG_fail
;
17961 if (arg2
== NULL
) {
17962 SWIG_null_ref("wxPrintData");
17964 if (SWIG_arg_fail(2)) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 Py_INCREF(Py_None
); resultobj
= Py_None
;
17980 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17983 PyObject
* obj0
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "ppi", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
17990 arg1
= (int)(SWIG_As_int(obj0
));
17991 if (SWIG_arg_fail(1)) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 wxPostScriptDC::SetResolution(arg1
);
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 Py_INCREF(Py_None
); resultobj
= Py_None
;
18007 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18010 char *kwnames
[] = {
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (int)wxPostScriptDC::GetResolution();
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= SWIG_From_int((int)(result
));
18031 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
18033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18034 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
18036 return Py_BuildValue((char *)"");
18038 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18041 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18042 wxMetaFile
*result
;
18043 bool temp1
= false ;
18044 PyObject
* obj0
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "filename", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
18052 arg1
= wxString_in_helper(obj0
);
18053 if (arg1
== NULL
) SWIG_fail
;
18058 if (!wxPyCheckForApp()) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
18080 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18083 PyObject
* obj0
= 0 ;
18084 char *kwnames
[] = {
18085 (char *) "self", NULL
18088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
18089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18090 if (SWIG_arg_fail(1)) SWIG_fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 Py_INCREF(Py_None
); resultobj
= Py_None
;
18105 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
18115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18116 if (SWIG_arg_fail(1)) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (bool)(arg1
)->Ok();
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18133 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18136 int arg2
= (int) 0 ;
18137 int arg3
= (int) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 PyObject
* obj1
= 0 ;
18141 PyObject
* obj2
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self",(char *) "width",(char *) "height", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18148 if (SWIG_arg_fail(1)) SWIG_fail
;
18151 arg2
= (int)(SWIG_As_int(obj1
));
18152 if (SWIG_arg_fail(2)) SWIG_fail
;
18157 arg3
= (int)(SWIG_As_int(obj2
));
18158 if (SWIG_arg_fail(3)) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18177 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
;
18179 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18181 PyObject
* obj0
= 0 ;
18182 char *kwnames
[] = {
18183 (char *) "self", NULL
18186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
18187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18188 if (SWIG_arg_fail(1)) SWIG_fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= (arg1
)->GetSize();
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18197 wxSize
* resultptr
;
18198 resultptr
= new wxSize((wxSize
&)(result
));
18199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18207 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18211 PyObject
* obj0
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
18217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18218 if (SWIG_arg_fail(1)) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (int)(arg1
)->GetWidth();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18227 resultobj
= SWIG_From_int((int)(result
));
18235 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
18245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18246 if (SWIG_arg_fail(1)) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (int)(arg1
)->GetHeight();
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_From_int((int)(result
));
18263 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
18265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18266 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
18268 return Py_BuildValue((char *)"");
18270 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18273 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18274 int arg2
= (int) 0 ;
18275 int arg3
= (int) 0 ;
18276 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18277 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18278 wxMetaFileDC
*result
;
18279 bool temp1
= false ;
18280 bool temp4
= false ;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 PyObject
* obj2
= 0 ;
18284 PyObject
* obj3
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18292 arg1
= wxString_in_helper(obj0
);
18293 if (arg1
== NULL
) SWIG_fail
;
18299 arg2
= (int)(SWIG_As_int(obj1
));
18300 if (SWIG_arg_fail(2)) SWIG_fail
;
18305 arg3
= (int)(SWIG_As_int(obj2
));
18306 if (SWIG_arg_fail(3)) SWIG_fail
;
18311 arg4
= wxString_in_helper(obj3
);
18312 if (arg4
== NULL
) SWIG_fail
;
18317 if (!wxPyCheckForApp()) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
18347 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
18350 wxMetaFile
*result
;
18351 PyObject
* obj0
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
18357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION
| 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 result
= (wxMetaFile
*)(arg1
)->Close();
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
18373 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
18375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18376 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
18378 return Py_BuildValue((char *)"");
18380 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
;
18382 wxPrintData
*arg1
= 0 ;
18383 wxPrinterDC
*result
;
18384 PyObject
* obj0
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "printData", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
18391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18392 if (SWIG_arg_fail(1)) SWIG_fail
;
18393 if (arg1
== NULL
) {
18394 SWIG_null_ref("wxPrintData");
18396 if (SWIG_arg_fail(1)) SWIG_fail
;
18399 if (!wxPyCheckForApp()) SWIG_fail
;
18400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
18413 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
18415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18416 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
18418 return Py_BuildValue((char *)"");
18420 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18424 int arg3
= (int) true ;
18425 int arg4
= (int) 1 ;
18426 wxImageList
*result
;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 PyObject
* obj2
= 0 ;
18430 PyObject
* obj3
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18437 arg1
= (int)(SWIG_As_int(obj0
));
18438 if (SWIG_arg_fail(1)) SWIG_fail
;
18441 arg2
= (int)(SWIG_As_int(obj1
));
18442 if (SWIG_arg_fail(2)) SWIG_fail
;
18446 arg3
= (int)(SWIG_As_int(obj2
));
18447 if (SWIG_arg_fail(3)) SWIG_fail
;
18452 arg4
= (int)(SWIG_As_int(obj3
));
18453 if (SWIG_arg_fail(4)) SWIG_fail
;
18457 if (!wxPyCheckForApp()) SWIG_fail
;
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= wxPyMake_wxObject(result
, 1);
18473 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxImageList
*arg1
= (wxImageList
*) 0 ;
18476 PyObject
* obj0
= 0 ;
18477 char *kwnames
[] = {
18478 (char *) "self", NULL
18481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
18482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18483 if (SWIG_arg_fail(1)) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 Py_INCREF(Py_None
); resultobj
= Py_None
;
18498 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxImageList
*arg1
= (wxImageList
*) 0 ;
18501 wxBitmap
*arg2
= 0 ;
18502 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
18503 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 PyObject
* obj2
= 0 ;
18508 char *kwnames
[] = {
18509 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
18512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18514 if (SWIG_arg_fail(1)) SWIG_fail
;
18516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18517 if (SWIG_arg_fail(2)) SWIG_fail
;
18518 if (arg2
== NULL
) {
18519 SWIG_null_ref("wxBitmap");
18521 if (SWIG_arg_fail(2)) SWIG_fail
;
18525 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18526 if (SWIG_arg_fail(3)) SWIG_fail
;
18527 if (arg3
== NULL
) {
18528 SWIG_null_ref("wxBitmap");
18530 if (SWIG_arg_fail(3)) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= SWIG_From_int((int)(result
));
18549 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18550 PyObject
*resultobj
;
18551 wxImageList
*arg1
= (wxImageList
*) 0 ;
18552 wxBitmap
*arg2
= 0 ;
18553 wxColour
*arg3
= 0 ;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 PyObject
* obj2
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18565 if (SWIG_arg_fail(1)) SWIG_fail
;
18567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18568 if (SWIG_arg_fail(2)) SWIG_fail
;
18569 if (arg2
== NULL
) {
18570 SWIG_null_ref("wxBitmap");
18572 if (SWIG_arg_fail(2)) SWIG_fail
;
18576 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= SWIG_From_int((int)(result
));
18594 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxImageList
*arg1
= (wxImageList
*) 0 ;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self",(char *) "icon", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18607 if (SWIG_arg_fail(1)) SWIG_fail
;
18609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
18610 if (SWIG_arg_fail(2)) SWIG_fail
;
18611 if (arg2
== NULL
) {
18612 SWIG_null_ref("wxIcon");
18614 if (SWIG_arg_fail(2)) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_From_int((int)(result
));
18632 static PyObject
*_wrap_ImageList_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxImageList
*arg1
= (wxImageList
*) 0 ;
18636 SwigValueWrapper
<wxBitmap
> result
;
18637 PyObject
* obj0
= 0 ;
18638 PyObject
* obj1
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self",(char *) "index", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
18644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail
;
18647 arg2
= (int)(SWIG_As_int(obj1
));
18648 if (SWIG_arg_fail(2)) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18658 wxBitmap
* resultptr
;
18659 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18668 static PyObject
*_wrap_ImageList_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxImageList
*arg1
= (wxImageList
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 PyObject
* obj1
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self",(char *) "index", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18681 if (SWIG_arg_fail(1)) SWIG_fail
;
18683 arg2
= (int)(SWIG_As_int(obj1
));
18684 if (SWIG_arg_fail(2)) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18694 wxIcon
* resultptr
;
18695 resultptr
= new wxIcon((wxIcon
&)(result
));
18696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
18704 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxImageList
*arg1
= (wxImageList
*) 0 ;
18708 wxBitmap
*arg3
= 0 ;
18710 PyObject
* obj0
= 0 ;
18711 PyObject
* obj1
= 0 ;
18712 PyObject
* obj2
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self",(char *) "index",(char *) "bitmap", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18719 if (SWIG_arg_fail(1)) SWIG_fail
;
18721 arg2
= (int)(SWIG_As_int(obj1
));
18722 if (SWIG_arg_fail(2)) SWIG_fail
;
18725 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18726 if (SWIG_arg_fail(3)) SWIG_fail
;
18727 if (arg3
== NULL
) {
18728 SWIG_null_ref("wxBitmap");
18730 if (SWIG_arg_fail(3)) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18748 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxImageList
*arg1
= (wxImageList
*) 0 ;
18755 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
18756 bool arg7
= (bool) (bool)false ;
18758 PyObject
* obj0
= 0 ;
18759 PyObject
* obj1
= 0 ;
18760 PyObject
* obj2
= 0 ;
18761 PyObject
* obj3
= 0 ;
18762 PyObject
* obj4
= 0 ;
18763 PyObject
* obj5
= 0 ;
18764 PyObject
* obj6
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18771 if (SWIG_arg_fail(1)) SWIG_fail
;
18773 arg2
= (int)(SWIG_As_int(obj1
));
18774 if (SWIG_arg_fail(2)) SWIG_fail
;
18777 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18778 if (SWIG_arg_fail(3)) SWIG_fail
;
18779 if (arg3
== NULL
) {
18780 SWIG_null_ref("wxDC");
18782 if (SWIG_arg_fail(3)) SWIG_fail
;
18785 arg4
= (int)(SWIG_As_int(obj3
));
18786 if (SWIG_arg_fail(4)) SWIG_fail
;
18789 arg5
= (int)(SWIG_As_int(obj4
));
18790 if (SWIG_arg_fail(5)) SWIG_fail
;
18794 arg6
= (int)(SWIG_As_int(obj5
));
18795 if (SWIG_arg_fail(6)) SWIG_fail
;
18800 arg7
= (bool const)(SWIG_As_bool(obj6
));
18801 if (SWIG_arg_fail(7)) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18820 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
;
18822 wxImageList
*arg1
= (wxImageList
*) 0 ;
18824 PyObject
* obj0
= 0 ;
18825 char *kwnames
[] = {
18826 (char *) "self", NULL
18829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
18830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18831 if (SWIG_arg_fail(1)) SWIG_fail
;
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 result
= (int)(arg1
)->GetImageCount();
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= SWIG_From_int((int)(result
));
18848 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxImageList
*arg1
= (wxImageList
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self",(char *) "index", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
18860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18861 if (SWIG_arg_fail(1)) SWIG_fail
;
18863 arg2
= (int)(SWIG_As_int(obj1
));
18864 if (SWIG_arg_fail(2)) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (bool)(arg1
)->Remove(arg2
);
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18882 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxImageList
*arg1
= (wxImageList
*) 0 ;
18886 PyObject
* obj0
= 0 ;
18887 char *kwnames
[] = {
18888 (char *) "self", NULL
18891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
18892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18893 if (SWIG_arg_fail(1)) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= (bool)(arg1
)->RemoveAll();
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18910 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
;
18912 wxImageList
*arg1
= (wxImageList
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 PyObject
* obj1
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self",(char *) "index", NULL
18926 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18927 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18930 if (SWIG_arg_fail(1)) SWIG_fail
;
18932 arg2
= (int)(SWIG_As_int(obj1
));
18933 if (SWIG_arg_fail(2)) SWIG_fail
;
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 Py_INCREF(Py_None
); resultobj
= Py_None
;
18943 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18944 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18945 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
18946 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
18953 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
18955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18956 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
18958 return Py_BuildValue((char *)"");
18960 static int _wrap_NORMAL_FONT_set(PyObject
*) {
18961 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
18966 static PyObject
*_wrap_NORMAL_FONT_get(void) {
18969 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
18974 static int _wrap_SMALL_FONT_set(PyObject
*) {
18975 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
18980 static PyObject
*_wrap_SMALL_FONT_get(void) {
18983 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
18988 static int _wrap_ITALIC_FONT_set(PyObject
*) {
18989 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
18994 static PyObject
*_wrap_ITALIC_FONT_get(void) {
18997 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
19002 static int _wrap_SWISS_FONT_set(PyObject
*) {
19003 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
19008 static PyObject
*_wrap_SWISS_FONT_get(void) {
19011 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
19016 static int _wrap_RED_PEN_set(PyObject
*) {
19017 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
19022 static PyObject
*_wrap_RED_PEN_get(void) {
19025 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
19030 static int _wrap_CYAN_PEN_set(PyObject
*) {
19031 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
19036 static PyObject
*_wrap_CYAN_PEN_get(void) {
19039 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
19044 static int _wrap_GREEN_PEN_set(PyObject
*) {
19045 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
19050 static PyObject
*_wrap_GREEN_PEN_get(void) {
19053 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
19058 static int _wrap_BLACK_PEN_set(PyObject
*) {
19059 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
19064 static PyObject
*_wrap_BLACK_PEN_get(void) {
19067 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
19072 static int _wrap_WHITE_PEN_set(PyObject
*) {
19073 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
19078 static PyObject
*_wrap_WHITE_PEN_get(void) {
19081 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
19086 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
19087 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
19092 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
19095 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
19100 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
19101 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
19106 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
19109 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
19114 static int _wrap_GREY_PEN_set(PyObject
*) {
19115 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
19120 static PyObject
*_wrap_GREY_PEN_get(void) {
19123 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19128 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
19129 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
19134 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
19137 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19142 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
19143 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
19148 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
19151 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19156 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
19157 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
19162 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
19165 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19170 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
19171 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
19176 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
19179 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19184 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
19185 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
19190 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
19193 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19198 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
19199 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
19204 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
19207 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19212 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
19213 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
19218 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
19221 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19226 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19227 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19232 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19235 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19240 static int _wrap_RED_BRUSH_set(PyObject
*) {
19241 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
19246 static PyObject
*_wrap_RED_BRUSH_get(void) {
19249 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19254 static int _wrap_GREY_BRUSH_set(PyObject
*) {
19255 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
19260 static PyObject
*_wrap_GREY_BRUSH_get(void) {
19263 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19268 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
19269 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
19274 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
19277 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19282 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
19283 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
19288 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
19291 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19296 static int _wrap_BLACK_set(PyObject
*) {
19297 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
19302 static PyObject
*_wrap_BLACK_get(void) {
19305 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
19310 static int _wrap_WHITE_set(PyObject
*) {
19311 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
19316 static PyObject
*_wrap_WHITE_get(void) {
19319 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
19324 static int _wrap_RED_set(PyObject
*) {
19325 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
19330 static PyObject
*_wrap_RED_get(void) {
19333 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
19338 static int _wrap_BLUE_set(PyObject
*) {
19339 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
19344 static PyObject
*_wrap_BLUE_get(void) {
19347 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
19352 static int _wrap_GREEN_set(PyObject
*) {
19353 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
19358 static PyObject
*_wrap_GREEN_get(void) {
19361 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
19366 static int _wrap_CYAN_set(PyObject
*) {
19367 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
19372 static PyObject
*_wrap_CYAN_get(void) {
19375 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
19380 static int _wrap_LIGHT_GREY_set(PyObject
*) {
19381 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
19386 static PyObject
*_wrap_LIGHT_GREY_get(void) {
19389 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
19394 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
19395 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
19400 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
19403 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19408 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
19409 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
19414 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
19417 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19422 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
19423 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
19428 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
19431 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19436 static int _wrap_NullBitmap_set(PyObject
*) {
19437 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
19442 static PyObject
*_wrap_NullBitmap_get(void) {
19445 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
19450 static int _wrap_NullIcon_set(PyObject
*) {
19451 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
19456 static PyObject
*_wrap_NullIcon_get(void) {
19459 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
19464 static int _wrap_NullCursor_set(PyObject
*) {
19465 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
19470 static PyObject
*_wrap_NullCursor_get(void) {
19473 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
19478 static int _wrap_NullPen_set(PyObject
*) {
19479 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
19484 static PyObject
*_wrap_NullPen_get(void) {
19487 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
19492 static int _wrap_NullBrush_set(PyObject
*) {
19493 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
19498 static PyObject
*_wrap_NullBrush_get(void) {
19501 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
19506 static int _wrap_NullPalette_set(PyObject
*) {
19507 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
19512 static PyObject
*_wrap_NullPalette_get(void) {
19515 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
19520 static int _wrap_NullFont_set(PyObject
*) {
19521 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
19526 static PyObject
*_wrap_NullFont_get(void) {
19529 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
19534 static int _wrap_NullColour_set(PyObject
*) {
19535 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
19540 static PyObject
*_wrap_NullColour_get(void) {
19543 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
19548 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19550 wxPenList
*arg1
= (wxPenList
*) 0 ;
19551 wxPen
*arg2
= (wxPen
*) 0 ;
19552 PyObject
* obj0
= 0 ;
19553 PyObject
* obj1
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "self",(char *) "pen", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
19559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19560 if (SWIG_arg_fail(1)) SWIG_fail
;
19561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19562 if (SWIG_arg_fail(2)) SWIG_fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 (arg1
)->AddPen(arg2
);
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 Py_INCREF(Py_None
); resultobj
= Py_None
;
19577 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
;
19579 wxPenList
*arg1
= (wxPenList
*) 0 ;
19580 wxColour
*arg2
= 0 ;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 PyObject
* obj2
= 0 ;
19588 PyObject
* obj3
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19595 if (SWIG_arg_fail(1)) SWIG_fail
;
19598 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19601 arg3
= (int)(SWIG_As_int(obj2
));
19602 if (SWIG_arg_fail(3)) SWIG_fail
;
19605 arg4
= (int)(SWIG_As_int(obj3
));
19606 if (SWIG_arg_fail(4)) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
19622 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
;
19624 wxPenList
*arg1
= (wxPenList
*) 0 ;
19625 wxPen
*arg2
= (wxPen
*) 0 ;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 char *kwnames
[] = {
19629 (char *) "self",(char *) "pen", NULL
19632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
19633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19634 if (SWIG_arg_fail(1)) SWIG_fail
;
19635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19636 if (SWIG_arg_fail(2)) SWIG_fail
;
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 (arg1
)->RemovePen(arg2
);
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 Py_INCREF(Py_None
); resultobj
= Py_None
;
19651 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
;
19653 wxPenList
*arg1
= (wxPenList
*) 0 ;
19655 PyObject
* obj0
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "self", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
19661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19662 if (SWIG_arg_fail(1)) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= (int)(arg1
)->GetCount();
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= SWIG_From_int((int)(result
));
19679 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
19681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19682 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
19684 return Py_BuildValue((char *)"");
19686 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19689 wxBrush
*arg2
= (wxBrush
*) 0 ;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 char *kwnames
[] = {
19693 (char *) "self",(char *) "brush", NULL
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19698 if (SWIG_arg_fail(1)) SWIG_fail
;
19699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19700 if (SWIG_arg_fail(2)) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 (arg1
)->AddBrush(arg2
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 Py_INCREF(Py_None
); resultobj
= Py_None
;
19715 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19718 wxColour
*arg2
= 0 ;
19719 int arg3
= (int) wxSOLID
;
19722 PyObject
* obj0
= 0 ;
19723 PyObject
* obj1
= 0 ;
19724 PyObject
* obj2
= 0 ;
19725 char *kwnames
[] = {
19726 (char *) "self",(char *) "colour",(char *) "style", NULL
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19731 if (SWIG_arg_fail(1)) SWIG_fail
;
19734 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19738 arg3
= (int)(SWIG_As_int(obj2
));
19739 if (SWIG_arg_fail(3)) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
19756 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
;
19758 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19759 wxBrush
*arg2
= (wxBrush
*) 0 ;
19760 PyObject
* obj0
= 0 ;
19761 PyObject
* obj1
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "self",(char *) "brush", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19768 if (SWIG_arg_fail(1)) SWIG_fail
;
19769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19770 if (SWIG_arg_fail(2)) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 (arg1
)->RemoveBrush(arg2
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 Py_INCREF(Py_None
); resultobj
= Py_None
;
19785 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
19795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19796 if (SWIG_arg_fail(1)) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (int)(arg1
)->GetCount();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_From_int((int)(result
));
19813 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
19815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19816 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
19818 return Py_BuildValue((char *)"");
19820 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxColourDatabase
*result
;
19823 char *kwnames
[] = {
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
19829 if (!wxPyCheckForApp()) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 result
= (wxColourDatabase
*)new wxColourDatabase();
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
19843 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19846 PyObject
* obj0
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self", NULL
19851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
19852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19853 if (SWIG_arg_fail(1)) SWIG_fail
;
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19861 Py_INCREF(Py_None
); resultobj
= Py_None
;
19868 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
;
19870 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19871 wxString
*arg2
= 0 ;
19873 bool temp2
= false ;
19874 PyObject
* obj0
= 0 ;
19875 PyObject
* obj1
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self",(char *) "name", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
19881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19882 if (SWIG_arg_fail(1)) SWIG_fail
;
19884 arg2
= wxString_in_helper(obj1
);
19885 if (arg2
== NULL
) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19896 wxColour
* resultptr
;
19897 resultptr
= new wxColour((wxColour
&)(result
));
19898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19914 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
;
19916 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19917 wxColour
*arg2
= 0 ;
19920 PyObject
* obj0
= 0 ;
19921 PyObject
* obj1
= 0 ;
19922 char *kwnames
[] = {
19923 (char *) "self",(char *) "colour", NULL
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
19927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19928 if (SWIG_arg_fail(1)) SWIG_fail
;
19931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19953 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19956 wxString
*arg2
= 0 ;
19957 wxColour
*arg3
= 0 ;
19958 bool temp2
= false ;
19960 PyObject
* obj0
= 0 ;
19961 PyObject
* obj1
= 0 ;
19962 PyObject
* obj2
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self",(char *) "name",(char *) "colour", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19969 if (SWIG_arg_fail(1)) SWIG_fail
;
19971 arg2
= wxString_in_helper(obj1
);
19972 if (arg2
== NULL
) SWIG_fail
;
19977 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 Py_INCREF(Py_None
); resultobj
= Py_None
;
20001 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20004 wxString
*arg2
= 0 ;
20008 bool temp2
= false ;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20011 PyObject
* obj2
= 0 ;
20012 PyObject
* obj3
= 0 ;
20013 PyObject
* obj4
= 0 ;
20014 char *kwnames
[] = {
20015 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
20018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20020 if (SWIG_arg_fail(1)) SWIG_fail
;
20022 arg2
= wxString_in_helper(obj1
);
20023 if (arg2
== NULL
) SWIG_fail
;
20027 arg3
= (int)(SWIG_As_int(obj2
));
20028 if (SWIG_arg_fail(3)) SWIG_fail
;
20031 arg4
= (int)(SWIG_As_int(obj3
));
20032 if (SWIG_arg_fail(4)) SWIG_fail
;
20035 arg5
= (int)(SWIG_As_int(obj4
));
20036 if (SWIG_arg_fail(5)) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20045 Py_INCREF(Py_None
); resultobj
= Py_None
;
20060 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
20062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20063 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
20065 return Py_BuildValue((char *)"");
20067 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 wxFontList
*arg1
= (wxFontList
*) 0 ;
20070 wxFont
*arg2
= (wxFont
*) 0 ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 char *kwnames
[] = {
20074 (char *) "self",(char *) "font", NULL
20077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20079 if (SWIG_arg_fail(1)) SWIG_fail
;
20080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20081 if (SWIG_arg_fail(2)) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 (arg1
)->AddFont(arg2
);
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20089 Py_INCREF(Py_None
); resultobj
= Py_None
;
20096 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
;
20098 wxFontList
*arg1
= (wxFontList
*) 0 ;
20103 bool arg6
= (bool) false ;
20104 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20105 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20106 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
20108 bool temp7
= false ;
20109 PyObject
* obj0
= 0 ;
20110 PyObject
* obj1
= 0 ;
20111 PyObject
* obj2
= 0 ;
20112 PyObject
* obj3
= 0 ;
20113 PyObject
* obj4
= 0 ;
20114 PyObject
* obj5
= 0 ;
20115 PyObject
* obj6
= 0 ;
20116 PyObject
* obj7
= 0 ;
20117 char *kwnames
[] = {
20118 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20123 if (SWIG_arg_fail(1)) SWIG_fail
;
20125 arg2
= (int)(SWIG_As_int(obj1
));
20126 if (SWIG_arg_fail(2)) SWIG_fail
;
20129 arg3
= (int)(SWIG_As_int(obj2
));
20130 if (SWIG_arg_fail(3)) SWIG_fail
;
20133 arg4
= (int)(SWIG_As_int(obj3
));
20134 if (SWIG_arg_fail(4)) SWIG_fail
;
20137 arg5
= (int)(SWIG_As_int(obj4
));
20138 if (SWIG_arg_fail(5)) SWIG_fail
;
20142 arg6
= (bool)(SWIG_As_bool(obj5
));
20143 if (SWIG_arg_fail(6)) SWIG_fail
;
20148 arg7
= wxString_in_helper(obj6
);
20149 if (arg7
== NULL
) SWIG_fail
;
20155 arg8
= (wxFontEncoding
)(SWIG_As_int(obj7
));
20156 if (SWIG_arg_fail(8)) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
20181 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
;
20183 wxFontList
*arg1
= (wxFontList
*) 0 ;
20184 wxFont
*arg2
= (wxFont
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self",(char *) "font", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20193 if (SWIG_arg_fail(1)) SWIG_fail
;
20194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20195 if (SWIG_arg_fail(2)) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 (arg1
)->RemoveFont(arg2
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 Py_INCREF(Py_None
); resultobj
= Py_None
;
20210 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
;
20212 wxFontList
*arg1
= (wxFontList
*) 0 ;
20214 PyObject
* obj0
= 0 ;
20215 char *kwnames
[] = {
20216 (char *) "self", NULL
20219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
20220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20221 if (SWIG_arg_fail(1)) SWIG_fail
;
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= (int)(arg1
)->GetCount();
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20230 resultobj
= SWIG_From_int((int)(result
));
20238 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
20240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20241 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
20243 return Py_BuildValue((char *)"");
20245 static int _wrap_TheFontList_set(PyObject
*) {
20246 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
20251 static PyObject
*_wrap_TheFontList_get(void) {
20254 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
20259 static int _wrap_ThePenList_set(PyObject
*) {
20260 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
20265 static PyObject
*_wrap_ThePenList_get(void) {
20268 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
20273 static int _wrap_TheBrushList_set(PyObject
*) {
20274 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
20279 static PyObject
*_wrap_TheBrushList_get(void) {
20282 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
20287 static int _wrap_TheColourDatabase_set(PyObject
*) {
20288 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
20293 static PyObject
*_wrap_TheColourDatabase_get(void) {
20296 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
20301 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20304 char *kwnames
[] = {
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 result
= (wxEffects
*)new wxEffects();
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
20323 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxEffects
*arg1
= (wxEffects
*) 0 ;
20327 PyObject
* obj0
= 0 ;
20328 char *kwnames
[] = {
20329 (char *) "self", NULL
20332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
20333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20334 if (SWIG_arg_fail(1)) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20343 wxColour
* resultptr
;
20344 resultptr
= new wxColour((wxColour
&)(result
));
20345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20353 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
;
20355 wxEffects
*arg1
= (wxEffects
*) 0 ;
20357 PyObject
* obj0
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
20363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20364 if (SWIG_arg_fail(1)) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20373 wxColour
* resultptr
;
20374 resultptr
= new wxColour((wxColour
&)(result
));
20375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20383 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20385 wxEffects
*arg1
= (wxEffects
*) 0 ;
20387 PyObject
* obj0
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
20393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20394 if (SWIG_arg_fail(1)) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20403 wxColour
* resultptr
;
20404 resultptr
= new wxColour((wxColour
&)(result
));
20405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20413 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
;
20415 wxEffects
*arg1
= (wxEffects
*) 0 ;
20417 PyObject
* obj0
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
20423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20424 if (SWIG_arg_fail(1)) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 wxColour
* resultptr
;
20434 resultptr
= new wxColour((wxColour
&)(result
));
20435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20443 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxEffects
*arg1
= (wxEffects
*) 0 ;
20447 PyObject
* obj0
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
20453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20454 if (SWIG_arg_fail(1)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20463 wxColour
* resultptr
;
20464 resultptr
= new wxColour((wxColour
&)(result
));
20465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20473 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 wxEffects
*arg1
= (wxEffects
*) 0 ;
20476 wxColour
*arg2
= 0 ;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "self",(char *) "c", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20486 if (SWIG_arg_fail(1)) SWIG_fail
;
20489 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 Py_INCREF(Py_None
); resultobj
= Py_None
;
20505 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxEffects
*arg1
= (wxEffects
*) 0 ;
20508 wxColour
*arg2
= 0 ;
20510 PyObject
* obj0
= 0 ;
20511 PyObject
* obj1
= 0 ;
20512 char *kwnames
[] = {
20513 (char *) "self",(char *) "c", NULL
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20518 if (SWIG_arg_fail(1)) SWIG_fail
;
20521 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 Py_INCREF(Py_None
); resultobj
= Py_None
;
20537 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20539 wxEffects
*arg1
= (wxEffects
*) 0 ;
20540 wxColour
*arg2
= 0 ;
20542 PyObject
* obj0
= 0 ;
20543 PyObject
* obj1
= 0 ;
20544 char *kwnames
[] = {
20545 (char *) "self",(char *) "c", NULL
20548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20550 if (SWIG_arg_fail(1)) SWIG_fail
;
20553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 Py_INCREF(Py_None
); resultobj
= Py_None
;
20569 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
;
20571 wxEffects
*arg1
= (wxEffects
*) 0 ;
20572 wxColour
*arg2
= 0 ;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20576 char *kwnames
[] = {
20577 (char *) "self",(char *) "c", NULL
20580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20582 if (SWIG_arg_fail(1)) SWIG_fail
;
20585 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 Py_INCREF(Py_None
); resultobj
= Py_None
;
20601 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
;
20603 wxEffects
*arg1
= (wxEffects
*) 0 ;
20604 wxColour
*arg2
= 0 ;
20606 PyObject
* obj0
= 0 ;
20607 PyObject
* obj1
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self",(char *) "c", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20614 if (SWIG_arg_fail(1)) SWIG_fail
;
20617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 Py_INCREF(Py_None
); resultobj
= Py_None
;
20633 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxEffects
*arg1
= (wxEffects
*) 0 ;
20636 wxColour
*arg2
= 0 ;
20637 wxColour
*arg3
= 0 ;
20638 wxColour
*arg4
= 0 ;
20639 wxColour
*arg5
= 0 ;
20640 wxColour
*arg6
= 0 ;
20646 PyObject
* obj0
= 0 ;
20647 PyObject
* obj1
= 0 ;
20648 PyObject
* obj2
= 0 ;
20649 PyObject
* obj3
= 0 ;
20650 PyObject
* obj4
= 0 ;
20651 PyObject
* obj5
= 0 ;
20652 char *kwnames
[] = {
20653 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
20656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20658 if (SWIG_arg_fail(1)) SWIG_fail
;
20661 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20665 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20669 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
20673 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
20677 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 Py_INCREF(Py_None
); resultobj
= Py_None
;
20693 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxEffects
*arg1
= (wxEffects
*) 0 ;
20698 int arg4
= (int) 1 ;
20700 PyObject
* obj0
= 0 ;
20701 PyObject
* obj1
= 0 ;
20702 PyObject
* obj2
= 0 ;
20703 PyObject
* obj3
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20710 if (SWIG_arg_fail(1)) SWIG_fail
;
20712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20713 if (SWIG_arg_fail(2)) SWIG_fail
;
20714 if (arg2
== NULL
) {
20715 SWIG_null_ref("wxDC");
20717 if (SWIG_arg_fail(2)) SWIG_fail
;
20721 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20725 arg4
= (int)(SWIG_As_int(obj3
));
20726 if (SWIG_arg_fail(4)) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 Py_INCREF(Py_None
); resultobj
= Py_None
;
20743 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxEffects
*arg1
= (wxEffects
*) 0 ;
20748 wxBitmap
*arg4
= 0 ;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20753 PyObject
* obj2
= 0 ;
20754 PyObject
* obj3
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20761 if (SWIG_arg_fail(1)) SWIG_fail
;
20764 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20767 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20768 if (SWIG_arg_fail(3)) SWIG_fail
;
20769 if (arg3
== NULL
) {
20770 SWIG_null_ref("wxDC");
20772 if (SWIG_arg_fail(3)) SWIG_fail
;
20775 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20776 if (SWIG_arg_fail(4)) SWIG_fail
;
20777 if (arg4
== NULL
) {
20778 SWIG_null_ref("wxBitmap");
20780 if (SWIG_arg_fail(4)) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20798 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
20800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20801 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
20803 return Py_BuildValue((char *)"");
20805 static PyMethodDef SwigMethods
[] = {
20806 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20807 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20808 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20809 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20810 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20811 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
20812 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20813 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20814 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20815 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20816 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20817 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20818 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20819 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20820 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20821 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20822 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20823 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20824 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20825 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20826 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20827 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20828 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
20829 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20830 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20831 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20832 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20833 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20834 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20835 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
20836 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20837 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20838 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20839 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20840 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20841 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20842 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20843 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20844 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20845 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20846 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20847 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20848 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20849 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20850 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20851 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20852 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20853 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20854 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
20855 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20856 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20857 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20858 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20859 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20860 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20861 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20862 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20863 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20864 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20865 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20866 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20867 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20868 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
20869 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20870 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20871 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20872 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20873 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20874 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20875 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20876 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20877 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20878 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20879 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20880 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20881 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20882 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20883 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20884 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20885 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20886 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20887 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20888 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20889 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20890 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20891 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20892 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20893 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20894 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20895 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20896 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
20897 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20898 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
20899 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20900 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20901 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20902 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20903 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20904 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20905 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20906 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20907 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20908 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20909 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20910 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20911 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20912 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20913 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
20914 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20915 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20916 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20917 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20918 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20919 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20920 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20921 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
20922 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20923 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20924 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20925 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20926 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20927 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20928 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20929 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
20930 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20931 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20932 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20933 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20934 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20935 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
20936 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20937 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20938 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20939 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20940 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20941 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20942 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20943 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20944 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20945 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20946 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20947 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20948 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20949 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20950 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20951 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20952 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20953 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20954 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20955 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20956 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20957 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20958 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20959 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20960 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20961 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20962 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20963 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20964 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
20965 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20966 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20967 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20968 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20969 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20970 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20971 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20972 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20973 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20974 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20975 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20976 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20977 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20978 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
20979 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20980 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20981 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20982 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20983 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20984 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20985 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20986 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20987 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20988 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20989 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20990 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20991 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20992 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20993 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20994 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20995 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20996 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20997 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20998 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
20999 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21000 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21001 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21002 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
21003 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21004 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21005 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21006 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21007 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21008 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21009 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21010 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21011 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
21012 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21013 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21014 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21015 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21016 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21017 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21018 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21019 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21020 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21021 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21022 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21023 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21024 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21025 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21026 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21027 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21028 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21029 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21030 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21031 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
21032 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21033 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21034 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21035 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21036 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21037 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21038 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21039 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21040 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21041 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21042 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21043 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21044 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21045 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21046 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21047 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21048 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21049 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21050 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21051 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21052 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21053 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21054 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21055 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21056 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21057 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21058 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21059 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21060 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21061 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21062 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21063 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21064 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21065 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21066 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21067 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21068 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21069 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21070 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21071 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21072 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21073 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
21074 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21075 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21076 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21077 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21078 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21079 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21080 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21081 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
21082 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21083 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21084 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21085 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21086 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21087 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21088 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
21089 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21090 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21091 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21092 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21093 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21094 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21095 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21096 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21097 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21098 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21099 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21100 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21101 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21102 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21103 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21104 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21105 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21106 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21107 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21108 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21109 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21110 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
21111 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21112 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
21113 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21114 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21115 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21116 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21117 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21118 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21119 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21120 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
21121 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21122 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21123 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21124 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21125 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21126 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21127 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21128 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21129 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21130 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21131 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21132 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21133 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21134 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21135 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21136 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21137 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21138 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21139 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21140 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21141 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21142 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21143 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21144 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21145 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21146 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21147 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21148 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21149 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21150 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21151 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21152 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21153 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21154 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21155 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21156 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21157 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21158 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21159 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21160 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21161 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21162 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21163 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21164 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21165 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21166 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21167 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21168 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21169 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21170 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21171 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21172 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21173 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21174 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21175 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21176 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21177 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21178 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21179 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21180 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21181 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21182 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21183 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21184 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21185 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21186 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21187 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21188 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21189 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21190 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21191 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21192 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21193 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21194 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21195 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21196 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21197 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21198 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21199 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21200 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21201 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21202 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21203 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21204 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21205 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21206 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21207 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21208 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21209 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21210 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21211 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21212 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21213 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21214 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21215 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21216 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21217 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21218 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21219 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21220 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21221 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21222 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21223 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21224 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21225 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21226 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21227 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21228 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21229 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21230 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21231 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21232 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21233 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21234 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21235 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21236 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21237 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21238 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21239 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21240 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21241 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21242 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21243 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21244 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21245 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21246 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21247 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21248 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
21249 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21250 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21251 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21252 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
21253 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
21254 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21255 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21256 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
21257 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21258 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
21259 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21260 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21261 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21262 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21263 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
21264 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21265 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
21266 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21267 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
21268 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21269 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
21270 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21271 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
21272 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21273 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21274 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21275 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21276 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21277 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
21278 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21279 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21280 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21281 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21282 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21283 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21284 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21285 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
21286 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21287 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21288 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
21289 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21290 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
21291 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21292 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21293 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21294 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21295 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21296 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21297 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21298 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21299 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21300 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21301 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21302 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21303 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21304 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
21305 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21306 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21307 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21308 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21309 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
21310 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21311 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21312 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21313 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21314 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
21315 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21316 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21317 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21318 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21319 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21320 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21321 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
21322 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21323 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21324 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21325 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21326 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
21327 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21328 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21329 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21330 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21331 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21332 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21333 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21334 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21335 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21336 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21337 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21338 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21339 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21340 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21341 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
21342 { NULL
, NULL
, 0, NULL
}
21346 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21348 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
21349 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
21351 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
21352 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21354 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
21355 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
21357 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
21358 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
21360 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
21361 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
21363 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
21364 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
21366 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
21367 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
21369 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
21370 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
21372 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
21373 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
21375 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
21376 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
21378 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
21379 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
21381 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
21382 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
21384 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
21385 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
21387 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
21388 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
21390 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
21391 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
21393 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
21394 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
21396 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
21397 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21399 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
21400 return (void *)((wxDC
*) ((wxClientDC
*) x
));
21402 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
21403 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
21405 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
21406 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
21408 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
21409 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
21411 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
21412 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21414 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21415 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21417 static void *_p_wxPenTo_p_wxObject(void *x
) {
21418 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
21420 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
21421 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
21423 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21424 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21426 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21427 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21429 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
21430 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
21432 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21433 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21435 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21436 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21438 static void *_p_wxIconTo_p_wxObject(void *x
) {
21439 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
21441 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21442 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21444 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21445 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21447 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21448 return (void *)((wxObject
*) ((wxSizer
*) x
));
21450 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21451 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21453 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21454 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21456 static void *_p_wxPenListTo_p_wxObject(void *x
) {
21457 return (void *)((wxObject
*) ((wxPenList
*) x
));
21459 static void *_p_wxEventTo_p_wxObject(void *x
) {
21460 return (void *)((wxObject
*) ((wxEvent
*) x
));
21462 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21463 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21465 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21466 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21468 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21469 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21471 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21472 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21474 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21475 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21477 static void *_p_wxDCTo_p_wxObject(void *x
) {
21478 return (void *)((wxObject
*) ((wxDC
*) x
));
21480 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21481 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21483 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
21484 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21486 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
21487 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21489 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
21490 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21492 static void *_p_wxControlTo_p_wxObject(void *x
) {
21493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
21495 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
21496 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
21498 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
21499 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
21501 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
21502 return (void *)((wxObject
*) ((wxFSFile
*) x
));
21504 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
21505 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
21507 static void *_p_wxRegionTo_p_wxObject(void *x
) {
21508 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
21510 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
21511 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
21513 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
21514 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
21516 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
21517 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
21519 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
21520 return (void *)((wxObject
*) ((wxEffects
*) x
));
21522 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
21523 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
21525 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
21526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21528 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
21529 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
21531 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
21532 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
21534 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
21535 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
21537 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
21538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
21540 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
21541 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
21543 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
21544 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21546 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
21547 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21549 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
21550 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
21552 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
21553 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
21555 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
21556 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
21558 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
21559 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
21561 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
21562 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
21564 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
21565 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
21567 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
21568 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
21570 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
21571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
21573 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
21574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
21576 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
21577 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
21579 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
21580 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
21582 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
21583 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
21585 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
21586 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
21588 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
21589 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
21591 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
21592 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
21594 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
21595 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
21597 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
21598 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
21600 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
21601 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
21603 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
21604 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21606 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
21607 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
21609 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
21610 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
21612 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
21613 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
21615 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
21616 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
21618 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
21619 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
21621 static void *_p_wxImageTo_p_wxObject(void *x
) {
21622 return (void *)((wxObject
*) ((wxImage
*) x
));
21624 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
21625 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
21627 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
21628 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
21630 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
21631 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
21633 static void *_p_wxImageListTo_p_wxObject(void *x
) {
21634 return (void *)((wxObject
*) ((wxImageList
*) x
));
21636 static void *_p_wxCursorTo_p_wxObject(void *x
) {
21637 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
21639 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
21640 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
21642 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
21643 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
21645 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
21646 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21648 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
21649 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21651 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
21652 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
21654 static void *_p_wxWindowTo_p_wxObject(void *x
) {
21655 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
21657 static void *_p_wxMenuTo_p_wxObject(void *x
) {
21658 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
21660 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
21661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
21663 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
21664 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
21666 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
21667 return (void *)((wxObject
*) ((wxBrushList
*) x
));
21669 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
21670 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
21672 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
21673 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
21675 static void *_p_wxMaskTo_p_wxObject(void *x
) {
21676 return (void *)((wxObject
*) ((wxMask
*) x
));
21678 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
21679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21681 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
21682 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
21684 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
21685 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
21687 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
21688 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
21690 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
21691 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
21693 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
21694 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
21696 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
21697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21699 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
21700 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
21702 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
21703 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
21705 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
21706 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
21708 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
21709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21711 static void *_p_wxFontTo_p_wxObject(void *x
) {
21712 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
21714 static void *_p_wxBrushTo_p_wxObject(void *x
) {
21715 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
21717 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
21718 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
21720 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
21721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21723 static void *_p_wxColourTo_p_wxObject(void *x
) {
21724 return (void *)((wxObject
*) ((wxColour
*) x
));
21726 static void *_p_wxFontListTo_p_wxObject(void *x
) {
21727 return (void *)((wxObject
*) ((wxFontList
*) x
));
21729 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
21730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
21732 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
21733 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
21735 static void *_p_wxControlTo_p_wxWindow(void *x
) {
21736 return (void *)((wxWindow
*) ((wxControl
*) x
));
21738 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
21739 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
21741 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
21742 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
21744 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}};
21745 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}};
21746 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}};
21747 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}};
21748 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}};
21749 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}};
21750 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}};
21751 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}};
21752 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}};
21753 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}};
21754 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}};
21755 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}};
21756 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}};
21757 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}};
21758 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}};
21759 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}};
21760 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}};
21761 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}};
21762 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}};
21763 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}};
21764 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}};
21765 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}};
21766 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}};
21767 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPenList", _p_wxPenListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
21768 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}};
21769 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}};
21770 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}};
21771 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}};
21772 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}};
21773 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}};
21774 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}};
21775 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}};
21776 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}};
21777 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}};
21778 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}};
21779 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}};
21780 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}};
21781 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}};
21782 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}};
21783 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}};
21784 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}};
21785 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}};
21786 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}};
21787 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}};
21788 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}};
21789 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}};
21790 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}};
21791 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}};
21792 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}};
21793 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}};
21794 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}};
21795 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}};
21796 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}};
21797 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}};
21798 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}};
21799 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}};
21800 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}};
21801 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}};
21802 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}};
21803 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}};
21804 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}};
21805 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}};
21807 static swig_type_info
*swig_types_initial
[] = {
21808 _swigt__p_wxPostScriptDC
,
21810 _swigt__p_wxColour
,
21812 _swigt__p_wxMirrorDC
,
21813 _swigt__p_form_ops_t
,
21814 _swigt__p_wxDuplexMode
,
21815 _swigt__p_wxPyFontEnumerator
,
21817 _swigt__p_wxIconLocation
,
21819 _swigt__p_wxMetaFileDC
,
21823 _swigt__p_wxWindow
,
21825 _swigt__p_wxMemoryDC
,
21826 _swigt__p_wxFontMapper
,
21827 _swigt__p_wxEffects
,
21828 _swigt__p_wxNativeEncodingInfo
,
21829 _swigt__p_wxPalette
,
21830 _swigt__p_wxBitmap
,
21831 _swigt__p_wxObject
,
21832 _swigt__p_wxRegionIterator
,
21834 _swigt__p_wxPaperSize
,
21835 _swigt__p_wxString
,
21836 _swigt__unsigned_int
,
21837 _swigt__p_unsigned_int
,
21838 _swigt__p_wxPrinterDC
,
21839 _swigt__p_wxIconBundle
,
21842 _swigt__p_wxScreenDC
,
21843 _swigt__p_wxCursor
,
21844 _swigt__p_wxClientDC
,
21845 _swigt__p_wxBufferedDC
,
21846 _swigt__p_wxImageList
,
21847 _swigt__p_unsigned_char
,
21848 _swigt__p_wxGDIObject
,
21850 _swigt__p_wxLocale
,
21852 _swigt__std__ptrdiff_t
,
21853 _swigt__p_wxRegion
,
21854 _swigt__p_wxConfigBase
,
21855 _swigt__p_wxLanguageInfo
,
21856 _swigt__p_wxWindowDC
,
21857 _swigt__p_wxPrintData
,
21858 _swigt__p_wxBrushList
,
21859 _swigt__p_wxFontList
,
21861 _swigt__p_wxBufferedPaintDC
,
21862 _swigt__p_wxPaintDC
,
21863 _swigt__p_wxPenList
,
21865 _swigt__p_wxMetaFile
,
21866 _swigt__p_unsigned_long
,
21867 _swigt__p_wxNativeFontInfo
,
21868 _swigt__p_wxEncodingConverter
,
21869 _swigt__p_wxColourDatabase
,
21874 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
21876 static swig_const_info swig_const_table
[] = {
21877 {0, 0, 0, 0.0, 0, 0}};
21888 /* Python-specific SWIG API */
21889 #define SWIG_newvarlink() SWIG_Python_newvarlink()
21890 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
21891 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
21893 /* -----------------------------------------------------------------------------
21894 * global variable support code.
21895 * ----------------------------------------------------------------------------- */
21897 typedef struct swig_globalvar
{
21898 char *name
; /* Name of global variable */
21899 PyObject
*(*get_attr
)(); /* Return the current value */
21900 int (*set_attr
)(PyObject
*); /* Set the value */
21901 struct swig_globalvar
*next
;
21904 typedef struct swig_varlinkobject
{
21906 swig_globalvar
*vars
;
21907 } swig_varlinkobject
;
21910 swig_varlink_repr(swig_varlinkobject
*v
) {
21912 return PyString_FromString("<Swig global variables>");
21916 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
21917 swig_globalvar
*var
;
21919 fprintf(fp
,"Swig global variables { ");
21920 for (var
= v
->vars
; var
; var
=var
->next
) {
21921 fprintf(fp
,"%s", var
->name
);
21922 if (var
->next
) fprintf(fp
,", ");
21924 fprintf(fp
," }\n");
21929 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
21930 swig_globalvar
*var
= v
->vars
;
21932 if (strcmp(var
->name
,n
) == 0) {
21933 return (*var
->get_attr
)();
21937 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
21942 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
21943 swig_globalvar
*var
= v
->vars
;
21945 if (strcmp(var
->name
,n
) == 0) {
21946 return (*var
->set_attr
)(p
);
21950 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
21954 static PyTypeObject varlinktype
= {
21955 PyObject_HEAD_INIT(0)
21956 0, /* Number of items in variable part (ob_size) */
21957 (char *)"swigvarlink", /* Type name (tp_name) */
21958 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
21959 0, /* Itemsize (tp_itemsize) */
21960 0, /* Deallocator (tp_dealloc) */
21961 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
21962 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
21963 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
21964 0, /* tp_compare */
21965 (reprfunc
) swig_varlink_repr
, /* tp_repr */
21966 0, /* tp_as_number */
21967 0, /* tp_as_sequence */
21968 0, /* tp_as_mapping */
21972 0, /* tp_getattro */
21973 0, /* tp_setattro */
21974 0, /* tp_as_buffer */
21977 #if PY_VERSION_HEX >= 0x02000000
21978 0, /* tp_traverse */
21981 #if PY_VERSION_HEX >= 0x02010000
21982 0, /* tp_richcompare */
21983 0, /* tp_weaklistoffset */
21985 #if PY_VERSION_HEX >= 0x02020000
21986 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
21988 #if PY_VERSION_HEX >= 0x02030000
21991 #ifdef COUNT_ALLOCS
21992 0,0,0,0 /* tp_alloc -> tp_next */
21996 /* Create a variable linking object for use later */
21998 SWIG_Python_newvarlink(void) {
21999 swig_varlinkobject
*result
= 0;
22000 result
= PyMem_NEW(swig_varlinkobject
,1);
22001 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
22002 result
->ob_type
= &varlinktype
;
22004 result
->ob_refcnt
= 0;
22005 Py_XINCREF((PyObject
*) result
);
22006 return ((PyObject
*) result
);
22010 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
22011 swig_varlinkobject
*v
;
22012 swig_globalvar
*gv
;
22013 v
= (swig_varlinkobject
*) p
;
22014 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
22015 gv
->name
= (char *) malloc(strlen(name
)+1);
22016 strcpy(gv
->name
,name
);
22017 gv
->get_attr
= get_attr
;
22018 gv
->set_attr
= set_attr
;
22019 gv
->next
= v
->vars
;
22023 /* -----------------------------------------------------------------------------
22024 * constants/methods manipulation
22025 * ----------------------------------------------------------------------------- */
22027 /* Install Constants */
22029 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
22032 for (i
= 0; constants
[i
].type
; i
++) {
22033 switch(constants
[i
].type
) {
22035 obj
= PyInt_FromLong(constants
[i
].lvalue
);
22037 case SWIG_PY_FLOAT
:
22038 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
22040 case SWIG_PY_STRING
:
22041 if (constants
[i
].pvalue
) {
22042 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
22044 Py_INCREF(Py_None
);
22048 case SWIG_PY_POINTER
:
22049 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
22051 case SWIG_PY_BINARY
:
22052 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
22059 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
22065 /* -----------------------------------------------------------------------------*/
22066 /* Fix SwigMethods to carry the callback ptrs when needed */
22067 /* -----------------------------------------------------------------------------*/
22070 SWIG_Python_FixMethods(PyMethodDef
*methods
,
22071 swig_const_info
*const_table
,
22072 swig_type_info
**types
,
22073 swig_type_info
**types_initial
) {
22075 for (i
= 0; methods
[i
].ml_name
; ++i
) {
22076 char *c
= methods
[i
].ml_doc
;
22077 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
22079 swig_const_info
*ci
= 0;
22080 char *name
= c
+ 10;
22081 for (j
= 0; const_table
[j
].type
; j
++) {
22082 if (strncmp(const_table
[j
].name
, name
,
22083 strlen(const_table
[j
].name
)) == 0) {
22084 ci
= &(const_table
[j
]);
22089 size_t shift
= (ci
->ptype
) - types
;
22090 swig_type_info
*ty
= types_initial
[shift
];
22091 size_t ldoc
= (c
- methods
[i
].ml_doc
);
22092 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
22093 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
22095 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
22096 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
22098 strncpy(buff
, "swig_ptr: ", 10);
22100 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
22101 methods
[i
].ml_doc
= ndoc
;
22107 /* -----------------------------------------------------------------------------*
22108 * Initialize type list
22109 * -----------------------------------------------------------------------------*/
22111 #if PY_MAJOR_VERSION < 2
22112 /* PyModule_AddObject function was introduced in Python 2.0. The following function
22113 is copied out of Python/modsupport.c in python version 2.3.4 */
22115 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
22118 if (!PyModule_Check(m
)) {
22119 PyErr_SetString(PyExc_TypeError
,
22120 "PyModule_AddObject() needs module as first arg");
22124 PyErr_SetString(PyExc_TypeError
,
22125 "PyModule_AddObject() needs non-NULL value");
22129 dict
= PyModule_GetDict(m
);
22130 if (dict
== NULL
) {
22131 /* Internal error -- modules must have a dict! */
22132 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
22133 PyModule_GetName(m
));
22136 if (PyDict_SetItemString(dict
, name
, o
))
22143 static swig_type_info
**
22144 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
22145 static PyMethodDef swig_empty_runtime_method_table
[] = {
22147 NULL
, NULL
, 0, NULL
22151 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
22152 swig_empty_runtime_method_table
);
22153 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
22154 if (pointer
&& module) {
22155 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
22157 return type_list_handle
;
22160 static swig_type_info
**
22161 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
22162 swig_type_info
**type_pointer
;
22164 /* first check if module already created */
22165 type_pointer
= SWIG_Python_GetTypeListHandle();
22166 if (type_pointer
) {
22167 return type_pointer
;
22169 /* create a new module and variable */
22170 return SWIG_Python_SetTypeListHandle(type_list_handle
);
22178 /* -----------------------------------------------------------------------------*
22179 * Partial Init method
22180 * -----------------------------------------------------------------------------*/
22182 #ifdef SWIG_LINK_RUNTIME
22186 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
22192 SWIGEXPORT(void) SWIG_init(void) {
22193 static PyObject
*SWIG_globals
= 0;
22194 static int typeinit
= 0;
22197 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
22199 /* Fix SwigMethods to carry the callback ptrs when needed */
22200 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
22202 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22203 d
= PyModule_GetDict(m
);
22206 #ifdef SWIG_LINK_RUNTIME
22207 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
22209 # ifndef SWIG_STATIC_RUNTIME
22210 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
22213 for (i
= 0; swig_types_initial
[i
]; i
++) {
22214 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
22218 SWIG_InstallConstants(d
,swig_const_table
);
22221 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));
22224 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));
22227 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));
22230 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));
22233 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));
22236 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));
22239 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));
22242 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));
22245 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));
22248 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));
22251 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));
22254 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));
22257 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));
22260 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));
22263 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));
22266 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));
22269 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));
22272 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));
22275 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));
22278 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));
22281 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));
22284 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));
22287 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));
22290 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));
22293 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));
22296 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));
22299 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));
22302 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));
22305 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));
22308 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));
22311 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));
22314 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));
22317 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));
22320 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));
22323 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));
22326 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));
22329 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));
22332 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));
22335 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));
22338 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));
22341 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));
22344 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));
22347 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));
22350 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));
22353 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));
22356 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));
22359 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));
22362 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));
22365 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));
22368 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));
22371 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));
22374 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));
22377 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));
22380 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));
22383 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));
22386 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));
22389 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));
22392 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));
22395 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));
22398 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));
22401 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));
22404 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));
22407 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));
22410 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));
22413 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));
22416 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));
22419 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));
22422 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));
22425 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));
22428 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));
22431 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));
22434 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));
22437 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));
22440 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));
22443 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));
22446 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));
22449 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));
22452 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));
22455 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));
22458 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));
22461 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));
22464 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));
22467 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));
22470 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));
22473 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));
22476 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));
22479 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));
22482 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));
22485 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));
22488 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));
22491 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));
22494 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));
22497 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));
22500 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));
22503 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));
22506 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));
22509 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));
22512 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));
22515 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));
22518 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));
22521 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));
22524 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));
22527 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));
22530 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));
22533 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));
22536 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));
22539 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));
22542 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));
22545 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));
22548 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));
22551 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));
22554 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));
22557 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));
22560 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));
22563 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));
22566 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));
22569 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));
22572 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));
22575 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));
22578 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));
22581 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));
22584 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));
22587 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));
22590 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));
22593 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));
22596 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));
22599 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));
22602 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
22605 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));
22608 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));
22611 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));
22614 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));
22617 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));
22620 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));
22623 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));
22626 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));
22629 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));
22632 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));
22635 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));
22638 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));
22641 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));
22644 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));
22647 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));
22650 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));
22653 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));
22656 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));
22659 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));
22662 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
22665 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));
22668 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));
22671 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));
22674 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));
22677 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));
22680 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));
22683 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));
22686 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));
22689 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));
22692 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));
22695 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));
22698 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));
22701 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));
22704 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));
22707 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));
22710 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));
22713 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));
22716 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));
22719 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));
22722 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));
22725 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));
22728 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));
22731 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));
22734 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));
22737 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
22740 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));
22743 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));
22746 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));
22749 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));
22752 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));
22755 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));
22758 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));
22761 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));
22764 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));
22767 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));
22770 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));
22773 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));
22776 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));
22779 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));
22782 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
22785 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));
22788 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));
22791 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));
22794 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
22797 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));
22800 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));
22803 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));
22806 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
22809 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
22812 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
22815 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));
22818 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
22821 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));
22824 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));
22827 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));
22830 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));
22833 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));
22836 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));
22839 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));
22842 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));
22845 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));
22848 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
22851 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));
22854 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));
22857 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));
22860 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));
22863 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));
22866 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));
22869 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));
22872 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));
22875 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
22878 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
22881 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));
22884 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));
22887 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));
22890 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));
22893 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));
22896 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));
22899 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));
22902 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));
22905 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));
22908 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));
22911 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));
22914 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));
22917 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));
22920 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));
22923 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));
22926 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));
22929 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));
22932 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));
22935 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));
22938 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));
22941 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));
22944 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));
22947 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));
22950 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));
22953 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));
22956 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));
22959 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));
22962 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));
22965 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));
22968 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));
22971 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));
22974 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));
22977 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));
22980 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));
22983 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));
22986 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));
22989 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));
22992 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));
22995 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));
22998 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));
23001 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
23004 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));
23007 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));
23010 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));
23013 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));
23016 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));
23019 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));
23022 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));
23025 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));
23028 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));
23031 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));
23034 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
23037 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
23040 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));
23043 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));
23046 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));
23049 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));
23052 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));
23055 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));
23058 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
23061 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));
23064 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));
23067 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));
23070 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));
23073 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));
23076 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));
23079 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));
23082 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));
23085 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));
23088 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));
23091 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));
23094 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));
23097 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));
23100 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));
23103 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));
23106 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));
23109 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));
23112 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));
23115 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));
23118 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));
23121 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));
23124 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));
23127 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));
23130 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));
23133 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));
23136 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));
23139 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));
23142 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));
23145 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));
23148 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
23151 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));
23154 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
23157 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));
23160 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));
23163 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));
23166 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));
23169 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));
23172 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));
23175 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));
23178 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));
23181 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
23184 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));
23187 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));
23190 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));
23193 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));
23196 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));
23199 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));
23202 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));
23205 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));
23208 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));
23211 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));
23214 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));
23217 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));
23220 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));
23223 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));
23226 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));
23229 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));
23232 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));
23235 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));
23238 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));
23241 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));
23244 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));
23247 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));
23250 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));
23253 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));
23256 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));
23259 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));
23262 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));
23265 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));
23268 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));
23271 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));
23274 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));
23277 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));
23280 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));
23283 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));
23286 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));
23289 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));
23292 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));
23295 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));
23298 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));
23301 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));
23304 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));
23307 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));
23310 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));
23313 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));
23316 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));
23319 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));
23322 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));
23325 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));
23328 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));
23331 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));
23334 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));
23337 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));
23340 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));
23343 PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int((int)(wxBUFFER_VIRTUAL_AREA
)));
23346 PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int((int)(wxBUFFER_CLIENT_AREA
)));
23349 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));
23352 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));
23355 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));
23358 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));
23361 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));
23364 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));
23367 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));
23369 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
23370 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
23371 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
23372 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
23373 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
23374 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
23375 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
23376 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
23377 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
23378 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
23379 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
23380 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
23381 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
23382 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
23383 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
23384 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
23385 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
23386 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
23387 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
23388 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
23389 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
23390 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
23391 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
23392 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
23393 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
23394 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
23395 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
23396 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
23397 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
23398 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
23399 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
23400 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
23401 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
23402 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
23403 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
23404 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
23405 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
23406 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
23407 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
23408 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
23409 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
23410 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
23411 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
23412 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
23413 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
23414 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
23415 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
23417 // Work around a chicken/egg problem in drawlist.cpp
23418 wxPyDrawList_SetAPIPtr();