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_wxRendererVersion swig_types[6]
1349 #define SWIGTYPE_p_wxDuplexMode swig_types[7]
1350 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[8]
1351 #define SWIGTYPE_p_char swig_types[9]
1352 #define SWIGTYPE_p_wxIconLocation swig_types[10]
1353 #define SWIGTYPE_p_wxImage swig_types[11]
1354 #define SWIGTYPE_p_wxMetaFileDC swig_types[12]
1355 #define SWIGTYPE_p_wxMask swig_types[13]
1356 #define SWIGTYPE_p_wxSize swig_types[14]
1357 #define SWIGTYPE_p_wxFont swig_types[15]
1358 #define SWIGTYPE_p_wxWindow swig_types[16]
1359 #define SWIGTYPE_p_double swig_types[17]
1360 #define SWIGTYPE_p_wxMemoryDC swig_types[18]
1361 #define SWIGTYPE_p_wxFontMapper swig_types[19]
1362 #define SWIGTYPE_p_wxEffects swig_types[20]
1363 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[21]
1364 #define SWIGTYPE_p_wxPalette swig_types[22]
1365 #define SWIGTYPE_p_wxBitmap swig_types[23]
1366 #define SWIGTYPE_p_wxObject swig_types[24]
1367 #define SWIGTYPE_p_wxRegionIterator swig_types[25]
1368 #define SWIGTYPE_p_wxRect swig_types[26]
1369 #define SWIGTYPE_p_wxPaperSize swig_types[27]
1370 #define SWIGTYPE_p_wxString swig_types[28]
1371 #define SWIGTYPE_unsigned_int swig_types[29]
1372 #define SWIGTYPE_p_unsigned_int swig_types[30]
1373 #define SWIGTYPE_p_wxPrinterDC swig_types[31]
1374 #define SWIGTYPE_p_wxIconBundle swig_types[32]
1375 #define SWIGTYPE_p_wxPoint swig_types[33]
1376 #define SWIGTYPE_p_wxDash swig_types[34]
1377 #define SWIGTYPE_p_wxScreenDC swig_types[35]
1378 #define SWIGTYPE_p_wxCursor swig_types[36]
1379 #define SWIGTYPE_p_wxClientDC swig_types[37]
1380 #define SWIGTYPE_p_wxBufferedDC swig_types[38]
1381 #define SWIGTYPE_p_wxImageList swig_types[39]
1382 #define SWIGTYPE_p_unsigned_char swig_types[40]
1383 #define SWIGTYPE_p_wxGDIObject swig_types[41]
1384 #define SWIGTYPE_p_wxIcon swig_types[42]
1385 #define SWIGTYPE_p_wxLocale swig_types[43]
1386 #define SWIGTYPE_ptrdiff_t swig_types[44]
1387 #define SWIGTYPE_std__ptrdiff_t swig_types[45]
1388 #define SWIGTYPE_p_wxRegion swig_types[46]
1389 #define SWIGTYPE_p_wxConfigBase swig_types[47]
1390 #define SWIGTYPE_p_wxLanguageInfo swig_types[48]
1391 #define SWIGTYPE_p_wxWindowDC swig_types[49]
1392 #define SWIGTYPE_p_wxPrintData swig_types[50]
1393 #define SWIGTYPE_p_wxBrushList swig_types[51]
1394 #define SWIGTYPE_p_wxFontList swig_types[52]
1395 #define SWIGTYPE_p_wxPen swig_types[53]
1396 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[54]
1397 #define SWIGTYPE_p_wxPaintDC swig_types[55]
1398 #define SWIGTYPE_p_wxPenList swig_types[56]
1399 #define SWIGTYPE_p_int swig_types[57]
1400 #define SWIGTYPE_p_wxMetaFile swig_types[58]
1401 #define SWIGTYPE_p_wxRendererNative swig_types[59]
1402 #define SWIGTYPE_p_unsigned_long swig_types[60]
1403 #define SWIGTYPE_p_wxNativeFontInfo swig_types[61]
1404 #define SWIGTYPE_p_wxEncodingConverter swig_types[62]
1405 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[63]
1406 #define SWIGTYPE_p_wxColourDatabase swig_types[64]
1407 static swig_type_info
*swig_types
[66];
1409 /* -------- TYPES TABLE (END) -------- */
1412 /*-----------------------------------------------
1413 @(target):= _gdi_.so
1414 ------------------------------------------------*/
1415 #define SWIG_init init_gdi_
1417 #define SWIG_name "_gdi_"
1419 #include "wx/wxPython/wxPython.h"
1420 #include "wx/wxPython/pyclasses.h"
1423 static const wxString
wxPyEmptyString(wxEmptyString
);
1429 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1432 if (value
< min_value
) {
1434 PyErr_Format(PyExc_OverflowError
,
1435 "value %ld is less than '%s' minimum %ld",
1436 value
, errmsg
, min_value
);
1439 } else if (value
> max_value
) {
1441 PyErr_Format(PyExc_OverflowError
,
1442 "value %ld is greater than '%s' maximum %ld",
1443 value
, errmsg
, max_value
);
1452 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1454 if (PyNumber_Check(obj
)) {
1455 if (val
) *val
= PyInt_AsLong(obj
);
1459 SWIG_type_error("number", obj
);
1465 #if INT_MAX != LONG_MAX
1467 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1469 const char* errmsg
= val
? "int" : (char*)0;
1471 if (SWIG_AsVal_long(obj
, &v
)) {
1472 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1473 if (val
) *val
= (int)(v
);
1482 SWIG_type_error(errmsg
, obj
);
1488 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1490 return SWIG_AsVal_long(obj
,(long*)val
);
1496 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1498 if (obj
== Py_True
) {
1499 if (val
) *val
= true;
1502 if (obj
== Py_False
) {
1503 if (val
) *val
= false;
1507 if (SWIG_AsVal_int(obj
, &res
)) {
1508 if (val
) *val
= res
? true : false;
1514 SWIG_type_error("bool", obj
);
1520 SWIGINTERNSHORT
bool
1521 SWIG_As_bool(PyObject
* obj
)
1524 if (!SWIG_AsVal_bool(obj
, &v
)) {
1526 this is needed to make valgrind/purify happier.
1528 memset((void*)&v
, 0, sizeof(bool));
1535 SWIG_Check_bool(PyObject
* obj
)
1537 return SWIG_AsVal_bool(obj
, (bool*)0);
1542 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1545 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1546 SWIG_type_error("unsigned number", obj
);
1549 *val
= (unsigned long)v
;
1555 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1556 unsigned long max_value
,
1559 if (value
> max_value
) {
1561 PyErr_Format(PyExc_OverflowError
,
1562 "value %lu is greater than '%s' minimum %lu",
1563 value
, errmsg
, max_value
);
1572 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1574 const char* errmsg
= val
? "unsigned char" : (char*)0;
1576 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1577 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1578 if (val
) *val
= (unsigned char)(v
);
1587 SWIG_type_error(errmsg
, obj
);
1593 SWIGINTERNSHORT
unsigned char
1594 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1597 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1599 this is needed to make valgrind/purify happier.
1601 memset((void*)&v
, 0, sizeof(unsigned char));
1608 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1610 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1614 SWIGINTERNSHORT
unsigned long
1615 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1618 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1620 this is needed to make valgrind/purify happier.
1622 memset((void*)&v
, 0, sizeof(unsigned long));
1629 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1631 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1635 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1636 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1640 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1641 #define SWIG_From_long PyInt_FromLong
1644 static PyObject
*wxColour_Get(wxColour
*self
){
1645 PyObject
* rv
= PyTuple_New(3);
1651 green
= self
->Green();
1652 blue
= self
->Blue();
1654 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
1655 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
1656 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
1659 static unsigned long wxColour_GetRGB(wxColour
*self
){
1660 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
1663 SWIGINTERNSHORT PyObject
*
1664 SWIG_From_unsigned_SS_long(unsigned long value
)
1666 return (value
> LONG_MAX
) ?
1667 PyLong_FromUnsignedLong(value
)
1668 : PyInt_FromLong((long)(value
));
1673 SWIG_As_int(PyObject
* obj
)
1676 if (!SWIG_AsVal_int(obj
, &v
)) {
1678 this is needed to make valgrind/purify happier.
1680 memset((void*)&v
, 0, sizeof(int));
1687 SWIG_Check_int(PyObject
* obj
)
1689 return SWIG_AsVal_int(obj
, (int*)0);
1693 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1694 #define SWIG_From_int PyInt_FromLong
1698 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1704 } else if (target
== Py_None
) {
1708 if (!PyTuple_Check(target
)) {
1710 target
= PyTuple_New(1);
1711 PyTuple_SetItem(target
, 0, o2
);
1713 o3
= PyTuple_New(1);
1714 PyTuple_SetItem(o3
, 0, o
);
1717 target
= PySequence_Concat(o2
, o3
);
1725 static PyObject
*wxPen_GetDashes(wxPen
*self
){
1727 int count
= self
->GetDashes(&dashes
);
1728 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1729 PyObject
* retval
= PyList_New(0);
1730 for (int x
=0; x
<count
; x
++) {
1731 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
1732 PyList_Append(retval
, pyint
);
1735 wxPyEndBlockThreads(blocked
);
1738 static void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
1739 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1740 int size
= PyList_Size(pyDashes
);
1741 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
1743 // black magic warning! The array of wxDashes needs to exist as
1744 // long as the pen does because wxPen does not copy the array. So
1745 // stick a copy in a Python string object and attach it to _self,
1746 // and then call SetDashes with a pointer to that array. Then
1747 // when the Python pen object is destroyed the array will be
1749 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
1750 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
1752 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
1754 Py_DECREF(strDashes
);
1755 wxPyEndBlockThreads(blocked
);
1757 static bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
1758 static bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
1760 #include <wx/image.h>
1762 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1763 char** cArray
= NULL
;
1766 if (!PyList_Check(listOfStrings
)) {
1767 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1770 count
= PyList_Size(listOfStrings
);
1771 cArray
= new char*[count
];
1773 for(int x
=0; x
<count
; x
++) {
1774 // TODO: Need some validation and error checking here
1775 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1781 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1782 char** cArray
= NULL
;
1785 cArray
= ConvertListOfStrings(listOfStrings
);
1788 bmp
= new wxBitmap(cArray
);
1792 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1795 PyString_AsStringAndSize(bits
, &buf
, &length
);
1796 return new wxBitmap(buf
, width
, height
, depth
);
1798 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1799 wxSize
size(self
->GetWidth(), self
->GetHeight());
1802 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1803 wxMask
*mask
= new wxMask(*self
, colour
);
1804 self
->SetMask(mask
);
1806 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1807 self
->SetWidth(size
.x
);
1808 self
->SetHeight(size
.y
);
1810 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
1811 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
1812 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
1814 return new wxMask(bitmap
, *wxBLACK
);
1816 return new wxMask(bitmap
, colour
);
1819 #include <wx/iconbndl.h>
1821 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
1822 wxIcon
* icon
= new wxIcon();
1823 icon
->CopyFromBitmap(bmp
);
1826 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
1827 char** cArray
= NULL
;
1830 cArray
= ConvertListOfStrings(listOfStrings
);
1833 icon
= new wxIcon(cArray
);
1837 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
1841 return new wxIconLocation(*filename
);
1844 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
1851 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
1859 SWIGINTERNSHORT
long
1860 SWIG_As_long(PyObject
* obj
)
1863 if (!SWIG_AsVal_long(obj
, &v
)) {
1865 this is needed to make valgrind/purify happier.
1867 memset((void*)&v
, 0, sizeof(long));
1874 SWIG_Check_long(PyObject
* obj
)
1876 return SWIG_AsVal_long(obj
, (long*)0);
1879 static wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
1881 wxImage
img(cursorName
, type
);
1882 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
1883 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
1884 return new wxCursor(img
);
1886 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
1891 static void wxRegionIterator_Next(wxRegionIterator
*self
){
1894 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
1895 return self
->operator bool();
1898 #include <wx/fontutil.h>
1899 #include <wx/fontmap.h>
1900 #include <wx/fontenum.h>
1902 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
1903 return self
->ToString();
1906 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
1907 static wxNativeEncodingInfo info
;
1908 if ( wxGetNativeFontEncoding(encoding
, &info
) )
1914 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
1915 wxFontEncoding alt_enc
;
1916 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1917 return PyInt_FromLong(alt_enc
);
1923 static wxFont
*new_wxFont(wxString
const &info
){
1924 wxNativeFontInfo nfi
;
1925 nfi
.FromString(info
);
1926 return new wxFont(nfi
);
1928 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1929 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
1931 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1932 return wxFontBase::New(pixelSize
, family
,
1933 style
, weight
, underlined
,
1936 static wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1937 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
1939 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
1940 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
1942 class wxPyFontEnumerator
: public wxFontEnumerator
{
1944 wxPyFontEnumerator() {}
1945 ~wxPyFontEnumerator() {}
1947 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
1948 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
1953 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
1954 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
1957 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
1958 wxArrayString
* arr
= self
->GetEncodings();
1960 return wxArrayString2PyList_helper(*arr
);
1962 return PyList_New(0);
1964 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
1965 wxArrayString
* arr
= self
->GetFacenames();
1967 return wxArrayString2PyList_helper(*arr
);
1969 return PyList_New(0);
1974 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
1977 loc
= new wxLocale();
1979 loc
= new wxLocale(language
, flags
);
1980 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1981 // for the floating point conversions and such to work right.
1982 #if PY_VERSION_HEX < 0x02040000
1983 setlocale(LC_NUMERIC
, "C");
1987 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
1988 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
1989 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1990 // for the floating point conversions and such to work right.
1991 #if PY_VERSION_HEX < 0x02040000
1992 setlocale(LC_NUMERIC
, "C");
1996 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
1997 bool rc
= self
->Init(language
, flags
);
1998 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1999 // for the floating point conversions and such to work right.
2000 #if PY_VERSION_HEX < 0x02040000
2001 setlocale(LC_NUMERIC
, "C");
2006 #include "wx/wxPython/pydrawxxx.h"
2008 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2010 self
->GetPixel(x
, y
, &col
);
2013 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2015 self
->GetPixel(pt
, &col
);
2020 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2022 if (PyNumber_Check(obj
)) {
2023 if (val
) *val
= PyFloat_AsDouble(obj
);
2027 SWIG_type_error("number", obj
);
2033 SWIGINTERNSHORT
double
2034 SWIG_As_double(PyObject
* obj
)
2037 if (!SWIG_AsVal_double(obj
, &v
)) {
2039 this is needed to make valgrind/purify happier.
2041 memset((void*)&v
, 0, sizeof(double));
2048 SWIG_Check_double(PyObject
* obj
)
2050 return SWIG_AsVal_double(obj
, (double*)0);
2053 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2055 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2059 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2061 self
->GetClippingBox(rect
);
2064 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2066 self
->GetPartialTextExtents(text
, widths
);
2070 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2071 #define SWIG_From_double PyFloat_FromDouble
2075 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2076 self
->SetLogicalOrigin(point
.x
, point
.y
);
2078 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2079 self
->SetDeviceOrigin(point
.x
, point
.y
);
2081 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2082 self
->CalcBoundingBox(point
.x
, point
.y
);
2084 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2085 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2087 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2088 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2090 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2091 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2093 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2094 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2096 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2097 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2099 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2100 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2103 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2111 #include <wx/dcbuffer.h>
2114 #include <wx/dcps.h>
2117 class wxMetaFile
: public wxObject
{
2119 wxMetaFile(const wxString
&)
2120 { wxPyRaiseNotImplemented(); }
2123 class wxMetaFileDC
: public wxClientDC
{
2125 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
2126 { wxPyRaiseNotImplemented(); }
2131 class wxPrinterDC
: public wxClientDC
{
2133 wxPrinterDC(const wxPrintData
&)
2134 { wxPyRaiseNotImplemented(); }
2140 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2141 self
->AddColour(name
, wxColour(red
, green
, blue
));
2144 #include <wx/effects.h>
2147 #include "wx/renderer.h"
2150 SWIGINTERNSHORT PyObject
*
2151 SWIG_From_bool(bool value
)
2153 PyObject
*obj
= value
? Py_True
: Py_False
;
2161 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
*resultobj
;
2163 wxGDIObject
*result
;
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2170 if (!wxPyCheckForApp()) SWIG_fail
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 result
= (wxGDIObject
*)new wxGDIObject();
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2184 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2186 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2187 PyObject
* obj0
= 0 ;
2189 (char *) "self", NULL
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2194 if (SWIG_arg_fail(1)) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 Py_INCREF(Py_None
); resultobj
= Py_None
;
2209 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2220 if (SWIG_arg_fail(1)) SWIG_fail
;
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 result
= (bool)(arg1
)->GetVisible();
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2237 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2242 PyObject
* obj1
= 0 ;
2244 (char *) "self",(char *) "visible", NULL
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2249 if (SWIG_arg_fail(1)) SWIG_fail
;
2251 arg2
= (bool)(SWIG_As_bool(obj1
));
2252 if (SWIG_arg_fail(2)) SWIG_fail
;
2255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2256 (arg1
)->SetVisible(arg2
);
2258 wxPyEndAllowThreads(__tstate
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2261 Py_INCREF(Py_None
); resultobj
= Py_None
;
2268 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
*resultobj
;
2270 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2272 PyObject
* obj0
= 0 ;
2274 (char *) "self", NULL
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2279 if (SWIG_arg_fail(1)) SWIG_fail
;
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 result
= (bool)(arg1
)->IsNull();
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2296 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2299 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2301 return Py_BuildValue((char *)"");
2303 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
*resultobj
;
2305 byte arg1
= (byte
) 0 ;
2306 byte arg2
= (byte
) 0 ;
2307 byte arg3
= (byte
) 0 ;
2309 PyObject
* obj0
= 0 ;
2310 PyObject
* obj1
= 0 ;
2311 PyObject
* obj2
= 0 ;
2313 (char *) "red",(char *) "green",(char *) "blue", NULL
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2319 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
2320 if (SWIG_arg_fail(1)) SWIG_fail
;
2325 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2326 if (SWIG_arg_fail(2)) SWIG_fail
;
2331 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2332 if (SWIG_arg_fail(3)) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2349 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 wxString
*arg1
= 0 ;
2353 bool temp1
= false ;
2354 PyObject
* obj0
= 0 ;
2356 (char *) "colorName", NULL
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2361 arg1
= wxString_in_helper(obj0
);
2362 if (arg1
== NULL
) SWIG_fail
;
2366 if (!wxPyCheckForApp()) SWIG_fail
;
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2388 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
*resultobj
;
2390 unsigned long arg1
;
2392 PyObject
* obj0
= 0 ;
2394 (char *) "colRGB", NULL
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2399 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
2400 if (SWIG_arg_fail(1)) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 result
= (wxColour
*)new wxColour(arg1
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2416 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2418 wxColour
*arg1
= (wxColour
*) 0 ;
2419 PyObject
* obj0
= 0 ;
2421 (char *) "self", NULL
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2426 if (SWIG_arg_fail(1)) SWIG_fail
;
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2434 Py_INCREF(Py_None
); resultobj
= Py_None
;
2441 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
*resultobj
;
2443 wxColour
*arg1
= (wxColour
*) 0 ;
2445 PyObject
* obj0
= 0 ;
2447 (char *) "self", NULL
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2452 if (SWIG_arg_fail(1)) SWIG_fail
;
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 result
= (byte
)(arg1
)->Red();
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2461 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2469 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxColour
*arg1
= (wxColour
*) 0 ;
2473 PyObject
* obj0
= 0 ;
2475 (char *) "self", NULL
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2480 if (SWIG_arg_fail(1)) SWIG_fail
;
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 result
= (byte
)(arg1
)->Green();
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2489 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2497 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
*resultobj
;
2499 wxColour
*arg1
= (wxColour
*) 0 ;
2501 PyObject
* obj0
= 0 ;
2503 (char *) "self", NULL
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2508 if (SWIG_arg_fail(1)) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 result
= (byte
)(arg1
)->Blue();
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2525 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxColour
*arg1
= (wxColour
*) 0 ;
2529 PyObject
* obj0
= 0 ;
2531 (char *) "self", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2536 if (SWIG_arg_fail(1)) SWIG_fail
;
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 result
= (bool)(arg1
)->Ok();
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2553 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
*resultobj
;
2555 wxColour
*arg1
= (wxColour
*) 0 ;
2559 PyObject
* obj0
= 0 ;
2560 PyObject
* obj1
= 0 ;
2561 PyObject
* obj2
= 0 ;
2562 PyObject
* obj3
= 0 ;
2564 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2569 if (SWIG_arg_fail(1)) SWIG_fail
;
2571 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2572 if (SWIG_arg_fail(2)) SWIG_fail
;
2575 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2576 if (SWIG_arg_fail(3)) SWIG_fail
;
2579 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2580 if (SWIG_arg_fail(4)) SWIG_fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 (arg1
)->Set(arg2
,arg3
,arg4
);
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 Py_INCREF(Py_None
); resultobj
= Py_None
;
2596 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
*resultobj
;
2598 wxColour
*arg1
= (wxColour
*) 0 ;
2599 unsigned long arg2
;
2600 PyObject
* obj0
= 0 ;
2601 PyObject
* obj1
= 0 ;
2603 (char *) "self",(char *) "colRGB", NULL
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2608 if (SWIG_arg_fail(1)) SWIG_fail
;
2610 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
2611 if (SWIG_arg_fail(2)) SWIG_fail
;
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2620 Py_INCREF(Py_None
); resultobj
= Py_None
;
2627 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
*resultobj
;
2629 wxColour
*arg1
= (wxColour
*) 0 ;
2630 wxString
*arg2
= 0 ;
2631 bool temp2
= false ;
2632 PyObject
* obj0
= 0 ;
2633 PyObject
* obj1
= 0 ;
2635 (char *) "self",(char *) "colourName", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2640 if (SWIG_arg_fail(1)) SWIG_fail
;
2642 arg2
= wxString_in_helper(obj1
);
2643 if (arg2
== NULL
) SWIG_fail
;
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 (arg1
)->InitFromName((wxString
const &)*arg2
);
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2653 Py_INCREF(Py_None
); resultobj
= Py_None
;
2668 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxColour
*arg1
= (wxColour
*) 0 ;
2672 PyObject
* obj0
= 0 ;
2674 (char *) "self", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2679 if (SWIG_arg_fail(1)) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2688 resultobj
= SWIG_From_long((long)(result
));
2696 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxColour
*arg1
= (wxColour
*) 0 ;
2699 wxColour
*arg2
= 0 ;
2702 PyObject
* obj0
= 0 ;
2703 PyObject
* obj1
= 0 ;
2705 (char *) "self",(char *) "colour", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2710 if (SWIG_arg_fail(1)) SWIG_fail
;
2713 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2731 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 wxColour
*arg1
= (wxColour
*) 0 ;
2734 wxColour
*arg2
= 0 ;
2737 PyObject
* obj0
= 0 ;
2738 PyObject
* obj1
= 0 ;
2740 (char *) "self",(char *) "colour", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2745 if (SWIG_arg_fail(1)) SWIG_fail
;
2748 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2766 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 wxColour
*arg1
= (wxColour
*) 0 ;
2770 PyObject
* obj0
= 0 ;
2772 (char *) "self", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2777 if (SWIG_arg_fail(1)) SWIG_fail
;
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 result
= (PyObject
*)wxColour_Get(arg1
);
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2792 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
*resultobj
;
2794 wxColour
*arg1
= (wxColour
*) 0 ;
2795 unsigned long result
;
2796 PyObject
* obj0
= 0 ;
2798 (char *) "self", NULL
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2803 if (SWIG_arg_fail(1)) SWIG_fail
;
2805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2806 result
= (unsigned long)wxColour_GetRGB(arg1
);
2808 wxPyEndAllowThreads(__tstate
);
2809 if (PyErr_Occurred()) SWIG_fail
;
2812 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
2820 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2823 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2825 return Py_BuildValue((char *)"");
2827 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
*resultobj
;
2830 unsigned char *arg2
= (unsigned char *) 0 ;
2831 unsigned char *arg3
= (unsigned char *) 0 ;
2832 unsigned char *arg4
= (unsigned char *) 0 ;
2834 PyObject
* obj0
= 0 ;
2835 PyObject
* obj1
= 0 ;
2836 PyObject
* obj2
= 0 ;
2837 PyObject
* obj3
= 0 ;
2839 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2844 arg1
= (int)(SWIG_As_int(obj0
));
2845 if (SWIG_arg_fail(1)) SWIG_fail
;
2847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2848 if (SWIG_arg_fail(2)) SWIG_fail
;
2849 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2850 if (SWIG_arg_fail(3)) SWIG_fail
;
2851 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2852 if (SWIG_arg_fail(4)) SWIG_fail
;
2854 if (!wxPyCheckForApp()) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
2868 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
*resultobj
;
2870 wxPalette
*arg1
= (wxPalette
*) 0 ;
2871 PyObject
* obj0
= 0 ;
2873 (char *) "self", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
2877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail
;
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2886 Py_INCREF(Py_None
); resultobj
= Py_None
;
2893 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
*resultobj
;
2895 wxPalette
*arg1
= (wxPalette
*) 0 ;
2900 PyObject
* obj0
= 0 ;
2901 PyObject
* obj1
= 0 ;
2902 PyObject
* obj2
= 0 ;
2903 PyObject
* obj3
= 0 ;
2905 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2910 if (SWIG_arg_fail(1)) SWIG_fail
;
2912 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2913 if (SWIG_arg_fail(2)) SWIG_fail
;
2916 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2917 if (SWIG_arg_fail(3)) SWIG_fail
;
2920 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2921 if (SWIG_arg_fail(4)) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= SWIG_From_int((int)(result
));
2939 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxPalette
*arg1
= (wxPalette
*) 0 ;
2943 byte
*arg3
= (byte
*) 0 ;
2944 byte
*arg4
= (byte
*) 0 ;
2945 byte
*arg5
= (byte
*) 0 ;
2953 PyObject
* obj0
= 0 ;
2954 PyObject
* obj1
= 0 ;
2956 (char *) "self",(char *) "pixel", NULL
2959 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2960 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2961 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2964 if (SWIG_arg_fail(1)) SWIG_fail
;
2966 arg2
= (int)(SWIG_As_int(obj1
));
2967 if (SWIG_arg_fail(2)) SWIG_fail
;
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2979 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2980 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
2981 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2982 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
2983 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2984 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
2991 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxPalette
*arg1
= (wxPalette
*) 0 ;
2995 PyObject
* obj0
= 0 ;
2997 (char *) "self", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
3001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3002 if (SWIG_arg_fail(1)) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3011 resultobj
= SWIG_From_int((int)(result
));
3019 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxPalette
*arg1
= (wxPalette
*) 0 ;
3023 PyObject
* obj0
= 0 ;
3025 (char *) "self", NULL
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3030 if (SWIG_arg_fail(1)) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= (bool)(arg1
)->Ok();
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3047 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3050 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3052 return Py_BuildValue((char *)"");
3054 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
*resultobj
;
3056 wxColour
*arg1
= 0 ;
3057 int arg2
= (int) 1 ;
3058 int arg3
= (int) wxSOLID
;
3061 PyObject
* obj0
= 0 ;
3062 PyObject
* obj1
= 0 ;
3063 PyObject
* obj2
= 0 ;
3065 (char *) "colour",(char *) "width",(char *) "style", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3071 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3075 arg2
= (int)(SWIG_As_int(obj1
));
3076 if (SWIG_arg_fail(2)) SWIG_fail
;
3081 arg3
= (int)(SWIG_As_int(obj2
));
3082 if (SWIG_arg_fail(3)) SWIG_fail
;
3086 if (!wxPyCheckForApp()) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3100 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxPen
*arg1
= (wxPen
*) 0 ;
3103 PyObject
* obj0
= 0 ;
3105 (char *) "self", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3110 if (SWIG_arg_fail(1)) SWIG_fail
;
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 Py_INCREF(Py_None
); resultobj
= Py_None
;
3125 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxPen
*arg1
= (wxPen
*) 0 ;
3129 PyObject
* obj0
= 0 ;
3131 (char *) "self", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3136 if (SWIG_arg_fail(1)) SWIG_fail
;
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 result
= (int)(arg1
)->GetCap();
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3145 resultobj
= SWIG_From_int((int)(result
));
3153 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3155 wxPen
*arg1
= (wxPen
*) 0 ;
3157 PyObject
* obj0
= 0 ;
3159 (char *) "self", NULL
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3164 if (SWIG_arg_fail(1)) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 result
= (arg1
)->GetColour();
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3173 wxColour
* resultptr
;
3174 resultptr
= new wxColour((wxColour
&)(result
));
3175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3183 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
*resultobj
;
3185 wxPen
*arg1
= (wxPen
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3189 (char *) "self", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3194 if (SWIG_arg_fail(1)) SWIG_fail
;
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 result
= (int)(arg1
)->GetJoin();
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3203 resultobj
= SWIG_From_int((int)(result
));
3211 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3213 wxPen
*arg1
= (wxPen
*) 0 ;
3215 PyObject
* obj0
= 0 ;
3217 (char *) "self", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3222 if (SWIG_arg_fail(1)) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= (int)(arg1
)->GetStyle();
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3231 resultobj
= SWIG_From_int((int)(result
));
3239 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3241 wxPen
*arg1
= (wxPen
*) 0 ;
3243 PyObject
* obj0
= 0 ;
3245 (char *) "self", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3250 if (SWIG_arg_fail(1)) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 result
= (int)(arg1
)->GetWidth();
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3259 resultobj
= SWIG_From_int((int)(result
));
3267 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3269 wxPen
*arg1
= (wxPen
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3273 (char *) "self", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail
;
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3281 result
= (bool)(arg1
)->Ok();
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3295 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxPen
*arg1
= (wxPen
*) 0 ;
3299 PyObject
* obj0
= 0 ;
3300 PyObject
* obj1
= 0 ;
3302 (char *) "self",(char *) "cap_style", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3307 if (SWIG_arg_fail(1)) SWIG_fail
;
3309 arg2
= (int)(SWIG_As_int(obj1
));
3310 if (SWIG_arg_fail(2)) SWIG_fail
;
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 (arg1
)->SetCap(arg2
);
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) SWIG_fail
;
3319 Py_INCREF(Py_None
); resultobj
= Py_None
;
3326 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
*resultobj
;
3328 wxPen
*arg1
= (wxPen
*) 0 ;
3329 wxColour
*arg2
= 0 ;
3331 PyObject
* obj0
= 0 ;
3332 PyObject
* obj1
= 0 ;
3334 (char *) "self",(char *) "colour", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3339 if (SWIG_arg_fail(1)) SWIG_fail
;
3342 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 (arg1
)->SetColour(*arg2
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3351 Py_INCREF(Py_None
); resultobj
= Py_None
;
3358 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3360 wxPen
*arg1
= (wxPen
*) 0 ;
3362 PyObject
* obj0
= 0 ;
3363 PyObject
* obj1
= 0 ;
3365 (char *) "self",(char *) "join_style", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3370 if (SWIG_arg_fail(1)) SWIG_fail
;
3372 arg2
= (int)(SWIG_As_int(obj1
));
3373 if (SWIG_arg_fail(2)) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 (arg1
)->SetJoin(arg2
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxPen
*arg1
= (wxPen
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3394 PyObject
* obj1
= 0 ;
3396 (char *) "self",(char *) "style", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3401 if (SWIG_arg_fail(1)) SWIG_fail
;
3403 arg2
= (int)(SWIG_As_int(obj1
));
3404 if (SWIG_arg_fail(2)) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 (arg1
)->SetStyle(arg2
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 Py_INCREF(Py_None
); resultobj
= Py_None
;
3420 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxPen
*arg1
= (wxPen
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3425 PyObject
* obj1
= 0 ;
3427 (char *) "self",(char *) "width", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3432 if (SWIG_arg_fail(1)) SWIG_fail
;
3434 arg2
= (int)(SWIG_As_int(obj1
));
3435 if (SWIG_arg_fail(2)) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 (arg1
)->SetWidth(arg2
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxPen
*arg1
= (wxPen
*) 0 ;
3455 wxDash
*arg3
= (wxDash
*) 0 ;
3456 PyObject
* obj0
= 0 ;
3457 PyObject
* obj1
= 0 ;
3459 (char *) "self",(char *) "dashes", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3464 if (SWIG_arg_fail(1)) SWIG_fail
;
3466 arg2
= PyList_Size(obj1
);
3467 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3468 if (arg3
== NULL
) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 (arg1
)->SetDashes(arg2
,arg3
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 if (arg3
) delete [] arg3
;
3484 if (arg3
) delete [] arg3
;
3490 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxPen
*arg1
= (wxPen
*) 0 ;
3494 PyObject
* obj0
= 0 ;
3496 (char *) "self", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3501 if (SWIG_arg_fail(1)) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3516 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxPen
*arg1
= (wxPen
*) 0 ;
3519 PyObject
*arg2
= (PyObject
*) 0 ;
3520 PyObject
*arg3
= (PyObject
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3523 PyObject
* obj2
= 0 ;
3525 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3530 if (SWIG_arg_fail(1)) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 wxPen__SetDashes(arg1
,arg2
,arg3
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3540 Py_INCREF(Py_None
); resultobj
= Py_None
;
3547 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
;
3549 wxPen
*arg1
= (wxPen
*) 0 ;
3551 PyObject
* obj0
= 0 ;
3553 (char *) "self", NULL
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
3557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3558 if (SWIG_arg_fail(1)) SWIG_fail
;
3560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3561 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
3563 wxPyEndAllowThreads(__tstate
);
3564 if (PyErr_Occurred()) SWIG_fail
;
3567 resultobj
= SWIG_From_int((int)(result
));
3575 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
*resultobj
;
3577 wxPen
*arg1
= (wxPen
*) 0 ;
3578 wxPen
*arg2
= (wxPen
*) 0 ;
3580 PyObject
* obj0
= 0 ;
3581 PyObject
* obj1
= 0 ;
3583 (char *) "self",(char *) "other", NULL
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3588 if (SWIG_arg_fail(1)) SWIG_fail
;
3589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3590 if (SWIG_arg_fail(2)) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3607 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3609 wxPen
*arg1
= (wxPen
*) 0 ;
3610 wxPen
*arg2
= (wxPen
*) 0 ;
3612 PyObject
* obj0
= 0 ;
3613 PyObject
* obj1
= 0 ;
3615 (char *) "self",(char *) "other", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3620 if (SWIG_arg_fail(1)) SWIG_fail
;
3621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3622 if (SWIG_arg_fail(2)) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3639 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3642 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3644 return Py_BuildValue((char *)"");
3646 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxColour
*arg1
= 0 ;
3649 int arg2
= (int) wxSOLID
;
3652 PyObject
* obj0
= 0 ;
3653 PyObject
* obj1
= 0 ;
3655 (char *) "colour",(char *) "style", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3661 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3665 arg2
= (int)(SWIG_As_int(obj1
));
3666 if (SWIG_arg_fail(2)) SWIG_fail
;
3670 if (!wxPyCheckForApp()) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3684 static PyObject
*_wrap_new_BrushFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxBitmap
*arg1
= 0 ;
3688 PyObject
* obj0
= 0 ;
3690 (char *) "stippleBitmap", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) goto fail
;
3695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3696 if (SWIG_arg_fail(1)) SWIG_fail
;
3698 SWIG_null_ref("wxBitmap");
3700 if (SWIG_arg_fail(1)) SWIG_fail
;
3703 if (!wxPyCheckForApp()) SWIG_fail
;
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3717 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3719 wxBrush
*arg1
= (wxBrush
*) 0 ;
3720 PyObject
* obj0
= 0 ;
3722 (char *) "self", NULL
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3727 if (SWIG_arg_fail(1)) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 Py_INCREF(Py_None
); resultobj
= Py_None
;
3742 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxBrush
*arg1
= (wxBrush
*) 0 ;
3745 wxColour
*arg2
= 0 ;
3747 PyObject
* obj0
= 0 ;
3748 PyObject
* obj1
= 0 ;
3750 (char *) "self",(char *) "col", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3755 if (SWIG_arg_fail(1)) SWIG_fail
;
3758 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 (arg1
)->SetColour((wxColour
const &)*arg2
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxBrush
*arg1
= (wxBrush
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3779 PyObject
* obj1
= 0 ;
3781 (char *) "self",(char *) "style", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3786 if (SWIG_arg_fail(1)) SWIG_fail
;
3788 arg2
= (int)(SWIG_As_int(obj1
));
3789 if (SWIG_arg_fail(2)) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 (arg1
)->SetStyle(arg2
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 Py_INCREF(Py_None
); resultobj
= Py_None
;
3805 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 wxBrush
*arg1
= (wxBrush
*) 0 ;
3808 wxBitmap
*arg2
= 0 ;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3812 (char *) "self",(char *) "stipple", NULL
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3817 if (SWIG_arg_fail(1)) SWIG_fail
;
3819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3820 if (SWIG_arg_fail(2)) SWIG_fail
;
3822 SWIG_null_ref("wxBitmap");
3824 if (SWIG_arg_fail(2)) SWIG_fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 Py_INCREF(Py_None
); resultobj
= Py_None
;
3840 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxBrush
*arg1
= (wxBrush
*) 0 ;
3844 PyObject
* obj0
= 0 ;
3846 (char *) "self", NULL
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
3850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3851 if (SWIG_arg_fail(1)) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= ((wxBrush
const *)arg1
)->GetColour();
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3860 wxColour
* resultptr
;
3861 resultptr
= new wxColour((wxColour
&)(result
));
3862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3870 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxBrush
*arg1
= (wxBrush
*) 0 ;
3874 PyObject
* obj0
= 0 ;
3876 (char *) "self", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
3880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3881 if (SWIG_arg_fail(1)) SWIG_fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_From_int((int)(result
));
3898 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
;
3900 wxBrush
*arg1
= (wxBrush
*) 0 ;
3902 PyObject
* obj0
= 0 ;
3904 (char *) "self", NULL
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
3908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3909 if (SWIG_arg_fail(1)) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3924 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 wxBrush
*arg1
= (wxBrush
*) 0 ;
3928 PyObject
* obj0
= 0 ;
3930 (char *) "self", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
3934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3935 if (SWIG_arg_fail(1)) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3952 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
;
3954 wxBrush
*arg1
= (wxBrush
*) 0 ;
3956 PyObject
* obj0
= 0 ;
3958 (char *) "self", NULL
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
3962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3963 if (SWIG_arg_fail(1)) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 result
= (bool)(arg1
)->Ok();
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3980 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
3982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3983 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
3985 return Py_BuildValue((char *)"");
3987 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 wxString
*arg1
= 0 ;
3990 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
3992 bool temp1
= false ;
3993 PyObject
* obj0
= 0 ;
3994 PyObject
* obj1
= 0 ;
3996 (char *) "name",(char *) "type", NULL
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4001 arg1
= wxString_in_helper(obj0
);
4002 if (arg1
== NULL
) SWIG_fail
;
4007 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4008 if (SWIG_arg_fail(2)) SWIG_fail
;
4012 if (!wxPyCheckForApp()) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4034 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4039 (char *) "self", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4044 if (SWIG_arg_fail(1)) SWIG_fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 Py_INCREF(Py_None
); resultobj
= Py_None
;
4059 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4063 int arg3
= (int) -1 ;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4067 PyObject
* obj2
= 0 ;
4069 (char *) "width",(char *) "height",(char *) "depth", NULL
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4074 arg1
= (int)(SWIG_As_int(obj0
));
4075 if (SWIG_arg_fail(1)) SWIG_fail
;
4078 arg2
= (int)(SWIG_As_int(obj1
));
4079 if (SWIG_arg_fail(2)) SWIG_fail
;
4083 arg3
= (int)(SWIG_As_int(obj2
));
4084 if (SWIG_arg_fail(3)) SWIG_fail
;
4088 if (!wxPyCheckForApp()) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4102 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4106 PyObject
* obj0
= 0 ;
4108 (char *) "icon", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4114 if (SWIG_arg_fail(1)) SWIG_fail
;
4116 SWIG_null_ref("wxIcon");
4118 if (SWIG_arg_fail(1)) SWIG_fail
;
4121 if (!wxPyCheckForApp()) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4135 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4138 int arg2
= (int) -1 ;
4140 PyObject
* obj0
= 0 ;
4141 PyObject
* obj1
= 0 ;
4143 (char *) "image",(char *) "depth", NULL
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4149 if (SWIG_arg_fail(1)) SWIG_fail
;
4151 SWIG_null_ref("wxImage");
4153 if (SWIG_arg_fail(1)) SWIG_fail
;
4157 arg2
= (int)(SWIG_As_int(obj1
));
4158 if (SWIG_arg_fail(2)) SWIG_fail
;
4162 if (!wxPyCheckForApp()) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4176 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 PyObject
*arg1
= (PyObject
*) 0 ;
4180 PyObject
* obj0
= 0 ;
4182 (char *) "listOfStrings", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4188 if (!wxPyCheckForApp()) SWIG_fail
;
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4202 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
;
4204 PyObject
*arg1
= (PyObject
*) 0 ;
4207 int arg4
= (int) 1 ;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4211 PyObject
* obj2
= 0 ;
4212 PyObject
* obj3
= 0 ;
4214 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4220 arg2
= (int)(SWIG_As_int(obj1
));
4221 if (SWIG_arg_fail(2)) SWIG_fail
;
4224 arg3
= (int)(SWIG_As_int(obj2
));
4225 if (SWIG_arg_fail(3)) SWIG_fail
;
4229 arg4
= (int)(SWIG_As_int(obj3
));
4230 if (SWIG_arg_fail(4)) SWIG_fail
;
4234 if (!wxPyCheckForApp()) SWIG_fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4248 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
;
4250 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4252 PyObject
* obj0
= 0 ;
4254 (char *) "self", NULL
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4259 if (SWIG_arg_fail(1)) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= (bool)(arg1
)->Ok();
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4276 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4280 PyObject
* obj0
= 0 ;
4282 (char *) "self", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4287 if (SWIG_arg_fail(1)) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (int)(arg1
)->GetWidth();
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= SWIG_From_int((int)(result
));
4304 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4308 PyObject
* obj0
= 0 ;
4310 (char *) "self", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4315 if (SWIG_arg_fail(1)) SWIG_fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 result
= (int)(arg1
)->GetHeight();
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4324 resultobj
= SWIG_From_int((int)(result
));
4332 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4336 PyObject
* obj0
= 0 ;
4338 (char *) "self", NULL
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4343 if (SWIG_arg_fail(1)) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (int)(arg1
)->GetDepth();
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_From_int((int)(result
));
4360 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4366 (char *) "self", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4371 if (SWIG_arg_fail(1)) SWIG_fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 result
= wxBitmap_GetSize(arg1
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4381 resultptr
= new wxSize((wxSize
&)(result
));
4382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4390 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4393 SwigValueWrapper
<wxImage
> result
;
4394 PyObject
* obj0
= 0 ;
4396 (char *) "self", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4401 if (SWIG_arg_fail(1)) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4410 wxImage
* resultptr
;
4411 resultptr
= new wxImage((wxImage
&)(result
));
4412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4420 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4422 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4424 PyObject
* obj0
= 0 ;
4426 (char *) "self", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4431 if (SWIG_arg_fail(1)) SWIG_fail
;
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4446 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4449 wxMask
*arg2
= (wxMask
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4453 (char *) "self",(char *) "mask", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4458 if (SWIG_arg_fail(1)) SWIG_fail
;
4459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4460 if (SWIG_arg_fail(2)) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 (arg1
)->SetMask(arg2
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 Py_INCREF(Py_None
); resultobj
= Py_None
;
4475 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4478 wxColour
*arg2
= 0 ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4483 (char *) "self",(char *) "colour", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4488 if (SWIG_arg_fail(1)) SWIG_fail
;
4491 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 Py_INCREF(Py_None
); resultobj
= Py_None
;
4507 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4511 SwigValueWrapper
<wxBitmap
> result
;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj1
= 0 ;
4516 (char *) "self",(char *) "rect", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4521 if (SWIG_arg_fail(1)) SWIG_fail
;
4524 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4534 wxBitmap
* resultptr
;
4535 resultptr
= new wxBitmap((wxBitmap
&)(result
));
4536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4544 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4547 wxString
*arg2
= 0 ;
4549 wxPalette
*arg4
= (wxPalette
*) NULL
;
4551 bool temp2
= false ;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4554 PyObject
* obj2
= 0 ;
4555 PyObject
* obj3
= 0 ;
4557 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4562 if (SWIG_arg_fail(1)) SWIG_fail
;
4564 arg2
= wxString_in_helper(obj1
);
4565 if (arg2
== NULL
) SWIG_fail
;
4569 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4570 if (SWIG_arg_fail(3)) SWIG_fail
;
4573 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4574 if (SWIG_arg_fail(4)) SWIG_fail
;
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4600 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4603 wxString
*arg2
= 0 ;
4606 bool temp2
= false ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4609 PyObject
* obj2
= 0 ;
4611 (char *) "self",(char *) "name",(char *) "type", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4616 if (SWIG_arg_fail(1)) SWIG_fail
;
4618 arg2
= wxString_in_helper(obj1
);
4619 if (arg2
== NULL
) SWIG_fail
;
4623 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4624 if (SWIG_arg_fail(3)) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4650 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
;
4652 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4656 (char *) "self", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4676 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
;
4678 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4681 PyObject
* obj0
= 0 ;
4682 PyObject
* obj1
= 0 ;
4684 (char *) "self",(char *) "icon", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4689 if (SWIG_arg_fail(1)) SWIG_fail
;
4691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4692 if (SWIG_arg_fail(2)) SWIG_fail
;
4694 SWIG_null_ref("wxIcon");
4696 if (SWIG_arg_fail(2)) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4714 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
;
4716 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4718 PyObject
* obj0
= 0 ;
4719 PyObject
* obj1
= 0 ;
4721 (char *) "self",(char *) "height", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4726 if (SWIG_arg_fail(1)) SWIG_fail
;
4728 arg2
= (int)(SWIG_As_int(obj1
));
4729 if (SWIG_arg_fail(2)) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 (arg1
)->SetHeight(arg2
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 Py_INCREF(Py_None
); resultobj
= Py_None
;
4745 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4749 PyObject
* obj0
= 0 ;
4750 PyObject
* obj1
= 0 ;
4752 (char *) "self",(char *) "width", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4757 if (SWIG_arg_fail(1)) SWIG_fail
;
4759 arg2
= (int)(SWIG_As_int(obj1
));
4760 if (SWIG_arg_fail(2)) SWIG_fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 (arg1
)->SetWidth(arg2
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4769 Py_INCREF(Py_None
); resultobj
= Py_None
;
4776 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
;
4778 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4780 PyObject
* obj0
= 0 ;
4781 PyObject
* obj1
= 0 ;
4783 (char *) "self",(char *) "depth", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4788 if (SWIG_arg_fail(1)) SWIG_fail
;
4790 arg2
= (int)(SWIG_As_int(obj1
));
4791 if (SWIG_arg_fail(2)) SWIG_fail
;
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 (arg1
)->SetDepth(arg2
);
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4800 Py_INCREF(Py_None
); resultobj
= Py_None
;
4807 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
*resultobj
;
4809 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4815 (char *) "self",(char *) "size", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4820 if (SWIG_arg_fail(1)) SWIG_fail
;
4823 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 Py_INCREF(Py_None
); resultobj
= Py_None
;
4839 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4842 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4844 PyObject
* obj0
= 0 ;
4845 PyObject
* obj1
= 0 ;
4847 (char *) "self",(char *) "other", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4852 if (SWIG_arg_fail(1)) SWIG_fail
;
4853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4854 if (SWIG_arg_fail(2)) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4871 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4874 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4879 (char *) "self",(char *) "other", NULL
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4884 if (SWIG_arg_fail(1)) SWIG_fail
;
4885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4886 if (SWIG_arg_fail(2)) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4903 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
4905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4906 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
4908 return Py_BuildValue((char *)"");
4910 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxBitmap
*arg1
= 0 ;
4913 wxColour
const &arg2_defvalue
= wxNullColour
;
4914 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4920 (char *) "bitmap",(char *) "colour", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
4925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4926 if (SWIG_arg_fail(1)) SWIG_fail
;
4928 SWIG_null_ref("wxBitmap");
4930 if (SWIG_arg_fail(1)) SWIG_fail
;
4935 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4939 if (!wxPyCheckForApp()) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
4953 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
4955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4956 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
4958 return Py_BuildValue((char *)"");
4960 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxString
*arg1
= 0 ;
4964 int arg3
= (int) -1 ;
4965 int arg4
= (int) -1 ;
4967 bool temp1
= false ;
4968 PyObject
* obj0
= 0 ;
4969 PyObject
* obj1
= 0 ;
4970 PyObject
* obj2
= 0 ;
4971 PyObject
* obj3
= 0 ;
4973 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4978 arg1
= wxString_in_helper(obj0
);
4979 if (arg1
== NULL
) SWIG_fail
;
4983 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4984 if (SWIG_arg_fail(2)) SWIG_fail
;
4988 arg3
= (int)(SWIG_As_int(obj2
));
4989 if (SWIG_arg_fail(3)) SWIG_fail
;
4994 arg4
= (int)(SWIG_As_int(obj3
));
4995 if (SWIG_arg_fail(4)) SWIG_fail
;
4999 if (!wxPyCheckForApp()) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5021 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxIcon
*arg1
= (wxIcon
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5026 (char *) "self", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5031 if (SWIG_arg_fail(1)) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 Py_INCREF(Py_None
); resultobj
= Py_None
;
5046 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5055 if (!wxPyCheckForApp()) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (wxIcon
*)new wxIcon();
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5069 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
;
5071 wxIconLocation
*arg1
= 0 ;
5073 PyObject
* obj0
= 0 ;
5075 (char *) "loc", NULL
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5081 if (SWIG_arg_fail(1)) SWIG_fail
;
5083 SWIG_null_ref("wxIconLocation");
5085 if (SWIG_arg_fail(1)) SWIG_fail
;
5088 if (!wxPyCheckForApp()) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5102 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
;
5104 wxBitmap
*arg1
= 0 ;
5106 PyObject
* obj0
= 0 ;
5108 (char *) "bmp", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5114 if (SWIG_arg_fail(1)) SWIG_fail
;
5116 SWIG_null_ref("wxBitmap");
5118 if (SWIG_arg_fail(1)) SWIG_fail
;
5121 if (!wxPyCheckForApp()) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5135 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 PyObject
*arg1
= (PyObject
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5141 (char *) "listOfStrings", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5147 if (!wxPyCheckForApp()) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (wxIcon
*)new_wxIcon(arg1
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5161 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxIcon
*arg1
= (wxIcon
*) 0 ;
5164 wxString
*arg2
= 0 ;
5167 bool temp2
= false ;
5168 PyObject
* obj0
= 0 ;
5169 PyObject
* obj1
= 0 ;
5170 PyObject
* obj2
= 0 ;
5172 (char *) "self",(char *) "name",(char *) "type", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5177 if (SWIG_arg_fail(1)) SWIG_fail
;
5179 arg2
= wxString_in_helper(obj1
);
5180 if (arg2
== NULL
) SWIG_fail
;
5184 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
5185 if (SWIG_arg_fail(3)) SWIG_fail
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5211 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxIcon
*arg1
= (wxIcon
*) 0 ;
5215 PyObject
* obj0
= 0 ;
5217 (char *) "self", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail
;
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (bool)(arg1
)->Ok();
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5239 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxIcon
*arg1
= (wxIcon
*) 0 ;
5243 PyObject
* obj0
= 0 ;
5245 (char *) "self", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5250 if (SWIG_arg_fail(1)) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (int)(arg1
)->GetWidth();
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= SWIG_From_int((int)(result
));
5267 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 wxIcon
*arg1
= (wxIcon
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5273 (char *) "self", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5278 if (SWIG_arg_fail(1)) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 result
= (int)(arg1
)->GetHeight();
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5287 resultobj
= SWIG_From_int((int)(result
));
5295 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxIcon
*arg1
= (wxIcon
*) 0 ;
5299 PyObject
* obj0
= 0 ;
5301 (char *) "self", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5306 if (SWIG_arg_fail(1)) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 result
= (int)(arg1
)->GetDepth();
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= SWIG_From_int((int)(result
));
5323 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxIcon
*arg1
= (wxIcon
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5328 PyObject
* obj1
= 0 ;
5330 (char *) "self",(char *) "w", NULL
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5335 if (SWIG_arg_fail(1)) SWIG_fail
;
5337 arg2
= (int)(SWIG_As_int(obj1
));
5338 if (SWIG_arg_fail(2)) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 (arg1
)->SetWidth(arg2
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 Py_INCREF(Py_None
); resultobj
= Py_None
;
5354 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
;
5356 wxIcon
*arg1
= (wxIcon
*) 0 ;
5358 PyObject
* obj0
= 0 ;
5359 PyObject
* obj1
= 0 ;
5361 (char *) "self",(char *) "h", NULL
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5366 if (SWIG_arg_fail(1)) SWIG_fail
;
5368 arg2
= (int)(SWIG_As_int(obj1
));
5369 if (SWIG_arg_fail(2)) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 (arg1
)->SetHeight(arg2
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 Py_INCREF(Py_None
); resultobj
= Py_None
;
5385 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxIcon
*arg1
= (wxIcon
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5392 (char *) "self",(char *) "d", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5397 if (SWIG_arg_fail(1)) SWIG_fail
;
5399 arg2
= (int)(SWIG_As_int(obj1
));
5400 if (SWIG_arg_fail(2)) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 (arg1
)->SetDepth(arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 Py_INCREF(Py_None
); resultobj
= Py_None
;
5416 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxIcon
*arg1
= (wxIcon
*) 0 ;
5419 wxBitmap
*arg2
= 0 ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5423 (char *) "self",(char *) "bmp", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5428 if (SWIG_arg_fail(1)) SWIG_fail
;
5430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5431 if (SWIG_arg_fail(2)) SWIG_fail
;
5433 SWIG_null_ref("wxBitmap");
5435 if (SWIG_arg_fail(2)) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 Py_INCREF(Py_None
); resultobj
= Py_None
;
5451 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5454 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5456 return Py_BuildValue((char *)"");
5458 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
;
5460 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5461 int arg2
= (int) 0 ;
5462 wxIconLocation
*result
;
5463 bool temp1
= false ;
5464 PyObject
* obj0
= 0 ;
5465 PyObject
* obj1
= 0 ;
5467 (char *) "filename",(char *) "num", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5473 arg1
= wxString_in_helper(obj0
);
5474 if (arg1
== NULL
) SWIG_fail
;
5480 arg2
= (int)(SWIG_As_int(obj1
));
5481 if (SWIG_arg_fail(2)) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5506 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5509 PyObject
* obj0
= 0 ;
5511 (char *) "self", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5516 if (SWIG_arg_fail(1)) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 Py_INCREF(Py_None
); resultobj
= Py_None
;
5531 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5537 (char *) "self", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5542 if (SWIG_arg_fail(1)) SWIG_fail
;
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5547 wxPyEndAllowThreads(__tstate
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5559 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5562 wxString
*arg2
= 0 ;
5563 bool temp2
= false ;
5564 PyObject
* obj0
= 0 ;
5565 PyObject
* obj1
= 0 ;
5567 (char *) "self",(char *) "filename", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5572 if (SWIG_arg_fail(1)) SWIG_fail
;
5574 arg2
= wxString_in_helper(obj1
);
5575 if (arg2
== NULL
) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 (arg1
)->SetFileName((wxString
const &)*arg2
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 Py_INCREF(Py_None
); resultobj
= Py_None
;
5600 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5604 PyObject
* obj0
= 0 ;
5606 (char *) "self", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5616 result
= (wxString
*) &_result_ref
;
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5624 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5626 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5635 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5640 PyObject
* obj1
= 0 ;
5642 (char *) "self",(char *) "num", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail
;
5649 arg2
= (int)(SWIG_As_int(obj1
));
5650 if (SWIG_arg_fail(2)) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 wxIconLocation_SetIndex(arg1
,arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 Py_INCREF(Py_None
); resultobj
= Py_None
;
5666 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5670 PyObject
* obj0
= 0 ;
5672 (char *) "self", NULL
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5677 if (SWIG_arg_fail(1)) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 result
= (int)wxIconLocation_GetIndex(arg1
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= SWIG_From_int((int)(result
));
5694 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5697 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5699 return Py_BuildValue((char *)"");
5701 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
*resultobj
;
5703 wxIconBundle
*result
;
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (wxIconBundle
*)new wxIconBundle();
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5723 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxString
*arg1
= 0 ;
5727 wxIconBundle
*result
;
5728 bool temp1
= false ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5732 (char *) "file",(char *) "type", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5737 arg1
= wxString_in_helper(obj0
);
5738 if (arg1
== NULL
) SWIG_fail
;
5742 arg2
= (long)(SWIG_As_long(obj1
));
5743 if (SWIG_arg_fail(2)) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5767 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
;
5770 wxIconBundle
*result
;
5771 PyObject
* obj0
= 0 ;
5773 (char *) "icon", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
5778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5779 if (SWIG_arg_fail(1)) SWIG_fail
;
5781 SWIG_null_ref("wxIcon");
5783 if (SWIG_arg_fail(1)) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5799 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
;
5801 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5802 PyObject
* obj0
= 0 ;
5804 (char *) "self", NULL
5807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
5808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5809 if (SWIG_arg_fail(1)) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 Py_INCREF(Py_None
); resultobj
= Py_None
;
5824 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5831 (char *) "self",(char *) "icon", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail
;
5838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5839 if (SWIG_arg_fail(2)) SWIG_fail
;
5841 SWIG_null_ref("wxIcon");
5843 if (SWIG_arg_fail(2)) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5862 wxString
*arg2
= 0 ;
5864 bool temp2
= false ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 PyObject
* obj2
= 0 ;
5869 (char *) "self",(char *) "file",(char *) "type", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5874 if (SWIG_arg_fail(1)) SWIG_fail
;
5876 arg2
= wxString_in_helper(obj1
);
5877 if (arg2
== NULL
) SWIG_fail
;
5881 arg3
= (long)(SWIG_As_long(obj2
));
5882 if (SWIG_arg_fail(3)) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 Py_INCREF(Py_None
); resultobj
= Py_None
;
5906 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5912 PyObject
* obj0
= 0 ;
5913 PyObject
* obj1
= 0 ;
5915 (char *) "self",(char *) "size", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5920 if (SWIG_arg_fail(1)) SWIG_fail
;
5923 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
5929 result
= (wxIcon
*) &_result_ref
;
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5936 wxIcon
* resultptr
= new wxIcon(*result
);
5937 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
5945 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
5947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5948 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
5950 return Py_BuildValue((char *)"");
5952 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5954 wxString
*arg1
= 0 ;
5956 int arg3
= (int) 0 ;
5957 int arg4
= (int) 0 ;
5959 bool temp1
= false ;
5960 PyObject
* obj0
= 0 ;
5961 PyObject
* obj1
= 0 ;
5962 PyObject
* obj2
= 0 ;
5963 PyObject
* obj3
= 0 ;
5965 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5970 arg1
= wxString_in_helper(obj0
);
5971 if (arg1
== NULL
) SWIG_fail
;
5975 arg2
= (long)(SWIG_As_long(obj1
));
5976 if (SWIG_arg_fail(2)) SWIG_fail
;
5980 arg3
= (int)(SWIG_As_int(obj2
));
5981 if (SWIG_arg_fail(3)) SWIG_fail
;
5986 arg4
= (int)(SWIG_As_int(obj3
));
5987 if (SWIG_arg_fail(4)) SWIG_fail
;
5991 if (!wxPyCheckForApp()) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6013 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxCursor
*arg1
= (wxCursor
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6018 (char *) "self", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
6022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6023 if (SWIG_arg_fail(1)) SWIG_fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 Py_INCREF(Py_None
); resultobj
= Py_None
;
6038 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6042 PyObject
* obj0
= 0 ;
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6049 arg1
= (int)(SWIG_As_int(obj0
));
6050 if (SWIG_arg_fail(1)) SWIG_fail
;
6053 if (!wxPyCheckForApp()) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (wxCursor
*)new wxCursor(arg1
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6067 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6071 PyObject
* obj0
= 0 ;
6073 (char *) "image", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6079 if (SWIG_arg_fail(1)) SWIG_fail
;
6081 SWIG_null_ref("wxImage");
6083 if (SWIG_arg_fail(1)) SWIG_fail
;
6086 if (!wxPyCheckForApp()) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6100 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxCursor
*arg1
= (wxCursor
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6111 if (SWIG_arg_fail(1)) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (bool)(arg1
)->Ok();
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6128 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6131 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6133 return Py_BuildValue((char *)"");
6135 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 int arg1
= (int) 0 ;
6138 int arg2
= (int) 0 ;
6139 int arg3
= (int) 0 ;
6140 int arg4
= (int) 0 ;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6144 PyObject
* obj2
= 0 ;
6145 PyObject
* obj3
= 0 ;
6147 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6153 arg1
= (int)(SWIG_As_int(obj0
));
6154 if (SWIG_arg_fail(1)) SWIG_fail
;
6159 arg2
= (int)(SWIG_As_int(obj1
));
6160 if (SWIG_arg_fail(2)) SWIG_fail
;
6165 arg3
= (int)(SWIG_As_int(obj2
));
6166 if (SWIG_arg_fail(3)) SWIG_fail
;
6171 arg4
= (int)(SWIG_As_int(obj3
));
6172 if (SWIG_arg_fail(4)) SWIG_fail
;
6176 if (!wxPyCheckForApp()) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6190 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxBitmap
*arg1
= 0 ;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "bmp", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6202 if (SWIG_arg_fail(1)) SWIG_fail
;
6204 SWIG_null_ref("wxBitmap");
6206 if (SWIG_arg_fail(1)) SWIG_fail
;
6209 if (!wxPyCheckForApp()) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6223 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxBitmap
*arg1
= 0 ;
6226 wxColour
*arg2
= 0 ;
6227 int arg3
= (int) 0 ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6232 PyObject
* obj2
= 0 ;
6234 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6240 if (SWIG_arg_fail(1)) SWIG_fail
;
6242 SWIG_null_ref("wxBitmap");
6244 if (SWIG_arg_fail(1)) SWIG_fail
;
6248 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6252 arg3
= (int)(SWIG_As_int(obj2
));
6253 if (SWIG_arg_fail(3)) SWIG_fail
;
6257 if (!wxPyCheckForApp()) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6271 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6274 wxPoint
*arg2
= (wxPoint
*) 0 ;
6275 int arg3
= (int) wxWINDING_RULE
;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6280 (char *) "points",(char *) "fillStyle", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6285 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6286 if (arg2
== NULL
) SWIG_fail
;
6290 arg3
= (int)(SWIG_As_int(obj1
));
6291 if (SWIG_arg_fail(3)) SWIG_fail
;
6295 if (!wxPyCheckForApp()) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6304 if (arg2
) delete [] arg2
;
6309 if (arg2
) delete [] arg2
;
6315 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxRegion
*arg1
= (wxRegion
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "self", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6325 if (SWIG_arg_fail(1)) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6333 Py_INCREF(Py_None
); resultobj
= Py_None
;
6340 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
;
6342 wxRegion
*arg1
= (wxRegion
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6345 (char *) "self", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6350 if (SWIG_arg_fail(1)) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 Py_INCREF(Py_None
); resultobj
= Py_None
;
6365 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxRegion
*arg1
= (wxRegion
*) 0 ;
6371 PyObject
* obj0
= 0 ;
6372 PyObject
* obj1
= 0 ;
6373 PyObject
* obj2
= 0 ;
6375 (char *) "self",(char *) "x",(char *) "y", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6380 if (SWIG_arg_fail(1)) SWIG_fail
;
6382 arg2
= (int)(SWIG_As_int(obj1
));
6383 if (SWIG_arg_fail(2)) SWIG_fail
;
6386 arg3
= (int)(SWIG_As_int(obj2
));
6387 if (SWIG_arg_fail(3)) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6405 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 wxRegion
*arg1
= (wxRegion
*) 0 ;
6410 wxRegionContain result
;
6411 PyObject
* obj0
= 0 ;
6412 PyObject
* obj1
= 0 ;
6413 PyObject
* obj2
= 0 ;
6415 (char *) "self",(char *) "x",(char *) "y", NULL
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6420 if (SWIG_arg_fail(1)) SWIG_fail
;
6422 arg2
= (int)(SWIG_As_int(obj1
));
6423 if (SWIG_arg_fail(2)) SWIG_fail
;
6426 arg3
= (int)(SWIG_As_int(obj2
));
6427 if (SWIG_arg_fail(3)) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_From_int((result
));
6443 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxRegion
*arg1
= (wxRegion
*) 0 ;
6447 wxRegionContain result
;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6452 (char *) "self",(char *) "pt", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6457 if (SWIG_arg_fail(1)) SWIG_fail
;
6460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= SWIG_From_int((result
));
6476 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxRegion
*arg1
= (wxRegion
*) 0 ;
6480 wxRegionContain result
;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6485 (char *) "self",(char *) "rect", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6490 if (SWIG_arg_fail(1)) SWIG_fail
;
6493 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 resultobj
= SWIG_From_int((result
));
6509 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
*resultobj
;
6511 wxRegion
*arg1
= (wxRegion
*) 0 ;
6516 wxRegionContain result
;
6517 PyObject
* obj0
= 0 ;
6518 PyObject
* obj1
= 0 ;
6519 PyObject
* obj2
= 0 ;
6520 PyObject
* obj3
= 0 ;
6521 PyObject
* obj4
= 0 ;
6523 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6528 if (SWIG_arg_fail(1)) SWIG_fail
;
6530 arg2
= (int)(SWIG_As_int(obj1
));
6531 if (SWIG_arg_fail(2)) SWIG_fail
;
6534 arg3
= (int)(SWIG_As_int(obj2
));
6535 if (SWIG_arg_fail(3)) SWIG_fail
;
6538 arg4
= (int)(SWIG_As_int(obj3
));
6539 if (SWIG_arg_fail(4)) SWIG_fail
;
6542 arg5
= (int)(SWIG_As_int(obj4
));
6543 if (SWIG_arg_fail(5)) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_From_int((result
));
6559 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxRegion
*arg1
= (wxRegion
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6565 (char *) "self", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
6569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6570 if (SWIG_arg_fail(1)) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (arg1
)->GetBox();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6580 resultptr
= new wxRect((wxRect
&)(result
));
6581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6589 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
;
6591 wxRegion
*arg1
= (wxRegion
*) 0 ;
6597 PyObject
* obj0
= 0 ;
6598 PyObject
* obj1
= 0 ;
6599 PyObject
* obj2
= 0 ;
6600 PyObject
* obj3
= 0 ;
6601 PyObject
* obj4
= 0 ;
6603 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6608 if (SWIG_arg_fail(1)) SWIG_fail
;
6610 arg2
= (int)(SWIG_As_int(obj1
));
6611 if (SWIG_arg_fail(2)) SWIG_fail
;
6614 arg3
= (int)(SWIG_As_int(obj2
));
6615 if (SWIG_arg_fail(3)) SWIG_fail
;
6618 arg4
= (int)(SWIG_As_int(obj3
));
6619 if (SWIG_arg_fail(4)) SWIG_fail
;
6622 arg5
= (int)(SWIG_As_int(obj4
));
6623 if (SWIG_arg_fail(5)) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6641 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6643 wxRegion
*arg1
= (wxRegion
*) 0 ;
6647 PyObject
* obj0
= 0 ;
6648 PyObject
* obj1
= 0 ;
6650 (char *) "self",(char *) "rect", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6655 if (SWIG_arg_fail(1)) SWIG_fail
;
6658 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6676 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxRegion
*arg1
= (wxRegion
*) 0 ;
6679 wxRegion
*arg2
= 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6684 (char *) "self",(char *) "region", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6689 if (SWIG_arg_fail(1)) SWIG_fail
;
6691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6692 if (SWIG_arg_fail(2)) SWIG_fail
;
6694 SWIG_null_ref("wxRegion");
6696 if (SWIG_arg_fail(2)) SWIG_fail
;
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6714 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxRegion
*arg1
= (wxRegion
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6720 (char *) "self", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
6724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6725 if (SWIG_arg_fail(1)) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (bool)(arg1
)->IsEmpty();
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6742 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxRegion
*arg1
= (wxRegion
*) 0 ;
6750 PyObject
* obj0
= 0 ;
6751 PyObject
* obj1
= 0 ;
6752 PyObject
* obj2
= 0 ;
6753 PyObject
* obj3
= 0 ;
6754 PyObject
* obj4
= 0 ;
6756 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6761 if (SWIG_arg_fail(1)) SWIG_fail
;
6763 arg2
= (int)(SWIG_As_int(obj1
));
6764 if (SWIG_arg_fail(2)) SWIG_fail
;
6767 arg3
= (int)(SWIG_As_int(obj2
));
6768 if (SWIG_arg_fail(3)) SWIG_fail
;
6771 arg4
= (int)(SWIG_As_int(obj3
));
6772 if (SWIG_arg_fail(4)) SWIG_fail
;
6775 arg5
= (int)(SWIG_As_int(obj4
));
6776 if (SWIG_arg_fail(5)) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6794 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxRegion
*arg1
= (wxRegion
*) 0 ;
6800 PyObject
* obj0
= 0 ;
6801 PyObject
* obj1
= 0 ;
6803 (char *) "self",(char *) "rect", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6808 if (SWIG_arg_fail(1)) SWIG_fail
;
6811 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6829 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxRegion
*arg1
= (wxRegion
*) 0 ;
6832 wxRegion
*arg2
= 0 ;
6834 PyObject
* obj0
= 0 ;
6835 PyObject
* obj1
= 0 ;
6837 (char *) "self",(char *) "region", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6842 if (SWIG_arg_fail(1)) SWIG_fail
;
6844 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6845 if (SWIG_arg_fail(2)) SWIG_fail
;
6847 SWIG_null_ref("wxRegion");
6849 if (SWIG_arg_fail(2)) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6867 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxRegion
*arg1
= (wxRegion
*) 0 ;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6877 PyObject
* obj2
= 0 ;
6878 PyObject
* obj3
= 0 ;
6879 PyObject
* obj4
= 0 ;
6881 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6886 if (SWIG_arg_fail(1)) SWIG_fail
;
6888 arg2
= (int)(SWIG_As_int(obj1
));
6889 if (SWIG_arg_fail(2)) SWIG_fail
;
6892 arg3
= (int)(SWIG_As_int(obj2
));
6893 if (SWIG_arg_fail(3)) SWIG_fail
;
6896 arg4
= (int)(SWIG_As_int(obj3
));
6897 if (SWIG_arg_fail(4)) SWIG_fail
;
6900 arg5
= (int)(SWIG_As_int(obj4
));
6901 if (SWIG_arg_fail(5)) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6919 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxRegion
*arg1
= (wxRegion
*) 0 ;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6928 (char *) "self",(char *) "rect", NULL
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6933 if (SWIG_arg_fail(1)) SWIG_fail
;
6936 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6954 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxRegion
*arg1
= (wxRegion
*) 0 ;
6957 wxRegion
*arg2
= 0 ;
6959 PyObject
* obj0
= 0 ;
6960 PyObject
* obj1
= 0 ;
6962 (char *) "self",(char *) "region", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6967 if (SWIG_arg_fail(1)) SWIG_fail
;
6969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6970 if (SWIG_arg_fail(2)) SWIG_fail
;
6972 SWIG_null_ref("wxRegion");
6974 if (SWIG_arg_fail(2)) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6992 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
;
6994 wxRegion
*arg1
= (wxRegion
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7002 PyObject
* obj2
= 0 ;
7003 PyObject
* obj3
= 0 ;
7004 PyObject
* obj4
= 0 ;
7006 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7011 if (SWIG_arg_fail(1)) SWIG_fail
;
7013 arg2
= (int)(SWIG_As_int(obj1
));
7014 if (SWIG_arg_fail(2)) SWIG_fail
;
7017 arg3
= (int)(SWIG_As_int(obj2
));
7018 if (SWIG_arg_fail(3)) SWIG_fail
;
7021 arg4
= (int)(SWIG_As_int(obj3
));
7022 if (SWIG_arg_fail(4)) SWIG_fail
;
7025 arg5
= (int)(SWIG_As_int(obj4
));
7026 if (SWIG_arg_fail(5)) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7044 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxRegion
*arg1
= (wxRegion
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7053 (char *) "self",(char *) "rect", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7058 if (SWIG_arg_fail(1)) SWIG_fail
;
7061 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7079 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxRegion
*arg1
= (wxRegion
*) 0 ;
7082 wxRegion
*arg2
= 0 ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7087 (char *) "self",(char *) "region", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7092 if (SWIG_arg_fail(1)) SWIG_fail
;
7094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7095 if (SWIG_arg_fail(2)) SWIG_fail
;
7097 SWIG_null_ref("wxRegion");
7099 if (SWIG_arg_fail(2)) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7117 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxRegion
*arg1
= (wxRegion
*) 0 ;
7120 SwigValueWrapper
<wxBitmap
> result
;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "self", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7128 if (SWIG_arg_fail(1)) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (arg1
)->ConvertToBitmap();
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7137 wxBitmap
* resultptr
;
7138 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7147 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxRegion
*arg1
= (wxRegion
*) 0 ;
7150 wxBitmap
*arg2
= 0 ;
7152 PyObject
* obj0
= 0 ;
7153 PyObject
* obj1
= 0 ;
7155 (char *) "self",(char *) "bmp", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7160 if (SWIG_arg_fail(1)) SWIG_fail
;
7162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7163 if (SWIG_arg_fail(2)) SWIG_fail
;
7165 SWIG_null_ref("wxBitmap");
7167 if (SWIG_arg_fail(2)) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7185 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxRegion
*arg1
= (wxRegion
*) 0 ;
7188 wxBitmap
*arg2
= 0 ;
7189 wxColour
*arg3
= 0 ;
7190 int arg4
= (int) 0 ;
7193 PyObject
* obj0
= 0 ;
7194 PyObject
* obj1
= 0 ;
7195 PyObject
* obj2
= 0 ;
7196 PyObject
* obj3
= 0 ;
7198 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7203 if (SWIG_arg_fail(1)) SWIG_fail
;
7205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7206 if (SWIG_arg_fail(2)) SWIG_fail
;
7208 SWIG_null_ref("wxBitmap");
7210 if (SWIG_arg_fail(2)) SWIG_fail
;
7214 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7218 arg4
= (int)(SWIG_As_int(obj3
));
7219 if (SWIG_arg_fail(4)) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7238 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7241 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7243 return Py_BuildValue((char *)"");
7245 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxRegion
*arg1
= 0 ;
7248 wxRegionIterator
*result
;
7249 PyObject
* obj0
= 0 ;
7251 (char *) "region", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7257 if (SWIG_arg_fail(1)) SWIG_fail
;
7259 SWIG_null_ref("wxRegion");
7261 if (SWIG_arg_fail(1)) SWIG_fail
;
7264 if (!wxPyCheckForApp()) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7278 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
*resultobj
;
7280 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7283 (char *) "self", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7288 if (SWIG_arg_fail(1)) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 Py_INCREF(Py_None
); resultobj
= Py_None
;
7303 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7305 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7309 (char *) "self", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7314 if (SWIG_arg_fail(1)) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (int)(arg1
)->GetX();
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= SWIG_From_int((int)(result
));
7331 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7337 (char *) "self", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7342 if (SWIG_arg_fail(1)) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 result
= (int)(arg1
)->GetY();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= SWIG_From_int((int)(result
));
7359 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7363 PyObject
* obj0
= 0 ;
7365 (char *) "self", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7370 if (SWIG_arg_fail(1)) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (int)(arg1
)->GetW();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= SWIG_From_int((int)(result
));
7387 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7391 PyObject
* obj0
= 0 ;
7393 (char *) "self", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7398 if (SWIG_arg_fail(1)) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 result
= (int)(arg1
)->GetWidth();
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= SWIG_From_int((int)(result
));
7415 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
;
7417 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7419 PyObject
* obj0
= 0 ;
7421 (char *) "self", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7426 if (SWIG_arg_fail(1)) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 result
= (int)(arg1
)->GetH();
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_From_int((int)(result
));
7443 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
;
7445 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7449 (char *) "self", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7454 if (SWIG_arg_fail(1)) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (int)(arg1
)->GetHeight();
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= SWIG_From_int((int)(result
));
7471 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
7481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7482 if (SWIG_arg_fail(1)) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (arg1
)->GetRect();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7492 resultptr
= new wxRect((wxRect
&)(result
));
7493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7501 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7507 (char *) "self", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
7511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7512 if (SWIG_arg_fail(1)) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (bool)(arg1
)->HaveRects();
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7529 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7532 PyObject
* obj0
= 0 ;
7534 (char *) "self", NULL
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
7538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7539 if (SWIG_arg_fail(1)) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7547 Py_INCREF(Py_None
); resultobj
= Py_None
;
7554 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7559 (char *) "self", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
7563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7564 if (SWIG_arg_fail(1)) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 wxRegionIterator_Next(arg1
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 Py_INCREF(Py_None
); resultobj
= Py_None
;
7579 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7585 (char *) "self", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
7589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7590 if (SWIG_arg_fail(1)) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (bool)wxRegionIterator___nonzero__(arg1
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7607 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
7609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7610 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
7612 return Py_BuildValue((char *)"");
7614 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
;
7616 wxNativeFontInfo
*result
;
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
7636 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7641 (char *) "self", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
7645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7646 if (SWIG_arg_fail(1)) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 Py_INCREF(Py_None
); resultobj
= Py_None
;
7661 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7666 (char *) "self", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
7670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7671 if (SWIG_arg_fail(1)) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 Py_INCREF(Py_None
); resultobj
= Py_None
;
7686 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7693 (char *) "self",(char *) "font", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
7697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail
;
7700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7701 if (SWIG_arg_fail(2)) SWIG_fail
;
7703 SWIG_null_ref("wxFont");
7705 if (SWIG_arg_fail(2)) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 Py_INCREF(Py_None
); resultobj
= Py_None
;
7721 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
*resultobj
;
7723 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7725 PyObject
* obj0
= 0 ;
7727 (char *) "self", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
7731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= SWIG_From_int((int)(result
));
7749 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7755 (char *) "self", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
7759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7760 if (SWIG_arg_fail(1)) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 resultobj
= SWIG_From_int((result
));
7775 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7778 wxFontWeight result
;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "self", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
7785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7786 if (SWIG_arg_fail(1)) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_From_int((result
));
7801 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7805 PyObject
* obj0
= 0 ;
7807 (char *) "self", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7829 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
;
7831 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7833 PyObject
* obj0
= 0 ;
7835 (char *) "self", NULL
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
7839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7840 if (SWIG_arg_fail(1)) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7861 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7864 wxFontFamily result
;
7865 PyObject
* obj0
= 0 ;
7867 (char *) "self", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
7871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7872 if (SWIG_arg_fail(1)) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_From_int((result
));
7887 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7890 wxFontEncoding result
;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
7897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7898 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= SWIG_From_int((result
));
7913 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
;
7915 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7917 PyObject
* obj0
= 0 ;
7918 PyObject
* obj1
= 0 ;
7920 (char *) "self",(char *) "pointsize", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7925 if (SWIG_arg_fail(1)) SWIG_fail
;
7927 arg2
= (int)(SWIG_As_int(obj1
));
7928 if (SWIG_arg_fail(2)) SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 (arg1
)->SetPointSize(arg2
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 Py_INCREF(Py_None
); resultobj
= Py_None
;
7944 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
;
7946 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7951 (char *) "self",(char *) "style", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7956 if (SWIG_arg_fail(1)) SWIG_fail
;
7958 arg2
= (wxFontStyle
)(SWIG_As_int(obj1
));
7959 if (SWIG_arg_fail(2)) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 (arg1
)->SetStyle((wxFontStyle
)arg2
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 Py_INCREF(Py_None
); resultobj
= Py_None
;
7975 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7979 PyObject
* obj0
= 0 ;
7980 PyObject
* obj1
= 0 ;
7982 (char *) "self",(char *) "weight", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7987 if (SWIG_arg_fail(1)) SWIG_fail
;
7989 arg2
= (wxFontWeight
)(SWIG_As_int(obj1
));
7990 if (SWIG_arg_fail(2)) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 (arg1
)->SetWeight((wxFontWeight
)arg2
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 Py_INCREF(Py_None
); resultobj
= Py_None
;
8006 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
*resultobj
;
8008 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8013 (char *) "self",(char *) "underlined", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8018 if (SWIG_arg_fail(1)) SWIG_fail
;
8020 arg2
= (bool)(SWIG_As_bool(obj1
));
8021 if (SWIG_arg_fail(2)) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 (arg1
)->SetUnderlined(arg2
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 Py_INCREF(Py_None
); resultobj
= Py_None
;
8037 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8044 (char *) "self",(char *) "facename", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8049 if (SWIG_arg_fail(1)) SWIG_fail
;
8051 wxString
* sptr
= wxString_in_helper(obj1
);
8052 if (sptr
== NULL
) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 (arg1
)->SetFaceName(arg2
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 Py_INCREF(Py_None
); resultobj
= Py_None
;
8070 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
;
8072 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8074 PyObject
* obj0
= 0 ;
8075 PyObject
* obj1
= 0 ;
8077 (char *) "self",(char *) "family", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8082 if (SWIG_arg_fail(1)) SWIG_fail
;
8084 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
8085 if (SWIG_arg_fail(2)) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 (arg1
)->SetFamily((wxFontFamily
)arg2
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 Py_INCREF(Py_None
); resultobj
= Py_None
;
8101 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8104 wxFontEncoding arg2
;
8105 PyObject
* obj0
= 0 ;
8106 PyObject
* obj1
= 0 ;
8108 (char *) "self",(char *) "encoding", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8113 if (SWIG_arg_fail(1)) SWIG_fail
;
8115 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8116 if (SWIG_arg_fail(2)) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 Py_INCREF(Py_None
); resultobj
= Py_None
;
8132 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8135 wxString
*arg2
= 0 ;
8137 bool temp2
= false ;
8138 PyObject
* obj0
= 0 ;
8139 PyObject
* obj1
= 0 ;
8141 (char *) "self",(char *) "s", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8146 if (SWIG_arg_fail(1)) SWIG_fail
;
8148 arg2
= wxString_in_helper(obj1
);
8149 if (arg2
== NULL
) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8176 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
;
8178 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8180 PyObject
* obj0
= 0 ;
8182 (char *) "self", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8187 if (SWIG_arg_fail(1)) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8208 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8212 PyObject
* obj0
= 0 ;
8214 (char *) "self", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8219 if (SWIG_arg_fail(1)) SWIG_fail
;
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 result
= wxNativeFontInfo___str__(arg1
);
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8240 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8243 wxString
*arg2
= 0 ;
8245 bool temp2
= false ;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8249 (char *) "self",(char *) "s", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
8253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8254 if (SWIG_arg_fail(1)) SWIG_fail
;
8256 arg2
= wxString_in_helper(obj1
);
8257 if (arg2
== NULL
) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8284 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8288 PyObject
* obj0
= 0 ;
8290 (char *) "self", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8295 if (SWIG_arg_fail(1)) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8316 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8319 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8321 return Py_BuildValue((char *)"");
8323 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8326 wxString
*arg2
= (wxString
*) 0 ;
8327 bool temp2
= false ;
8328 PyObject
* obj0
= 0 ;
8329 PyObject
* obj1
= 0 ;
8331 (char *) "self",(char *) "facename", NULL
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8336 if (SWIG_arg_fail(1)) SWIG_fail
;
8338 arg2
= wxString_in_helper(obj1
);
8339 if (arg2
== NULL
) SWIG_fail
;
8342 if (arg1
) (arg1
)->facename
= *arg2
;
8344 Py_INCREF(Py_None
); resultobj
= Py_None
;
8359 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8363 PyObject
* obj0
= 0 ;
8365 (char *) "self", NULL
8368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8370 if (SWIG_arg_fail(1)) SWIG_fail
;
8371 result
= (wxString
*)& ((arg1
)->facename
);
8375 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8377 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8386 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
;
8388 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8389 wxFontEncoding arg2
;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8393 (char *) "self",(char *) "encoding", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8398 if (SWIG_arg_fail(1)) SWIG_fail
;
8400 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8401 if (SWIG_arg_fail(2)) SWIG_fail
;
8403 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
8405 Py_INCREF(Py_None
); resultobj
= Py_None
;
8412 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8415 wxFontEncoding result
;
8416 PyObject
* obj0
= 0 ;
8418 (char *) "self", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
8422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8423 if (SWIG_arg_fail(1)) SWIG_fail
;
8424 result
= (wxFontEncoding
) ((arg1
)->encoding
);
8426 resultobj
= SWIG_From_int((result
));
8433 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxNativeEncodingInfo
*result
;
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
8455 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
8464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8465 if (SWIG_arg_fail(1)) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 Py_INCREF(Py_None
); resultobj
= Py_None
;
8480 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8483 wxString
*arg2
= 0 ;
8485 bool temp2
= false ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8489 (char *) "self",(char *) "s", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8494 if (SWIG_arg_fail(1)) SWIG_fail
;
8496 arg2
= wxString_in_helper(obj1
);
8497 if (arg2
== NULL
) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8524 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8528 PyObject
* obj0
= 0 ;
8530 (char *) "self", NULL
8533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
8534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8535 if (SWIG_arg_fail(1)) SWIG_fail
;
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8556 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
8558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8559 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
8561 return Py_BuildValue((char *)"");
8563 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxFontEncoding arg1
;
8566 wxNativeEncodingInfo
*result
;
8567 PyObject
* obj0
= 0 ;
8569 (char *) "encoding", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
8574 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8575 if (SWIG_arg_fail(1)) SWIG_fail
;
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
8591 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxNativeEncodingInfo
*arg1
= 0 ;
8595 PyObject
* obj0
= 0 ;
8597 (char *) "info", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
8602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8603 if (SWIG_arg_fail(1)) SWIG_fail
;
8605 SWIG_null_ref("wxNativeEncodingInfo");
8607 if (SWIG_arg_fail(1)) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8625 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxFontMapper
*result
;
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (wxFontMapper
*)new wxFontMapper();
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
8647 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8649 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8650 PyObject
* obj0
= 0 ;
8652 (char *) "self", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
8656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8657 if (SWIG_arg_fail(1)) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 Py_INCREF(Py_None
); resultobj
= Py_None
;
8672 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxFontMapper
*result
;
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (wxFontMapper
*)wxFontMapper::Get();
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8694 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8697 wxFontMapper
*result
;
8698 PyObject
* obj0
= 0 ;
8700 (char *) "mapper", NULL
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
8704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8705 if (SWIG_arg_fail(1)) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8720 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8723 wxString
*arg2
= 0 ;
8724 bool arg3
= (bool) true ;
8725 wxFontEncoding result
;
8726 bool temp2
= false ;
8727 PyObject
* obj0
= 0 ;
8728 PyObject
* obj1
= 0 ;
8729 PyObject
* obj2
= 0 ;
8731 (char *) "self",(char *) "charset",(char *) "interactive", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail
;
8738 arg2
= wxString_in_helper(obj1
);
8739 if (arg2
== NULL
) SWIG_fail
;
8744 arg3
= (bool)(SWIG_As_bool(obj2
));
8745 if (SWIG_arg_fail(3)) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= SWIG_From_int((result
));
8770 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
;
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8794 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8797 wxFontEncoding result
;
8798 PyObject
* obj0
= 0 ;
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
8805 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8806 if (SWIG_arg_fail(1)) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= SWIG_From_int((result
));
8822 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxFontEncoding arg1
;
8826 PyObject
* obj0
= 0 ;
8828 (char *) "encoding", NULL
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
8833 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8834 if (SWIG_arg_fail(1)) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8856 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8858 wxFontEncoding arg1
;
8860 PyObject
* obj0
= 0 ;
8862 (char *) "encoding", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
8867 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8868 if (SWIG_arg_fail(1)) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8890 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxString
*arg1
= 0 ;
8893 wxFontEncoding result
;
8894 bool temp1
= false ;
8895 PyObject
* obj0
= 0 ;
8897 (char *) "name", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
8902 arg1
= wxString_in_helper(obj0
);
8903 if (arg1
== NULL
) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= SWIG_From_int((result
));
8928 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8931 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8932 PyObject
* obj0
= 0 ;
8933 PyObject
* obj1
= 0 ;
8935 (char *) "self",(char *) "config", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
8939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8940 if (SWIG_arg_fail(1)) SWIG_fail
;
8941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8942 if (SWIG_arg_fail(2)) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 (arg1
)->SetConfig(arg2
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 Py_INCREF(Py_None
); resultobj
= Py_None
;
8957 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8960 wxString
*arg2
= 0 ;
8961 bool temp2
= false ;
8962 PyObject
* obj0
= 0 ;
8963 PyObject
* obj1
= 0 ;
8965 (char *) "self",(char *) "prefix", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8970 if (SWIG_arg_fail(1)) SWIG_fail
;
8972 arg2
= wxString_in_helper(obj1
);
8973 if (arg2
== NULL
) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 Py_INCREF(Py_None
); resultobj
= Py_None
;
8998 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= wxFontMapper::GetDefaultConfigPath();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9026 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9029 wxFontEncoding arg2
;
9030 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9031 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9032 bool arg4
= (bool) true ;
9034 bool temp3
= false ;
9035 PyObject
* obj0
= 0 ;
9036 PyObject
* obj1
= 0 ;
9037 PyObject
* obj2
= 0 ;
9038 PyObject
* obj3
= 0 ;
9040 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9045 if (SWIG_arg_fail(1)) SWIG_fail
;
9047 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9048 if (SWIG_arg_fail(2)) SWIG_fail
;
9052 arg3
= wxString_in_helper(obj2
);
9053 if (arg3
== NULL
) SWIG_fail
;
9059 arg4
= (bool)(SWIG_As_bool(obj3
));
9060 if (SWIG_arg_fail(4)) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9085 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9088 wxFontEncoding arg2
;
9089 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9090 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9092 bool temp3
= false ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 PyObject
* obj2
= 0 ;
9097 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9102 if (SWIG_arg_fail(1)) SWIG_fail
;
9104 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9105 if (SWIG_arg_fail(2)) SWIG_fail
;
9109 arg3
= wxString_in_helper(obj2
);
9110 if (arg3
== NULL
) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9138 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
;
9140 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9141 wxWindow
*arg2
= (wxWindow
*) 0 ;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9145 (char *) "self",(char *) "parent", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9150 if (SWIG_arg_fail(1)) SWIG_fail
;
9151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9152 if (SWIG_arg_fail(2)) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 (arg1
)->SetDialogParent(arg2
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 Py_INCREF(Py_None
); resultobj
= Py_None
;
9167 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
;
9169 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9170 wxString
*arg2
= 0 ;
9171 bool temp2
= false ;
9172 PyObject
* obj0
= 0 ;
9173 PyObject
* obj1
= 0 ;
9175 (char *) "self",(char *) "title", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9180 if (SWIG_arg_fail(1)) SWIG_fail
;
9182 arg2
= wxString_in_helper(obj1
);
9183 if (arg2
== NULL
) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 Py_INCREF(Py_None
); resultobj
= Py_None
;
9208 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9211 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9213 return Py_BuildValue((char *)"");
9215 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9221 bool arg5
= (bool) false ;
9222 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9223 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9224 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9226 bool temp6
= false ;
9227 PyObject
* obj0
= 0 ;
9228 PyObject
* obj1
= 0 ;
9229 PyObject
* obj2
= 0 ;
9230 PyObject
* obj3
= 0 ;
9231 PyObject
* obj4
= 0 ;
9232 PyObject
* obj5
= 0 ;
9233 PyObject
* obj6
= 0 ;
9235 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9240 arg1
= (int)(SWIG_As_int(obj0
));
9241 if (SWIG_arg_fail(1)) SWIG_fail
;
9244 arg2
= (int)(SWIG_As_int(obj1
));
9245 if (SWIG_arg_fail(2)) SWIG_fail
;
9248 arg3
= (int)(SWIG_As_int(obj2
));
9249 if (SWIG_arg_fail(3)) SWIG_fail
;
9252 arg4
= (int)(SWIG_As_int(obj3
));
9253 if (SWIG_arg_fail(4)) SWIG_fail
;
9257 arg5
= (bool)(SWIG_As_bool(obj4
));
9258 if (SWIG_arg_fail(5)) SWIG_fail
;
9263 arg6
= wxString_in_helper(obj5
);
9264 if (arg6
== NULL
) SWIG_fail
;
9270 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9271 if (SWIG_arg_fail(7)) SWIG_fail
;
9275 if (!wxPyCheckForApp()) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9297 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxFont
*arg1
= (wxFont
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
9306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9307 if (SWIG_arg_fail(1)) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 Py_INCREF(Py_None
); resultobj
= Py_None
;
9322 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxNativeFontInfo
*arg1
= 0 ;
9326 PyObject
* obj0
= 0 ;
9328 (char *) "info", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9334 if (SWIG_arg_fail(1)) SWIG_fail
;
9336 SWIG_null_ref("wxNativeFontInfo");
9338 if (SWIG_arg_fail(1)) SWIG_fail
;
9341 if (!wxPyCheckForApp()) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9355 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxString
*arg1
= 0 ;
9359 bool temp1
= false ;
9360 PyObject
* obj0
= 0 ;
9362 (char *) "info", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9367 arg1
= wxString_in_helper(obj0
);
9368 if (arg1
== NULL
) SWIG_fail
;
9372 if (!wxPyCheckForApp()) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9394 static PyObject
*_wrap_new_FFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9398 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9399 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9400 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9401 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9403 bool temp4
= false ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 PyObject
* obj2
= 0 ;
9407 PyObject
* obj3
= 0 ;
9408 PyObject
* obj4
= 0 ;
9410 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9415 arg1
= (int)(SWIG_As_int(obj0
));
9416 if (SWIG_arg_fail(1)) SWIG_fail
;
9419 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9420 if (SWIG_arg_fail(2)) SWIG_fail
;
9424 arg3
= (int)(SWIG_As_int(obj2
));
9425 if (SWIG_arg_fail(3)) SWIG_fail
;
9430 arg4
= wxString_in_helper(obj3
);
9431 if (arg4
== NULL
) SWIG_fail
;
9437 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
9438 if (SWIG_arg_fail(5)) SWIG_fail
;
9442 if (!wxPyCheckForApp()) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9464 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9470 bool arg5
= (bool) false ;
9471 wxString
const &arg6_defvalue
= wxEmptyString
;
9472 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9473 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9476 bool temp6
= false ;
9477 PyObject
* obj0
= 0 ;
9478 PyObject
* obj1
= 0 ;
9479 PyObject
* obj2
= 0 ;
9480 PyObject
* obj3
= 0 ;
9481 PyObject
* obj4
= 0 ;
9482 PyObject
* obj5
= 0 ;
9483 PyObject
* obj6
= 0 ;
9485 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9491 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9494 arg2
= (int)(SWIG_As_int(obj1
));
9495 if (SWIG_arg_fail(2)) SWIG_fail
;
9498 arg3
= (int)(SWIG_As_int(obj2
));
9499 if (SWIG_arg_fail(3)) SWIG_fail
;
9502 arg4
= (int)(SWIG_As_int(obj3
));
9503 if (SWIG_arg_fail(4)) SWIG_fail
;
9507 arg5
= (bool)(SWIG_As_bool(obj4
));
9508 if (SWIG_arg_fail(5)) SWIG_fail
;
9513 arg6
= wxString_in_helper(obj5
);
9514 if (arg6
== NULL
) SWIG_fail
;
9520 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9521 if (SWIG_arg_fail(7)) SWIG_fail
;
9525 if (!wxPyCheckForApp()) SWIG_fail
;
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9547 static PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9551 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9552 wxString
const &arg4_defvalue
= wxEmptyString
;
9553 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9554 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9557 bool temp4
= false ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 PyObject
* obj2
= 0 ;
9561 PyObject
* obj3
= 0 ;
9562 PyObject
* obj4
= 0 ;
9564 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9570 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9573 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9574 if (SWIG_arg_fail(2)) SWIG_fail
;
9578 arg3
= (int)(SWIG_As_int(obj2
));
9579 if (SWIG_arg_fail(3)) SWIG_fail
;
9584 arg4
= wxString_in_helper(obj3
);
9585 if (arg4
== NULL
) SWIG_fail
;
9591 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
9592 if (SWIG_arg_fail(5)) SWIG_fail
;
9596 if (!wxPyCheckForApp()) SWIG_fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9618 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxFont
*arg1
= (wxFont
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "self", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
9628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9629 if (SWIG_arg_fail(1)) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (bool)((wxFont
const *)arg1
)->Ok();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9646 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxFont
*arg1
= (wxFont
*) 0 ;
9649 wxFont
*arg2
= (wxFont
*) 0 ;
9651 PyObject
* obj0
= 0 ;
9652 PyObject
* obj1
= 0 ;
9654 (char *) "self",(char *) "other", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9659 if (SWIG_arg_fail(1)) SWIG_fail
;
9660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9661 if (SWIG_arg_fail(2)) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9678 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxFont
*arg1
= (wxFont
*) 0 ;
9681 wxFont
*arg2
= (wxFont
*) 0 ;
9683 PyObject
* obj0
= 0 ;
9684 PyObject
* obj1
= 0 ;
9686 (char *) "self",(char *) "other", NULL
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9691 if (SWIG_arg_fail(1)) SWIG_fail
;
9692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9693 if (SWIG_arg_fail(2)) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9710 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxFont
*arg1
= (wxFont
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9716 (char *) "self", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
9720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9721 if (SWIG_arg_fail(1)) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= SWIG_From_int((int)(result
));
9738 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxFont
*arg1
= (wxFont
*) 0 ;
9742 PyObject
* obj0
= 0 ;
9744 (char *) "self", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
9748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9749 if (SWIG_arg_fail(1)) SWIG_fail
;
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 result
= ((wxFont
const *)arg1
)->GetPixelSize();
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9759 resultptr
= new wxSize((wxSize
&)(result
));
9760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9768 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxFont
*arg1
= (wxFont
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9774 (char *) "self", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
9778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9779 if (SWIG_arg_fail(1)) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9796 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxFont
*arg1
= (wxFont
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "self", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
9806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (int)((wxFont
const *)arg1
)->GetFamily();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= SWIG_From_int((int)(result
));
9824 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxFont
*arg1
= (wxFont
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9830 (char *) "self", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
9834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9835 if (SWIG_arg_fail(1)) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (int)((wxFont
const *)arg1
)->GetStyle();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_From_int((int)(result
));
9852 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
;
9854 wxFont
*arg1
= (wxFont
*) 0 ;
9856 PyObject
* obj0
= 0 ;
9858 (char *) "self", NULL
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
9862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9863 if (SWIG_arg_fail(1)) SWIG_fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 result
= (int)((wxFont
const *)arg1
)->GetWeight();
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= SWIG_From_int((int)(result
));
9880 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxFont
*arg1
= (wxFont
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9886 (char *) "self", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
9890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9908 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxFont
*arg1
= (wxFont
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9914 (char *) "self", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
9918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9919 if (SWIG_arg_fail(1)) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= ((wxFont
const *)arg1
)->GetFaceName();
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9940 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxFont
*arg1
= (wxFont
*) 0 ;
9943 wxFontEncoding result
;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
9950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9951 if (SWIG_arg_fail(1)) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_From_int((result
));
9966 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxFont
*arg1
= (wxFont
*) 0 ;
9969 wxNativeFontInfo
*result
;
9970 PyObject
* obj0
= 0 ;
9972 (char *) "self", NULL
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
9976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9977 if (SWIG_arg_fail(1)) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
9992 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxFont
*arg1
= (wxFont
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9998 (char *) "self", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
10002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10003 if (SWIG_arg_fail(1)) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10020 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxFont
*arg1
= (wxFont
*) 0 ;
10024 PyObject
* obj0
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
10030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail
;
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10052 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxFont
*arg1
= (wxFont
*) 0 ;
10056 PyObject
* obj0
= 0 ;
10057 char *kwnames
[] = {
10058 (char *) "self", NULL
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
10062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10063 if (SWIG_arg_fail(1)) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10084 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxFont
*arg1
= (wxFont
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 char *kwnames
[] = {
10091 (char *) "self",(char *) "pointSize", NULL
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10096 if (SWIG_arg_fail(1)) SWIG_fail
;
10098 arg2
= (int)(SWIG_As_int(obj1
));
10099 if (SWIG_arg_fail(2)) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 (arg1
)->SetPointSize(arg2
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 Py_INCREF(Py_None
); resultobj
= Py_None
;
10115 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
*resultobj
;
10117 wxFont
*arg1
= (wxFont
*) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 PyObject
* obj1
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self",(char *) "pixelSize", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10128 if (SWIG_arg_fail(1)) SWIG_fail
;
10131 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 Py_INCREF(Py_None
); resultobj
= Py_None
;
10147 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxFont
*arg1
= (wxFont
*) 0 ;
10151 PyObject
* obj0
= 0 ;
10152 PyObject
* obj1
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "self",(char *) "family", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10159 if (SWIG_arg_fail(1)) SWIG_fail
;
10161 arg2
= (int)(SWIG_As_int(obj1
));
10162 if (SWIG_arg_fail(2)) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 (arg1
)->SetFamily(arg2
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 Py_INCREF(Py_None
); resultobj
= Py_None
;
10178 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxFont
*arg1
= (wxFont
*) 0 ;
10182 PyObject
* obj0
= 0 ;
10183 PyObject
* obj1
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "self",(char *) "style", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10190 if (SWIG_arg_fail(1)) SWIG_fail
;
10192 arg2
= (int)(SWIG_As_int(obj1
));
10193 if (SWIG_arg_fail(2)) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 (arg1
)->SetStyle(arg2
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 Py_INCREF(Py_None
); resultobj
= Py_None
;
10209 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxFont
*arg1
= (wxFont
*) 0 ;
10213 PyObject
* obj0
= 0 ;
10214 PyObject
* obj1
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self",(char *) "weight", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10221 if (SWIG_arg_fail(1)) SWIG_fail
;
10223 arg2
= (int)(SWIG_As_int(obj1
));
10224 if (SWIG_arg_fail(2)) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 (arg1
)->SetWeight(arg2
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 Py_INCREF(Py_None
); resultobj
= Py_None
;
10240 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxFont
*arg1
= (wxFont
*) 0 ;
10243 wxString
*arg2
= 0 ;
10244 bool temp2
= false ;
10245 PyObject
* obj0
= 0 ;
10246 PyObject
* obj1
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self",(char *) "faceName", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10253 if (SWIG_arg_fail(1)) SWIG_fail
;
10255 arg2
= wxString_in_helper(obj1
);
10256 if (arg2
== NULL
) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 Py_INCREF(Py_None
); resultobj
= Py_None
;
10281 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxFont
*arg1
= (wxFont
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 PyObject
* obj1
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self",(char *) "underlined", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10293 if (SWIG_arg_fail(1)) SWIG_fail
;
10295 arg2
= (bool)(SWIG_As_bool(obj1
));
10296 if (SWIG_arg_fail(2)) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 (arg1
)->SetUnderlined(arg2
);
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 Py_INCREF(Py_None
); resultobj
= Py_None
;
10312 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
;
10314 wxFont
*arg1
= (wxFont
*) 0 ;
10315 wxFontEncoding arg2
;
10316 PyObject
* obj0
= 0 ;
10317 PyObject
* obj1
= 0 ;
10318 char *kwnames
[] = {
10319 (char *) "self",(char *) "encoding", NULL
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10324 if (SWIG_arg_fail(1)) SWIG_fail
;
10326 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10327 if (SWIG_arg_fail(2)) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 Py_INCREF(Py_None
); resultobj
= Py_None
;
10343 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxFont
*arg1
= (wxFont
*) 0 ;
10346 wxNativeFontInfo
*arg2
= 0 ;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self",(char *) "info", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10355 if (SWIG_arg_fail(1)) SWIG_fail
;
10357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10358 if (SWIG_arg_fail(2)) SWIG_fail
;
10359 if (arg2
== NULL
) {
10360 SWIG_null_ref("wxNativeFontInfo");
10362 if (SWIG_arg_fail(2)) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 Py_INCREF(Py_None
); resultobj
= Py_None
;
10378 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxFont
*arg1
= (wxFont
*) 0 ;
10381 wxString
*arg2
= 0 ;
10382 bool temp2
= false ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self",(char *) "info", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10391 if (SWIG_arg_fail(1)) SWIG_fail
;
10393 arg2
= wxString_in_helper(obj1
);
10394 if (arg2
== NULL
) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 Py_INCREF(Py_None
); resultobj
= Py_None
;
10419 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
;
10421 wxFont
*arg1
= (wxFont
*) 0 ;
10422 wxString
*arg2
= 0 ;
10423 bool temp2
= false ;
10424 PyObject
* obj0
= 0 ;
10425 PyObject
* obj1
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self",(char *) "info", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10432 if (SWIG_arg_fail(1)) SWIG_fail
;
10434 arg2
= wxString_in_helper(obj1
);
10435 if (arg2
== NULL
) SWIG_fail
;
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 Py_INCREF(Py_None
); resultobj
= Py_None
;
10460 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
;
10462 wxFont
*arg1
= (wxFont
*) 0 ;
10464 PyObject
* obj0
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
10470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10471 if (SWIG_arg_fail(1)) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= ((wxFont
const *)arg1
)->GetFamilyString();
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10492 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxFont
*arg1
= (wxFont
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
10502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10503 if (SWIG_arg_fail(1)) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= ((wxFont
const *)arg1
)->GetStyleString();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10524 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxFont
*arg1
= (wxFont
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
10534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10535 if (SWIG_arg_fail(1)) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= ((wxFont
const *)arg1
)->GetWeightString();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10556 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxFont
*arg1
= (wxFont
*) 0 ;
10559 bool arg2
= (bool) true ;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "self",(char *) "no", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
10567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10568 if (SWIG_arg_fail(1)) SWIG_fail
;
10571 arg2
= (bool)(SWIG_As_bool(obj1
));
10572 if (SWIG_arg_fail(2)) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 (arg1
)->SetNoAntiAliasing(arg2
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 Py_INCREF(Py_None
); resultobj
= Py_None
;
10589 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
;
10591 wxFont
*arg1
= (wxFont
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
10599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10600 if (SWIG_arg_fail(1)) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10617 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxFontEncoding result
;
10620 char *kwnames
[] = {
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
10626 if (!wxPyCheckForApp()) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 resultobj
= SWIG_From_int((result
));
10640 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxFontEncoding arg1
;
10643 PyObject
* obj0
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "encoding", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
10650 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
10651 if (SWIG_arg_fail(1)) SWIG_fail
;
10654 if (!wxPyCheckForApp()) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 Py_INCREF(Py_None
); resultobj
= Py_None
;
10668 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
10670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10671 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
10673 return Py_BuildValue((char *)"");
10675 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxPyFontEnumerator
*result
;
10678 char *kwnames
[] = {
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
10684 if (!wxPyCheckForApp()) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
10698 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
;
10700 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10701 PyObject
* obj0
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
10707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10708 if (SWIG_arg_fail(1)) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 Py_INCREF(Py_None
); resultobj
= Py_None
;
10723 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10726 PyObject
*arg2
= (PyObject
*) 0 ;
10727 PyObject
*arg3
= (PyObject
*) 0 ;
10729 PyObject
* obj0
= 0 ;
10730 PyObject
* obj1
= 0 ;
10731 PyObject
* obj2
= 0 ;
10732 PyObject
* obj3
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10739 if (SWIG_arg_fail(1)) SWIG_fail
;
10743 arg4
= (bool)(SWIG_As_bool(obj3
));
10744 if (SWIG_arg_fail(4)) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 Py_INCREF(Py_None
); resultobj
= Py_None
;
10760 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
;
10762 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10763 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
10764 bool arg3
= (bool) false ;
10766 PyObject
* obj0
= 0 ;
10767 PyObject
* obj1
= 0 ;
10768 PyObject
* obj2
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10775 if (SWIG_arg_fail(1)) SWIG_fail
;
10778 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10779 if (SWIG_arg_fail(2)) SWIG_fail
;
10784 arg3
= (bool)(SWIG_As_bool(obj2
));
10785 if (SWIG_arg_fail(3)) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10804 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10807 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10808 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10810 bool temp2
= false ;
10811 PyObject
* obj0
= 0 ;
10812 PyObject
* obj1
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "facename", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
10818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10819 if (SWIG_arg_fail(1)) SWIG_fail
;
10822 arg2
= wxString_in_helper(obj1
);
10823 if (arg2
== NULL
) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10851 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
10861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10862 if (SWIG_arg_fail(1)) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= result
;
10877 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "self", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
10887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10888 if (SWIG_arg_fail(1)) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= result
;
10903 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
10905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10906 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
10908 return Py_BuildValue((char *)"");
10910 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self",(char *) "Language", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10922 if (SWIG_arg_fail(1)) SWIG_fail
;
10924 arg2
= (int)(SWIG_As_int(obj1
));
10925 if (SWIG_arg_fail(2)) SWIG_fail
;
10927 if (arg1
) (arg1
)->Language
= arg2
;
10929 Py_INCREF(Py_None
); resultobj
= Py_None
;
10936 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
;
10938 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10940 PyObject
* obj0
= 0 ;
10941 char *kwnames
[] = {
10942 (char *) "self", NULL
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
10946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10947 if (SWIG_arg_fail(1)) SWIG_fail
;
10948 result
= (int) ((arg1
)->Language
);
10951 resultobj
= SWIG_From_int((int)(result
));
10959 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10962 wxString
*arg2
= (wxString
*) 0 ;
10963 bool temp2
= false ;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 char *kwnames
[] = {
10967 (char *) "self",(char *) "CanonicalName", NULL
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10972 if (SWIG_arg_fail(1)) SWIG_fail
;
10974 arg2
= wxString_in_helper(obj1
);
10975 if (arg2
== NULL
) SWIG_fail
;
10978 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
10980 Py_INCREF(Py_None
); resultobj
= Py_None
;
10995 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
;
10997 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10999 PyObject
* obj0
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
11005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11006 if (SWIG_arg_fail(1)) SWIG_fail
;
11007 result
= (wxString
*)& ((arg1
)->CanonicalName
);
11011 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11013 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11022 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11025 wxString
*arg2
= (wxString
*) 0 ;
11026 bool temp2
= false ;
11027 PyObject
* obj0
= 0 ;
11028 PyObject
* obj1
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self",(char *) "Description", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11035 if (SWIG_arg_fail(1)) SWIG_fail
;
11037 arg2
= wxString_in_helper(obj1
);
11038 if (arg2
== NULL
) SWIG_fail
;
11041 if (arg1
) (arg1
)->Description
= *arg2
;
11043 Py_INCREF(Py_None
); resultobj
= Py_None
;
11058 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
11068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11069 if (SWIG_arg_fail(1)) SWIG_fail
;
11070 result
= (wxString
*)& ((arg1
)->Description
);
11074 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11076 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11085 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
11087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11088 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
11090 return Py_BuildValue((char *)"");
11092 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 int arg1
= (int) -1 ;
11095 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "language",(char *) "flags", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
11106 arg1
= (int)(SWIG_As_int(obj0
));
11107 if (SWIG_arg_fail(1)) SWIG_fail
;
11112 arg2
= (int)(SWIG_As_int(obj1
));
11113 if (SWIG_arg_fail(2)) SWIG_fail
;
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11130 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
;
11132 wxLocale
*arg1
= (wxLocale
*) 0 ;
11133 PyObject
* obj0
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11140 if (SWIG_arg_fail(1)) SWIG_fail
;
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11148 Py_INCREF(Py_None
); resultobj
= Py_None
;
11155 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
;
11157 wxLocale
*arg1
= (wxLocale
*) 0 ;
11158 wxString
*arg2
= 0 ;
11159 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11160 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11161 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11162 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11163 bool arg5
= (bool) true ;
11164 bool arg6
= (bool) false ;
11166 bool temp2
= false ;
11167 bool temp3
= false ;
11168 bool temp4
= false ;
11169 PyObject
* obj0
= 0 ;
11170 PyObject
* obj1
= 0 ;
11171 PyObject
* obj2
= 0 ;
11172 PyObject
* obj3
= 0 ;
11173 PyObject
* obj4
= 0 ;
11174 PyObject
* obj5
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11181 if (SWIG_arg_fail(1)) SWIG_fail
;
11183 arg2
= wxString_in_helper(obj1
);
11184 if (arg2
== NULL
) SWIG_fail
;
11189 arg3
= wxString_in_helper(obj2
);
11190 if (arg3
== NULL
) SWIG_fail
;
11196 arg4
= wxString_in_helper(obj3
);
11197 if (arg4
== NULL
) SWIG_fail
;
11203 arg5
= (bool)(SWIG_As_bool(obj4
));
11204 if (SWIG_arg_fail(5)) SWIG_fail
;
11209 arg6
= (bool)(SWIG_As_bool(obj5
));
11210 if (SWIG_arg_fail(6)) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11253 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxLocale
*arg1
= (wxLocale
*) 0 ;
11256 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11257 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self",(char *) "language",(char *) "flags", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11268 if (SWIG_arg_fail(1)) SWIG_fail
;
11271 arg2
= (int)(SWIG_As_int(obj1
));
11272 if (SWIG_arg_fail(2)) SWIG_fail
;
11277 arg3
= (int)(SWIG_As_int(obj2
));
11278 if (SWIG_arg_fail(3)) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11297 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11300 char *kwnames
[] = {
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (int)wxLocale::GetSystemLanguage();
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= SWIG_From_int((int)(result
));
11321 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
;
11323 wxFontEncoding result
;
11324 char *kwnames
[] = {
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= SWIG_From_int((result
));
11343 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11346 char *kwnames
[] = {
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= wxLocale::GetSystemEncodingName();
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11371 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxLocale
*arg1
= (wxLocale
*) 0 ;
11375 PyObject
* obj0
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
11381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11382 if (SWIG_arg_fail(1)) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11399 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxLocale
*arg1
= (wxLocale
*) 0 ;
11403 PyObject
* obj0
= 0 ;
11404 char *kwnames
[] = {
11405 (char *) "self", NULL
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
11409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11410 if (SWIG_arg_fail(1)) SWIG_fail
;
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 result
= ((wxLocale
const *)arg1
)->GetLocale();
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11431 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
;
11433 wxLocale
*arg1
= (wxLocale
*) 0 ;
11435 PyObject
* obj0
= 0 ;
11436 char *kwnames
[] = {
11437 (char *) "self", NULL
11440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
11441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11442 if (SWIG_arg_fail(1)) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= SWIG_From_int((int)(result
));
11459 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxLocale
*arg1
= (wxLocale
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 char *kwnames
[] = {
11465 (char *) "self", NULL
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
11469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11470 if (SWIG_arg_fail(1)) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= ((wxLocale
const *)arg1
)->GetSysName();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11491 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxLocale
*arg1
= (wxLocale
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
11501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11502 if (SWIG_arg_fail(1)) SWIG_fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11523 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxString
*arg1
= 0 ;
11526 bool temp1
= false ;
11527 PyObject
* obj0
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "prefix", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
11534 arg1
= wxString_in_helper(obj0
);
11535 if (arg1
== NULL
) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 Py_INCREF(Py_None
); resultobj
= Py_None
;
11560 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxLocale
*arg1
= (wxLocale
*) 0 ;
11563 wxString
*arg2
= 0 ;
11565 bool temp2
= false ;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "self",(char *) "szDomain", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
11573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11574 if (SWIG_arg_fail(1)) SWIG_fail
;
11576 arg2
= wxString_in_helper(obj1
);
11577 if (arg2
== NULL
) SWIG_fail
;
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11604 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
;
11606 wxLocale
*arg1
= (wxLocale
*) 0 ;
11607 wxString
*arg2
= 0 ;
11609 bool temp2
= false ;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 char *kwnames
[] = {
11613 (char *) "self",(char *) "szDomain", NULL
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
11617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11618 if (SWIG_arg_fail(1)) SWIG_fail
;
11620 arg2
= wxString_in_helper(obj1
);
11621 if (arg2
== NULL
) SWIG_fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11648 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11651 wxLanguageInfo
*result
;
11652 PyObject
* obj0
= 0 ;
11653 char *kwnames
[] = {
11654 (char *) "lang", NULL
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
11659 arg1
= (int)(SWIG_As_int(obj0
));
11660 if (SWIG_arg_fail(1)) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11676 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11680 PyObject
* obj0
= 0 ;
11681 char *kwnames
[] = {
11682 (char *) "lang", NULL
11685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
11687 arg1
= (int)(SWIG_As_int(obj0
));
11688 if (SWIG_arg_fail(1)) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= wxLocale::GetLanguageName(arg1
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11710 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxString
*arg1
= 0 ;
11713 wxLanguageInfo
*result
;
11714 bool temp1
= false ;
11715 PyObject
* obj0
= 0 ;
11716 char *kwnames
[] = {
11717 (char *) "locale", NULL
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
11722 arg1
= wxString_in_helper(obj0
);
11723 if (arg1
== NULL
) SWIG_fail
;
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11748 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxLanguageInfo
*arg1
= 0 ;
11751 PyObject
* obj0
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "info", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
11758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11759 if (SWIG_arg_fail(1)) SWIG_fail
;
11760 if (arg1
== NULL
) {
11761 SWIG_null_ref("wxLanguageInfo");
11763 if (SWIG_arg_fail(1)) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 Py_INCREF(Py_None
); resultobj
= Py_None
;
11779 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxLocale
*arg1
= (wxLocale
*) 0 ;
11782 wxString
*arg2
= 0 ;
11783 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11784 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11786 bool temp2
= false ;
11787 bool temp3
= false ;
11788 PyObject
* obj0
= 0 ;
11789 PyObject
* obj1
= 0 ;
11790 PyObject
* obj2
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11797 if (SWIG_arg_fail(1)) SWIG_fail
;
11799 arg2
= wxString_in_helper(obj1
);
11800 if (arg2
== NULL
) SWIG_fail
;
11805 arg3
= wxString_in_helper(obj2
);
11806 if (arg3
== NULL
) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11846 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxLocale
*arg1
= (wxLocale
*) 0 ;
11850 PyObject
* obj0
= 0 ;
11851 char *kwnames
[] = {
11852 (char *) "self", NULL
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
11856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11857 if (SWIG_arg_fail(1)) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
11862 result
= (wxString
*) &_result_ref
;
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11872 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11881 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
11883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11884 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
11886 return Py_BuildValue((char *)"");
11888 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
;
11891 char *kwnames
[] = {
11895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 result
= (wxLocale
*)wxGetLocale();
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
11910 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
11911 PyObject
*resultobj
;
11912 wxString
*arg1
= 0 ;
11914 bool temp1
= false ;
11915 PyObject
* obj0
= 0 ;
11917 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
11919 arg1
= wxString_in_helper(obj0
);
11920 if (arg1
== NULL
) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= wxGetTranslation((wxString
const &)*arg1
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11951 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
11952 PyObject
*resultobj
;
11953 wxString
*arg1
= 0 ;
11954 wxString
*arg2
= 0 ;
11957 bool temp1
= false ;
11958 bool temp2
= false ;
11959 PyObject
* obj0
= 0 ;
11960 PyObject
* obj1
= 0 ;
11961 PyObject
* obj2
= 0 ;
11963 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
11965 arg1
= wxString_in_helper(obj0
);
11966 if (arg1
== NULL
) SWIG_fail
;
11970 arg2
= wxString_in_helper(obj1
);
11971 if (arg2
== NULL
) SWIG_fail
;
11975 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11976 if (SWIG_arg_fail(3)) SWIG_fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12014 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
12019 argc
= PyObject_Length(args
);
12020 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
12021 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12026 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12029 return _wrap_GetTranslation__SWIG_0(self
,args
);
12035 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12039 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
12042 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
12044 return _wrap_GetTranslation__SWIG_1(self
,args
);
12050 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
12055 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxEncodingConverter
*result
;
12058 char *kwnames
[] = {
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (wxEncodingConverter
*)new wxEncodingConverter();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
12077 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12080 PyObject
* obj0
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
12086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12087 if (SWIG_arg_fail(1)) SWIG_fail
;
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 Py_INCREF(Py_None
); resultobj
= Py_None
;
12102 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12105 wxFontEncoding arg2
;
12106 wxFontEncoding arg3
;
12107 int arg4
= (int) wxCONVERT_STRICT
;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 PyObject
* obj2
= 0 ;
12112 PyObject
* obj3
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12119 if (SWIG_arg_fail(1)) SWIG_fail
;
12121 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12122 if (SWIG_arg_fail(2)) SWIG_fail
;
12125 arg3
= (wxFontEncoding
)(SWIG_As_int(obj2
));
12126 if (SWIG_arg_fail(3)) SWIG_fail
;
12130 arg4
= (int)(SWIG_As_int(obj3
));
12131 if (SWIG_arg_fail(4)) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12150 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12153 wxString
*arg2
= 0 ;
12155 bool temp2
= false ;
12156 PyObject
* obj0
= 0 ;
12157 PyObject
* obj1
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self",(char *) "input", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12164 if (SWIG_arg_fail(1)) SWIG_fail
;
12166 arg2
= wxString_in_helper(obj1
);
12167 if (arg2
== NULL
) SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12198 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxFontEncoding arg1
;
12201 int arg2
= (int) wxPLATFORM_CURRENT
;
12202 wxFontEncodingArray result
;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "enc",(char *) "platform", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12211 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12212 if (SWIG_arg_fail(1)) SWIG_fail
;
12216 arg2
= (int)(SWIG_As_int(obj1
));
12217 if (SWIG_arg_fail(2)) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= PyList_New(0);
12229 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12230 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12231 PyList_Append(resultobj
, number
);
12241 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxFontEncoding arg1
;
12244 wxFontEncodingArray result
;
12245 PyObject
* obj0
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "enc", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12252 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12253 if (SWIG_arg_fail(1)) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= PyList_New(0);
12264 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12265 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12266 PyList_Append(resultobj
, number
);
12276 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxFontEncoding arg1
;
12279 wxFontEncoding arg2
;
12281 PyObject
* obj0
= 0 ;
12282 PyObject
* obj1
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "encIn",(char *) "encOut", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12289 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12290 if (SWIG_arg_fail(1)) SWIG_fail
;
12293 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12294 if (SWIG_arg_fail(2)) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12312 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12315 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12317 return Py_BuildValue((char *)"");
12319 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxDC
*arg1
= (wxDC
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
12328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12329 if (SWIG_arg_fail(1)) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 Py_INCREF(Py_None
); resultobj
= Py_None
;
12344 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxDC
*arg1
= (wxDC
*) 0 ;
12347 PyObject
* obj0
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "self", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12354 if (SWIG_arg_fail(1)) SWIG_fail
;
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->BeginDrawing();
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 Py_INCREF(Py_None
); resultobj
= Py_None
;
12369 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxDC
*arg1
= (wxDC
*) 0 ;
12372 PyObject
* obj0
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12379 if (SWIG_arg_fail(1)) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->EndDrawing();
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 Py_INCREF(Py_None
); resultobj
= Py_None
;
12394 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxDC
*arg1
= (wxDC
*) 0 ;
12399 wxColour
*arg4
= 0 ;
12400 int arg5
= (int) wxFLOOD_SURFACE
;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 PyObject
* obj2
= 0 ;
12406 PyObject
* obj3
= 0 ;
12407 PyObject
* obj4
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12414 if (SWIG_arg_fail(1)) SWIG_fail
;
12416 arg2
= (int)(SWIG_As_int(obj1
));
12417 if (SWIG_arg_fail(2)) SWIG_fail
;
12420 arg3
= (int)(SWIG_As_int(obj2
));
12421 if (SWIG_arg_fail(3)) SWIG_fail
;
12425 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12429 arg5
= (int)(SWIG_As_int(obj4
));
12430 if (SWIG_arg_fail(5)) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12449 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxDC
*arg1
= (wxDC
*) 0 ;
12452 wxPoint
*arg2
= 0 ;
12453 wxColour
*arg3
= 0 ;
12454 int arg4
= (int) wxFLOOD_SURFACE
;
12458 PyObject
* obj0
= 0 ;
12459 PyObject
* obj1
= 0 ;
12460 PyObject
* obj2
= 0 ;
12461 PyObject
* obj3
= 0 ;
12462 char *kwnames
[] = {
12463 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
12466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12468 if (SWIG_arg_fail(1)) SWIG_fail
;
12471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12475 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12479 arg4
= (int)(SWIG_As_int(obj3
));
12480 if (SWIG_arg_fail(4)) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12499 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxDC
*arg1
= (wxDC
*) 0 ;
12505 PyObject
* obj0
= 0 ;
12506 PyObject
* obj1
= 0 ;
12507 PyObject
* obj2
= 0 ;
12508 char *kwnames
[] = {
12509 (char *) "self",(char *) "x",(char *) "y", NULL
12512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12514 if (SWIG_arg_fail(1)) SWIG_fail
;
12516 arg2
= (int)(SWIG_As_int(obj1
));
12517 if (SWIG_arg_fail(2)) SWIG_fail
;
12520 arg3
= (int)(SWIG_As_int(obj2
));
12521 if (SWIG_arg_fail(3)) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12531 wxColour
* resultptr
;
12532 resultptr
= new wxColour((wxColour
&)(result
));
12533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12541 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxDC
*arg1
= (wxDC
*) 0 ;
12544 wxPoint
*arg2
= 0 ;
12547 PyObject
* obj0
= 0 ;
12548 PyObject
* obj1
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self",(char *) "pt", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12555 if (SWIG_arg_fail(1)) SWIG_fail
;
12558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12568 wxColour
* resultptr
;
12569 resultptr
= new wxColour((wxColour
&)(result
));
12570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12578 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxDC
*arg1
= (wxDC
*) 0 ;
12585 PyObject
* obj0
= 0 ;
12586 PyObject
* obj1
= 0 ;
12587 PyObject
* obj2
= 0 ;
12588 PyObject
* obj3
= 0 ;
12589 PyObject
* obj4
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12596 if (SWIG_arg_fail(1)) SWIG_fail
;
12598 arg2
= (int)(SWIG_As_int(obj1
));
12599 if (SWIG_arg_fail(2)) SWIG_fail
;
12602 arg3
= (int)(SWIG_As_int(obj2
));
12603 if (SWIG_arg_fail(3)) SWIG_fail
;
12606 arg4
= (int)(SWIG_As_int(obj3
));
12607 if (SWIG_arg_fail(4)) SWIG_fail
;
12610 arg5
= (int)(SWIG_As_int(obj4
));
12611 if (SWIG_arg_fail(5)) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 Py_INCREF(Py_None
); resultobj
= Py_None
;
12627 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxDC
*arg1
= (wxDC
*) 0 ;
12630 wxPoint
*arg2
= 0 ;
12631 wxPoint
*arg3
= 0 ;
12634 PyObject
* obj0
= 0 ;
12635 PyObject
* obj1
= 0 ;
12636 PyObject
* obj2
= 0 ;
12637 char *kwnames
[] = {
12638 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
12641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12643 if (SWIG_arg_fail(1)) SWIG_fail
;
12646 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12650 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 Py_INCREF(Py_None
); resultobj
= Py_None
;
12666 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxDC
*arg1
= (wxDC
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 PyObject
* obj1
= 0 ;
12673 PyObject
* obj2
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self",(char *) "x",(char *) "y", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail
;
12682 arg2
= (int)(SWIG_As_int(obj1
));
12683 if (SWIG_arg_fail(2)) SWIG_fail
;
12686 arg3
= (int)(SWIG_As_int(obj2
));
12687 if (SWIG_arg_fail(3)) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 (arg1
)->CrossHair(arg2
,arg3
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 Py_INCREF(Py_None
); resultobj
= Py_None
;
12703 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxDC
*arg1
= (wxDC
*) 0 ;
12706 wxPoint
*arg2
= 0 ;
12708 PyObject
* obj0
= 0 ;
12709 PyObject
* obj1
= 0 ;
12710 char *kwnames
[] = {
12711 (char *) "self",(char *) "pt", NULL
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12716 if (SWIG_arg_fail(1)) SWIG_fail
;
12719 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 Py_INCREF(Py_None
); resultobj
= Py_None
;
12735 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxDC
*arg1
= (wxDC
*) 0 ;
12744 PyObject
* obj0
= 0 ;
12745 PyObject
* obj1
= 0 ;
12746 PyObject
* obj2
= 0 ;
12747 PyObject
* obj3
= 0 ;
12748 PyObject
* obj4
= 0 ;
12749 PyObject
* obj5
= 0 ;
12750 PyObject
* obj6
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12757 if (SWIG_arg_fail(1)) SWIG_fail
;
12759 arg2
= (int)(SWIG_As_int(obj1
));
12760 if (SWIG_arg_fail(2)) SWIG_fail
;
12763 arg3
= (int)(SWIG_As_int(obj2
));
12764 if (SWIG_arg_fail(3)) SWIG_fail
;
12767 arg4
= (int)(SWIG_As_int(obj3
));
12768 if (SWIG_arg_fail(4)) SWIG_fail
;
12771 arg5
= (int)(SWIG_As_int(obj4
));
12772 if (SWIG_arg_fail(5)) SWIG_fail
;
12775 arg6
= (int)(SWIG_As_int(obj5
));
12776 if (SWIG_arg_fail(6)) SWIG_fail
;
12779 arg7
= (int)(SWIG_As_int(obj6
));
12780 if (SWIG_arg_fail(7)) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 Py_INCREF(Py_None
); resultobj
= Py_None
;
12796 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxDC
*arg1
= (wxDC
*) 0 ;
12799 wxPoint
*arg2
= 0 ;
12800 wxPoint
*arg3
= 0 ;
12801 wxPoint
*arg4
= 0 ;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 PyObject
* obj2
= 0 ;
12808 PyObject
* obj3
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12815 if (SWIG_arg_fail(1)) SWIG_fail
;
12818 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12822 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 Py_INCREF(Py_None
); resultobj
= Py_None
;
12842 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxDC
*arg1
= (wxDC
*) 0 ;
12849 PyObject
* obj0
= 0 ;
12850 PyObject
* obj1
= 0 ;
12851 PyObject
* obj2
= 0 ;
12852 PyObject
* obj3
= 0 ;
12853 PyObject
* obj4
= 0 ;
12854 char *kwnames
[] = {
12855 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12860 if (SWIG_arg_fail(1)) SWIG_fail
;
12862 arg2
= (int)(SWIG_As_int(obj1
));
12863 if (SWIG_arg_fail(2)) SWIG_fail
;
12866 arg3
= (int)(SWIG_As_int(obj2
));
12867 if (SWIG_arg_fail(3)) SWIG_fail
;
12870 arg4
= (int)(SWIG_As_int(obj3
));
12871 if (SWIG_arg_fail(4)) SWIG_fail
;
12874 arg5
= (int)(SWIG_As_int(obj4
));
12875 if (SWIG_arg_fail(5)) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 Py_INCREF(Py_None
); resultobj
= Py_None
;
12891 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxDC
*arg1
= (wxDC
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 PyObject
* obj1
= 0 ;
12898 char *kwnames
[] = {
12899 (char *) "self",(char *) "rect", NULL
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12904 if (SWIG_arg_fail(1)) SWIG_fail
;
12907 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 Py_INCREF(Py_None
); resultobj
= Py_None
;
12923 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
;
12925 wxDC
*arg1
= (wxDC
*) 0 ;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 PyObject
* obj2
= 0 ;
12935 PyObject
* obj3
= 0 ;
12936 PyObject
* obj4
= 0 ;
12937 PyObject
* obj5
= 0 ;
12938 PyObject
* obj6
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12945 if (SWIG_arg_fail(1)) SWIG_fail
;
12947 arg2
= (int)(SWIG_As_int(obj1
));
12948 if (SWIG_arg_fail(2)) SWIG_fail
;
12951 arg3
= (int)(SWIG_As_int(obj2
));
12952 if (SWIG_arg_fail(3)) SWIG_fail
;
12955 arg4
= (int)(SWIG_As_int(obj3
));
12956 if (SWIG_arg_fail(4)) SWIG_fail
;
12959 arg5
= (int)(SWIG_As_int(obj4
));
12960 if (SWIG_arg_fail(5)) SWIG_fail
;
12963 arg6
= (double)(SWIG_As_double(obj5
));
12964 if (SWIG_arg_fail(6)) SWIG_fail
;
12967 arg7
= (double)(SWIG_As_double(obj6
));
12968 if (SWIG_arg_fail(7)) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 Py_INCREF(Py_None
); resultobj
= Py_None
;
12984 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxDC
*arg1
= (wxDC
*) 0 ;
12987 wxPoint
*arg2
= 0 ;
12993 PyObject
* obj0
= 0 ;
12994 PyObject
* obj1
= 0 ;
12995 PyObject
* obj2
= 0 ;
12996 PyObject
* obj3
= 0 ;
12997 PyObject
* obj4
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13004 if (SWIG_arg_fail(1)) SWIG_fail
;
13007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13011 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13014 arg4
= (double)(SWIG_As_double(obj3
));
13015 if (SWIG_arg_fail(4)) SWIG_fail
;
13018 arg5
= (double)(SWIG_As_double(obj4
));
13019 if (SWIG_arg_fail(5)) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13028 Py_INCREF(Py_None
); resultobj
= Py_None
;
13035 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxDC
*arg1
= (wxDC
*) 0 ;
13040 PyObject
* obj0
= 0 ;
13041 PyObject
* obj1
= 0 ;
13042 PyObject
* obj2
= 0 ;
13043 char *kwnames
[] = {
13044 (char *) "self",(char *) "x",(char *) "y", NULL
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13049 if (SWIG_arg_fail(1)) SWIG_fail
;
13051 arg2
= (int)(SWIG_As_int(obj1
));
13052 if (SWIG_arg_fail(2)) SWIG_fail
;
13055 arg3
= (int)(SWIG_As_int(obj2
));
13056 if (SWIG_arg_fail(3)) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 (arg1
)->DrawPoint(arg2
,arg3
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 Py_INCREF(Py_None
); resultobj
= Py_None
;
13072 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxDC
*arg1
= (wxDC
*) 0 ;
13075 wxPoint
*arg2
= 0 ;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 char *kwnames
[] = {
13080 (char *) "self",(char *) "pt", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13085 if (SWIG_arg_fail(1)) SWIG_fail
;
13088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 Py_INCREF(Py_None
); resultobj
= Py_None
;
13104 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
;
13106 wxDC
*arg1
= (wxDC
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 PyObject
* obj2
= 0 ;
13114 PyObject
* obj3
= 0 ;
13115 PyObject
* obj4
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13122 if (SWIG_arg_fail(1)) SWIG_fail
;
13124 arg2
= (int)(SWIG_As_int(obj1
));
13125 if (SWIG_arg_fail(2)) SWIG_fail
;
13128 arg3
= (int)(SWIG_As_int(obj2
));
13129 if (SWIG_arg_fail(3)) SWIG_fail
;
13132 arg4
= (int)(SWIG_As_int(obj3
));
13133 if (SWIG_arg_fail(4)) SWIG_fail
;
13136 arg5
= (int)(SWIG_As_int(obj4
));
13137 if (SWIG_arg_fail(5)) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 Py_INCREF(Py_None
); resultobj
= Py_None
;
13153 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
;
13155 wxDC
*arg1
= (wxDC
*) 0 ;
13158 PyObject
* obj0
= 0 ;
13159 PyObject
* obj1
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self",(char *) "rect", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail
;
13169 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 Py_INCREF(Py_None
); resultobj
= Py_None
;
13185 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxDC
*arg1
= (wxDC
*) 0 ;
13188 wxPoint
*arg2
= 0 ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 PyObject
* obj2
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self",(char *) "pt",(char *) "sz", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13201 if (SWIG_arg_fail(1)) SWIG_fail
;
13204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13208 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 Py_INCREF(Py_None
); resultobj
= Py_None
;
13224 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
;
13226 wxDC
*arg1
= (wxDC
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 PyObject
* obj1
= 0 ;
13234 PyObject
* obj2
= 0 ;
13235 PyObject
* obj3
= 0 ;
13236 PyObject
* obj4
= 0 ;
13237 PyObject
* obj5
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13244 if (SWIG_arg_fail(1)) SWIG_fail
;
13246 arg2
= (int)(SWIG_As_int(obj1
));
13247 if (SWIG_arg_fail(2)) SWIG_fail
;
13250 arg3
= (int)(SWIG_As_int(obj2
));
13251 if (SWIG_arg_fail(3)) SWIG_fail
;
13254 arg4
= (int)(SWIG_As_int(obj3
));
13255 if (SWIG_arg_fail(4)) SWIG_fail
;
13258 arg5
= (int)(SWIG_As_int(obj4
));
13259 if (SWIG_arg_fail(5)) SWIG_fail
;
13262 arg6
= (double)(SWIG_As_double(obj5
));
13263 if (SWIG_arg_fail(6)) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 Py_INCREF(Py_None
); resultobj
= Py_None
;
13279 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxDC
*arg1
= (wxDC
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj1
= 0 ;
13287 PyObject
* obj2
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self",(char *) "r",(char *) "radius", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13294 if (SWIG_arg_fail(1)) SWIG_fail
;
13297 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13300 arg3
= (double)(SWIG_As_double(obj2
));
13301 if (SWIG_arg_fail(3)) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 Py_INCREF(Py_None
); resultobj
= Py_None
;
13317 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxDC
*arg1
= (wxDC
*) 0 ;
13320 wxPoint
*arg2
= 0 ;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 PyObject
* obj2
= 0 ;
13328 PyObject
* obj3
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13335 if (SWIG_arg_fail(1)) SWIG_fail
;
13338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13342 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13345 arg4
= (double)(SWIG_As_double(obj3
));
13346 if (SWIG_arg_fail(4)) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 Py_INCREF(Py_None
); resultobj
= Py_None
;
13362 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxDC
*arg1
= (wxDC
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 PyObject
* obj1
= 0 ;
13370 PyObject
* obj2
= 0 ;
13371 PyObject
* obj3
= 0 ;
13372 char *kwnames
[] = {
13373 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13378 if (SWIG_arg_fail(1)) SWIG_fail
;
13380 arg2
= (int)(SWIG_As_int(obj1
));
13381 if (SWIG_arg_fail(2)) SWIG_fail
;
13384 arg3
= (int)(SWIG_As_int(obj2
));
13385 if (SWIG_arg_fail(3)) SWIG_fail
;
13388 arg4
= (int)(SWIG_As_int(obj3
));
13389 if (SWIG_arg_fail(4)) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 Py_INCREF(Py_None
); resultobj
= Py_None
;
13405 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxDC
*arg1
= (wxDC
*) 0 ;
13408 wxPoint
*arg2
= 0 ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 PyObject
* obj2
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self",(char *) "pt",(char *) "radius", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13420 if (SWIG_arg_fail(1)) SWIG_fail
;
13423 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13426 arg3
= (int)(SWIG_As_int(obj2
));
13427 if (SWIG_arg_fail(3)) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 Py_INCREF(Py_None
); resultobj
= Py_None
;
13443 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxDC
*arg1
= (wxDC
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 PyObject
* obj2
= 0 ;
13453 PyObject
* obj3
= 0 ;
13454 PyObject
* obj4
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13461 if (SWIG_arg_fail(1)) SWIG_fail
;
13463 arg2
= (int)(SWIG_As_int(obj1
));
13464 if (SWIG_arg_fail(2)) SWIG_fail
;
13467 arg3
= (int)(SWIG_As_int(obj2
));
13468 if (SWIG_arg_fail(3)) SWIG_fail
;
13471 arg4
= (int)(SWIG_As_int(obj3
));
13472 if (SWIG_arg_fail(4)) SWIG_fail
;
13475 arg5
= (int)(SWIG_As_int(obj4
));
13476 if (SWIG_arg_fail(5)) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 Py_INCREF(Py_None
); resultobj
= Py_None
;
13492 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxDC
*arg1
= (wxDC
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 PyObject
* obj1
= 0 ;
13499 char *kwnames
[] = {
13500 (char *) "self",(char *) "rect", NULL
13503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13505 if (SWIG_arg_fail(1)) SWIG_fail
;
13508 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 Py_INCREF(Py_None
); resultobj
= Py_None
;
13524 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxDC
*arg1
= (wxDC
*) 0 ;
13527 wxPoint
*arg2
= 0 ;
13531 PyObject
* obj0
= 0 ;
13532 PyObject
* obj1
= 0 ;
13533 PyObject
* obj2
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self",(char *) "pt",(char *) "sz", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13540 if (SWIG_arg_fail(1)) SWIG_fail
;
13543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13547 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 Py_INCREF(Py_None
); resultobj
= Py_None
;
13563 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxDC
*arg1
= (wxDC
*) 0 ;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 PyObject
* obj2
= 0 ;
13572 PyObject
* obj3
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13579 if (SWIG_arg_fail(1)) SWIG_fail
;
13581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13582 if (SWIG_arg_fail(2)) SWIG_fail
;
13583 if (arg2
== NULL
) {
13584 SWIG_null_ref("wxIcon");
13586 if (SWIG_arg_fail(2)) SWIG_fail
;
13589 arg3
= (int)(SWIG_As_int(obj2
));
13590 if (SWIG_arg_fail(3)) SWIG_fail
;
13593 arg4
= (int)(SWIG_As_int(obj3
));
13594 if (SWIG_arg_fail(4)) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 Py_INCREF(Py_None
); resultobj
= Py_None
;
13610 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxDC
*arg1
= (wxDC
*) 0 ;
13614 wxPoint
*arg3
= 0 ;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 PyObject
* obj2
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self",(char *) "icon",(char *) "pt", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13625 if (SWIG_arg_fail(1)) SWIG_fail
;
13627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13628 if (SWIG_arg_fail(2)) SWIG_fail
;
13629 if (arg2
== NULL
) {
13630 SWIG_null_ref("wxIcon");
13632 if (SWIG_arg_fail(2)) SWIG_fail
;
13636 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 Py_INCREF(Py_None
); resultobj
= Py_None
;
13652 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxDC
*arg1
= (wxDC
*) 0 ;
13655 wxBitmap
*arg2
= 0 ;
13658 bool arg5
= (bool) false ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 PyObject
* obj2
= 0 ;
13662 PyObject
* obj3
= 0 ;
13663 PyObject
* obj4
= 0 ;
13664 char *kwnames
[] = {
13665 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
13668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13670 if (SWIG_arg_fail(1)) SWIG_fail
;
13672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13673 if (SWIG_arg_fail(2)) SWIG_fail
;
13674 if (arg2
== NULL
) {
13675 SWIG_null_ref("wxBitmap");
13677 if (SWIG_arg_fail(2)) SWIG_fail
;
13680 arg3
= (int)(SWIG_As_int(obj2
));
13681 if (SWIG_arg_fail(3)) SWIG_fail
;
13684 arg4
= (int)(SWIG_As_int(obj3
));
13685 if (SWIG_arg_fail(4)) SWIG_fail
;
13689 arg5
= (bool)(SWIG_As_bool(obj4
));
13690 if (SWIG_arg_fail(5)) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 Py_INCREF(Py_None
); resultobj
= Py_None
;
13707 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxDC
*arg1
= (wxDC
*) 0 ;
13710 wxBitmap
*arg2
= 0 ;
13711 wxPoint
*arg3
= 0 ;
13712 bool arg4
= (bool) false ;
13714 PyObject
* obj0
= 0 ;
13715 PyObject
* obj1
= 0 ;
13716 PyObject
* obj2
= 0 ;
13717 PyObject
* obj3
= 0 ;
13718 char *kwnames
[] = {
13719 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
13722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13724 if (SWIG_arg_fail(1)) SWIG_fail
;
13726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13727 if (SWIG_arg_fail(2)) SWIG_fail
;
13728 if (arg2
== NULL
) {
13729 SWIG_null_ref("wxBitmap");
13731 if (SWIG_arg_fail(2)) SWIG_fail
;
13735 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13739 arg4
= (bool)(SWIG_As_bool(obj3
));
13740 if (SWIG_arg_fail(4)) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 Py_INCREF(Py_None
); resultobj
= Py_None
;
13757 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxDC
*arg1
= (wxDC
*) 0 ;
13760 wxString
*arg2
= 0 ;
13763 bool temp2
= false ;
13764 PyObject
* obj0
= 0 ;
13765 PyObject
* obj1
= 0 ;
13766 PyObject
* obj2
= 0 ;
13767 PyObject
* obj3
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13774 if (SWIG_arg_fail(1)) SWIG_fail
;
13776 arg2
= wxString_in_helper(obj1
);
13777 if (arg2
== NULL
) SWIG_fail
;
13781 arg3
= (int)(SWIG_As_int(obj2
));
13782 if (SWIG_arg_fail(3)) SWIG_fail
;
13785 arg4
= (int)(SWIG_As_int(obj3
));
13786 if (SWIG_arg_fail(4)) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 Py_INCREF(Py_None
); resultobj
= Py_None
;
13810 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxDC
*arg1
= (wxDC
*) 0 ;
13813 wxString
*arg2
= 0 ;
13814 wxPoint
*arg3
= 0 ;
13815 bool temp2
= false ;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj1
= 0 ;
13819 PyObject
* obj2
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self",(char *) "text",(char *) "pt", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13826 if (SWIG_arg_fail(1)) SWIG_fail
;
13828 arg2
= wxString_in_helper(obj1
);
13829 if (arg2
== NULL
) SWIG_fail
;
13834 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 Py_INCREF(Py_None
); resultobj
= Py_None
;
13858 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxDC
*arg1
= (wxDC
*) 0 ;
13861 wxString
*arg2
= 0 ;
13865 bool temp2
= false ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 PyObject
* obj2
= 0 ;
13869 PyObject
* obj3
= 0 ;
13870 PyObject
* obj4
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13877 if (SWIG_arg_fail(1)) SWIG_fail
;
13879 arg2
= wxString_in_helper(obj1
);
13880 if (arg2
== NULL
) SWIG_fail
;
13884 arg3
= (int)(SWIG_As_int(obj2
));
13885 if (SWIG_arg_fail(3)) SWIG_fail
;
13888 arg4
= (int)(SWIG_As_int(obj3
));
13889 if (SWIG_arg_fail(4)) SWIG_fail
;
13892 arg5
= (double)(SWIG_As_double(obj4
));
13893 if (SWIG_arg_fail(5)) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 Py_INCREF(Py_None
); resultobj
= Py_None
;
13917 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
;
13919 wxDC
*arg1
= (wxDC
*) 0 ;
13920 wxString
*arg2
= 0 ;
13921 wxPoint
*arg3
= 0 ;
13923 bool temp2
= false ;
13925 PyObject
* obj0
= 0 ;
13926 PyObject
* obj1
= 0 ;
13927 PyObject
* obj2
= 0 ;
13928 PyObject
* obj3
= 0 ;
13929 char *kwnames
[] = {
13930 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
13933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13935 if (SWIG_arg_fail(1)) SWIG_fail
;
13937 arg2
= wxString_in_helper(obj1
);
13938 if (arg2
== NULL
) SWIG_fail
;
13943 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13946 arg4
= (double)(SWIG_As_double(obj3
));
13947 if (SWIG_arg_fail(4)) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 Py_INCREF(Py_None
); resultobj
= Py_None
;
13971 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxDC
*arg1
= (wxDC
*) 0 ;
13978 wxDC
*arg6
= (wxDC
*) 0 ;
13981 int arg9
= (int) wxCOPY
;
13982 bool arg10
= (bool) false ;
13983 int arg11
= (int) -1 ;
13984 int arg12
= (int) -1 ;
13986 PyObject
* obj0
= 0 ;
13987 PyObject
* obj1
= 0 ;
13988 PyObject
* obj2
= 0 ;
13989 PyObject
* obj3
= 0 ;
13990 PyObject
* obj4
= 0 ;
13991 PyObject
* obj5
= 0 ;
13992 PyObject
* obj6
= 0 ;
13993 PyObject
* obj7
= 0 ;
13994 PyObject
* obj8
= 0 ;
13995 PyObject
* obj9
= 0 ;
13996 PyObject
* obj10
= 0 ;
13997 PyObject
* obj11
= 0 ;
13998 char *kwnames
[] = {
13999 (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
14002 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
;
14003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14004 if (SWIG_arg_fail(1)) SWIG_fail
;
14006 arg2
= (int)(SWIG_As_int(obj1
));
14007 if (SWIG_arg_fail(2)) SWIG_fail
;
14010 arg3
= (int)(SWIG_As_int(obj2
));
14011 if (SWIG_arg_fail(3)) SWIG_fail
;
14014 arg4
= (int)(SWIG_As_int(obj3
));
14015 if (SWIG_arg_fail(4)) SWIG_fail
;
14018 arg5
= (int)(SWIG_As_int(obj4
));
14019 if (SWIG_arg_fail(5)) SWIG_fail
;
14021 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14022 if (SWIG_arg_fail(6)) SWIG_fail
;
14024 arg7
= (int)(SWIG_As_int(obj6
));
14025 if (SWIG_arg_fail(7)) SWIG_fail
;
14028 arg8
= (int)(SWIG_As_int(obj7
));
14029 if (SWIG_arg_fail(8)) SWIG_fail
;
14033 arg9
= (int)(SWIG_As_int(obj8
));
14034 if (SWIG_arg_fail(9)) SWIG_fail
;
14039 arg10
= (bool)(SWIG_As_bool(obj9
));
14040 if (SWIG_arg_fail(10)) SWIG_fail
;
14045 arg11
= (int)(SWIG_As_int(obj10
));
14046 if (SWIG_arg_fail(11)) SWIG_fail
;
14051 arg12
= (int)(SWIG_As_int(obj11
));
14052 if (SWIG_arg_fail(12)) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14071 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxDC
*arg1
= (wxDC
*) 0 ;
14074 wxPoint
*arg2
= 0 ;
14076 wxDC
*arg4
= (wxDC
*) 0 ;
14077 wxPoint
*arg5
= 0 ;
14078 int arg6
= (int) wxCOPY
;
14079 bool arg7
= (bool) false ;
14080 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
14081 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
14087 PyObject
* obj0
= 0 ;
14088 PyObject
* obj1
= 0 ;
14089 PyObject
* obj2
= 0 ;
14090 PyObject
* obj3
= 0 ;
14091 PyObject
* obj4
= 0 ;
14092 PyObject
* obj5
= 0 ;
14093 PyObject
* obj6
= 0 ;
14094 PyObject
* obj7
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14101 if (SWIG_arg_fail(1)) SWIG_fail
;
14104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14108 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14110 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14111 if (SWIG_arg_fail(4)) SWIG_fail
;
14114 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14118 arg6
= (int)(SWIG_As_int(obj5
));
14119 if (SWIG_arg_fail(6)) SWIG_fail
;
14124 arg7
= (bool)(SWIG_As_bool(obj6
));
14125 if (SWIG_arg_fail(7)) SWIG_fail
;
14131 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14150 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxDC
*arg1
= (wxDC
*) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 PyObject
* obj1
= 0 ;
14159 PyObject
* obj2
= 0 ;
14160 PyObject
* obj3
= 0 ;
14161 PyObject
* obj4
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14168 if (SWIG_arg_fail(1)) SWIG_fail
;
14170 arg2
= (int)(SWIG_As_int(obj1
));
14171 if (SWIG_arg_fail(2)) SWIG_fail
;
14174 arg3
= (int)(SWIG_As_int(obj2
));
14175 if (SWIG_arg_fail(3)) SWIG_fail
;
14178 arg4
= (int)(SWIG_As_int(obj3
));
14179 if (SWIG_arg_fail(4)) SWIG_fail
;
14182 arg5
= (int)(SWIG_As_int(obj4
));
14183 if (SWIG_arg_fail(5)) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 Py_INCREF(Py_None
); resultobj
= Py_None
;
14199 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
;
14201 wxDC
*arg1
= (wxDC
*) 0 ;
14202 wxPoint
*arg2
= 0 ;
14206 PyObject
* obj0
= 0 ;
14207 PyObject
* obj1
= 0 ;
14208 PyObject
* obj2
= 0 ;
14209 char *kwnames
[] = {
14210 (char *) "self",(char *) "pt",(char *) "sz", NULL
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14215 if (SWIG_arg_fail(1)) SWIG_fail
;
14218 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14222 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 Py_INCREF(Py_None
); resultobj
= Py_None
;
14238 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxDC
*arg1
= (wxDC
*) 0 ;
14241 wxRegion
*arg2
= 0 ;
14242 PyObject
* obj0
= 0 ;
14243 PyObject
* obj1
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self",(char *) "region", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14250 if (SWIG_arg_fail(1)) SWIG_fail
;
14252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14253 if (SWIG_arg_fail(2)) SWIG_fail
;
14254 if (arg2
== NULL
) {
14255 SWIG_null_ref("wxRegion");
14257 if (SWIG_arg_fail(2)) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 Py_INCREF(Py_None
); resultobj
= Py_None
;
14273 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxDC
*arg1
= (wxDC
*) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "rect", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14286 if (SWIG_arg_fail(1)) SWIG_fail
;
14289 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14298 Py_INCREF(Py_None
); resultobj
= Py_None
;
14305 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxDC
*arg1
= (wxDC
*) 0 ;
14309 wxPoint
*arg3
= (wxPoint
*) 0 ;
14310 int arg4
= (int) 0 ;
14311 int arg5
= (int) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 PyObject
* obj1
= 0 ;
14314 PyObject
* obj2
= 0 ;
14315 PyObject
* obj3
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14322 if (SWIG_arg_fail(1)) SWIG_fail
;
14324 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14325 if (arg3
== NULL
) SWIG_fail
;
14329 arg4
= (int)(SWIG_As_int(obj2
));
14330 if (SWIG_arg_fail(4)) SWIG_fail
;
14335 arg5
= (int)(SWIG_As_int(obj3
));
14336 if (SWIG_arg_fail(5)) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14348 if (arg3
) delete [] arg3
;
14353 if (arg3
) delete [] arg3
;
14359 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxDC
*arg1
= (wxDC
*) 0 ;
14363 wxPoint
*arg3
= (wxPoint
*) 0 ;
14364 int arg4
= (int) 0 ;
14365 int arg5
= (int) 0 ;
14366 int arg6
= (int) wxODDEVEN_RULE
;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 PyObject
* obj2
= 0 ;
14370 PyObject
* obj3
= 0 ;
14371 PyObject
* obj4
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14378 if (SWIG_arg_fail(1)) SWIG_fail
;
14380 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14381 if (arg3
== NULL
) SWIG_fail
;
14385 arg4
= (int)(SWIG_As_int(obj2
));
14386 if (SWIG_arg_fail(4)) SWIG_fail
;
14391 arg5
= (int)(SWIG_As_int(obj3
));
14392 if (SWIG_arg_fail(5)) SWIG_fail
;
14397 arg6
= (int)(SWIG_As_int(obj4
));
14398 if (SWIG_arg_fail(6)) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 Py_INCREF(Py_None
); resultobj
= Py_None
;
14410 if (arg3
) delete [] arg3
;
14415 if (arg3
) delete [] arg3
;
14421 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxDC
*arg1
= (wxDC
*) 0 ;
14424 wxString
*arg2
= 0 ;
14426 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14427 int arg5
= (int) -1 ;
14428 bool temp2
= false ;
14430 PyObject
* obj0
= 0 ;
14431 PyObject
* obj1
= 0 ;
14432 PyObject
* obj2
= 0 ;
14433 PyObject
* obj3
= 0 ;
14434 PyObject
* obj4
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14441 if (SWIG_arg_fail(1)) SWIG_fail
;
14443 arg2
= wxString_in_helper(obj1
);
14444 if (arg2
== NULL
) SWIG_fail
;
14449 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
14453 arg4
= (int)(SWIG_As_int(obj3
));
14454 if (SWIG_arg_fail(4)) SWIG_fail
;
14459 arg5
= (int)(SWIG_As_int(obj4
));
14460 if (SWIG_arg_fail(5)) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14470 Py_INCREF(Py_None
); resultobj
= Py_None
;
14485 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
;
14487 wxDC
*arg1
= (wxDC
*) 0 ;
14488 wxString
*arg2
= 0 ;
14489 wxBitmap
*arg3
= 0 ;
14491 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14492 int arg6
= (int) -1 ;
14494 bool temp2
= false ;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 PyObject
* obj2
= 0 ;
14499 PyObject
* obj3
= 0 ;
14500 PyObject
* obj4
= 0 ;
14501 PyObject
* obj5
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14508 if (SWIG_arg_fail(1)) SWIG_fail
;
14510 arg2
= wxString_in_helper(obj1
);
14511 if (arg2
== NULL
) SWIG_fail
;
14515 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14516 if (SWIG_arg_fail(3)) SWIG_fail
;
14517 if (arg3
== NULL
) {
14518 SWIG_null_ref("wxBitmap");
14520 if (SWIG_arg_fail(3)) SWIG_fail
;
14524 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
14528 arg5
= (int)(SWIG_As_int(obj4
));
14529 if (SWIG_arg_fail(5)) SWIG_fail
;
14534 arg6
= (int)(SWIG_As_int(obj5
));
14535 if (SWIG_arg_fail(6)) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14546 wxRect
* resultptr
;
14547 resultptr
= new wxRect((wxRect
&)(result
));
14548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14564 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxDC
*arg1
= (wxDC
*) 0 ;
14568 wxPoint
*arg3
= (wxPoint
*) 0 ;
14569 PyObject
* obj0
= 0 ;
14570 PyObject
* obj1
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self",(char *) "points", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
14576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14577 if (SWIG_arg_fail(1)) SWIG_fail
;
14579 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14580 if (arg3
== NULL
) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 (arg1
)->DrawSpline(arg2
,arg3
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 Py_INCREF(Py_None
); resultobj
= Py_None
;
14591 if (arg3
) delete [] arg3
;
14596 if (arg3
) delete [] arg3
;
14602 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxDC
*arg1
= (wxDC
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
14611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14612 if (SWIG_arg_fail(1)) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 Py_INCREF(Py_None
); resultobj
= Py_None
;
14627 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxDC
*arg1
= (wxDC
*) 0 ;
14630 wxString
*arg2
= 0 ;
14632 bool temp2
= false ;
14633 PyObject
* obj0
= 0 ;
14634 PyObject
* obj1
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "self",(char *) "message", NULL
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
14640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14641 if (SWIG_arg_fail(1)) SWIG_fail
;
14643 arg2
= wxString_in_helper(obj1
);
14644 if (arg2
== NULL
) SWIG_fail
;
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14671 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxDC
*arg1
= (wxDC
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
14680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14681 if (SWIG_arg_fail(1)) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 Py_INCREF(Py_None
); resultobj
= Py_None
;
14696 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxDC
*arg1
= (wxDC
*) 0 ;
14699 PyObject
* obj0
= 0 ;
14700 char *kwnames
[] = {
14701 (char *) "self", NULL
14704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
14705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14706 if (SWIG_arg_fail(1)) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 (arg1
)->StartPage();
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 Py_INCREF(Py_None
); resultobj
= Py_None
;
14721 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxDC
*arg1
= (wxDC
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
14730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14731 if (SWIG_arg_fail(1)) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 Py_INCREF(Py_None
); resultobj
= Py_None
;
14746 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxDC
*arg1
= (wxDC
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 PyObject
* obj1
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self",(char *) "font", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14758 if (SWIG_arg_fail(1)) SWIG_fail
;
14760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14761 if (SWIG_arg_fail(2)) SWIG_fail
;
14762 if (arg2
== NULL
) {
14763 SWIG_null_ref("wxFont");
14765 if (SWIG_arg_fail(2)) SWIG_fail
;
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 (arg1
)->SetFont((wxFont
const &)*arg2
);
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 Py_INCREF(Py_None
); resultobj
= Py_None
;
14781 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14783 wxDC
*arg1
= (wxDC
*) 0 ;
14785 PyObject
* obj0
= 0 ;
14786 PyObject
* obj1
= 0 ;
14787 char *kwnames
[] = {
14788 (char *) "self",(char *) "pen", NULL
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14793 if (SWIG_arg_fail(1)) SWIG_fail
;
14795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
14796 if (SWIG_arg_fail(2)) SWIG_fail
;
14797 if (arg2
== NULL
) {
14798 SWIG_null_ref("wxPen");
14800 if (SWIG_arg_fail(2)) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 (arg1
)->SetPen((wxPen
const &)*arg2
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 Py_INCREF(Py_None
); resultobj
= Py_None
;
14816 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxDC
*arg1
= (wxDC
*) 0 ;
14819 wxBrush
*arg2
= 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self",(char *) "brush", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14828 if (SWIG_arg_fail(1)) SWIG_fail
;
14830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14831 if (SWIG_arg_fail(2)) SWIG_fail
;
14832 if (arg2
== NULL
) {
14833 SWIG_null_ref("wxBrush");
14835 if (SWIG_arg_fail(2)) SWIG_fail
;
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
14841 wxPyEndAllowThreads(__tstate
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14844 Py_INCREF(Py_None
); resultobj
= Py_None
;
14851 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14852 PyObject
*resultobj
;
14853 wxDC
*arg1
= (wxDC
*) 0 ;
14854 wxBrush
*arg2
= 0 ;
14855 PyObject
* obj0
= 0 ;
14856 PyObject
* obj1
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self",(char *) "brush", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14863 if (SWIG_arg_fail(1)) SWIG_fail
;
14865 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14866 if (SWIG_arg_fail(2)) SWIG_fail
;
14867 if (arg2
== NULL
) {
14868 SWIG_null_ref("wxBrush");
14870 if (SWIG_arg_fail(2)) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 Py_INCREF(Py_None
); resultobj
= Py_None
;
14886 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxDC
*arg1
= (wxDC
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "mode", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14898 if (SWIG_arg_fail(1)) SWIG_fail
;
14900 arg2
= (int)(SWIG_As_int(obj1
));
14901 if (SWIG_arg_fail(2)) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 (arg1
)->SetBackgroundMode(arg2
);
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 Py_INCREF(Py_None
); resultobj
= Py_None
;
14917 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxDC
*arg1
= (wxDC
*) 0 ;
14920 wxPalette
*arg2
= 0 ;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "self",(char *) "palette", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
14928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14929 if (SWIG_arg_fail(1)) SWIG_fail
;
14931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
14932 if (SWIG_arg_fail(2)) SWIG_fail
;
14933 if (arg2
== NULL
) {
14934 SWIG_null_ref("wxPalette");
14936 if (SWIG_arg_fail(2)) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 Py_INCREF(Py_None
); resultobj
= Py_None
;
14952 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxDC
*arg1
= (wxDC
*) 0 ;
14955 PyObject
* obj0
= 0 ;
14956 char *kwnames
[] = {
14957 (char *) "self", NULL
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
14961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14962 if (SWIG_arg_fail(1)) SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 (arg1
)->DestroyClippingRegion();
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 Py_INCREF(Py_None
); resultobj
= Py_None
;
14977 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxDC
*arg1
= (wxDC
*) 0 ;
14980 int *arg2
= (int *) 0 ;
14981 int *arg3
= (int *) 0 ;
14982 int *arg4
= (int *) 0 ;
14983 int *arg5
= (int *) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self", NULL
14997 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14998 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14999 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15000 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
15002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15003 if (SWIG_arg_fail(1)) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 Py_INCREF(Py_None
); resultobj
= Py_None
;
15012 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15013 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15014 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15015 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15016 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15017 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15018 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15019 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15026 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxDC
*arg1
= (wxDC
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
15036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15037 if (SWIG_arg_fail(1)) SWIG_fail
;
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= wxDC_GetClippingRect(arg1
);
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15046 wxRect
* resultptr
;
15047 resultptr
= new wxRect((wxRect
&)(result
));
15048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15056 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxDC
*arg1
= (wxDC
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
15066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15067 if (SWIG_arg_fail(1)) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= SWIG_From_int((int)(result
));
15084 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxDC
*arg1
= (wxDC
*) 0 ;
15088 PyObject
* obj0
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "self", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
15094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15095 if (SWIG_arg_fail(1)) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= SWIG_From_int((int)(result
));
15112 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxDC
*arg1
= (wxDC
*) 0 ;
15115 wxString
*arg2
= 0 ;
15116 int *arg3
= (int *) 0 ;
15117 int *arg4
= (int *) 0 ;
15118 bool temp2
= false ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self",(char *) "string", NULL
15129 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15130 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15133 if (SWIG_arg_fail(1)) SWIG_fail
;
15135 arg2
= wxString_in_helper(obj1
);
15136 if (arg2
== NULL
) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15148 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15149 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15150 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15165 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxDC
*arg1
= (wxDC
*) 0 ;
15168 wxString
*arg2
= 0 ;
15169 int *arg3
= (int *) 0 ;
15170 int *arg4
= (int *) 0 ;
15171 int *arg5
= (int *) 0 ;
15172 int *arg6
= (int *) 0 ;
15173 wxFont
*arg7
= (wxFont
*) NULL
;
15174 bool temp2
= false ;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15185 PyObject
* obj2
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self",(char *) "string",(char *) "font", NULL
15190 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15191 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15192 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15193 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15196 if (SWIG_arg_fail(1)) SWIG_fail
;
15198 arg2
= wxString_in_helper(obj1
);
15199 if (arg2
== NULL
) SWIG_fail
;
15203 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15204 if (SWIG_arg_fail(7)) SWIG_fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 Py_INCREF(Py_None
); resultobj
= Py_None
;
15214 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15215 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15216 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15217 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15218 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15219 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15220 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15221 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15236 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxDC
*arg1
= (wxDC
*) 0 ;
15239 wxString
*arg2
= 0 ;
15240 int *arg3
= (int *) 0 ;
15241 int *arg4
= (int *) 0 ;
15242 int *arg5
= (int *) 0 ;
15243 wxFont
*arg6
= (wxFont
*) NULL
;
15244 bool temp2
= false ;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 PyObject
* obj2
= 0 ;
15254 char *kwnames
[] = {
15255 (char *) "self",(char *) "text",(char *) "font", NULL
15258 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15259 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15260 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15263 if (SWIG_arg_fail(1)) SWIG_fail
;
15265 arg2
= wxString_in_helper(obj1
);
15266 if (arg2
== NULL
) SWIG_fail
;
15270 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15271 if (SWIG_arg_fail(6)) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 Py_INCREF(Py_None
); resultobj
= Py_None
;
15281 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15282 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15283 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15284 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15285 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15286 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15301 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxDC
*arg1
= (wxDC
*) 0 ;
15304 wxString
*arg2
= 0 ;
15306 bool temp2
= false ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self",(char *) "text", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15315 if (SWIG_arg_fail(1)) SWIG_fail
;
15317 arg2
= wxString_in_helper(obj1
);
15318 if (arg2
== NULL
) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= PyList_New(0);
15331 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15332 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15333 PyList_Append(resultobj
, val
);
15351 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxDC
*arg1
= (wxDC
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15362 if (SWIG_arg_fail(1)) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (arg1
)->GetSize();
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15371 wxSize
* resultptr
;
15372 resultptr
= new wxSize((wxSize
&)(result
));
15373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15381 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxDC
*arg1
= (wxDC
*) 0 ;
15384 int *arg2
= (int *) 0 ;
15385 int *arg3
= (int *) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self", NULL
15395 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15396 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15399 if (SWIG_arg_fail(1)) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 (arg1
)->GetSize(arg2
,arg3
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 Py_INCREF(Py_None
); resultobj
= Py_None
;
15408 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15409 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15410 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15411 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15418 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxDC
*arg1
= (wxDC
*) 0 ;
15422 PyObject
* obj0
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
15428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15429 if (SWIG_arg_fail(1)) SWIG_fail
;
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 result
= ((wxDC
const *)arg1
)->GetSizeMM();
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15438 wxSize
* resultptr
;
15439 resultptr
= new wxSize((wxSize
&)(result
));
15440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15448 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxDC
*arg1
= (wxDC
*) 0 ;
15451 int *arg2
= (int *) 0 ;
15452 int *arg3
= (int *) 0 ;
15457 PyObject
* obj0
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self", NULL
15462 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15463 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
15465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15466 if (SWIG_arg_fail(1)) SWIG_fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 Py_INCREF(Py_None
); resultobj
= Py_None
;
15475 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15476 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15477 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15478 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15485 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxDC
*arg1
= (wxDC
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 PyObject
* obj1
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self",(char *) "x", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
15497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15498 if (SWIG_arg_fail(1)) SWIG_fail
;
15500 arg2
= (int)(SWIG_As_int(obj1
));
15501 if (SWIG_arg_fail(2)) SWIG_fail
;
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= SWIG_From_int((int)(result
));
15519 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15521 wxDC
*arg1
= (wxDC
*) 0 ;
15524 PyObject
* obj0
= 0 ;
15525 PyObject
* obj1
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "self",(char *) "y", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
15531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15532 if (SWIG_arg_fail(1)) SWIG_fail
;
15534 arg2
= (int)(SWIG_As_int(obj1
));
15535 if (SWIG_arg_fail(2)) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_From_int((int)(result
));
15553 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
;
15555 wxDC
*arg1
= (wxDC
*) 0 ;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self",(char *) "x", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15566 if (SWIG_arg_fail(1)) SWIG_fail
;
15568 arg2
= (int)(SWIG_As_int(obj1
));
15569 if (SWIG_arg_fail(2)) SWIG_fail
;
15572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15573 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= SWIG_From_int((int)(result
));
15587 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxDC
*arg1
= (wxDC
*) 0 ;
15592 PyObject
* obj0
= 0 ;
15593 PyObject
* obj1
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "self",(char *) "y", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15600 if (SWIG_arg_fail(1)) SWIG_fail
;
15602 arg2
= (int)(SWIG_As_int(obj1
));
15603 if (SWIG_arg_fail(2)) SWIG_fail
;
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_From_int((int)(result
));
15621 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
;
15623 wxDC
*arg1
= (wxDC
*) 0 ;
15626 PyObject
* obj0
= 0 ;
15627 PyObject
* obj1
= 0 ;
15628 char *kwnames
[] = {
15629 (char *) "self",(char *) "x", NULL
15632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
15633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15634 if (SWIG_arg_fail(1)) SWIG_fail
;
15636 arg2
= (int)(SWIG_As_int(obj1
));
15637 if (SWIG_arg_fail(2)) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= SWIG_From_int((int)(result
));
15655 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxDC
*arg1
= (wxDC
*) 0 ;
15660 PyObject
* obj0
= 0 ;
15661 PyObject
* obj1
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "self",(char *) "y", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
15667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15668 if (SWIG_arg_fail(1)) SWIG_fail
;
15670 arg2
= (int)(SWIG_As_int(obj1
));
15671 if (SWIG_arg_fail(2)) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= SWIG_From_int((int)(result
));
15689 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxDC
*arg1
= (wxDC
*) 0 ;
15694 PyObject
* obj0
= 0 ;
15695 PyObject
* obj1
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "self",(char *) "x", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15702 if (SWIG_arg_fail(1)) SWIG_fail
;
15704 arg2
= (int)(SWIG_As_int(obj1
));
15705 if (SWIG_arg_fail(2)) SWIG_fail
;
15708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15709 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= SWIG_From_int((int)(result
));
15723 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxDC
*arg1
= (wxDC
*) 0 ;
15728 PyObject
* obj0
= 0 ;
15729 PyObject
* obj1
= 0 ;
15730 char *kwnames
[] = {
15731 (char *) "self",(char *) "y", NULL
15734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15736 if (SWIG_arg_fail(1)) SWIG_fail
;
15738 arg2
= (int)(SWIG_As_int(obj1
));
15739 if (SWIG_arg_fail(2)) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= SWIG_From_int((int)(result
));
15757 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxDC
*arg1
= (wxDC
*) 0 ;
15761 PyObject
* obj0
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
15767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15768 if (SWIG_arg_fail(1)) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15785 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxDC
*arg1
= (wxDC
*) 0 ;
15789 PyObject
* obj0
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
15795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15796 if (SWIG_arg_fail(1)) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15813 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxDC
*arg1
= (wxDC
*) 0 ;
15817 PyObject
* obj0
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
15823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15824 if (SWIG_arg_fail(1)) SWIG_fail
;
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 result
= (int)((wxDC
const *)arg1
)->GetDepth();
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15833 resultobj
= SWIG_From_int((int)(result
));
15841 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxDC
*arg1
= (wxDC
*) 0 ;
15845 PyObject
* obj0
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
15851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15852 if (SWIG_arg_fail(1)) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= ((wxDC
const *)arg1
)->GetPPI();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 wxSize
* resultptr
;
15862 resultptr
= new wxSize((wxSize
&)(result
));
15863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15871 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15872 PyObject
*resultobj
;
15873 wxDC
*arg1
= (wxDC
*) 0 ;
15875 PyObject
* obj0
= 0 ;
15876 char *kwnames
[] = {
15877 (char *) "self", NULL
15880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
15881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15882 if (SWIG_arg_fail(1)) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 result
= (bool)((wxDC
const *)arg1
)->Ok();
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15899 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxDC
*arg1
= (wxDC
*) 0 ;
15903 PyObject
* obj0
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
15909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15910 if (SWIG_arg_fail(1)) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= SWIG_From_int((int)(result
));
15927 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
;
15929 wxDC
*arg1
= (wxDC
*) 0 ;
15931 PyObject
* obj0
= 0 ;
15932 char *kwnames
[] = {
15933 (char *) "self", NULL
15936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
15937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15938 if (SWIG_arg_fail(1)) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
15943 result
= (wxBrush
*) &_result_ref
;
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15950 wxBrush
* resultptr
= new wxBrush(*result
);
15951 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15959 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxDC
*arg1
= (wxDC
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 char *kwnames
[] = {
15965 (char *) "self", NULL
15968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
15969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15970 if (SWIG_arg_fail(1)) SWIG_fail
;
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
15975 result
= (wxBrush
*) &_result_ref
;
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15982 wxBrush
* resultptr
= new wxBrush(*result
);
15983 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15991 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxDC
*arg1
= (wxDC
*) 0 ;
15995 PyObject
* obj0
= 0 ;
15996 char *kwnames
[] = {
15997 (char *) "self", NULL
16000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
16001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16002 if (SWIG_arg_fail(1)) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
16007 result
= (wxFont
*) &_result_ref
;
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16014 wxFont
* resultptr
= new wxFont(*result
);
16015 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16023 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxDC
*arg1
= (wxDC
*) 0 ;
16027 PyObject
* obj0
= 0 ;
16028 char *kwnames
[] = {
16029 (char *) "self", NULL
16032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
16033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16034 if (SWIG_arg_fail(1)) SWIG_fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
16039 result
= (wxPen
*) &_result_ref
;
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16046 wxPen
* resultptr
= new wxPen(*result
);
16047 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
16055 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxDC
*arg1
= (wxDC
*) 0 ;
16059 PyObject
* obj0
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
16065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16066 if (SWIG_arg_fail(1)) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
16071 result
= (wxColour
*) &_result_ref
;
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16084 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxDC
*arg1
= (wxDC
*) 0 ;
16088 PyObject
* obj0
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
16094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16095 if (SWIG_arg_fail(1)) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
16100 result
= (wxColour
*) &_result_ref
;
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16113 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxDC
*arg1
= (wxDC
*) 0 ;
16116 wxColour
*arg2
= 0 ;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self",(char *) "colour", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16126 if (SWIG_arg_fail(1)) SWIG_fail
;
16129 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 Py_INCREF(Py_None
); resultobj
= Py_None
;
16145 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxDC
*arg1
= (wxDC
*) 0 ;
16148 wxColour
*arg2
= 0 ;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self",(char *) "colour", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16158 if (SWIG_arg_fail(1)) SWIG_fail
;
16161 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 Py_INCREF(Py_None
); resultobj
= Py_None
;
16177 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxDC
*arg1
= (wxDC
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16188 if (SWIG_arg_fail(1)) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= SWIG_From_int((int)(result
));
16205 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16206 PyObject
*resultobj
;
16207 wxDC
*arg1
= (wxDC
*) 0 ;
16209 PyObject
* obj0
= 0 ;
16210 PyObject
* obj1
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self",(char *) "mode", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16217 if (SWIG_arg_fail(1)) SWIG_fail
;
16219 arg2
= (int)(SWIG_As_int(obj1
));
16220 if (SWIG_arg_fail(2)) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 (arg1
)->SetMapMode(arg2
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxDC
*arg1
= (wxDC
*) 0 ;
16239 double *arg2
= (double *) 0 ;
16240 double *arg3
= (double *) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self", NULL
16250 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16251 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16254 if (SWIG_arg_fail(1)) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 Py_INCREF(Py_None
); resultobj
= Py_None
;
16263 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16264 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16265 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16266 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16273 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxDC
*arg1
= (wxDC
*) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 PyObject
* obj1
= 0 ;
16280 PyObject
* obj2
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self",(char *) "x",(char *) "y", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16287 if (SWIG_arg_fail(1)) SWIG_fail
;
16289 arg2
= (double)(SWIG_As_double(obj1
));
16290 if (SWIG_arg_fail(2)) SWIG_fail
;
16293 arg3
= (double)(SWIG_As_double(obj2
));
16294 if (SWIG_arg_fail(3)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 (arg1
)->SetUserScale(arg2
,arg3
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxDC
*arg1
= (wxDC
*) 0 ;
16313 double *arg2
= (double *) 0 ;
16314 double *arg3
= (double *) 0 ;
16319 PyObject
* obj0
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self", NULL
16324 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16325 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16328 if (SWIG_arg_fail(1)) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 (arg1
)->GetLogicalScale(arg2
,arg3
);
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 Py_INCREF(Py_None
); resultobj
= Py_None
;
16337 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16338 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16339 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16340 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16347 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
;
16349 wxDC
*arg1
= (wxDC
*) 0 ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 PyObject
* obj2
= 0 ;
16355 char *kwnames
[] = {
16356 (char *) "self",(char *) "x",(char *) "y", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16361 if (SWIG_arg_fail(1)) SWIG_fail
;
16363 arg2
= (double)(SWIG_As_double(obj1
));
16364 if (SWIG_arg_fail(2)) SWIG_fail
;
16367 arg3
= (double)(SWIG_As_double(obj2
));
16368 if (SWIG_arg_fail(3)) SWIG_fail
;
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 (arg1
)->SetLogicalScale(arg2
,arg3
);
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16377 Py_INCREF(Py_None
); resultobj
= Py_None
;
16384 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxDC
*arg1
= (wxDC
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 char *kwnames
[] = {
16390 (char *) "self", NULL
16393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16395 if (SWIG_arg_fail(1)) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 wxPoint
* resultptr
;
16405 resultptr
= new wxPoint((wxPoint
&)(result
));
16406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16414 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
;
16416 wxDC
*arg1
= (wxDC
*) 0 ;
16417 int *arg2
= (int *) 0 ;
16418 int *arg3
= (int *) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self", NULL
16428 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16429 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
16431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16432 if (SWIG_arg_fail(1)) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 Py_INCREF(Py_None
); resultobj
= Py_None
;
16441 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16442 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16443 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16444 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16451 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxDC
*arg1
= (wxDC
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 PyObject
* obj2
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self",(char *) "x",(char *) "y", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16465 if (SWIG_arg_fail(1)) SWIG_fail
;
16467 arg2
= (int)(SWIG_As_int(obj1
));
16468 if (SWIG_arg_fail(2)) SWIG_fail
;
16471 arg3
= (int)(SWIG_As_int(obj2
));
16472 if (SWIG_arg_fail(3)) SWIG_fail
;
16475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16476 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 Py_INCREF(Py_None
); resultobj
= Py_None
;
16488 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
;
16490 wxDC
*arg1
= (wxDC
*) 0 ;
16491 wxPoint
*arg2
= 0 ;
16493 PyObject
* obj0
= 0 ;
16494 PyObject
* obj1
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self",(char *) "point", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16501 if (SWIG_arg_fail(1)) SWIG_fail
;
16504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 Py_INCREF(Py_None
); resultobj
= Py_None
;
16520 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxDC
*arg1
= (wxDC
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
16530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16531 if (SWIG_arg_fail(1)) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 wxPoint
* resultptr
;
16541 resultptr
= new wxPoint((wxPoint
&)(result
));
16542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16550 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16552 wxDC
*arg1
= (wxDC
*) 0 ;
16553 int *arg2
= (int *) 0 ;
16554 int *arg3
= (int *) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 char *kwnames
[] = {
16561 (char *) "self", NULL
16564 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16565 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
16567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16568 if (SWIG_arg_fail(1)) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 Py_INCREF(Py_None
); resultobj
= Py_None
;
16577 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16578 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16579 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16580 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16587 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxDC
*arg1
= (wxDC
*) 0 ;
16592 PyObject
* obj0
= 0 ;
16593 PyObject
* obj1
= 0 ;
16594 PyObject
* obj2
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self",(char *) "x",(char *) "y", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16601 if (SWIG_arg_fail(1)) SWIG_fail
;
16603 arg2
= (int)(SWIG_As_int(obj1
));
16604 if (SWIG_arg_fail(2)) SWIG_fail
;
16607 arg3
= (int)(SWIG_As_int(obj2
));
16608 if (SWIG_arg_fail(3)) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 Py_INCREF(Py_None
); resultobj
= Py_None
;
16624 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
;
16626 wxDC
*arg1
= (wxDC
*) 0 ;
16627 wxPoint
*arg2
= 0 ;
16629 PyObject
* obj0
= 0 ;
16630 PyObject
* obj1
= 0 ;
16631 char *kwnames
[] = {
16632 (char *) "self",(char *) "point", NULL
16635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16637 if (SWIG_arg_fail(1)) SWIG_fail
;
16640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 Py_INCREF(Py_None
); resultobj
= Py_None
;
16656 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxDC
*arg1
= (wxDC
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 PyObject
* obj1
= 0 ;
16663 PyObject
* obj2
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail
;
16672 arg2
= (bool)(SWIG_As_bool(obj1
));
16673 if (SWIG_arg_fail(2)) SWIG_fail
;
16676 arg3
= (bool)(SWIG_As_bool(obj2
));
16677 if (SWIG_arg_fail(3)) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 (arg1
)->SetAxisOrientation(arg2
,arg3
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 Py_INCREF(Py_None
); resultobj
= Py_None
;
16693 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxDC
*arg1
= (wxDC
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
16703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16704 if (SWIG_arg_fail(1)) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_From_int((int)(result
));
16721 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16723 wxDC
*arg1
= (wxDC
*) 0 ;
16725 PyObject
* obj0
= 0 ;
16726 PyObject
* obj1
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self",(char *) "function", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
16732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16733 if (SWIG_arg_fail(1)) SWIG_fail
;
16735 arg2
= (int)(SWIG_As_int(obj1
));
16736 if (SWIG_arg_fail(2)) SWIG_fail
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 (arg1
)->SetLogicalFunction(arg2
);
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16745 Py_INCREF(Py_None
); resultobj
= Py_None
;
16752 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxDC
*arg1
= (wxDC
*) 0 ;
16755 PyObject
* obj0
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
16761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16762 if (SWIG_arg_fail(1)) SWIG_fail
;
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 (arg1
)->ComputeScaleAndOrigin();
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16770 Py_INCREF(Py_None
); resultobj
= Py_None
;
16777 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxDC
*arg1
= (wxDC
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 PyObject
* obj2
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self",(char *) "x",(char *) "y", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail
;
16793 arg2
= (int)(SWIG_As_int(obj1
));
16794 if (SWIG_arg_fail(2)) SWIG_fail
;
16797 arg3
= (int)(SWIG_As_int(obj2
));
16798 if (SWIG_arg_fail(3)) SWIG_fail
;
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 (arg1
)->CalcBoundingBox(arg2
,arg3
);
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16807 Py_INCREF(Py_None
); resultobj
= Py_None
;
16814 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxDC
*arg1
= (wxDC
*) 0 ;
16817 wxPoint
*arg2
= 0 ;
16819 PyObject
* obj0
= 0 ;
16820 PyObject
* obj1
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self",(char *) "point", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16827 if (SWIG_arg_fail(1)) SWIG_fail
;
16830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 Py_INCREF(Py_None
); resultobj
= Py_None
;
16846 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxDC
*arg1
= (wxDC
*) 0 ;
16849 PyObject
* obj0
= 0 ;
16850 char *kwnames
[] = {
16851 (char *) "self", NULL
16854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
16855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16856 if (SWIG_arg_fail(1)) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 (arg1
)->ResetBoundingBox();
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16864 Py_INCREF(Py_None
); resultobj
= Py_None
;
16871 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxDC
*arg1
= (wxDC
*) 0 ;
16875 PyObject
* obj0
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
16881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16882 if (SWIG_arg_fail(1)) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (int)((wxDC
const *)arg1
)->MinX();
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= SWIG_From_int((int)(result
));
16899 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxDC
*arg1
= (wxDC
*) 0 ;
16903 PyObject
* obj0
= 0 ;
16904 char *kwnames
[] = {
16905 (char *) "self", NULL
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
16909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16910 if (SWIG_arg_fail(1)) SWIG_fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 result
= (int)((wxDC
const *)arg1
)->MaxX();
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= SWIG_From_int((int)(result
));
16927 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 wxDC
*arg1
= (wxDC
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
16937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16938 if (SWIG_arg_fail(1)) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 result
= (int)((wxDC
const *)arg1
)->MinY();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= SWIG_From_int((int)(result
));
16955 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16957 wxDC
*arg1
= (wxDC
*) 0 ;
16959 PyObject
* obj0
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
16965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16966 if (SWIG_arg_fail(1)) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 result
= (int)((wxDC
const *)arg1
)->MaxY();
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= SWIG_From_int((int)(result
));
16983 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxDC
*arg1
= (wxDC
*) 0 ;
16986 int *arg2
= (int *) 0 ;
16987 int *arg3
= (int *) 0 ;
16988 int *arg4
= (int *) 0 ;
16989 int *arg5
= (int *) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self", NULL
17003 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17004 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17005 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17006 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
17008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17009 if (SWIG_arg_fail(1)) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 Py_INCREF(Py_None
); resultobj
= Py_None
;
17018 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17019 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17020 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17021 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17022 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17023 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17024 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
17025 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
17032 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxDC
*arg1
= (wxDC
*) 0 ;
17035 PyObject
*arg2
= (PyObject
*) 0 ;
17036 PyObject
*arg3
= (PyObject
*) 0 ;
17037 PyObject
*arg4
= (PyObject
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 PyObject
* obj2
= 0 ;
17042 PyObject
* obj3
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17049 if (SWIG_arg_fail(1)) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= result
;
17067 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxDC
*arg1
= (wxDC
*) 0 ;
17070 PyObject
*arg2
= (PyObject
*) 0 ;
17071 PyObject
*arg3
= (PyObject
*) 0 ;
17072 PyObject
*arg4
= (PyObject
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 PyObject
* obj2
= 0 ;
17077 PyObject
* obj3
= 0 ;
17078 char *kwnames
[] = {
17079 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17084 if (SWIG_arg_fail(1)) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= result
;
17102 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxDC
*arg1
= (wxDC
*) 0 ;
17105 PyObject
*arg2
= (PyObject
*) 0 ;
17106 PyObject
*arg3
= (PyObject
*) 0 ;
17107 PyObject
*arg4
= (PyObject
*) 0 ;
17109 PyObject
* obj0
= 0 ;
17110 PyObject
* obj1
= 0 ;
17111 PyObject
* obj2
= 0 ;
17112 PyObject
* obj3
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17119 if (SWIG_arg_fail(1)) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= result
;
17137 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxDC
*arg1
= (wxDC
*) 0 ;
17140 PyObject
*arg2
= (PyObject
*) 0 ;
17141 PyObject
*arg3
= (PyObject
*) 0 ;
17142 PyObject
*arg4
= (PyObject
*) 0 ;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 PyObject
* obj2
= 0 ;
17147 PyObject
* obj3
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17154 if (SWIG_arg_fail(1)) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= result
;
17172 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxDC
*arg1
= (wxDC
*) 0 ;
17175 PyObject
*arg2
= (PyObject
*) 0 ;
17176 PyObject
*arg3
= (PyObject
*) 0 ;
17177 PyObject
*arg4
= (PyObject
*) 0 ;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 PyObject
* obj2
= 0 ;
17182 PyObject
* obj3
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17189 if (SWIG_arg_fail(1)) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= result
;
17207 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxDC
*arg1
= (wxDC
*) 0 ;
17210 PyObject
*arg2
= (PyObject
*) 0 ;
17211 PyObject
*arg3
= (PyObject
*) 0 ;
17212 PyObject
*arg4
= (PyObject
*) 0 ;
17213 PyObject
*arg5
= (PyObject
*) 0 ;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 PyObject
* obj2
= 0 ;
17218 PyObject
* obj3
= 0 ;
17219 PyObject
* obj4
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17226 if (SWIG_arg_fail(1)) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= result
;
17245 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17248 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17250 return Py_BuildValue((char *)"");
17252 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxMemoryDC
*result
;
17255 char *kwnames
[] = {
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17261 if (!wxPyCheckForApp()) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (wxMemoryDC
*)new wxMemoryDC();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17275 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxDC
*arg1
= (wxDC
*) 0 ;
17278 wxMemoryDC
*result
;
17279 PyObject
* obj0
= 0 ;
17280 char *kwnames
[] = {
17281 (char *) "oldDC", NULL
17284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17286 if (SWIG_arg_fail(1)) SWIG_fail
;
17288 if (!wxPyCheckForApp()) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17302 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17304 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17305 wxBitmap
*arg2
= 0 ;
17306 PyObject
* obj0
= 0 ;
17307 PyObject
* obj1
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self",(char *) "bitmap", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17314 if (SWIG_arg_fail(1)) SWIG_fail
;
17316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17317 if (SWIG_arg_fail(2)) SWIG_fail
;
17318 if (arg2
== NULL
) {
17319 SWIG_null_ref("wxBitmap");
17321 if (SWIG_arg_fail(2)) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 Py_INCREF(Py_None
); resultobj
= Py_None
;
17337 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17340 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17342 return Py_BuildValue((char *)"");
17344 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17345 PyObject
*resultobj
;
17346 wxDC
*arg1
= (wxDC
*) 0 ;
17347 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17348 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17349 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17350 wxBufferedDC
*result
;
17351 PyObject
* obj0
= 0 ;
17352 PyObject
* obj1
= 0 ;
17353 PyObject
* obj2
= 0 ;
17355 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17357 if (SWIG_arg_fail(1)) SWIG_fail
;
17360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17361 if (SWIG_arg_fail(2)) SWIG_fail
;
17362 if (arg2
== NULL
) {
17363 SWIG_null_ref("wxBitmap");
17365 if (SWIG_arg_fail(2)) SWIG_fail
;
17370 arg3
= (int)(SWIG_As_int(obj2
));
17371 if (SWIG_arg_fail(3)) SWIG_fail
;
17375 if (!wxPyCheckForApp()) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17389 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
17390 PyObject
*resultobj
;
17391 wxDC
*arg1
= (wxDC
*) 0 ;
17393 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17394 wxBufferedDC
*result
;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 PyObject
* obj2
= 0 ;
17400 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17402 if (SWIG_arg_fail(1)) SWIG_fail
;
17405 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17409 arg3
= (int)(SWIG_As_int(obj2
));
17410 if (SWIG_arg_fail(3)) SWIG_fail
;
17414 if (!wxPyCheckForApp()) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17428 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
17433 argc
= PyObject_Length(args
);
17434 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
17435 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17437 if ((argc
>= 1) && (argc
<= 3)) {
17441 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17450 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17454 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
17463 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17465 _v
= SWIG_Check_int(argv
[2]);
17467 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17472 if ((argc
>= 2) && (argc
<= 3)) {
17476 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17485 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
17489 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17491 _v
= SWIG_Check_int(argv
[2]);
17493 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17499 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
17504 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17507 PyObject
* obj0
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "self", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
17513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17514 if (SWIG_arg_fail(1)) SWIG_fail
;
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 Py_INCREF(Py_None
); resultobj
= Py_None
;
17529 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17531 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17532 PyObject
* obj0
= 0 ;
17533 char *kwnames
[] = {
17534 (char *) "self", NULL
17537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
17538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17539 if (SWIG_arg_fail(1)) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 Py_INCREF(Py_None
); resultobj
= Py_None
;
17554 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
17556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17557 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
17559 return Py_BuildValue((char *)"");
17561 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxWindow
*arg1
= (wxWindow
*) 0 ;
17564 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17565 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17566 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17567 wxBufferedPaintDC
*result
;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 PyObject
* obj2
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "window",(char *) "buffer",(char *) "style", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17577 if (SWIG_arg_fail(1)) SWIG_fail
;
17580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17581 if (SWIG_arg_fail(2)) SWIG_fail
;
17582 if (arg2
== NULL
) {
17583 SWIG_null_ref("wxBitmap");
17585 if (SWIG_arg_fail(2)) SWIG_fail
;
17590 arg3
= (int)(SWIG_As_int(obj2
));
17591 if (SWIG_arg_fail(3)) SWIG_fail
;
17595 if (!wxPyCheckForApp()) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
17609 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
17611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17612 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
17614 return Py_BuildValue((char *)"");
17616 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxScreenDC
*result
;
17619 char *kwnames
[] = {
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
17625 if (!wxPyCheckForApp()) SWIG_fail
;
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 result
= (wxScreenDC
*)new wxScreenDC();
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
17639 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17641 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17642 wxWindow
*arg2
= (wxWindow
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "self",(char *) "window", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
17651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17652 if (SWIG_arg_fail(1)) SWIG_fail
;
17653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17654 if (SWIG_arg_fail(2)) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17671 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17674 wxRect
*arg2
= (wxRect
*) NULL
;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "rect", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
17683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17684 if (SWIG_arg_fail(1)) SWIG_fail
;
17686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
17687 if (SWIG_arg_fail(2)) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17705 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
17715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17716 if (SWIG_arg_fail(1)) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (bool)(arg1
)->EndDrawingOnTop();
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17733 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
17735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17736 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
17738 return Py_BuildValue((char *)"");
17740 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 wxWindow
*arg1
= (wxWindow
*) 0 ;
17743 wxClientDC
*result
;
17744 PyObject
* obj0
= 0 ;
17745 char *kwnames
[] = {
17746 (char *) "win", NULL
17749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
17750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17751 if (SWIG_arg_fail(1)) SWIG_fail
;
17753 if (!wxPyCheckForApp()) SWIG_fail
;
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 result
= (wxClientDC
*)new wxClientDC(arg1
);
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
17767 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
17769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17770 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
17772 return Py_BuildValue((char *)"");
17774 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxWindow
*arg1
= (wxWindow
*) 0 ;
17778 PyObject
* obj0
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "win", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
17784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17785 if (SWIG_arg_fail(1)) SWIG_fail
;
17787 if (!wxPyCheckForApp()) SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
17801 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
17803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17804 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
17806 return Py_BuildValue((char *)"");
17808 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxWindow
*arg1
= (wxWindow
*) 0 ;
17811 wxWindowDC
*result
;
17812 PyObject
* obj0
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "win", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
17818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17819 if (SWIG_arg_fail(1)) SWIG_fail
;
17821 if (!wxPyCheckForApp()) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
17835 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
17837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17838 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
17840 return Py_BuildValue((char *)"");
17842 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17846 wxMirrorDC
*result
;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj1
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "dc",(char *) "mirror", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17856 if (SWIG_arg_fail(1)) SWIG_fail
;
17857 if (arg1
== NULL
) {
17858 SWIG_null_ref("wxDC");
17860 if (SWIG_arg_fail(1)) SWIG_fail
;
17863 arg2
= (bool)(SWIG_As_bool(obj1
));
17864 if (SWIG_arg_fail(2)) SWIG_fail
;
17867 if (!wxPyCheckForApp()) SWIG_fail
;
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
17881 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
17883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17884 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
17886 return Py_BuildValue((char *)"");
17888 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxPrintData
*arg1
= 0 ;
17891 wxPostScriptDC
*result
;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "printData", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
17899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17900 if (SWIG_arg_fail(1)) SWIG_fail
;
17901 if (arg1
== NULL
) {
17902 SWIG_null_ref("wxPrintData");
17904 if (SWIG_arg_fail(1)) SWIG_fail
;
17907 if (!wxPyCheckForApp()) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
17921 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17924 wxPrintData
*result
;
17925 PyObject
* obj0
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
17931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17932 if (SWIG_arg_fail(1)) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17937 result
= (wxPrintData
*) &_result_ref
;
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
17950 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17953 wxPrintData
*arg2
= 0 ;
17954 PyObject
* obj0
= 0 ;
17955 PyObject
* obj1
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self",(char *) "data", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17962 if (SWIG_arg_fail(1)) SWIG_fail
;
17964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17965 if (SWIG_arg_fail(2)) SWIG_fail
;
17966 if (arg2
== NULL
) {
17967 SWIG_null_ref("wxPrintData");
17969 if (SWIG_arg_fail(2)) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 Py_INCREF(Py_None
); resultobj
= Py_None
;
17985 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
;
17988 PyObject
* obj0
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "ppi", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
17995 arg1
= (int)(SWIG_As_int(obj0
));
17996 if (SWIG_arg_fail(1)) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 wxPostScriptDC::SetResolution(arg1
);
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 Py_INCREF(Py_None
); resultobj
= Py_None
;
18012 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18015 char *kwnames
[] = {
18019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 result
= (int)wxPostScriptDC::GetResolution();
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= SWIG_From_int((int)(result
));
18036 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
18038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18039 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
18041 return Py_BuildValue((char *)"");
18043 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18046 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18047 wxMetaFile
*result
;
18048 bool temp1
= false ;
18049 PyObject
* obj0
= 0 ;
18050 char *kwnames
[] = {
18051 (char *) "filename", NULL
18054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
18057 arg1
= wxString_in_helper(obj0
);
18058 if (arg1
== NULL
) SWIG_fail
;
18063 if (!wxPyCheckForApp()) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
18085 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
18087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18088 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
18090 return Py_BuildValue((char *)"");
18092 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
;
18094 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18095 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18096 int arg2
= (int) 0 ;
18097 int arg3
= (int) 0 ;
18098 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18099 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18100 wxMetaFileDC
*result
;
18101 bool temp1
= false ;
18102 bool temp4
= false ;
18103 PyObject
* obj0
= 0 ;
18104 PyObject
* obj1
= 0 ;
18105 PyObject
* obj2
= 0 ;
18106 PyObject
* obj3
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18114 arg1
= wxString_in_helper(obj0
);
18115 if (arg1
== NULL
) SWIG_fail
;
18121 arg2
= (int)(SWIG_As_int(obj1
));
18122 if (SWIG_arg_fail(2)) SWIG_fail
;
18127 arg3
= (int)(SWIG_As_int(obj2
));
18128 if (SWIG_arg_fail(3)) SWIG_fail
;
18133 arg4
= wxString_in_helper(obj3
);
18134 if (arg4
== NULL
) SWIG_fail
;
18139 if (!wxPyCheckForApp()) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
18169 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
18171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18172 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
18174 return Py_BuildValue((char *)"");
18176 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxPrintData
*arg1
= 0 ;
18179 wxPrinterDC
*result
;
18180 PyObject
* obj0
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "printData", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
18187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18188 if (SWIG_arg_fail(1)) SWIG_fail
;
18189 if (arg1
== NULL
) {
18190 SWIG_null_ref("wxPrintData");
18192 if (SWIG_arg_fail(1)) SWIG_fail
;
18195 if (!wxPyCheckForApp()) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
18209 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
18211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18212 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
18214 return Py_BuildValue((char *)"");
18216 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18220 int arg3
= (int) true ;
18221 int arg4
= (int) 1 ;
18222 wxImageList
*result
;
18223 PyObject
* obj0
= 0 ;
18224 PyObject
* obj1
= 0 ;
18225 PyObject
* obj2
= 0 ;
18226 PyObject
* obj3
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18233 arg1
= (int)(SWIG_As_int(obj0
));
18234 if (SWIG_arg_fail(1)) SWIG_fail
;
18237 arg2
= (int)(SWIG_As_int(obj1
));
18238 if (SWIG_arg_fail(2)) SWIG_fail
;
18242 arg3
= (int)(SWIG_As_int(obj2
));
18243 if (SWIG_arg_fail(3)) SWIG_fail
;
18248 arg4
= (int)(SWIG_As_int(obj3
));
18249 if (SWIG_arg_fail(4)) SWIG_fail
;
18253 if (!wxPyCheckForApp()) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18261 resultobj
= wxPyMake_wxObject(result
, 1);
18269 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxImageList
*arg1
= (wxImageList
*) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
18278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18279 if (SWIG_arg_fail(1)) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 Py_INCREF(Py_None
); resultobj
= Py_None
;
18294 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxImageList
*arg1
= (wxImageList
*) 0 ;
18297 wxBitmap
*arg2
= 0 ;
18298 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
18299 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 PyObject
* obj2
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18310 if (SWIG_arg_fail(1)) SWIG_fail
;
18312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18313 if (SWIG_arg_fail(2)) SWIG_fail
;
18314 if (arg2
== NULL
) {
18315 SWIG_null_ref("wxBitmap");
18317 if (SWIG_arg_fail(2)) SWIG_fail
;
18321 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18322 if (SWIG_arg_fail(3)) SWIG_fail
;
18323 if (arg3
== NULL
) {
18324 SWIG_null_ref("wxBitmap");
18326 if (SWIG_arg_fail(3)) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_From_int((int)(result
));
18345 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
;
18347 wxImageList
*arg1
= (wxImageList
*) 0 ;
18348 wxBitmap
*arg2
= 0 ;
18349 wxColour
*arg3
= 0 ;
18352 PyObject
* obj0
= 0 ;
18353 PyObject
* obj1
= 0 ;
18354 PyObject
* obj2
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18361 if (SWIG_arg_fail(1)) SWIG_fail
;
18363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18364 if (SWIG_arg_fail(2)) SWIG_fail
;
18365 if (arg2
== NULL
) {
18366 SWIG_null_ref("wxBitmap");
18368 if (SWIG_arg_fail(2)) SWIG_fail
;
18372 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= SWIG_From_int((int)(result
));
18390 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxImageList
*arg1
= (wxImageList
*) 0 ;
18395 PyObject
* obj0
= 0 ;
18396 PyObject
* obj1
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self",(char *) "icon", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18403 if (SWIG_arg_fail(1)) SWIG_fail
;
18405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
18406 if (SWIG_arg_fail(2)) SWIG_fail
;
18407 if (arg2
== NULL
) {
18408 SWIG_null_ref("wxIcon");
18410 if (SWIG_arg_fail(2)) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= SWIG_From_int((int)(result
));
18428 static PyObject
*_wrap_ImageList_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxImageList
*arg1
= (wxImageList
*) 0 ;
18432 SwigValueWrapper
<wxBitmap
> result
;
18433 PyObject
* obj0
= 0 ;
18434 PyObject
* obj1
= 0 ;
18435 char *kwnames
[] = {
18436 (char *) "self",(char *) "index", NULL
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
18440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18441 if (SWIG_arg_fail(1)) SWIG_fail
;
18443 arg2
= (int)(SWIG_As_int(obj1
));
18444 if (SWIG_arg_fail(2)) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18454 wxBitmap
* resultptr
;
18455 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18464 static PyObject
*_wrap_ImageList_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxImageList
*arg1
= (wxImageList
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 PyObject
* obj1
= 0 ;
18471 char *kwnames
[] = {
18472 (char *) "self",(char *) "index", NULL
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18477 if (SWIG_arg_fail(1)) SWIG_fail
;
18479 arg2
= (int)(SWIG_As_int(obj1
));
18480 if (SWIG_arg_fail(2)) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18490 wxIcon
* resultptr
;
18491 resultptr
= new wxIcon((wxIcon
&)(result
));
18492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
18500 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxImageList
*arg1
= (wxImageList
*) 0 ;
18504 wxBitmap
*arg3
= 0 ;
18506 PyObject
* obj0
= 0 ;
18507 PyObject
* obj1
= 0 ;
18508 PyObject
* obj2
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self",(char *) "index",(char *) "bitmap", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18515 if (SWIG_arg_fail(1)) SWIG_fail
;
18517 arg2
= (int)(SWIG_As_int(obj1
));
18518 if (SWIG_arg_fail(2)) SWIG_fail
;
18521 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18522 if (SWIG_arg_fail(3)) SWIG_fail
;
18523 if (arg3
== NULL
) {
18524 SWIG_null_ref("wxBitmap");
18526 if (SWIG_arg_fail(3)) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18544 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxImageList
*arg1
= (wxImageList
*) 0 ;
18551 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
18552 bool arg7
= (bool) (bool)false ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 PyObject
* obj2
= 0 ;
18557 PyObject
* obj3
= 0 ;
18558 PyObject
* obj4
= 0 ;
18559 PyObject
* obj5
= 0 ;
18560 PyObject
* obj6
= 0 ;
18561 char *kwnames
[] = {
18562 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
18565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18567 if (SWIG_arg_fail(1)) SWIG_fail
;
18569 arg2
= (int)(SWIG_As_int(obj1
));
18570 if (SWIG_arg_fail(2)) SWIG_fail
;
18573 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18574 if (SWIG_arg_fail(3)) SWIG_fail
;
18575 if (arg3
== NULL
) {
18576 SWIG_null_ref("wxDC");
18578 if (SWIG_arg_fail(3)) SWIG_fail
;
18581 arg4
= (int)(SWIG_As_int(obj3
));
18582 if (SWIG_arg_fail(4)) SWIG_fail
;
18585 arg5
= (int)(SWIG_As_int(obj4
));
18586 if (SWIG_arg_fail(5)) SWIG_fail
;
18590 arg6
= (int)(SWIG_As_int(obj5
));
18591 if (SWIG_arg_fail(6)) SWIG_fail
;
18596 arg7
= (bool const)(SWIG_As_bool(obj6
));
18597 if (SWIG_arg_fail(7)) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18616 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
;
18618 wxImageList
*arg1
= (wxImageList
*) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
18626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18627 if (SWIG_arg_fail(1)) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 result
= (int)(arg1
)->GetImageCount();
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_From_int((int)(result
));
18644 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxImageList
*arg1
= (wxImageList
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 PyObject
* obj1
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self",(char *) "index", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
18656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18657 if (SWIG_arg_fail(1)) SWIG_fail
;
18659 arg2
= (int)(SWIG_As_int(obj1
));
18660 if (SWIG_arg_fail(2)) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (bool)(arg1
)->Remove(arg2
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18678 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxImageList
*arg1
= (wxImageList
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
18688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18689 if (SWIG_arg_fail(1)) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= (bool)(arg1
)->RemoveAll();
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18706 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxImageList
*arg1
= (wxImageList
*) 0 ;
18716 PyObject
* obj0
= 0 ;
18717 PyObject
* obj1
= 0 ;
18718 char *kwnames
[] = {
18719 (char *) "self",(char *) "index", NULL
18722 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18723 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18726 if (SWIG_arg_fail(1)) SWIG_fail
;
18728 arg2
= (int)(SWIG_As_int(obj1
));
18729 if (SWIG_arg_fail(2)) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 Py_INCREF(Py_None
); resultobj
= Py_None
;
18739 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18740 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18741 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
18742 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
18749 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
18751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18752 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
18754 return Py_BuildValue((char *)"");
18756 static int _wrap_NORMAL_FONT_set(PyObject
*) {
18757 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
18762 static PyObject
*_wrap_NORMAL_FONT_get(void) {
18765 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
18770 static int _wrap_SMALL_FONT_set(PyObject
*) {
18771 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
18776 static PyObject
*_wrap_SMALL_FONT_get(void) {
18779 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
18784 static int _wrap_ITALIC_FONT_set(PyObject
*) {
18785 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
18790 static PyObject
*_wrap_ITALIC_FONT_get(void) {
18793 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
18798 static int _wrap_SWISS_FONT_set(PyObject
*) {
18799 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
18804 static PyObject
*_wrap_SWISS_FONT_get(void) {
18807 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
18812 static int _wrap_RED_PEN_set(PyObject
*) {
18813 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
18818 static PyObject
*_wrap_RED_PEN_get(void) {
18821 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
18826 static int _wrap_CYAN_PEN_set(PyObject
*) {
18827 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
18832 static PyObject
*_wrap_CYAN_PEN_get(void) {
18835 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
18840 static int _wrap_GREEN_PEN_set(PyObject
*) {
18841 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
18846 static PyObject
*_wrap_GREEN_PEN_get(void) {
18849 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
18854 static int _wrap_BLACK_PEN_set(PyObject
*) {
18855 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
18860 static PyObject
*_wrap_BLACK_PEN_get(void) {
18863 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
18868 static int _wrap_WHITE_PEN_set(PyObject
*) {
18869 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
18874 static PyObject
*_wrap_WHITE_PEN_get(void) {
18877 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
18882 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
18883 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
18888 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
18891 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
18896 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
18897 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
18902 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
18905 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
18910 static int _wrap_GREY_PEN_set(PyObject
*) {
18911 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
18916 static PyObject
*_wrap_GREY_PEN_get(void) {
18919 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18924 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
18925 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
18930 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
18933 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18938 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
18939 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
18944 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
18947 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
18952 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
18953 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
18958 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
18961 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18966 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
18967 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
18972 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
18975 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18980 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
18981 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
18986 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
18989 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
18994 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
18995 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
19000 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
19003 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19008 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
19009 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
19014 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
19017 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19022 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19023 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19028 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19031 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19036 static int _wrap_RED_BRUSH_set(PyObject
*) {
19037 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
19042 static PyObject
*_wrap_RED_BRUSH_get(void) {
19045 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19050 static int _wrap_GREY_BRUSH_set(PyObject
*) {
19051 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
19056 static PyObject
*_wrap_GREY_BRUSH_get(void) {
19059 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19064 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
19065 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
19070 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
19073 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19078 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
19079 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
19084 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
19087 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19092 static int _wrap_BLACK_set(PyObject
*) {
19093 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
19098 static PyObject
*_wrap_BLACK_get(void) {
19101 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
19106 static int _wrap_WHITE_set(PyObject
*) {
19107 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
19112 static PyObject
*_wrap_WHITE_get(void) {
19115 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
19120 static int _wrap_RED_set(PyObject
*) {
19121 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
19126 static PyObject
*_wrap_RED_get(void) {
19129 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
19134 static int _wrap_BLUE_set(PyObject
*) {
19135 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
19140 static PyObject
*_wrap_BLUE_get(void) {
19143 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
19148 static int _wrap_GREEN_set(PyObject
*) {
19149 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
19154 static PyObject
*_wrap_GREEN_get(void) {
19157 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
19162 static int _wrap_CYAN_set(PyObject
*) {
19163 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
19168 static PyObject
*_wrap_CYAN_get(void) {
19171 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
19176 static int _wrap_LIGHT_GREY_set(PyObject
*) {
19177 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
19182 static PyObject
*_wrap_LIGHT_GREY_get(void) {
19185 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
19190 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
19191 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
19196 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
19199 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19204 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
19205 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
19210 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
19213 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19218 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
19219 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
19224 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
19227 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19232 static int _wrap_NullBitmap_set(PyObject
*) {
19233 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
19238 static PyObject
*_wrap_NullBitmap_get(void) {
19241 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
19246 static int _wrap_NullIcon_set(PyObject
*) {
19247 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
19252 static PyObject
*_wrap_NullIcon_get(void) {
19255 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
19260 static int _wrap_NullCursor_set(PyObject
*) {
19261 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
19266 static PyObject
*_wrap_NullCursor_get(void) {
19269 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
19274 static int _wrap_NullPen_set(PyObject
*) {
19275 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
19280 static PyObject
*_wrap_NullPen_get(void) {
19283 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
19288 static int _wrap_NullBrush_set(PyObject
*) {
19289 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
19294 static PyObject
*_wrap_NullBrush_get(void) {
19297 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
19302 static int _wrap_NullPalette_set(PyObject
*) {
19303 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
19308 static PyObject
*_wrap_NullPalette_get(void) {
19311 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
19316 static int _wrap_NullFont_set(PyObject
*) {
19317 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
19322 static PyObject
*_wrap_NullFont_get(void) {
19325 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
19330 static int _wrap_NullColour_set(PyObject
*) {
19331 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
19336 static PyObject
*_wrap_NullColour_get(void) {
19339 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
19344 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxPenList
*arg1
= (wxPenList
*) 0 ;
19347 wxPen
*arg2
= (wxPen
*) 0 ;
19348 PyObject
* obj0
= 0 ;
19349 PyObject
* obj1
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "self",(char *) "pen", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
19355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19356 if (SWIG_arg_fail(1)) SWIG_fail
;
19357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19358 if (SWIG_arg_fail(2)) SWIG_fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 (arg1
)->AddPen(arg2
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 Py_INCREF(Py_None
); resultobj
= Py_None
;
19373 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxPenList
*arg1
= (wxPenList
*) 0 ;
19376 wxColour
*arg2
= 0 ;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 PyObject
* obj2
= 0 ;
19384 PyObject
* obj3
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19391 if (SWIG_arg_fail(1)) SWIG_fail
;
19394 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19397 arg3
= (int)(SWIG_As_int(obj2
));
19398 if (SWIG_arg_fail(3)) SWIG_fail
;
19401 arg4
= (int)(SWIG_As_int(obj3
));
19402 if (SWIG_arg_fail(4)) SWIG_fail
;
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
19418 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxPenList
*arg1
= (wxPenList
*) 0 ;
19421 wxPen
*arg2
= (wxPen
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self",(char *) "pen", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
19429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19430 if (SWIG_arg_fail(1)) SWIG_fail
;
19431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19432 if (SWIG_arg_fail(2)) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 (arg1
)->RemovePen(arg2
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 Py_INCREF(Py_None
); resultobj
= Py_None
;
19447 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxPenList
*arg1
= (wxPenList
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
19457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19458 if (SWIG_arg_fail(1)) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= (int)(arg1
)->GetCount();
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19467 resultobj
= SWIG_From_int((int)(result
));
19475 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
19477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19478 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
19480 return Py_BuildValue((char *)"");
19482 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19483 PyObject
*resultobj
;
19484 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19485 wxBrush
*arg2
= (wxBrush
*) 0 ;
19486 PyObject
* obj0
= 0 ;
19487 PyObject
* obj1
= 0 ;
19488 char *kwnames
[] = {
19489 (char *) "self",(char *) "brush", NULL
19492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19494 if (SWIG_arg_fail(1)) SWIG_fail
;
19495 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19496 if (SWIG_arg_fail(2)) SWIG_fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 (arg1
)->AddBrush(arg2
);
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 Py_INCREF(Py_None
); resultobj
= Py_None
;
19511 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19514 wxColour
*arg2
= 0 ;
19515 int arg3
= (int) wxSOLID
;
19518 PyObject
* obj0
= 0 ;
19519 PyObject
* obj1
= 0 ;
19520 PyObject
* obj2
= 0 ;
19521 char *kwnames
[] = {
19522 (char *) "self",(char *) "colour",(char *) "style", NULL
19525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19527 if (SWIG_arg_fail(1)) SWIG_fail
;
19530 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19534 arg3
= (int)(SWIG_As_int(obj2
));
19535 if (SWIG_arg_fail(3)) SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
19552 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
;
19554 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19555 wxBrush
*arg2
= (wxBrush
*) 0 ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 char *kwnames
[] = {
19559 (char *) "self",(char *) "brush", NULL
19562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19564 if (SWIG_arg_fail(1)) SWIG_fail
;
19565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19566 if (SWIG_arg_fail(2)) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 (arg1
)->RemoveBrush(arg2
);
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19574 Py_INCREF(Py_None
); resultobj
= Py_None
;
19581 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
;
19583 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19585 PyObject
* obj0
= 0 ;
19586 char *kwnames
[] = {
19587 (char *) "self", NULL
19590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
19591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19592 if (SWIG_arg_fail(1)) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (int)(arg1
)->GetCount();
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_From_int((int)(result
));
19609 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
19611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19612 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
19614 return Py_BuildValue((char *)"");
19616 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxColourDatabase
*result
;
19619 char *kwnames
[] = {
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
19625 if (!wxPyCheckForApp()) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (wxColourDatabase
*)new wxColourDatabase();
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
19639 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19642 PyObject
* obj0
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
19648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19649 if (SWIG_arg_fail(1)) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 Py_INCREF(Py_None
); resultobj
= Py_None
;
19664 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19667 wxString
*arg2
= 0 ;
19669 bool temp2
= false ;
19670 PyObject
* obj0
= 0 ;
19671 PyObject
* obj1
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self",(char *) "name", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
19677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19678 if (SWIG_arg_fail(1)) SWIG_fail
;
19680 arg2
= wxString_in_helper(obj1
);
19681 if (arg2
== NULL
) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 wxColour
* resultptr
;
19693 resultptr
= new wxColour((wxColour
&)(result
));
19694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19710 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
;
19712 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19713 wxColour
*arg2
= 0 ;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self",(char *) "colour", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
19723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19724 if (SWIG_arg_fail(1)) SWIG_fail
;
19727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19749 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
;
19751 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19752 wxString
*arg2
= 0 ;
19753 wxColour
*arg3
= 0 ;
19754 bool temp2
= false ;
19756 PyObject
* obj0
= 0 ;
19757 PyObject
* obj1
= 0 ;
19758 PyObject
* obj2
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self",(char *) "name",(char *) "colour", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19765 if (SWIG_arg_fail(1)) SWIG_fail
;
19767 arg2
= wxString_in_helper(obj1
);
19768 if (arg2
== NULL
) SWIG_fail
;
19773 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19782 Py_INCREF(Py_None
); resultobj
= Py_None
;
19797 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19800 wxString
*arg2
= 0 ;
19804 bool temp2
= false ;
19805 PyObject
* obj0
= 0 ;
19806 PyObject
* obj1
= 0 ;
19807 PyObject
* obj2
= 0 ;
19808 PyObject
* obj3
= 0 ;
19809 PyObject
* obj4
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19816 if (SWIG_arg_fail(1)) SWIG_fail
;
19818 arg2
= wxString_in_helper(obj1
);
19819 if (arg2
== NULL
) SWIG_fail
;
19823 arg3
= (int)(SWIG_As_int(obj2
));
19824 if (SWIG_arg_fail(3)) SWIG_fail
;
19827 arg4
= (int)(SWIG_As_int(obj3
));
19828 if (SWIG_arg_fail(4)) SWIG_fail
;
19831 arg5
= (int)(SWIG_As_int(obj4
));
19832 if (SWIG_arg_fail(5)) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 Py_INCREF(Py_None
); resultobj
= Py_None
;
19856 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
19858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19859 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
19861 return Py_BuildValue((char *)"");
19863 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxFontList
*arg1
= (wxFontList
*) 0 ;
19866 wxFont
*arg2
= (wxFont
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self",(char *) "font", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19875 if (SWIG_arg_fail(1)) SWIG_fail
;
19876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
19877 if (SWIG_arg_fail(2)) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 (arg1
)->AddFont(arg2
);
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 Py_INCREF(Py_None
); resultobj
= Py_None
;
19892 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxFontList
*arg1
= (wxFontList
*) 0 ;
19899 bool arg6
= (bool) false ;
19900 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19901 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19902 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
19904 bool temp7
= false ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 PyObject
* obj2
= 0 ;
19908 PyObject
* obj3
= 0 ;
19909 PyObject
* obj4
= 0 ;
19910 PyObject
* obj5
= 0 ;
19911 PyObject
* obj6
= 0 ;
19912 PyObject
* obj7
= 0 ;
19913 char *kwnames
[] = {
19914 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
19917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19919 if (SWIG_arg_fail(1)) SWIG_fail
;
19921 arg2
= (int)(SWIG_As_int(obj1
));
19922 if (SWIG_arg_fail(2)) SWIG_fail
;
19925 arg3
= (int)(SWIG_As_int(obj2
));
19926 if (SWIG_arg_fail(3)) SWIG_fail
;
19929 arg4
= (int)(SWIG_As_int(obj3
));
19930 if (SWIG_arg_fail(4)) SWIG_fail
;
19933 arg5
= (int)(SWIG_As_int(obj4
));
19934 if (SWIG_arg_fail(5)) SWIG_fail
;
19938 arg6
= (bool)(SWIG_As_bool(obj5
));
19939 if (SWIG_arg_fail(6)) SWIG_fail
;
19944 arg7
= wxString_in_helper(obj6
);
19945 if (arg7
== NULL
) SWIG_fail
;
19951 arg8
= (wxFontEncoding
)(SWIG_As_int(obj7
));
19952 if (SWIG_arg_fail(8)) SWIG_fail
;
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
19977 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
;
19979 wxFontList
*arg1
= (wxFontList
*) 0 ;
19980 wxFont
*arg2
= (wxFont
*) 0 ;
19981 PyObject
* obj0
= 0 ;
19982 PyObject
* obj1
= 0 ;
19983 char *kwnames
[] = {
19984 (char *) "self",(char *) "font", NULL
19987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
19989 if (SWIG_arg_fail(1)) SWIG_fail
;
19990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
19991 if (SWIG_arg_fail(2)) SWIG_fail
;
19993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19994 (arg1
)->RemoveFont(arg2
);
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
19999 Py_INCREF(Py_None
); resultobj
= Py_None
;
20006 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20007 PyObject
*resultobj
;
20008 wxFontList
*arg1
= (wxFontList
*) 0 ;
20010 PyObject
* obj0
= 0 ;
20011 char *kwnames
[] = {
20012 (char *) "self", NULL
20015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
20016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20017 if (SWIG_arg_fail(1)) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (int)(arg1
)->GetCount();
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= SWIG_From_int((int)(result
));
20034 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
20036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20037 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
20039 return Py_BuildValue((char *)"");
20041 static int _wrap_TheFontList_set(PyObject
*) {
20042 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
20047 static PyObject
*_wrap_TheFontList_get(void) {
20050 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
20055 static int _wrap_ThePenList_set(PyObject
*) {
20056 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
20061 static PyObject
*_wrap_ThePenList_get(void) {
20064 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
20069 static int _wrap_TheBrushList_set(PyObject
*) {
20070 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
20075 static PyObject
*_wrap_TheBrushList_get(void) {
20078 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
20083 static int _wrap_TheColourDatabase_set(PyObject
*) {
20084 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
20089 static PyObject
*_wrap_TheColourDatabase_get(void) {
20092 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
20097 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20100 char *kwnames
[] = {
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= (wxEffects
*)new wxEffects();
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
20119 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxEffects
*arg1
= (wxEffects
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
20129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20130 if (SWIG_arg_fail(1)) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20139 wxColour
* resultptr
;
20140 resultptr
= new wxColour((wxColour
&)(result
));
20141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20149 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20150 PyObject
*resultobj
;
20151 wxEffects
*arg1
= (wxEffects
*) 0 ;
20153 PyObject
* obj0
= 0 ;
20154 char *kwnames
[] = {
20155 (char *) "self", NULL
20158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
20159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20160 if (SWIG_arg_fail(1)) SWIG_fail
;
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20169 wxColour
* resultptr
;
20170 resultptr
= new wxColour((wxColour
&)(result
));
20171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20179 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
;
20181 wxEffects
*arg1
= (wxEffects
*) 0 ;
20183 PyObject
* obj0
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
20189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20190 if (SWIG_arg_fail(1)) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20199 wxColour
* resultptr
;
20200 resultptr
= new wxColour((wxColour
&)(result
));
20201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20209 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 wxEffects
*arg1
= (wxEffects
*) 0 ;
20213 PyObject
* obj0
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
20219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20220 if (SWIG_arg_fail(1)) SWIG_fail
;
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20229 wxColour
* resultptr
;
20230 resultptr
= new wxColour((wxColour
&)(result
));
20231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20239 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxEffects
*arg1
= (wxEffects
*) 0 ;
20243 PyObject
* obj0
= 0 ;
20244 char *kwnames
[] = {
20245 (char *) "self", NULL
20248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
20249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20250 if (SWIG_arg_fail(1)) SWIG_fail
;
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20259 wxColour
* resultptr
;
20260 resultptr
= new wxColour((wxColour
&)(result
));
20261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20269 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxEffects
*arg1
= (wxEffects
*) 0 ;
20272 wxColour
*arg2
= 0 ;
20274 PyObject
* obj0
= 0 ;
20275 PyObject
* obj1
= 0 ;
20276 char *kwnames
[] = {
20277 (char *) "self",(char *) "c", NULL
20280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20282 if (SWIG_arg_fail(1)) SWIG_fail
;
20285 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 Py_INCREF(Py_None
); resultobj
= Py_None
;
20301 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20303 wxEffects
*arg1
= (wxEffects
*) 0 ;
20304 wxColour
*arg2
= 0 ;
20306 PyObject
* obj0
= 0 ;
20307 PyObject
* obj1
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self",(char *) "c", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20314 if (SWIG_arg_fail(1)) SWIG_fail
;
20317 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20326 Py_INCREF(Py_None
); resultobj
= Py_None
;
20333 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxEffects
*arg1
= (wxEffects
*) 0 ;
20336 wxColour
*arg2
= 0 ;
20338 PyObject
* obj0
= 0 ;
20339 PyObject
* obj1
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self",(char *) "c", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20346 if (SWIG_arg_fail(1)) SWIG_fail
;
20349 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxEffects
*arg1
= (wxEffects
*) 0 ;
20368 wxColour
*arg2
= 0 ;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "self",(char *) "c", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail
;
20381 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 Py_INCREF(Py_None
); resultobj
= Py_None
;
20397 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxEffects
*arg1
= (wxEffects
*) 0 ;
20400 wxColour
*arg2
= 0 ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self",(char *) "c", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20410 if (SWIG_arg_fail(1)) SWIG_fail
;
20413 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 Py_INCREF(Py_None
); resultobj
= Py_None
;
20429 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20431 wxEffects
*arg1
= (wxEffects
*) 0 ;
20432 wxColour
*arg2
= 0 ;
20433 wxColour
*arg3
= 0 ;
20434 wxColour
*arg4
= 0 ;
20435 wxColour
*arg5
= 0 ;
20436 wxColour
*arg6
= 0 ;
20442 PyObject
* obj0
= 0 ;
20443 PyObject
* obj1
= 0 ;
20444 PyObject
* obj2
= 0 ;
20445 PyObject
* obj3
= 0 ;
20446 PyObject
* obj4
= 0 ;
20447 PyObject
* obj5
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20454 if (SWIG_arg_fail(1)) SWIG_fail
;
20457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20461 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20465 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
20469 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
20473 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 Py_INCREF(Py_None
); resultobj
= Py_None
;
20489 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxEffects
*arg1
= (wxEffects
*) 0 ;
20494 int arg4
= (int) 1 ;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 PyObject
* obj2
= 0 ;
20499 PyObject
* obj3
= 0 ;
20500 char *kwnames
[] = {
20501 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20506 if (SWIG_arg_fail(1)) SWIG_fail
;
20508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20509 if (SWIG_arg_fail(2)) SWIG_fail
;
20510 if (arg2
== NULL
) {
20511 SWIG_null_ref("wxDC");
20513 if (SWIG_arg_fail(2)) SWIG_fail
;
20517 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20521 arg4
= (int)(SWIG_As_int(obj3
));
20522 if (SWIG_arg_fail(4)) SWIG_fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 Py_INCREF(Py_None
); resultobj
= Py_None
;
20539 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxEffects
*arg1
= (wxEffects
*) 0 ;
20544 wxBitmap
*arg4
= 0 ;
20547 PyObject
* obj0
= 0 ;
20548 PyObject
* obj1
= 0 ;
20549 PyObject
* obj2
= 0 ;
20550 PyObject
* obj3
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20557 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20563 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20564 if (SWIG_arg_fail(3)) SWIG_fail
;
20565 if (arg3
== NULL
) {
20566 SWIG_null_ref("wxDC");
20568 if (SWIG_arg_fail(3)) SWIG_fail
;
20571 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20572 if (SWIG_arg_fail(4)) SWIG_fail
;
20573 if (arg4
== NULL
) {
20574 SWIG_null_ref("wxBitmap");
20576 if (SWIG_arg_fail(4)) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20594 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
20596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20597 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
20599 return Py_BuildValue((char *)"");
20601 static PyObject
*_wrap_new_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
;
20606 wxSplitterRenderParams
*result
;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20609 PyObject
* obj2
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20616 arg1
= (int)(SWIG_As_int(obj0
));
20617 if (SWIG_arg_fail(1)) SWIG_fail
;
20620 arg2
= (int)(SWIG_As_int(obj1
));
20621 if (SWIG_arg_fail(2)) SWIG_fail
;
20624 arg3
= (bool)(SWIG_As_bool(obj2
));
20625 if (SWIG_arg_fail(3)) SWIG_fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
20641 static PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20644 PyObject
* obj0
= 0 ;
20645 char *kwnames
[] = {
20646 (char *) "self", NULL
20649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SplitterRenderParams",kwnames
,&obj0
)) goto fail
;
20650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20651 if (SWIG_arg_fail(1)) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 Py_INCREF(Py_None
); resultobj
= Py_None
;
20666 static PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20670 PyObject
* obj0
= 0 ;
20671 char *kwnames
[] = {
20672 (char *) "self", NULL
20675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_widthSash_get",kwnames
,&obj0
)) goto fail
;
20676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20677 if (SWIG_arg_fail(1)) SWIG_fail
;
20678 result
= (int)(int) ((arg1
)->widthSash
);
20681 resultobj
= SWIG_From_int((int)(result
));
20689 static PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20693 PyObject
* obj0
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_border_get",kwnames
,&obj0
)) goto fail
;
20699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20700 if (SWIG_arg_fail(1)) SWIG_fail
;
20701 result
= (int)(int) ((arg1
)->border
);
20704 resultobj
= SWIG_From_int((int)(result
));
20712 static PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
;
20714 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20716 PyObject
* obj0
= 0 ;
20717 char *kwnames
[] = {
20718 (char *) "self", NULL
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames
,&obj0
)) goto fail
;
20722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20723 if (SWIG_arg_fail(1)) SWIG_fail
;
20724 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
20727 resultobj
= SWIG_From_bool((bool)(result
));
20735 static PyObject
* SplitterRenderParams_swigregister(PyObject
*, PyObject
*args
) {
20737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20738 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams
, obj
);
20740 return Py_BuildValue((char *)"");
20742 static PyObject
*_wrap_new_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
;
20746 wxRendererVersion
*result
;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "version_",(char *) "age_", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) goto fail
;
20755 arg1
= (int)(SWIG_As_int(obj0
));
20756 if (SWIG_arg_fail(1)) SWIG_fail
;
20759 arg2
= (int)(SWIG_As_int(obj1
));
20760 if (SWIG_arg_fail(2)) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererVersion
, 1);
20776 static PyObject
*_wrap_delete_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
20779 PyObject
* obj0
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RendererVersion",kwnames
,&obj0
)) goto fail
;
20785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
20786 if (SWIG_arg_fail(1)) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 Py_INCREF(Py_None
); resultobj
= Py_None
;
20801 static PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20803 wxRendererVersion
*arg1
= 0 ;
20805 PyObject
* obj0
= 0 ;
20806 char *kwnames
[] = {
20807 (char *) "ver", NULL
20810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) goto fail
;
20812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
20813 if (SWIG_arg_fail(1)) SWIG_fail
;
20814 if (arg1
== NULL
) {
20815 SWIG_null_ref("wxRendererVersion");
20817 if (SWIG_arg_fail(1)) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20835 static PyObject
*_wrap_RendererVersion_version_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
20839 PyObject
* obj0
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "self", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_version_get",kwnames
,&obj0
)) goto fail
;
20845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
20846 if (SWIG_arg_fail(1)) SWIG_fail
;
20847 result
= (int)(int) ((arg1
)->version
);
20850 resultobj
= SWIG_From_int((int)(result
));
20858 static PyObject
*_wrap_RendererVersion_age_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
;
20860 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
20862 PyObject
* obj0
= 0 ;
20863 char *kwnames
[] = {
20864 (char *) "self", NULL
20867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_age_get",kwnames
,&obj0
)) goto fail
;
20868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
20869 if (SWIG_arg_fail(1)) SWIG_fail
;
20870 result
= (int)(int) ((arg1
)->age
);
20873 resultobj
= SWIG_From_int((int)(result
));
20881 static PyObject
* RendererVersion_swigregister(PyObject
*, PyObject
*args
) {
20883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20884 SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion
, obj
);
20886 return Py_BuildValue((char *)"");
20888 static PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20890 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
20891 wxWindow
*arg2
= (wxWindow
*) 0 ;
20894 int arg5
= (int) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 PyObject
* obj1
= 0 ;
20898 PyObject
* obj2
= 0 ;
20899 PyObject
* obj3
= 0 ;
20900 PyObject
* obj4
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
20907 if (SWIG_arg_fail(1)) SWIG_fail
;
20908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20909 if (SWIG_arg_fail(2)) SWIG_fail
;
20911 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20912 if (SWIG_arg_fail(3)) SWIG_fail
;
20913 if (arg3
== NULL
) {
20914 SWIG_null_ref("wxDC");
20916 if (SWIG_arg_fail(3)) SWIG_fail
;
20920 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20924 arg5
= (int)(SWIG_As_int(obj4
));
20925 if (SWIG_arg_fail(5)) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 Py_INCREF(Py_None
); resultobj
= Py_None
;
20942 static PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
20945 wxWindow
*arg2
= (wxWindow
*) 0 ;
20948 int arg5
= (int) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 PyObject
* obj2
= 0 ;
20953 PyObject
* obj3
= 0 ;
20954 PyObject
* obj4
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
20961 if (SWIG_arg_fail(1)) SWIG_fail
;
20962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20963 if (SWIG_arg_fail(2)) SWIG_fail
;
20965 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20966 if (SWIG_arg_fail(3)) SWIG_fail
;
20967 if (arg3
== NULL
) {
20968 SWIG_null_ref("wxDC");
20970 if (SWIG_arg_fail(3)) SWIG_fail
;
20974 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20978 arg5
= (int)(SWIG_As_int(obj4
));
20979 if (SWIG_arg_fail(5)) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 Py_INCREF(Py_None
); resultobj
= Py_None
;
20996 static PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
;
20998 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
20999 wxWindow
*arg2
= (wxWindow
*) 0 ;
21002 int arg5
= (int) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 PyObject
* obj1
= 0 ;
21006 PyObject
* obj2
= 0 ;
21007 PyObject
* obj3
= 0 ;
21008 PyObject
* obj4
= 0 ;
21009 char *kwnames
[] = {
21010 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21015 if (SWIG_arg_fail(1)) SWIG_fail
;
21016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21017 if (SWIG_arg_fail(2)) SWIG_fail
;
21019 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21020 if (SWIG_arg_fail(3)) SWIG_fail
;
21021 if (arg3
== NULL
) {
21022 SWIG_null_ref("wxDC");
21024 if (SWIG_arg_fail(3)) SWIG_fail
;
21028 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21032 arg5
= (int)(SWIG_As_int(obj4
));
21033 if (SWIG_arg_fail(5)) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 Py_INCREF(Py_None
); resultobj
= Py_None
;
21050 static PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21053 wxWindow
*arg2
= (wxWindow
*) 0 ;
21057 wxOrientation arg6
;
21058 int arg7
= (int) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 PyObject
* obj1
= 0 ;
21062 PyObject
* obj2
= 0 ;
21063 PyObject
* obj3
= 0 ;
21064 PyObject
* obj4
= 0 ;
21065 PyObject
* obj5
= 0 ;
21066 PyObject
* obj6
= 0 ;
21067 char *kwnames
[] = {
21068 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
21071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21073 if (SWIG_arg_fail(1)) SWIG_fail
;
21074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21075 if (SWIG_arg_fail(2)) SWIG_fail
;
21077 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21078 if (SWIG_arg_fail(3)) SWIG_fail
;
21079 if (arg3
== NULL
) {
21080 SWIG_null_ref("wxDC");
21082 if (SWIG_arg_fail(3)) SWIG_fail
;
21086 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21089 arg5
= (int)(SWIG_As_int(obj4
));
21090 if (SWIG_arg_fail(5)) SWIG_fail
;
21093 arg6
= (wxOrientation
)(SWIG_As_int(obj5
));
21094 if (SWIG_arg_fail(6)) SWIG_fail
;
21098 arg7
= (int)(SWIG_As_int(obj6
));
21099 if (SWIG_arg_fail(7)) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,(wxOrientation
)arg6
,arg7
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 Py_INCREF(Py_None
); resultobj
= Py_None
;
21116 static PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21118 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21119 wxWindow
*arg2
= (wxWindow
*) 0 ;
21122 int arg5
= (int) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 PyObject
* obj1
= 0 ;
21126 PyObject
* obj2
= 0 ;
21127 PyObject
* obj3
= 0 ;
21128 PyObject
* obj4
= 0 ;
21129 char *kwnames
[] = {
21130 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21135 if (SWIG_arg_fail(1)) SWIG_fail
;
21136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21137 if (SWIG_arg_fail(2)) SWIG_fail
;
21139 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21140 if (SWIG_arg_fail(3)) SWIG_fail
;
21141 if (arg3
== NULL
) {
21142 SWIG_null_ref("wxDC");
21144 if (SWIG_arg_fail(3)) SWIG_fail
;
21148 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21152 arg5
= (int)(SWIG_As_int(obj4
));
21153 if (SWIG_arg_fail(5)) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 Py_INCREF(Py_None
); resultobj
= Py_None
;
21170 static PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21173 wxWindow
*arg2
= (wxWindow
*) 0 ;
21176 int arg5
= (int) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 PyObject
* obj1
= 0 ;
21180 PyObject
* obj2
= 0 ;
21181 PyObject
* obj3
= 0 ;
21182 PyObject
* obj4
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21189 if (SWIG_arg_fail(1)) SWIG_fail
;
21190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21191 if (SWIG_arg_fail(2)) SWIG_fail
;
21193 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21194 if (SWIG_arg_fail(3)) SWIG_fail
;
21195 if (arg3
== NULL
) {
21196 SWIG_null_ref("wxDC");
21198 if (SWIG_arg_fail(3)) SWIG_fail
;
21202 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21206 arg5
= (int)(SWIG_As_int(obj4
));
21207 if (SWIG_arg_fail(5)) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 Py_INCREF(Py_None
); resultobj
= Py_None
;
21224 static PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21227 wxWindow
*arg2
= (wxWindow
*) 0 ;
21228 SwigValueWrapper
<wxSplitterRenderParams
> result
;
21229 PyObject
* obj0
= 0 ;
21230 PyObject
* obj1
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "self",(char *) "win", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) goto fail
;
21236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21237 if (SWIG_arg_fail(1)) SWIG_fail
;
21238 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21239 if (SWIG_arg_fail(2)) SWIG_fail
;
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21248 wxSplitterRenderParams
* resultptr
;
21249 resultptr
= new wxSplitterRenderParams((wxSplitterRenderParams
&)(result
));
21250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
21258 static PyObject
*_wrap_RendererNative_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21259 PyObject
*resultobj
;
21260 wxRendererNative
*result
;
21261 char *kwnames
[] = {
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_Get",kwnames
)) goto fail
;
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 wxRendererNative
&_result_ref
= wxRendererNative::Get();
21270 result
= (wxRendererNative
*) &_result_ref
;
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21283 static PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
;
21285 wxRendererNative
*result
;
21286 char *kwnames
[] = {
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetGeneric",kwnames
)) goto fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
21295 result
= (wxRendererNative
*) &_result_ref
;
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21308 static PyObject
*_wrap_RendererNative_GetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxRendererNative
*result
;
21311 char *kwnames
[] = {
21315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetDefault",kwnames
)) goto fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
21320 result
= (wxRendererNative
*) &_result_ref
;
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21333 static PyObject
*_wrap_RendererNative_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
;
21335 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21336 wxRendererNative
*result
;
21337 PyObject
* obj0
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "renderer", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) goto fail
;
21343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21344 if (SWIG_arg_fail(1)) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21359 static PyObject
*_wrap_RendererNative_GetVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21361 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21362 SwigValueWrapper
<wxRendererVersion
> result
;
21363 PyObject
* obj0
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_GetVersion",kwnames
,&obj0
)) goto fail
;
21369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21370 if (SWIG_arg_fail(1)) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21379 wxRendererVersion
* resultptr
;
21380 resultptr
= new wxRendererVersion((wxRendererVersion
&)(result
));
21381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRendererVersion
, 1);
21389 static PyObject
* RendererNative_swigregister(PyObject
*, PyObject
*args
) {
21391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21392 SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative
, obj
);
21394 return Py_BuildValue((char *)"");
21396 static PyMethodDef SwigMethods
[] = {
21397 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21398 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21399 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21400 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21401 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21402 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
21403 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21404 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21405 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21406 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21407 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21408 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21409 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21410 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21411 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21412 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21413 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21414 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21415 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21416 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21417 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21418 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21419 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
21420 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21421 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21422 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21423 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21424 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21425 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21426 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
21427 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21428 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21429 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21430 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21431 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21432 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21433 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21434 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21435 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21436 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21437 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21438 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21439 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21440 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21441 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21442 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21443 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21444 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21445 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21446 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
21447 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21448 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21449 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21450 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21451 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21452 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21453 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21454 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21455 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21456 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21457 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21458 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
21459 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21460 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21461 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21462 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21463 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21464 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21465 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21466 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21467 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21468 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21469 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21470 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21471 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21472 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21473 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21474 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21475 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21476 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21477 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21478 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21479 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21480 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21481 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21482 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21483 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21484 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21485 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21486 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
21487 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21488 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
21489 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21490 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21491 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21492 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21493 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21494 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21495 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21496 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21497 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21498 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21499 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21500 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21501 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21502 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21503 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21504 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
21505 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21506 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21507 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21508 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21509 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21510 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21511 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21512 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
21513 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21514 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21515 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21516 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21517 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21518 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21519 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21520 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
21521 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21522 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21523 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21524 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21525 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21526 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
21527 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21528 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21529 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21530 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21531 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21532 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21533 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21534 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21535 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21536 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21537 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21538 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21539 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21540 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21541 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21542 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21543 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21544 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21545 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21546 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21547 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21548 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21549 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21550 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21551 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21552 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21553 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21554 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21555 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
21556 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21557 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21558 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21559 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21560 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21561 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21562 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21563 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21564 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21565 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21566 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21567 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21568 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21569 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
21570 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21571 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21572 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21573 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21574 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21575 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21576 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21577 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21578 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21579 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21580 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21581 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21582 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21583 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21584 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21585 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21586 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21587 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21588 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21589 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21590 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21591 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21592 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21593 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
21594 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21595 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21596 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21597 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21598 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21599 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21600 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21601 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21602 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
21603 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21604 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21605 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21606 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21607 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21608 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21609 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21610 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21611 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21612 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21613 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21614 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21615 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21616 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21617 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21618 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21619 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21620 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21621 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21622 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
21623 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21624 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21625 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21626 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21627 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21628 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21629 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21630 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21631 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21632 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21633 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21634 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21635 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21636 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21637 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21638 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21639 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21640 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21641 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21642 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21643 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21644 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21645 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21646 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21647 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21648 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21649 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21650 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21651 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21652 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21653 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21654 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21655 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21656 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21657 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21658 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21659 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21660 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21661 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21662 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21663 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21664 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
21665 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21666 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21667 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21668 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21669 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21670 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21671 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21672 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
21673 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21674 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21675 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21676 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21677 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21678 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21679 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
21680 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21681 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21682 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21683 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21684 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21685 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21686 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21687 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21688 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21689 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21690 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21691 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21692 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21693 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21694 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21695 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21696 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21697 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21698 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21699 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21700 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21701 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
21702 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21703 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
21704 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21705 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21706 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21707 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21708 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21709 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21710 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21711 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
21712 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21713 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21714 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21715 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21716 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21717 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21718 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21719 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21720 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21721 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21722 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21723 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21724 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21725 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21726 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21727 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21728 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21729 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21730 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21731 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21732 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21733 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21734 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21735 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21736 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21737 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21738 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21739 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21740 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21741 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21742 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21743 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21744 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21745 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21746 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21747 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21748 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21749 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21750 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21751 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21752 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21753 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21754 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21755 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21756 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21757 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21758 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21759 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21760 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21761 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21762 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21763 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21764 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21765 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21766 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21767 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21768 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21769 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21770 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21771 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21772 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21773 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21774 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21775 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21776 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21777 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21778 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21779 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21780 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21781 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21782 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21783 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21784 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21785 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21786 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21787 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21788 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21789 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21790 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21791 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21792 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21793 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21794 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21795 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21796 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21797 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21798 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21799 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21800 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21801 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21802 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21803 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21804 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21805 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21806 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21807 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21808 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21809 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21810 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21811 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21812 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21813 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21814 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21815 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21816 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21817 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21818 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21819 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21820 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21821 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21822 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21823 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21824 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21825 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21826 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21827 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21828 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21829 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21830 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21831 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21832 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21833 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21834 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21835 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21836 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21837 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21838 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21839 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
21840 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21841 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21842 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21843 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
21844 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
21845 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21846 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21847 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
21848 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21849 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
21850 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21851 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21852 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21853 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21854 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
21855 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21856 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
21857 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21858 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
21859 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21860 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
21861 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21862 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
21863 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21864 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21865 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21866 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21867 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21868 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
21869 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21870 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
21871 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21872 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
21873 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21874 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
21875 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21876 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21877 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21878 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21879 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21880 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21881 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21882 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21883 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21884 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21885 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21886 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21887 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21888 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
21889 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21890 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21891 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21892 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21893 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
21894 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21895 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21896 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21897 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21898 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
21899 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21900 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21901 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21902 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21903 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21904 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21905 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
21906 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21907 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21908 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21909 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21910 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
21911 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21912 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21913 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21914 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21915 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21916 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21917 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21918 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21919 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21920 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21921 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21922 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21923 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21924 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21925 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
21926 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21927 { (char *)"delete_SplitterRenderParams", (PyCFunction
) _wrap_delete_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21928 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
) _wrap_SplitterRenderParams_widthSash_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21929 { (char *)"SplitterRenderParams_border_get", (PyCFunction
) _wrap_SplitterRenderParams_border_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21930 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
) _wrap_SplitterRenderParams_isHotSensitive_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21931 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
21932 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21933 { (char *)"delete_RendererVersion", (PyCFunction
) _wrap_delete_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21934 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21935 { (char *)"RendererVersion_version_get", (PyCFunction
) _wrap_RendererVersion_version_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21936 { (char *)"RendererVersion_age_get", (PyCFunction
) _wrap_RendererVersion_age_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21937 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
21938 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21939 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21940 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21941 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21942 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21943 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21944 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21945 { (char *)"RendererNative_Get", (PyCFunction
) _wrap_RendererNative_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21946 { (char *)"RendererNative_GetGeneric", (PyCFunction
) _wrap_RendererNative_GetGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21947 { (char *)"RendererNative_GetDefault", (PyCFunction
) _wrap_RendererNative_GetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21948 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21949 { (char *)"RendererNative_GetVersion", (PyCFunction
) _wrap_RendererNative_GetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21950 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
21951 { NULL
, NULL
, 0, NULL
}
21955 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21957 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
21958 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
21960 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
21961 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
21963 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
21964 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
21966 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
21967 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
21969 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
21970 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
21972 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
21973 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
21975 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
21976 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
21978 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
21979 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
21981 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
21982 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
21984 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
21985 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
21987 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
21988 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
21990 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
21991 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
21993 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
21994 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
21996 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
21997 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
21999 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
22000 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
22002 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
22003 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
22005 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
22006 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22008 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
22009 return (void *)((wxDC
*) ((wxClientDC
*) x
));
22011 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
22012 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
22014 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
22015 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
22017 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
22018 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
22020 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
22021 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22023 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
22024 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
22026 static void *_p_wxPenTo_p_wxObject(void *x
) {
22027 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
22029 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
22030 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
22032 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
22033 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
22035 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
22036 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
22038 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
22039 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
22041 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
22042 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
22044 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
22045 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
22047 static void *_p_wxIconTo_p_wxObject(void *x
) {
22048 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
22050 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
22051 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
22053 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
22054 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
22056 static void *_p_wxSizerTo_p_wxObject(void *x
) {
22057 return (void *)((wxObject
*) ((wxSizer
*) x
));
22059 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
22060 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
22062 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
22063 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22065 static void *_p_wxPenListTo_p_wxObject(void *x
) {
22066 return (void *)((wxObject
*) ((wxPenList
*) x
));
22068 static void *_p_wxEventTo_p_wxObject(void *x
) {
22069 return (void *)((wxObject
*) ((wxEvent
*) x
));
22071 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
22072 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
22074 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
22075 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
22077 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
22078 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
22080 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
22081 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
22083 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
22084 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
22086 static void *_p_wxDCTo_p_wxObject(void *x
) {
22087 return (void *)((wxObject
*) ((wxDC
*) x
));
22089 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
22090 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
22092 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
22093 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22095 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22096 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22098 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22099 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22101 static void *_p_wxControlTo_p_wxObject(void *x
) {
22102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22104 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22105 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22107 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
22108 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
22110 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22111 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22113 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
22114 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
22116 static void *_p_wxRegionTo_p_wxObject(void *x
) {
22117 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
22119 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22120 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22122 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
22123 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
22125 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
22126 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
22128 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
22129 return (void *)((wxObject
*) ((wxEffects
*) x
));
22131 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22132 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22134 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22137 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
22138 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
22140 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22141 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22143 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22144 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22146 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
22147 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
22149 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22150 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22152 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22153 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22155 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22156 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22158 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22159 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22161 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22162 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22164 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22165 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22167 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22168 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22170 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22171 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22173 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22176 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22179 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22180 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22182 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22183 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22185 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22186 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22188 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22189 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22191 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22192 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22194 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22195 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22197 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22198 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22200 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22201 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22203 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22204 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22206 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22207 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22209 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22210 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22212 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
22213 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22215 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
22216 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
22218 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
22219 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
22221 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
22222 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
22224 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
22225 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
22227 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22228 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22230 static void *_p_wxImageTo_p_wxObject(void *x
) {
22231 return (void *)((wxObject
*) ((wxImage
*) x
));
22233 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22234 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22236 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
22237 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
22239 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
22240 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
22242 static void *_p_wxImageListTo_p_wxObject(void *x
) {
22243 return (void *)((wxObject
*) ((wxImageList
*) x
));
22245 static void *_p_wxCursorTo_p_wxObject(void *x
) {
22246 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
22248 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
22249 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
22251 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
22252 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
22254 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22257 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22258 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22260 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22261 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22263 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22264 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22266 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22267 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22269 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22272 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
22273 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
22275 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
22276 return (void *)((wxObject
*) ((wxBrushList
*) x
));
22278 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22279 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22281 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
22282 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
22284 static void *_p_wxMaskTo_p_wxObject(void *x
) {
22285 return (void *)((wxObject
*) ((wxMask
*) x
));
22287 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22288 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22290 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22291 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22293 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22294 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22296 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22297 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22299 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22300 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22302 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22303 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22305 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22308 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22309 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22311 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22312 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22314 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22315 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22317 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22318 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22320 static void *_p_wxFontTo_p_wxObject(void *x
) {
22321 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
22323 static void *_p_wxBrushTo_p_wxObject(void *x
) {
22324 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
22326 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
22327 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
22329 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22332 static void *_p_wxColourTo_p_wxObject(void *x
) {
22333 return (void *)((wxObject
*) ((wxColour
*) x
));
22335 static void *_p_wxFontListTo_p_wxObject(void *x
) {
22336 return (void *)((wxObject
*) ((wxFontList
*) x
));
22338 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22341 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22342 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22344 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22345 return (void *)((wxWindow
*) ((wxControl
*) x
));
22347 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22348 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22350 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22351 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22353 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}};
22354 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}};
22355 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}};
22356 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}};
22357 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}};
22358 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}};
22359 static swig_type_info _swigt__p_wxRendererVersion
[] = {{"_p_wxRendererVersion", 0, "wxRendererVersion *", 0, 0, 0, 0},{"_p_wxRendererVersion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
22360 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}};
22361 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}};
22362 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}};
22363 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}};
22364 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}};
22365 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}};
22366 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}};
22367 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}};
22368 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}};
22369 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}};
22370 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}};
22371 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}};
22372 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}};
22373 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}};
22374 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}};
22375 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}};
22376 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}};
22377 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}};
22378 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}};
22379 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}};
22380 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}};
22381 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}};
22382 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}};
22383 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}};
22384 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}};
22385 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}};
22386 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}};
22387 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}};
22388 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}};
22389 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}};
22390 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}};
22391 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}};
22392 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}};
22393 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}};
22394 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}};
22395 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}};
22396 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}};
22397 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}};
22398 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}};
22399 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}};
22400 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}};
22401 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}};
22402 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}};
22403 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}};
22404 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}};
22405 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}};
22406 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}};
22407 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}};
22408 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}};
22409 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}};
22410 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}};
22411 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}};
22412 static swig_type_info _swigt__p_wxRendererNative
[] = {{"_p_wxRendererNative", 0, "wxRendererNative *", 0, 0, 0, 0},{"_p_wxRendererNative", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
22413 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}};
22414 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}};
22415 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}};
22416 static swig_type_info _swigt__p_wxSplitterRenderParams
[] = {{"_p_wxSplitterRenderParams", 0, "wxSplitterRenderParams *", 0, 0, 0, 0},{"_p_wxSplitterRenderParams", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
22417 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}};
22419 static swig_type_info
*swig_types_initial
[] = {
22420 _swigt__p_wxPostScriptDC
,
22422 _swigt__p_wxColour
,
22424 _swigt__p_wxMirrorDC
,
22425 _swigt__p_form_ops_t
,
22426 _swigt__p_wxRendererVersion
,
22427 _swigt__p_wxDuplexMode
,
22428 _swigt__p_wxPyFontEnumerator
,
22430 _swigt__p_wxIconLocation
,
22432 _swigt__p_wxMetaFileDC
,
22436 _swigt__p_wxWindow
,
22438 _swigt__p_wxMemoryDC
,
22439 _swigt__p_wxFontMapper
,
22440 _swigt__p_wxEffects
,
22441 _swigt__p_wxNativeEncodingInfo
,
22442 _swigt__p_wxPalette
,
22443 _swigt__p_wxBitmap
,
22444 _swigt__p_wxObject
,
22445 _swigt__p_wxRegionIterator
,
22447 _swigt__p_wxPaperSize
,
22448 _swigt__p_wxString
,
22449 _swigt__unsigned_int
,
22450 _swigt__p_unsigned_int
,
22451 _swigt__p_wxPrinterDC
,
22452 _swigt__p_wxIconBundle
,
22455 _swigt__p_wxScreenDC
,
22456 _swigt__p_wxCursor
,
22457 _swigt__p_wxClientDC
,
22458 _swigt__p_wxBufferedDC
,
22459 _swigt__p_wxImageList
,
22460 _swigt__p_unsigned_char
,
22461 _swigt__p_wxGDIObject
,
22463 _swigt__p_wxLocale
,
22465 _swigt__std__ptrdiff_t
,
22466 _swigt__p_wxRegion
,
22467 _swigt__p_wxConfigBase
,
22468 _swigt__p_wxLanguageInfo
,
22469 _swigt__p_wxWindowDC
,
22470 _swigt__p_wxPrintData
,
22471 _swigt__p_wxBrushList
,
22472 _swigt__p_wxFontList
,
22474 _swigt__p_wxBufferedPaintDC
,
22475 _swigt__p_wxPaintDC
,
22476 _swigt__p_wxPenList
,
22478 _swigt__p_wxMetaFile
,
22479 _swigt__p_wxRendererNative
,
22480 _swigt__p_unsigned_long
,
22481 _swigt__p_wxNativeFontInfo
,
22482 _swigt__p_wxEncodingConverter
,
22483 _swigt__p_wxSplitterRenderParams
,
22484 _swigt__p_wxColourDatabase
,
22489 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22491 static swig_const_info swig_const_table
[] = {
22492 {0, 0, 0, 0.0, 0, 0}};
22503 /* Python-specific SWIG API */
22504 #define SWIG_newvarlink() SWIG_Python_newvarlink()
22505 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22506 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22508 /* -----------------------------------------------------------------------------
22509 * global variable support code.
22510 * ----------------------------------------------------------------------------- */
22512 typedef struct swig_globalvar
{
22513 char *name
; /* Name of global variable */
22514 PyObject
*(*get_attr
)(); /* Return the current value */
22515 int (*set_attr
)(PyObject
*); /* Set the value */
22516 struct swig_globalvar
*next
;
22519 typedef struct swig_varlinkobject
{
22521 swig_globalvar
*vars
;
22522 } swig_varlinkobject
;
22525 swig_varlink_repr(swig_varlinkobject
*v
) {
22527 return PyString_FromString("<Swig global variables>");
22531 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
22532 swig_globalvar
*var
;
22534 fprintf(fp
,"Swig global variables { ");
22535 for (var
= v
->vars
; var
; var
=var
->next
) {
22536 fprintf(fp
,"%s", var
->name
);
22537 if (var
->next
) fprintf(fp
,", ");
22539 fprintf(fp
," }\n");
22544 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
22545 swig_globalvar
*var
= v
->vars
;
22547 if (strcmp(var
->name
,n
) == 0) {
22548 return (*var
->get_attr
)();
22552 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22557 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
22558 swig_globalvar
*var
= v
->vars
;
22560 if (strcmp(var
->name
,n
) == 0) {
22561 return (*var
->set_attr
)(p
);
22565 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22569 static PyTypeObject varlinktype
= {
22570 PyObject_HEAD_INIT(0)
22571 0, /* Number of items in variable part (ob_size) */
22572 (char *)"swigvarlink", /* Type name (tp_name) */
22573 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
22574 0, /* Itemsize (tp_itemsize) */
22575 0, /* Deallocator (tp_dealloc) */
22576 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
22577 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
22578 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
22579 0, /* tp_compare */
22580 (reprfunc
) swig_varlink_repr
, /* tp_repr */
22581 0, /* tp_as_number */
22582 0, /* tp_as_sequence */
22583 0, /* tp_as_mapping */
22587 0, /* tp_getattro */
22588 0, /* tp_setattro */
22589 0, /* tp_as_buffer */
22592 #if PY_VERSION_HEX >= 0x02000000
22593 0, /* tp_traverse */
22596 #if PY_VERSION_HEX >= 0x02010000
22597 0, /* tp_richcompare */
22598 0, /* tp_weaklistoffset */
22600 #if PY_VERSION_HEX >= 0x02020000
22601 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
22603 #if PY_VERSION_HEX >= 0x02030000
22606 #ifdef COUNT_ALLOCS
22607 0,0,0,0 /* tp_alloc -> tp_next */
22611 /* Create a variable linking object for use later */
22613 SWIG_Python_newvarlink(void) {
22614 swig_varlinkobject
*result
= 0;
22615 result
= PyMem_NEW(swig_varlinkobject
,1);
22616 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
22617 result
->ob_type
= &varlinktype
;
22619 result
->ob_refcnt
= 0;
22620 Py_XINCREF((PyObject
*) result
);
22621 return ((PyObject
*) result
);
22625 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
22626 swig_varlinkobject
*v
;
22627 swig_globalvar
*gv
;
22628 v
= (swig_varlinkobject
*) p
;
22629 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
22630 gv
->name
= (char *) malloc(strlen(name
)+1);
22631 strcpy(gv
->name
,name
);
22632 gv
->get_attr
= get_attr
;
22633 gv
->set_attr
= set_attr
;
22634 gv
->next
= v
->vars
;
22638 /* -----------------------------------------------------------------------------
22639 * constants/methods manipulation
22640 * ----------------------------------------------------------------------------- */
22642 /* Install Constants */
22644 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
22647 for (i
= 0; constants
[i
].type
; i
++) {
22648 switch(constants
[i
].type
) {
22650 obj
= PyInt_FromLong(constants
[i
].lvalue
);
22652 case SWIG_PY_FLOAT
:
22653 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
22655 case SWIG_PY_STRING
:
22656 if (constants
[i
].pvalue
) {
22657 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
22659 Py_INCREF(Py_None
);
22663 case SWIG_PY_POINTER
:
22664 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
22666 case SWIG_PY_BINARY
:
22667 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
22674 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
22680 /* -----------------------------------------------------------------------------*/
22681 /* Fix SwigMethods to carry the callback ptrs when needed */
22682 /* -----------------------------------------------------------------------------*/
22685 SWIG_Python_FixMethods(PyMethodDef
*methods
,
22686 swig_const_info
*const_table
,
22687 swig_type_info
**types
,
22688 swig_type_info
**types_initial
) {
22690 for (i
= 0; methods
[i
].ml_name
; ++i
) {
22691 char *c
= methods
[i
].ml_doc
;
22692 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
22694 swig_const_info
*ci
= 0;
22695 char *name
= c
+ 10;
22696 for (j
= 0; const_table
[j
].type
; j
++) {
22697 if (strncmp(const_table
[j
].name
, name
,
22698 strlen(const_table
[j
].name
)) == 0) {
22699 ci
= &(const_table
[j
]);
22704 size_t shift
= (ci
->ptype
) - types
;
22705 swig_type_info
*ty
= types_initial
[shift
];
22706 size_t ldoc
= (c
- methods
[i
].ml_doc
);
22707 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
22708 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
22710 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
22711 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
22713 strncpy(buff
, "swig_ptr: ", 10);
22715 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
22716 methods
[i
].ml_doc
= ndoc
;
22722 /* -----------------------------------------------------------------------------*
22723 * Initialize type list
22724 * -----------------------------------------------------------------------------*/
22726 #if PY_MAJOR_VERSION < 2
22727 /* PyModule_AddObject function was introduced in Python 2.0. The following function
22728 is copied out of Python/modsupport.c in python version 2.3.4 */
22730 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
22733 if (!PyModule_Check(m
)) {
22734 PyErr_SetString(PyExc_TypeError
,
22735 "PyModule_AddObject() needs module as first arg");
22739 PyErr_SetString(PyExc_TypeError
,
22740 "PyModule_AddObject() needs non-NULL value");
22744 dict
= PyModule_GetDict(m
);
22745 if (dict
== NULL
) {
22746 /* Internal error -- modules must have a dict! */
22747 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
22748 PyModule_GetName(m
));
22751 if (PyDict_SetItemString(dict
, name
, o
))
22758 static swig_type_info
**
22759 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
22760 static PyMethodDef swig_empty_runtime_method_table
[] = {
22762 NULL
, NULL
, 0, NULL
22766 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
22767 swig_empty_runtime_method_table
);
22768 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
22769 if (pointer
&& module) {
22770 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
22772 return type_list_handle
;
22775 static swig_type_info
**
22776 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
22777 swig_type_info
**type_pointer
;
22779 /* first check if module already created */
22780 type_pointer
= SWIG_Python_GetTypeListHandle();
22781 if (type_pointer
) {
22782 return type_pointer
;
22784 /* create a new module and variable */
22785 return SWIG_Python_SetTypeListHandle(type_list_handle
);
22793 /* -----------------------------------------------------------------------------*
22794 * Partial Init method
22795 * -----------------------------------------------------------------------------*/
22797 #ifdef SWIG_LINK_RUNTIME
22801 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
22807 SWIGEXPORT(void) SWIG_init(void) {
22808 static PyObject
*SWIG_globals
= 0;
22809 static int typeinit
= 0;
22812 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
22814 /* Fix SwigMethods to carry the callback ptrs when needed */
22815 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
22817 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22818 d
= PyModule_GetDict(m
);
22821 #ifdef SWIG_LINK_RUNTIME
22822 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
22824 # ifndef SWIG_STATIC_RUNTIME
22825 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
22828 for (i
= 0; swig_types_initial
[i
]; i
++) {
22829 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
22833 SWIG_InstallConstants(d
,swig_const_table
);
22836 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));
22839 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));
22842 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));
22845 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));
22848 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));
22851 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));
22854 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));
22857 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));
22860 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));
22863 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));
22866 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));
22869 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));
22872 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));
22875 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));
22878 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));
22881 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));
22884 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));
22887 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));
22890 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));
22893 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));
22896 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));
22899 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));
22902 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));
22905 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));
22908 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));
22911 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));
22914 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));
22917 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));
22920 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));
22923 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));
22926 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));
22929 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));
22932 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));
22935 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));
22938 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));
22941 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));
22944 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));
22947 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));
22950 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));
22953 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));
22956 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));
22959 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));
22962 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));
22965 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));
22968 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));
22971 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));
22974 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));
22977 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));
22980 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));
22983 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));
22986 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));
22989 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));
22992 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));
22995 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));
22998 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));
23001 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));
23004 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));
23007 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));
23010 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));
23013 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));
23016 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));
23019 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));
23022 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));
23025 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));
23028 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));
23031 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));
23034 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));
23037 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));
23040 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));
23043 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));
23046 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));
23049 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));
23052 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));
23055 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));
23058 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));
23061 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));
23064 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));
23067 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));
23070 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));
23073 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));
23076 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));
23079 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));
23082 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));
23085 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));
23088 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));
23091 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));
23094 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));
23097 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));
23100 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));
23103 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));
23106 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));
23109 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));
23112 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));
23115 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));
23118 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));
23121 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));
23124 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));
23127 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));
23130 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));
23133 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));
23136 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));
23139 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));
23142 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));
23145 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));
23148 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));
23151 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));
23154 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));
23157 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));
23160 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));
23163 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));
23166 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));
23169 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));
23172 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));
23175 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));
23178 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));
23181 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));
23184 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));
23187 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));
23190 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));
23193 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));
23196 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));
23199 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));
23202 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));
23205 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));
23208 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));
23211 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));
23214 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));
23217 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
23220 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));
23223 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));
23226 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));
23229 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));
23232 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));
23235 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));
23238 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));
23241 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));
23244 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));
23247 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));
23250 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));
23253 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));
23256 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));
23259 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));
23262 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));
23265 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));
23268 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));
23271 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));
23274 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));
23277 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
23280 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));
23283 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));
23286 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));
23289 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));
23292 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));
23295 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));
23298 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));
23301 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));
23304 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));
23307 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));
23310 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));
23313 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));
23316 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));
23319 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));
23322 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));
23325 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));
23328 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));
23331 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));
23334 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));
23337 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));
23340 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));
23343 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));
23346 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));
23349 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));
23352 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
23355 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));
23358 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));
23361 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));
23364 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));
23367 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));
23370 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));
23373 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));
23376 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));
23379 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));
23382 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));
23385 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));
23388 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));
23391 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));
23394 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));
23397 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
23400 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));
23403 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));
23406 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));
23409 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
23412 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));
23415 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));
23418 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));
23421 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
23424 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
23427 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
23430 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));
23433 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
23436 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));
23439 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));
23442 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));
23445 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));
23448 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));
23451 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));
23454 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));
23457 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));
23460 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));
23463 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
23466 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));
23469 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));
23472 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));
23475 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));
23478 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));
23481 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));
23484 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));
23487 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));
23490 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
23493 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
23496 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));
23499 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));
23502 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));
23505 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));
23508 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));
23511 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));
23514 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));
23517 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));
23520 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));
23523 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));
23526 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));
23529 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));
23532 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));
23535 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));
23538 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));
23541 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));
23544 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));
23547 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));
23550 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));
23553 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));
23556 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));
23559 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));
23562 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));
23565 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));
23568 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));
23571 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));
23574 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));
23577 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));
23580 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));
23583 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));
23586 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));
23589 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));
23592 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));
23595 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));
23598 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));
23601 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));
23604 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));
23607 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));
23610 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));
23613 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));
23616 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
23619 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));
23622 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));
23625 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));
23628 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));
23631 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));
23634 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));
23637 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));
23640 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));
23643 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));
23646 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));
23649 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
23652 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
23655 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));
23658 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));
23661 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));
23664 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));
23667 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));
23670 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));
23673 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
23676 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));
23679 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));
23682 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));
23685 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));
23688 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));
23691 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));
23694 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));
23697 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));
23700 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));
23703 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));
23706 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));
23709 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));
23712 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));
23715 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));
23718 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));
23721 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));
23724 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));
23727 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));
23730 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));
23733 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));
23736 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));
23739 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));
23742 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));
23745 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));
23748 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));
23751 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));
23754 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));
23757 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));
23760 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));
23763 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
23766 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));
23769 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
23772 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));
23775 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));
23778 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));
23781 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));
23784 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));
23787 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));
23790 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));
23793 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));
23796 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
23799 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));
23802 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));
23805 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));
23808 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));
23811 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));
23814 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));
23817 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));
23820 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));
23823 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));
23826 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));
23829 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));
23832 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));
23835 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));
23838 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));
23841 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));
23844 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));
23847 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));
23850 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));
23853 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));
23856 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));
23859 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));
23862 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));
23865 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));
23868 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));
23871 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));
23874 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));
23877 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));
23880 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));
23883 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));
23886 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));
23889 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));
23892 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));
23895 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));
23898 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));
23901 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));
23904 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));
23907 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));
23910 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));
23913 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));
23916 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));
23919 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));
23922 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));
23925 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));
23928 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));
23931 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));
23934 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));
23937 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));
23940 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));
23943 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));
23946 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));
23949 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));
23952 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));
23955 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));
23958 PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int((int)(wxBUFFER_VIRTUAL_AREA
)));
23961 PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int((int)(wxBUFFER_CLIENT_AREA
)));
23964 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));
23967 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));
23970 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));
23973 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));
23976 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));
23979 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));
23982 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));
23984 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
23985 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
23986 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
23987 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
23988 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
23989 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
23990 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
23991 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
23992 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
23993 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
23994 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
23995 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
23996 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
23997 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
23998 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
23999 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
24000 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
24001 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
24002 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
24003 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
24004 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
24005 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
24006 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
24007 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
24008 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
24009 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
24010 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
24011 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
24012 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
24013 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
24014 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
24015 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
24016 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
24017 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
24018 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
24019 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
24020 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
24021 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
24022 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
24023 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
24024 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
24025 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
24026 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
24027 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
24028 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
24029 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
24030 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
24032 PyDict_SetItemString(d
,"CONTROL_DISABLED", SWIG_From_int((int)(wxCONTROL_DISABLED
)));
24035 PyDict_SetItemString(d
,"CONTROL_FOCUSED", SWIG_From_int((int)(wxCONTROL_FOCUSED
)));
24038 PyDict_SetItemString(d
,"CONTROL_PRESSED", SWIG_From_int((int)(wxCONTROL_PRESSED
)));
24041 PyDict_SetItemString(d
,"CONTROL_ISDEFAULT", SWIG_From_int((int)(wxCONTROL_ISDEFAULT
)));
24044 PyDict_SetItemString(d
,"CONTROL_ISSUBMENU", SWIG_From_int((int)(wxCONTROL_ISSUBMENU
)));
24047 PyDict_SetItemString(d
,"CONTROL_EXPANDED", SWIG_From_int((int)(wxCONTROL_EXPANDED
)));
24050 PyDict_SetItemString(d
,"CONTROL_CURRENT", SWIG_From_int((int)(wxCONTROL_CURRENT
)));
24053 PyDict_SetItemString(d
,"CONTROL_SELECTED", SWIG_From_int((int)(wxCONTROL_SELECTED
)));
24056 PyDict_SetItemString(d
,"CONTROL_CHECKED", SWIG_From_int((int)(wxCONTROL_CHECKED
)));
24059 PyDict_SetItemString(d
,"CONTROL_CHECKABLE", SWIG_From_int((int)(wxCONTROL_CHECKABLE
)));
24062 PyDict_SetItemString(d
,"CONTROL_UNDETERMINED", SWIG_From_int((int)(wxCONTROL_UNDETERMINED
)));
24065 PyDict_SetItemString(d
,"CONTROL_FLAGS_MASK", SWIG_From_int((int)(wxCONTROL_FLAGS_MASK
)));
24068 PyDict_SetItemString(d
,"CONTROL_DIRTY", SWIG_From_int((int)(wxCONTROL_DIRTY
)));
24071 PyDict_SetItemString(d
,"RendererVersion_Current_Version", SWIG_From_int((int)(wxRendererVersion::Current_Version
)));
24074 PyDict_SetItemString(d
,"RendererVersion_Current_Age", SWIG_From_int((int)(wxRendererVersion::Current_Age
)));
24077 // Work around a chicken/egg problem in drawlist.cpp
24078 wxPyDrawList_SetAPIPtr();