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_wxLanguageInfo swig_types[47]
1390 #define SWIGTYPE_p_wxWindowDC swig_types[48]
1391 #define SWIGTYPE_p_wxPrintData swig_types[49]
1392 #define SWIGTYPE_p_wxBrushList swig_types[50]
1393 #define SWIGTYPE_p_wxFontList swig_types[51]
1394 #define SWIGTYPE_p_wxPen swig_types[52]
1395 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[53]
1396 #define SWIGTYPE_p_wxPaintDC swig_types[54]
1397 #define SWIGTYPE_p_wxPenList swig_types[55]
1398 #define SWIGTYPE_p_int swig_types[56]
1399 #define SWIGTYPE_p_wxMetaFile swig_types[57]
1400 #define SWIGTYPE_p_wxRendererNative swig_types[58]
1401 #define SWIGTYPE_p_unsigned_long swig_types[59]
1402 #define SWIGTYPE_p_wxNativeFontInfo swig_types[60]
1403 #define SWIGTYPE_p_wxEncodingConverter swig_types[61]
1404 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[62]
1405 #define SWIGTYPE_p_wxColourDatabase swig_types[63]
1406 static swig_type_info
*swig_types
[65];
1408 /* -------- TYPES TABLE (END) -------- */
1411 /*-----------------------------------------------
1412 @(target):= _gdi_.so
1413 ------------------------------------------------*/
1414 #define SWIG_init init_gdi_
1416 #define SWIG_name "_gdi_"
1418 #include "wx/wxPython/wxPython.h"
1419 #include "wx/wxPython/pyclasses.h"
1422 static const wxString
wxPyEmptyString(wxEmptyString
);
1428 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1431 if (value
< min_value
) {
1433 PyErr_Format(PyExc_OverflowError
,
1434 "value %ld is less than '%s' minimum %ld",
1435 value
, errmsg
, min_value
);
1438 } else if (value
> max_value
) {
1440 PyErr_Format(PyExc_OverflowError
,
1441 "value %ld is greater than '%s' maximum %ld",
1442 value
, errmsg
, max_value
);
1451 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1453 if (PyNumber_Check(obj
)) {
1454 if (val
) *val
= PyInt_AsLong(obj
);
1458 SWIG_type_error("number", obj
);
1464 #if INT_MAX != LONG_MAX
1466 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1468 const char* errmsg
= val
? "int" : (char*)0;
1470 if (SWIG_AsVal_long(obj
, &v
)) {
1471 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1472 if (val
) *val
= (int)(v
);
1481 SWIG_type_error(errmsg
, obj
);
1487 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1489 return SWIG_AsVal_long(obj
,(long*)val
);
1495 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1497 if (obj
== Py_True
) {
1498 if (val
) *val
= true;
1501 if (obj
== Py_False
) {
1502 if (val
) *val
= false;
1506 if (SWIG_AsVal_int(obj
, &res
)) {
1507 if (val
) *val
= res
? true : false;
1513 SWIG_type_error("bool", obj
);
1519 SWIGINTERNSHORT
bool
1520 SWIG_As_bool(PyObject
* obj
)
1523 if (!SWIG_AsVal_bool(obj
, &v
)) {
1525 this is needed to make valgrind/purify happier.
1527 memset((void*)&v
, 0, sizeof(bool));
1534 SWIG_Check_bool(PyObject
* obj
)
1536 return SWIG_AsVal_bool(obj
, (bool*)0);
1541 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1544 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1545 SWIG_type_error("unsigned number", obj
);
1548 *val
= (unsigned long)v
;
1554 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1555 unsigned long max_value
,
1558 if (value
> max_value
) {
1560 PyErr_Format(PyExc_OverflowError
,
1561 "value %lu is greater than '%s' minimum %lu",
1562 value
, errmsg
, max_value
);
1571 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1573 const char* errmsg
= val
? "unsigned char" : (char*)0;
1575 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1576 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1577 if (val
) *val
= (unsigned char)(v
);
1586 SWIG_type_error(errmsg
, obj
);
1592 SWIGINTERNSHORT
unsigned char
1593 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1596 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1598 this is needed to make valgrind/purify happier.
1600 memset((void*)&v
, 0, sizeof(unsigned char));
1607 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1609 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1613 SWIGINTERNSHORT
unsigned long
1614 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1617 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1619 this is needed to make valgrind/purify happier.
1621 memset((void*)&v
, 0, sizeof(unsigned long));
1628 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1630 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1634 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1635 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1639 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1640 #define SWIG_From_long PyInt_FromLong
1643 static PyObject
*wxColour_Get(wxColour
*self
){
1644 PyObject
* rv
= PyTuple_New(3);
1650 green
= self
->Green();
1651 blue
= self
->Blue();
1653 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
1654 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
1655 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
1658 static unsigned long wxColour_GetRGB(wxColour
*self
){
1659 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
1662 SWIGINTERNSHORT PyObject
*
1663 SWIG_From_unsigned_SS_long(unsigned long value
)
1665 return (value
> LONG_MAX
) ?
1666 PyLong_FromUnsignedLong(value
)
1667 : PyInt_FromLong((long)(value
));
1672 SWIG_As_int(PyObject
* obj
)
1675 if (!SWIG_AsVal_int(obj
, &v
)) {
1677 this is needed to make valgrind/purify happier.
1679 memset((void*)&v
, 0, sizeof(int));
1686 SWIG_Check_int(PyObject
* obj
)
1688 return SWIG_AsVal_int(obj
, (int*)0);
1692 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1693 #define SWIG_From_int PyInt_FromLong
1697 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1703 } else if (target
== Py_None
) {
1707 if (!PyTuple_Check(target
)) {
1709 target
= PyTuple_New(1);
1710 PyTuple_SetItem(target
, 0, o2
);
1712 o3
= PyTuple_New(1);
1713 PyTuple_SetItem(o3
, 0, o
);
1716 target
= PySequence_Concat(o2
, o3
);
1724 static PyObject
*wxPen_GetDashes(wxPen
*self
){
1726 int count
= self
->GetDashes(&dashes
);
1727 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1728 PyObject
* retval
= PyList_New(0);
1729 for (int x
=0; x
<count
; x
++) {
1730 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
1731 PyList_Append(retval
, pyint
);
1734 wxPyEndBlockThreads(blocked
);
1737 static void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
1738 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1739 int size
= PyList_Size(pyDashes
);
1740 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
1742 // black magic warning! The array of wxDashes needs to exist as
1743 // long as the pen does because wxPen does not copy the array. So
1744 // stick a copy in a Python string object and attach it to _self,
1745 // and then call SetDashes with a pointer to that array. Then
1746 // when the Python pen object is destroyed the array will be
1748 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
1749 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
1751 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
1753 Py_DECREF(strDashes
);
1754 wxPyEndBlockThreads(blocked
);
1756 static bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
1757 static bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
1759 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1760 #define SWIG_From_short PyInt_FromLong
1765 SWIG_AsVal_short(PyObject
*obj
, short *val
)
1767 const char* errmsg
= val
? "short" : (char*)0;
1769 if (SWIG_AsVal_long(obj
, &v
)) {
1770 if (SWIG_CheckLongInRange(v
, SHRT_MIN
, SHRT_MAX
, errmsg
)) {
1771 if (val
) *val
= (short)(v
);
1780 SWIG_type_error(errmsg
, obj
);
1786 SWIGINTERNSHORT
short
1787 SWIG_As_short(PyObject
* obj
)
1790 if (!SWIG_AsVal_short(obj
, &v
)) {
1792 this is needed to make valgrind/purify happier.
1794 memset((void*)&v
, 0, sizeof(short));
1801 SWIG_Check_short(PyObject
* obj
)
1803 return SWIG_AsVal_short(obj
, (short*)0);
1807 #include <wx/image.h>
1809 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1810 char** cArray
= NULL
;
1813 if (!PyList_Check(listOfStrings
)) {
1814 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1817 count
= PyList_Size(listOfStrings
);
1818 cArray
= new char*[count
];
1820 for(int x
=0; x
<count
; x
++) {
1821 // TODO: Need some validation and error checking here
1822 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1828 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1829 char** cArray
= NULL
;
1832 cArray
= ConvertListOfStrings(listOfStrings
);
1835 bmp
= new wxBitmap(cArray
);
1839 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1842 PyString_AsStringAndSize(bits
, &buf
, &length
);
1843 return new wxBitmap(buf
, width
, height
, depth
);
1845 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1846 wxSize
size(self
->GetWidth(), self
->GetHeight());
1849 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1850 wxMask
*mask
= new wxMask(*self
, colour
);
1851 self
->SetMask(mask
);
1853 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1854 self
->SetWidth(size
.x
);
1855 self
->SetHeight(size
.y
);
1857 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
1858 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
1859 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
1861 return new wxMask(bitmap
, *wxBLACK
);
1863 return new wxMask(bitmap
, colour
);
1866 #include <wx/iconbndl.h>
1868 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
1869 wxIcon
* icon
= new wxIcon();
1870 icon
->CopyFromBitmap(bmp
);
1873 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
1874 char** cArray
= NULL
;
1877 cArray
= ConvertListOfStrings(listOfStrings
);
1880 icon
= new wxIcon(cArray
);
1884 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
1888 return new wxIconLocation(*filename
);
1891 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
1898 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
1906 SWIGINTERNSHORT
long
1907 SWIG_As_long(PyObject
* obj
)
1910 if (!SWIG_AsVal_long(obj
, &v
)) {
1912 this is needed to make valgrind/purify happier.
1914 memset((void*)&v
, 0, sizeof(long));
1921 SWIG_Check_long(PyObject
* obj
)
1923 return SWIG_AsVal_long(obj
, (long*)0);
1926 static wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
1928 wxImage
img(cursorName
, type
);
1929 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
1930 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
1931 return new wxCursor(img
);
1933 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
1938 static void wxRegionIterator_Next(wxRegionIterator
*self
){
1941 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
1942 return self
->operator bool();
1945 #include <wx/fontutil.h>
1946 #include <wx/fontmap.h>
1947 #include <wx/fontenum.h>
1949 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
1950 return self
->ToString();
1953 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
1954 static wxNativeEncodingInfo info
;
1955 if ( wxGetNativeFontEncoding(encoding
, &info
) )
1961 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
1962 wxFontEncoding alt_enc
;
1963 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1964 return PyInt_FromLong(alt_enc
);
1970 static wxFont
*new_wxFont(wxString
const &info
){
1971 wxNativeFontInfo nfi
;
1972 nfi
.FromString(info
);
1973 return new wxFont(nfi
);
1975 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1976 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
1978 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1979 return wxFontBase::New(pixelSize
, family
,
1980 style
, weight
, underlined
,
1983 static wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1984 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
1986 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
1987 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
1989 class wxPyFontEnumerator
: public wxFontEnumerator
{
1991 wxPyFontEnumerator() {}
1992 ~wxPyFontEnumerator() {}
1994 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
1995 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
2000 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
2001 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
2004 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
2005 wxArrayString
* arr
= self
->GetEncodings();
2007 return wxArrayString2PyList_helper(*arr
);
2009 return PyList_New(0);
2011 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
2012 wxArrayString
* arr
= self
->GetFacenames();
2014 return wxArrayString2PyList_helper(*arr
);
2016 return PyList_New(0);
2021 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2024 loc
= new wxLocale();
2026 loc
= new wxLocale(language
, flags
);
2027 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2028 // for the floating point conversions and such to work right.
2029 #if PY_VERSION_HEX < 0x02040000
2030 setlocale(LC_NUMERIC
, "C");
2034 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
2035 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
2036 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2037 // for the floating point conversions and such to work right.
2038 #if PY_VERSION_HEX < 0x02040000
2039 setlocale(LC_NUMERIC
, "C");
2043 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2044 bool rc
= self
->Init(language
, flags
);
2045 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2046 // for the floating point conversions and such to work right.
2047 #if PY_VERSION_HEX < 0x02040000
2048 setlocale(LC_NUMERIC
, "C");
2053 #include "wx/wxPython/pydrawxxx.h"
2055 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2057 self
->GetPixel(x
, y
, &col
);
2060 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2062 self
->GetPixel(pt
, &col
);
2067 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2069 if (PyNumber_Check(obj
)) {
2070 if (val
) *val
= PyFloat_AsDouble(obj
);
2074 SWIG_type_error("number", obj
);
2080 SWIGINTERNSHORT
double
2081 SWIG_As_double(PyObject
* obj
)
2084 if (!SWIG_AsVal_double(obj
, &v
)) {
2086 this is needed to make valgrind/purify happier.
2088 memset((void*)&v
, 0, sizeof(double));
2095 SWIG_Check_double(PyObject
* obj
)
2097 return SWIG_AsVal_double(obj
, (double*)0);
2100 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2102 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2106 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2108 self
->GetClippingBox(rect
);
2111 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2113 self
->GetPartialTextExtents(text
, widths
);
2117 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2118 #define SWIG_From_double PyFloat_FromDouble
2122 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2123 self
->SetLogicalOrigin(point
.x
, point
.y
);
2125 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2126 self
->SetDeviceOrigin(point
.x
, point
.y
);
2128 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2129 self
->CalcBoundingBox(point
.x
, point
.y
);
2131 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2132 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2134 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2135 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2137 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2138 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2140 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2141 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2143 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2144 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2146 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2147 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2150 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2158 #include <wx/dcbuffer.h>
2161 #include <wx/dcps.h>
2164 #include <wx/metafile.h>
2168 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2169 self
->AddColour(name
, wxColour(red
, green
, blue
));
2172 #include <wx/effects.h>
2175 #include "wx/renderer.h"
2178 SWIGINTERNSHORT PyObject
*
2179 SWIG_From_bool(bool value
)
2181 PyObject
*obj
= value
? Py_True
: Py_False
;
2189 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2191 wxGDIObject
*result
;
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2198 if (!wxPyCheckForApp()) SWIG_fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 result
= (wxGDIObject
*)new wxGDIObject();
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2212 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2215 PyObject
* obj0
= 0 ;
2217 (char *) "self", NULL
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2222 if (SWIG_arg_fail(1)) SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 Py_INCREF(Py_None
); resultobj
= Py_None
;
2237 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2243 (char *) "self", NULL
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2248 if (SWIG_arg_fail(1)) SWIG_fail
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 result
= (bool)(arg1
)->GetVisible();
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2265 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
*resultobj
;
2267 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2269 PyObject
* obj0
= 0 ;
2270 PyObject
* obj1
= 0 ;
2272 (char *) "self",(char *) "visible", NULL
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2277 if (SWIG_arg_fail(1)) SWIG_fail
;
2279 arg2
= (bool)(SWIG_As_bool(obj1
));
2280 if (SWIG_arg_fail(2)) SWIG_fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 (arg1
)->SetVisible(arg2
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 Py_INCREF(Py_None
); resultobj
= Py_None
;
2296 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
*resultobj
;
2298 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2300 PyObject
* obj0
= 0 ;
2302 (char *) "self", NULL
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2307 if (SWIG_arg_fail(1)) SWIG_fail
;
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 result
= (bool)(arg1
)->IsNull();
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) SWIG_fail
;
2316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2324 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2327 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2329 return Py_BuildValue((char *)"");
2331 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2333 byte arg1
= (byte
) 0 ;
2334 byte arg2
= (byte
) 0 ;
2335 byte arg3
= (byte
) 0 ;
2337 PyObject
* obj0
= 0 ;
2338 PyObject
* obj1
= 0 ;
2339 PyObject
* obj2
= 0 ;
2341 (char *) "red",(char *) "green",(char *) "blue", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2347 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
2348 if (SWIG_arg_fail(1)) SWIG_fail
;
2353 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2354 if (SWIG_arg_fail(2)) SWIG_fail
;
2359 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2360 if (SWIG_arg_fail(3)) SWIG_fail
;
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2377 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
*resultobj
;
2379 wxString
*arg1
= 0 ;
2381 bool temp1
= false ;
2382 PyObject
* obj0
= 0 ;
2384 (char *) "colorName", NULL
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2389 arg1
= wxString_in_helper(obj0
);
2390 if (arg1
== NULL
) SWIG_fail
;
2394 if (!wxPyCheckForApp()) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2416 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2418 unsigned long arg1
;
2420 PyObject
* obj0
= 0 ;
2422 (char *) "colRGB", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2427 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
2428 if (SWIG_arg_fail(1)) SWIG_fail
;
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 result
= (wxColour
*)new wxColour(arg1
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2444 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxColour
*arg1
= (wxColour
*) 0 ;
2447 PyObject
* obj0
= 0 ;
2449 (char *) "self", NULL
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2454 if (SWIG_arg_fail(1)) SWIG_fail
;
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2462 Py_INCREF(Py_None
); resultobj
= Py_None
;
2469 static PyObject
*_wrap_Colour_Red(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_Red",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
)->Red();
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2489 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2497 static PyObject
*_wrap_Colour_Green(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_Green",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
)->Green();
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2525 static PyObject
*_wrap_Colour_Blue(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_Blue",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
= (byte
)(arg1
)->Blue();
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2545 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2553 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
*resultobj
;
2555 wxColour
*arg1
= (wxColour
*) 0 ;
2557 PyObject
* obj0
= 0 ;
2559 (char *) "self", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2564 if (SWIG_arg_fail(1)) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 result
= (bool)(arg1
)->Ok();
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2581 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2583 wxColour
*arg1
= (wxColour
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2588 PyObject
* obj1
= 0 ;
2589 PyObject
* obj2
= 0 ;
2590 PyObject
* obj3
= 0 ;
2592 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2597 if (SWIG_arg_fail(1)) SWIG_fail
;
2599 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2600 if (SWIG_arg_fail(2)) SWIG_fail
;
2603 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2604 if (SWIG_arg_fail(3)) SWIG_fail
;
2607 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2608 if (SWIG_arg_fail(4)) SWIG_fail
;
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 (arg1
)->Set(arg2
,arg3
,arg4
);
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2617 Py_INCREF(Py_None
); resultobj
= Py_None
;
2624 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
*resultobj
;
2626 wxColour
*arg1
= (wxColour
*) 0 ;
2627 unsigned long arg2
;
2628 PyObject
* obj0
= 0 ;
2629 PyObject
* obj1
= 0 ;
2631 (char *) "self",(char *) "colRGB", NULL
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2636 if (SWIG_arg_fail(1)) SWIG_fail
;
2638 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
2639 if (SWIG_arg_fail(2)) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 Py_INCREF(Py_None
); resultobj
= Py_None
;
2655 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxColour
*arg1
= (wxColour
*) 0 ;
2658 wxString
*arg2
= 0 ;
2659 bool temp2
= false ;
2660 PyObject
* obj0
= 0 ;
2661 PyObject
* obj1
= 0 ;
2663 (char *) "self",(char *) "colourName", NULL
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2668 if (SWIG_arg_fail(1)) SWIG_fail
;
2670 arg2
= wxString_in_helper(obj1
);
2671 if (arg2
== NULL
) SWIG_fail
;
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 (arg1
)->InitFromName((wxString
const &)*arg2
);
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) SWIG_fail
;
2681 Py_INCREF(Py_None
); resultobj
= Py_None
;
2696 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxColour
*arg1
= (wxColour
*) 0 ;
2700 PyObject
* obj0
= 0 ;
2702 (char *) "self", NULL
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2707 if (SWIG_arg_fail(1)) SWIG_fail
;
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2716 resultobj
= SWIG_From_long((long)(result
));
2724 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxColour
*arg1
= (wxColour
*) 0 ;
2727 wxColour
*arg2
= 0 ;
2730 PyObject
* obj0
= 0 ;
2731 PyObject
* obj1
= 0 ;
2733 (char *) "self",(char *) "colour", NULL
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2738 if (SWIG_arg_fail(1)) SWIG_fail
;
2741 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) SWIG_fail
;
2751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2759 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 wxColour
*arg1
= (wxColour
*) 0 ;
2762 wxColour
*arg2
= 0 ;
2765 PyObject
* obj0
= 0 ;
2766 PyObject
* obj1
= 0 ;
2768 (char *) "self",(char *) "colour", NULL
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2773 if (SWIG_arg_fail(1)) SWIG_fail
;
2776 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2794 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2796 wxColour
*arg1
= (wxColour
*) 0 ;
2798 PyObject
* obj0
= 0 ;
2800 (char *) "self", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2805 if (SWIG_arg_fail(1)) SWIG_fail
;
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 result
= (PyObject
*)wxColour_Get(arg1
);
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2820 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
*resultobj
;
2822 wxColour
*arg1
= (wxColour
*) 0 ;
2823 unsigned long result
;
2824 PyObject
* obj0
= 0 ;
2826 (char *) "self", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2831 if (SWIG_arg_fail(1)) SWIG_fail
;
2833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 result
= (unsigned long)wxColour_GetRGB(arg1
);
2836 wxPyEndAllowThreads(__tstate
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2840 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
2848 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2851 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2853 return Py_BuildValue((char *)"");
2855 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
;
2858 unsigned char *arg2
= (unsigned char *) 0 ;
2859 unsigned char *arg3
= (unsigned char *) 0 ;
2860 unsigned char *arg4
= (unsigned char *) 0 ;
2862 PyObject
* obj0
= 0 ;
2863 PyObject
* obj1
= 0 ;
2864 PyObject
* obj2
= 0 ;
2865 PyObject
* obj3
= 0 ;
2867 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2872 arg1
= (int)(SWIG_As_int(obj0
));
2873 if (SWIG_arg_fail(1)) SWIG_fail
;
2875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2876 if (SWIG_arg_fail(2)) SWIG_fail
;
2877 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2878 if (SWIG_arg_fail(3)) SWIG_fail
;
2879 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2880 if (SWIG_arg_fail(4)) SWIG_fail
;
2882 if (!wxPyCheckForApp()) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
2896 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxPalette
*arg1
= (wxPalette
*) 0 ;
2899 PyObject
* obj0
= 0 ;
2901 (char *) "self", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
2905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2906 if (SWIG_arg_fail(1)) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2914 Py_INCREF(Py_None
); resultobj
= Py_None
;
2921 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
*resultobj
;
2923 wxPalette
*arg1
= (wxPalette
*) 0 ;
2928 PyObject
* obj0
= 0 ;
2929 PyObject
* obj1
= 0 ;
2930 PyObject
* obj2
= 0 ;
2931 PyObject
* obj3
= 0 ;
2933 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2938 if (SWIG_arg_fail(1)) SWIG_fail
;
2940 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2941 if (SWIG_arg_fail(2)) SWIG_fail
;
2944 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2945 if (SWIG_arg_fail(3)) SWIG_fail
;
2948 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2949 if (SWIG_arg_fail(4)) SWIG_fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2959 resultobj
= SWIG_From_int((int)(result
));
2967 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxPalette
*arg1
= (wxPalette
*) 0 ;
2971 byte
*arg3
= (byte
*) 0 ;
2972 byte
*arg4
= (byte
*) 0 ;
2973 byte
*arg5
= (byte
*) 0 ;
2981 PyObject
* obj0
= 0 ;
2982 PyObject
* obj1
= 0 ;
2984 (char *) "self",(char *) "pixel", NULL
2987 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2988 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2989 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2992 if (SWIG_arg_fail(1)) SWIG_fail
;
2994 arg2
= (int)(SWIG_As_int(obj1
));
2995 if (SWIG_arg_fail(2)) SWIG_fail
;
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3007 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3008 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
3009 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3010 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
3011 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3012 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
3019 static PyObject
*_wrap_Palette_GetColoursCount(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_GetColoursCount",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
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3039 resultobj
= SWIG_From_int((int)(result
));
3047 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
*resultobj
;
3049 wxPalette
*arg1
= (wxPalette
*) 0 ;
3051 PyObject
* obj0
= 0 ;
3053 (char *) "self", NULL
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3058 if (SWIG_arg_fail(1)) SWIG_fail
;
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 result
= (bool)(arg1
)->Ok();
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3075 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3078 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3080 return Py_BuildValue((char *)"");
3082 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
*resultobj
;
3084 wxColour
*arg1
= 0 ;
3085 int arg2
= (int) 1 ;
3086 int arg3
= (int) wxSOLID
;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3091 PyObject
* obj2
= 0 ;
3093 (char *) "colour",(char *) "width",(char *) "style", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3099 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3103 arg2
= (int)(SWIG_As_int(obj1
));
3104 if (SWIG_arg_fail(2)) SWIG_fail
;
3109 arg3
= (int)(SWIG_As_int(obj2
));
3110 if (SWIG_arg_fail(3)) SWIG_fail
;
3114 if (!wxPyCheckForApp()) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3128 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxPen
*arg1
= (wxPen
*) 0 ;
3131 PyObject
* obj0
= 0 ;
3133 (char *) "self", NULL
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3138 if (SWIG_arg_fail(1)) SWIG_fail
;
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3146 Py_INCREF(Py_None
); resultobj
= Py_None
;
3153 static PyObject
*_wrap_Pen_GetCap(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_GetCap",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
= (int)(arg1
)->GetCap();
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3173 resultobj
= SWIG_From_int((int)(result
));
3181 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
*resultobj
;
3183 wxPen
*arg1
= (wxPen
*) 0 ;
3185 PyObject
* obj0
= 0 ;
3187 (char *) "self", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3192 if (SWIG_arg_fail(1)) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 result
= (arg1
)->GetColour();
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3201 wxColour
* resultptr
;
3202 resultptr
= new wxColour((wxColour
&)(result
));
3203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3211 static PyObject
*_wrap_Pen_GetJoin(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_GetJoin",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
)->GetJoin();
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3231 resultobj
= SWIG_From_int((int)(result
));
3239 static PyObject
*_wrap_Pen_GetStyle(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_GetStyle",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
)->GetStyle();
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3259 resultobj
= SWIG_From_int((int)(result
));
3267 static PyObject
*_wrap_Pen_GetWidth(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_GetWidth",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
= (int)(arg1
)->GetWidth();
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_From_int((int)(result
));
3295 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxPen
*arg1
= (wxPen
*) 0 ;
3299 PyObject
* obj0
= 0 ;
3301 (char *) "self", NULL
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3306 if (SWIG_arg_fail(1)) SWIG_fail
;
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 result
= (bool)(arg1
)->Ok();
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3323 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
;
3325 wxPen
*arg1
= (wxPen
*) 0 ;
3327 PyObject
* obj0
= 0 ;
3328 PyObject
* obj1
= 0 ;
3330 (char *) "self",(char *) "cap_style", NULL
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3335 if (SWIG_arg_fail(1)) SWIG_fail
;
3337 arg2
= (int)(SWIG_As_int(obj1
));
3338 if (SWIG_arg_fail(2)) SWIG_fail
;
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 (arg1
)->SetCap(arg2
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3347 Py_INCREF(Py_None
); resultobj
= Py_None
;
3354 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxPen
*arg1
= (wxPen
*) 0 ;
3357 wxColour
*arg2
= 0 ;
3359 PyObject
* obj0
= 0 ;
3360 PyObject
* obj1
= 0 ;
3362 (char *) "self",(char *) "colour", NULL
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3367 if (SWIG_arg_fail(1)) SWIG_fail
;
3370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 (arg1
)->SetColour(*arg2
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 Py_INCREF(Py_None
); resultobj
= Py_None
;
3386 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxPen
*arg1
= (wxPen
*) 0 ;
3390 PyObject
* obj0
= 0 ;
3391 PyObject
* obj1
= 0 ;
3393 (char *) "self",(char *) "join_style", NULL
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3398 if (SWIG_arg_fail(1)) SWIG_fail
;
3400 arg2
= (int)(SWIG_As_int(obj1
));
3401 if (SWIG_arg_fail(2)) SWIG_fail
;
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 (arg1
)->SetJoin(arg2
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 Py_INCREF(Py_None
); resultobj
= Py_None
;
3417 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxPen
*arg1
= (wxPen
*) 0 ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "self",(char *) "style", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3429 if (SWIG_arg_fail(1)) SWIG_fail
;
3431 arg2
= (int)(SWIG_As_int(obj1
));
3432 if (SWIG_arg_fail(2)) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 (arg1
)->SetStyle(arg2
);
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 Py_INCREF(Py_None
); resultobj
= Py_None
;
3448 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxPen
*arg1
= (wxPen
*) 0 ;
3452 PyObject
* obj0
= 0 ;
3453 PyObject
* obj1
= 0 ;
3455 (char *) "self",(char *) "width", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3460 if (SWIG_arg_fail(1)) SWIG_fail
;
3462 arg2
= (int)(SWIG_As_int(obj1
));
3463 if (SWIG_arg_fail(2)) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 (arg1
)->SetWidth(arg2
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxPen
*arg1
= (wxPen
*) 0 ;
3483 wxDash
*arg3
= (wxDash
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3487 (char *) "self",(char *) "dashes", NULL
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3492 if (SWIG_arg_fail(1)) SWIG_fail
;
3494 arg2
= PyList_Size(obj1
);
3495 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3496 if (arg3
== NULL
) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 (arg1
)->SetDashes(arg2
,arg3
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 Py_INCREF(Py_None
); resultobj
= Py_None
;
3507 if (arg3
) delete [] arg3
;
3512 if (arg3
) delete [] arg3
;
3518 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
*resultobj
;
3520 wxPen
*arg1
= (wxPen
*) 0 ;
3522 PyObject
* obj0
= 0 ;
3524 (char *) "self", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3529 if (SWIG_arg_fail(1)) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3544 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3546 wxPen
*arg1
= (wxPen
*) 0 ;
3547 PyObject
*arg2
= (PyObject
*) 0 ;
3548 PyObject
*arg3
= (PyObject
*) 0 ;
3549 PyObject
* obj0
= 0 ;
3550 PyObject
* obj1
= 0 ;
3551 PyObject
* obj2
= 0 ;
3553 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3558 if (SWIG_arg_fail(1)) SWIG_fail
;
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 wxPen__SetDashes(arg1
,arg2
,arg3
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3568 Py_INCREF(Py_None
); resultobj
= Py_None
;
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
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
;
3982 wxBrush
*arg1
= (wxBrush
*) 0 ;
3984 PyObject
* obj0
= 0 ;
3986 (char *) "self", NULL
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
3990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3991 if (SWIG_arg_fail(1)) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 result
= (short)(arg1
)->MacGetTheme();
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
4000 resultobj
= SWIG_From_short((short)(result
));
4008 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxBrush
*arg1
= (wxBrush
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4013 PyObject
* obj1
= 0 ;
4015 (char *) "self",(char *) "macThemeBrush", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
4019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4020 if (SWIG_arg_fail(1)) SWIG_fail
;
4022 arg2
= (short)(SWIG_As_short(obj1
));
4023 if (SWIG_arg_fail(2)) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 (arg1
)->MacSetTheme(arg2
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 Py_INCREF(Py_None
); resultobj
= Py_None
;
4039 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
4041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4042 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
4044 return Py_BuildValue((char *)"");
4046 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxString
*arg1
= 0 ;
4049 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
4051 bool temp1
= false ;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj1
= 0 ;
4055 (char *) "name",(char *) "type", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4060 arg1
= wxString_in_helper(obj0
);
4061 if (arg1
== NULL
) SWIG_fail
;
4066 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4067 if (SWIG_arg_fail(2)) SWIG_fail
;
4071 if (!wxPyCheckForApp()) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4093 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4096 PyObject
* obj0
= 0 ;
4098 (char *) "self", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4103 if (SWIG_arg_fail(1)) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 Py_INCREF(Py_None
); resultobj
= Py_None
;
4118 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4122 int arg3
= (int) -1 ;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4126 PyObject
* obj2
= 0 ;
4128 (char *) "width",(char *) "height",(char *) "depth", NULL
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4133 arg1
= (int)(SWIG_As_int(obj0
));
4134 if (SWIG_arg_fail(1)) SWIG_fail
;
4137 arg2
= (int)(SWIG_As_int(obj1
));
4138 if (SWIG_arg_fail(2)) SWIG_fail
;
4142 arg3
= (int)(SWIG_As_int(obj2
));
4143 if (SWIG_arg_fail(3)) SWIG_fail
;
4147 if (!wxPyCheckForApp()) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4161 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4165 PyObject
* obj0
= 0 ;
4167 (char *) "icon", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4173 if (SWIG_arg_fail(1)) SWIG_fail
;
4175 SWIG_null_ref("wxIcon");
4177 if (SWIG_arg_fail(1)) SWIG_fail
;
4180 if (!wxPyCheckForApp()) SWIG_fail
;
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4194 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
;
4197 int arg2
= (int) -1 ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4202 (char *) "image",(char *) "depth", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4208 if (SWIG_arg_fail(1)) SWIG_fail
;
4210 SWIG_null_ref("wxImage");
4212 if (SWIG_arg_fail(1)) SWIG_fail
;
4216 arg2
= (int)(SWIG_As_int(obj1
));
4217 if (SWIG_arg_fail(2)) SWIG_fail
;
4221 if (!wxPyCheckForApp()) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4235 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 PyObject
*arg1
= (PyObject
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4241 (char *) "listOfStrings", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4247 if (!wxPyCheckForApp()) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4261 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 PyObject
*arg1
= (PyObject
*) 0 ;
4266 int arg4
= (int) 1 ;
4268 PyObject
* obj0
= 0 ;
4269 PyObject
* obj1
= 0 ;
4270 PyObject
* obj2
= 0 ;
4271 PyObject
* obj3
= 0 ;
4273 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4279 arg2
= (int)(SWIG_As_int(obj1
));
4280 if (SWIG_arg_fail(2)) SWIG_fail
;
4283 arg3
= (int)(SWIG_As_int(obj2
));
4284 if (SWIG_arg_fail(3)) SWIG_fail
;
4288 arg4
= (int)(SWIG_As_int(obj3
));
4289 if (SWIG_arg_fail(4)) SWIG_fail
;
4293 if (!wxPyCheckForApp()) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4307 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4309 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4311 PyObject
* obj0
= 0 ;
4313 (char *) "self", NULL
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4318 if (SWIG_arg_fail(1)) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (bool)(arg1
)->Ok();
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4335 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4339 PyObject
* obj0
= 0 ;
4341 (char *) "self", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4346 if (SWIG_arg_fail(1)) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (int)(arg1
)->GetWidth();
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= SWIG_From_int((int)(result
));
4363 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4367 PyObject
* obj0
= 0 ;
4369 (char *) "self", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4374 if (SWIG_arg_fail(1)) SWIG_fail
;
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 result
= (int)(arg1
)->GetHeight();
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= SWIG_From_int((int)(result
));
4391 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4393 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4395 PyObject
* obj0
= 0 ;
4397 (char *) "self", NULL
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4402 if (SWIG_arg_fail(1)) SWIG_fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= (int)(arg1
)->GetDepth();
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4411 resultobj
= SWIG_From_int((int)(result
));
4419 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4423 PyObject
* obj0
= 0 ;
4425 (char *) "self", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4430 if (SWIG_arg_fail(1)) SWIG_fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 result
= wxBitmap_GetSize(arg1
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4440 resultptr
= new wxSize((wxSize
&)(result
));
4441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4449 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4452 SwigValueWrapper
<wxImage
> result
;
4453 PyObject
* obj0
= 0 ;
4455 (char *) "self", NULL
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4460 if (SWIG_arg_fail(1)) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4469 wxImage
* resultptr
;
4470 resultptr
= new wxImage((wxImage
&)(result
));
4471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4479 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4485 (char *) "self", NULL
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4490 if (SWIG_arg_fail(1)) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4505 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4507 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4508 wxMask
*arg2
= (wxMask
*) 0 ;
4509 PyObject
* obj0
= 0 ;
4510 PyObject
* obj1
= 0 ;
4512 (char *) "self",(char *) "mask", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4517 if (SWIG_arg_fail(1)) SWIG_fail
;
4518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4519 if (SWIG_arg_fail(2)) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 (arg1
)->SetMask(arg2
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 Py_INCREF(Py_None
); resultobj
= Py_None
;
4534 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4537 wxColour
*arg2
= 0 ;
4539 PyObject
* obj0
= 0 ;
4540 PyObject
* obj1
= 0 ;
4542 (char *) "self",(char *) "colour", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4547 if (SWIG_arg_fail(1)) SWIG_fail
;
4550 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4559 Py_INCREF(Py_None
); resultobj
= Py_None
;
4566 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
;
4568 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4570 SwigValueWrapper
<wxBitmap
> result
;
4572 PyObject
* obj0
= 0 ;
4573 PyObject
* obj1
= 0 ;
4575 (char *) "self",(char *) "rect", NULL
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4580 if (SWIG_arg_fail(1)) SWIG_fail
;
4583 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4593 wxBitmap
* resultptr
;
4594 resultptr
= new wxBitmap((wxBitmap
&)(result
));
4595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4603 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4606 wxString
*arg2
= 0 ;
4608 wxPalette
*arg4
= (wxPalette
*) NULL
;
4610 bool temp2
= false ;
4611 PyObject
* obj0
= 0 ;
4612 PyObject
* obj1
= 0 ;
4613 PyObject
* obj2
= 0 ;
4614 PyObject
* obj3
= 0 ;
4616 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4621 if (SWIG_arg_fail(1)) SWIG_fail
;
4623 arg2
= wxString_in_helper(obj1
);
4624 if (arg2
== NULL
) SWIG_fail
;
4628 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4629 if (SWIG_arg_fail(3)) SWIG_fail
;
4632 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4633 if (SWIG_arg_fail(4)) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4659 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4662 wxString
*arg2
= 0 ;
4665 bool temp2
= false ;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4668 PyObject
* obj2
= 0 ;
4670 (char *) "self",(char *) "name",(char *) "type", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4675 if (SWIG_arg_fail(1)) SWIG_fail
;
4677 arg2
= wxString_in_helper(obj1
);
4678 if (arg2
== NULL
) SWIG_fail
;
4682 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4683 if (SWIG_arg_fail(3)) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4709 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4713 PyObject
* obj0
= 0 ;
4715 (char *) "self", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4720 if (SWIG_arg_fail(1)) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4735 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4740 PyObject
* obj0
= 0 ;
4741 PyObject
* obj1
= 0 ;
4743 (char *) "self",(char *) "icon", NULL
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4748 if (SWIG_arg_fail(1)) SWIG_fail
;
4750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4751 if (SWIG_arg_fail(2)) SWIG_fail
;
4753 SWIG_null_ref("wxIcon");
4755 if (SWIG_arg_fail(2)) SWIG_fail
;
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4773 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
;
4775 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4780 (char *) "self",(char *) "height", NULL
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4785 if (SWIG_arg_fail(1)) SWIG_fail
;
4787 arg2
= (int)(SWIG_As_int(obj1
));
4788 if (SWIG_arg_fail(2)) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 (arg1
)->SetHeight(arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 Py_INCREF(Py_None
); resultobj
= Py_None
;
4804 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4809 PyObject
* obj1
= 0 ;
4811 (char *) "self",(char *) "width", NULL
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4816 if (SWIG_arg_fail(1)) SWIG_fail
;
4818 arg2
= (int)(SWIG_As_int(obj1
));
4819 if (SWIG_arg_fail(2)) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 (arg1
)->SetWidth(arg2
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 Py_INCREF(Py_None
); resultobj
= Py_None
;
4835 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4837 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4842 (char *) "self",(char *) "depth", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4847 if (SWIG_arg_fail(1)) SWIG_fail
;
4849 arg2
= (int)(SWIG_As_int(obj1
));
4850 if (SWIG_arg_fail(2)) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 (arg1
)->SetDepth(arg2
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 Py_INCREF(Py_None
); resultobj
= Py_None
;
4866 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4868 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4871 PyObject
* obj0
= 0 ;
4872 PyObject
* obj1
= 0 ;
4874 (char *) "self",(char *) "size", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4879 if (SWIG_arg_fail(1)) SWIG_fail
;
4882 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 Py_INCREF(Py_None
); resultobj
= Py_None
;
4898 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
;
4900 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4901 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4903 PyObject
* obj0
= 0 ;
4904 PyObject
* obj1
= 0 ;
4906 (char *) "self",(char *) "other", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4911 if (SWIG_arg_fail(1)) SWIG_fail
;
4912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4913 if (SWIG_arg_fail(2)) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4930 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4933 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4938 (char *) "self",(char *) "other", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4943 if (SWIG_arg_fail(1)) SWIG_fail
;
4944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4945 if (SWIG_arg_fail(2)) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4962 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
4964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4965 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
4967 return Py_BuildValue((char *)"");
4969 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxBitmap
*arg1
= 0 ;
4972 wxColour
const &arg2_defvalue
= wxNullColour
;
4973 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4976 PyObject
* obj0
= 0 ;
4977 PyObject
* obj1
= 0 ;
4979 (char *) "bitmap",(char *) "colour", NULL
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
4984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail
;
4987 SWIG_null_ref("wxBitmap");
4989 if (SWIG_arg_fail(1)) SWIG_fail
;
4994 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4998 if (!wxPyCheckForApp()) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
5012 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
5014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5015 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
5017 return Py_BuildValue((char *)"");
5019 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxString
*arg1
= 0 ;
5023 int arg3
= (int) -1 ;
5024 int arg4
= (int) -1 ;
5026 bool temp1
= false ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5029 PyObject
* obj2
= 0 ;
5030 PyObject
* obj3
= 0 ;
5032 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5037 arg1
= wxString_in_helper(obj0
);
5038 if (arg1
== NULL
) SWIG_fail
;
5042 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
5043 if (SWIG_arg_fail(2)) SWIG_fail
;
5047 arg3
= (int)(SWIG_As_int(obj2
));
5048 if (SWIG_arg_fail(3)) SWIG_fail
;
5053 arg4
= (int)(SWIG_As_int(obj3
));
5054 if (SWIG_arg_fail(4)) SWIG_fail
;
5058 if (!wxPyCheckForApp()) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5080 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxIcon
*arg1
= (wxIcon
*) 0 ;
5083 PyObject
* obj0
= 0 ;
5085 (char *) "self", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5090 if (SWIG_arg_fail(1)) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 Py_INCREF(Py_None
); resultobj
= Py_None
;
5105 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5114 if (!wxPyCheckForApp()) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (wxIcon
*)new wxIcon();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5128 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxIconLocation
*arg1
= 0 ;
5132 PyObject
* obj0
= 0 ;
5134 (char *) "loc", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5140 if (SWIG_arg_fail(1)) SWIG_fail
;
5142 SWIG_null_ref("wxIconLocation");
5144 if (SWIG_arg_fail(1)) SWIG_fail
;
5147 if (!wxPyCheckForApp()) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5161 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxBitmap
*arg1
= 0 ;
5165 PyObject
* obj0
= 0 ;
5167 (char *) "bmp", NULL
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5173 if (SWIG_arg_fail(1)) SWIG_fail
;
5175 SWIG_null_ref("wxBitmap");
5177 if (SWIG_arg_fail(1)) SWIG_fail
;
5180 if (!wxPyCheckForApp()) SWIG_fail
;
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5194 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 PyObject
*arg1
= (PyObject
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "listOfStrings", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5206 if (!wxPyCheckForApp()) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (wxIcon
*)new_wxIcon(arg1
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5220 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxIcon
*arg1
= (wxIcon
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (bool)(arg1
)->Ok();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5248 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxIcon
*arg1
= (wxIcon
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5254 (char *) "self", NULL
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5259 if (SWIG_arg_fail(1)) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (int)(arg1
)->GetWidth();
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= SWIG_From_int((int)(result
));
5276 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxIcon
*arg1
= (wxIcon
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5282 (char *) "self", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5287 if (SWIG_arg_fail(1)) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (int)(arg1
)->GetHeight();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= SWIG_From_int((int)(result
));
5304 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxIcon
*arg1
= (wxIcon
*) 0 ;
5308 PyObject
* obj0
= 0 ;
5310 (char *) "self", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5315 if (SWIG_arg_fail(1)) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (int)(arg1
)->GetDepth();
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= SWIG_From_int((int)(result
));
5332 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxIcon
*arg1
= (wxIcon
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5337 PyObject
* obj1
= 0 ;
5339 (char *) "self",(char *) "w", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5344 if (SWIG_arg_fail(1)) SWIG_fail
;
5346 arg2
= (int)(SWIG_As_int(obj1
));
5347 if (SWIG_arg_fail(2)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 (arg1
)->SetWidth(arg2
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 Py_INCREF(Py_None
); resultobj
= Py_None
;
5363 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxIcon
*arg1
= (wxIcon
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5370 (char *) "self",(char *) "h", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5375 if (SWIG_arg_fail(1)) SWIG_fail
;
5377 arg2
= (int)(SWIG_As_int(obj1
));
5378 if (SWIG_arg_fail(2)) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 (arg1
)->SetHeight(arg2
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 Py_INCREF(Py_None
); resultobj
= Py_None
;
5394 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxIcon
*arg1
= (wxIcon
*) 0 ;
5398 PyObject
* obj0
= 0 ;
5399 PyObject
* obj1
= 0 ;
5401 (char *) "self",(char *) "d", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5406 if (SWIG_arg_fail(1)) SWIG_fail
;
5408 arg2
= (int)(SWIG_As_int(obj1
));
5409 if (SWIG_arg_fail(2)) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 (arg1
)->SetDepth(arg2
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 Py_INCREF(Py_None
); resultobj
= Py_None
;
5425 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
;
5427 wxIcon
*arg1
= (wxIcon
*) 0 ;
5428 wxBitmap
*arg2
= 0 ;
5429 PyObject
* obj0
= 0 ;
5430 PyObject
* obj1
= 0 ;
5432 (char *) "self",(char *) "bmp", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail
;
5439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5440 if (SWIG_arg_fail(2)) SWIG_fail
;
5442 SWIG_null_ref("wxBitmap");
5444 if (SWIG_arg_fail(2)) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 Py_INCREF(Py_None
); resultobj
= Py_None
;
5460 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5463 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5465 return Py_BuildValue((char *)"");
5467 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5470 int arg2
= (int) 0 ;
5471 wxIconLocation
*result
;
5472 bool temp1
= false ;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5476 (char *) "filename",(char *) "num", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5482 arg1
= wxString_in_helper(obj0
);
5483 if (arg1
== NULL
) SWIG_fail
;
5489 arg2
= (int)(SWIG_As_int(obj1
));
5490 if (SWIG_arg_fail(2)) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5515 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5518 PyObject
* obj0
= 0 ;
5520 (char *) "self", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5525 if (SWIG_arg_fail(1)) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 Py_INCREF(Py_None
); resultobj
= Py_None
;
5540 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5551 if (SWIG_arg_fail(1)) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5568 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5571 wxString
*arg2
= 0 ;
5572 bool temp2
= false ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5576 (char *) "self",(char *) "filename", NULL
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5581 if (SWIG_arg_fail(1)) SWIG_fail
;
5583 arg2
= wxString_in_helper(obj1
);
5584 if (arg2
== NULL
) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->SetFileName((wxString
const &)*arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 Py_INCREF(Py_None
); resultobj
= Py_None
;
5609 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5615 (char *) "self", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5620 if (SWIG_arg_fail(1)) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5625 result
= (wxString
*) &_result_ref
;
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5635 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5644 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
*resultobj
;
5646 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5648 PyObject
* obj0
= 0 ;
5649 PyObject
* obj1
= 0 ;
5651 (char *) "self",(char *) "num", NULL
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5656 if (SWIG_arg_fail(1)) SWIG_fail
;
5658 arg2
= (int)(SWIG_As_int(obj1
));
5659 if (SWIG_arg_fail(2)) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 wxIconLocation_SetIndex(arg1
,arg2
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 Py_INCREF(Py_None
); resultobj
= Py_None
;
5675 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
;
5677 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5681 (char *) "self", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5686 if (SWIG_arg_fail(1)) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 result
= (int)wxIconLocation_GetIndex(arg1
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5695 resultobj
= SWIG_From_int((int)(result
));
5703 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5706 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5708 return Py_BuildValue((char *)"");
5710 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxIconBundle
*result
;
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (wxIconBundle
*)new wxIconBundle();
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5732 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxString
*arg1
= 0 ;
5736 wxIconBundle
*result
;
5737 bool temp1
= false ;
5738 PyObject
* obj0
= 0 ;
5739 PyObject
* obj1
= 0 ;
5741 (char *) "file",(char *) "type", NULL
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5746 arg1
= wxString_in_helper(obj0
);
5747 if (arg1
== NULL
) SWIG_fail
;
5751 arg2
= (long)(SWIG_As_long(obj1
));
5752 if (SWIG_arg_fail(2)) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5776 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5779 wxIconBundle
*result
;
5780 PyObject
* obj0
= 0 ;
5782 (char *) "icon", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
5787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5788 if (SWIG_arg_fail(1)) SWIG_fail
;
5790 SWIG_null_ref("wxIcon");
5792 if (SWIG_arg_fail(1)) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5808 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5811 PyObject
* obj0
= 0 ;
5813 (char *) "self", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
5817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5818 if (SWIG_arg_fail(1)) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5833 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5838 PyObject
* obj1
= 0 ;
5840 (char *) "self",(char *) "icon", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5845 if (SWIG_arg_fail(1)) SWIG_fail
;
5847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5848 if (SWIG_arg_fail(2)) SWIG_fail
;
5850 SWIG_null_ref("wxIcon");
5852 if (SWIG_arg_fail(2)) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 Py_INCREF(Py_None
); resultobj
= Py_None
;
5868 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5871 wxString
*arg2
= 0 ;
5873 bool temp2
= false ;
5874 PyObject
* obj0
= 0 ;
5875 PyObject
* obj1
= 0 ;
5876 PyObject
* obj2
= 0 ;
5878 (char *) "self",(char *) "file",(char *) "type", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5883 if (SWIG_arg_fail(1)) SWIG_fail
;
5885 arg2
= wxString_in_helper(obj1
);
5886 if (arg2
== NULL
) SWIG_fail
;
5890 arg3
= (long)(SWIG_As_long(obj2
));
5891 if (SWIG_arg_fail(3)) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 Py_INCREF(Py_None
); resultobj
= Py_None
;
5915 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
;
5917 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5921 PyObject
* obj0
= 0 ;
5922 PyObject
* obj1
= 0 ;
5924 (char *) "self",(char *) "size", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5929 if (SWIG_arg_fail(1)) SWIG_fail
;
5932 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
5938 result
= (wxIcon
*) &_result_ref
;
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5945 wxIcon
* resultptr
= new wxIcon(*result
);
5946 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
5954 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
5956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5957 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
5959 return Py_BuildValue((char *)"");
5961 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxString
*arg1
= 0 ;
5965 int arg3
= (int) 0 ;
5966 int arg4
= (int) 0 ;
5968 bool temp1
= false ;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5971 PyObject
* obj2
= 0 ;
5972 PyObject
* obj3
= 0 ;
5974 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5979 arg1
= wxString_in_helper(obj0
);
5980 if (arg1
== NULL
) SWIG_fail
;
5984 arg2
= (long)(SWIG_As_long(obj1
));
5985 if (SWIG_arg_fail(2)) SWIG_fail
;
5989 arg3
= (int)(SWIG_As_int(obj2
));
5990 if (SWIG_arg_fail(3)) SWIG_fail
;
5995 arg4
= (int)(SWIG_As_int(obj3
));
5996 if (SWIG_arg_fail(4)) SWIG_fail
;
6000 if (!wxPyCheckForApp()) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6022 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxCursor
*arg1
= (wxCursor
*) 0 ;
6025 PyObject
* obj0
= 0 ;
6027 (char *) "self", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
6031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6032 if (SWIG_arg_fail(1)) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 Py_INCREF(Py_None
); resultobj
= Py_None
;
6047 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
;
6051 PyObject
* obj0
= 0 ;
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6058 arg1
= (int)(SWIG_As_int(obj0
));
6059 if (SWIG_arg_fail(1)) SWIG_fail
;
6062 if (!wxPyCheckForApp()) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (wxCursor
*)new wxCursor(arg1
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6076 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6080 PyObject
* obj0
= 0 ;
6082 (char *) "image", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6088 if (SWIG_arg_fail(1)) SWIG_fail
;
6090 SWIG_null_ref("wxImage");
6092 if (SWIG_arg_fail(1)) SWIG_fail
;
6095 if (!wxPyCheckForApp()) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6109 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxCursor
*arg1
= (wxCursor
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6115 (char *) "self", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6120 if (SWIG_arg_fail(1)) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (bool)(arg1
)->Ok();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6137 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6140 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6142 return Py_BuildValue((char *)"");
6144 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 int arg1
= (int) 0 ;
6147 int arg2
= (int) 0 ;
6148 int arg3
= (int) 0 ;
6149 int arg4
= (int) 0 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6153 PyObject
* obj2
= 0 ;
6154 PyObject
* obj3
= 0 ;
6156 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6162 arg1
= (int)(SWIG_As_int(obj0
));
6163 if (SWIG_arg_fail(1)) SWIG_fail
;
6168 arg2
= (int)(SWIG_As_int(obj1
));
6169 if (SWIG_arg_fail(2)) SWIG_fail
;
6174 arg3
= (int)(SWIG_As_int(obj2
));
6175 if (SWIG_arg_fail(3)) SWIG_fail
;
6180 arg4
= (int)(SWIG_As_int(obj3
));
6181 if (SWIG_arg_fail(4)) SWIG_fail
;
6185 if (!wxPyCheckForApp()) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6199 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxBitmap
*arg1
= 0 ;
6203 PyObject
* obj0
= 0 ;
6205 (char *) "bmp", NULL
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6211 if (SWIG_arg_fail(1)) SWIG_fail
;
6213 SWIG_null_ref("wxBitmap");
6215 if (SWIG_arg_fail(1)) SWIG_fail
;
6218 if (!wxPyCheckForApp()) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6232 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6234 wxBitmap
*arg1
= 0 ;
6235 wxColour
*arg2
= 0 ;
6236 int arg3
= (int) 0 ;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6241 PyObject
* obj2
= 0 ;
6243 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6249 if (SWIG_arg_fail(1)) SWIG_fail
;
6251 SWIG_null_ref("wxBitmap");
6253 if (SWIG_arg_fail(1)) SWIG_fail
;
6257 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6261 arg3
= (int)(SWIG_As_int(obj2
));
6262 if (SWIG_arg_fail(3)) SWIG_fail
;
6266 if (!wxPyCheckForApp()) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6280 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6283 wxPoint
*arg2
= (wxPoint
*) 0 ;
6284 int arg3
= (int) wxWINDING_RULE
;
6286 PyObject
* obj0
= 0 ;
6287 PyObject
* obj1
= 0 ;
6289 (char *) "points",(char *) "fillStyle", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6294 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6295 if (arg2
== NULL
) SWIG_fail
;
6299 arg3
= (int)(SWIG_As_int(obj1
));
6300 if (SWIG_arg_fail(3)) SWIG_fail
;
6304 if (!wxPyCheckForApp()) SWIG_fail
;
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6313 if (arg2
) delete [] arg2
;
6318 if (arg2
) delete [] arg2
;
6324 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6326 wxRegion
*arg1
= (wxRegion
*) 0 ;
6327 PyObject
* obj0
= 0 ;
6329 (char *) "self", NULL
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6334 if (SWIG_arg_fail(1)) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 Py_INCREF(Py_None
); resultobj
= Py_None
;
6349 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxRegion
*arg1
= (wxRegion
*) 0 ;
6352 PyObject
* obj0
= 0 ;
6354 (char *) "self", NULL
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6359 if (SWIG_arg_fail(1)) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 Py_INCREF(Py_None
); resultobj
= Py_None
;
6374 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxRegion
*arg1
= (wxRegion
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6381 PyObject
* obj1
= 0 ;
6382 PyObject
* obj2
= 0 ;
6384 (char *) "self",(char *) "x",(char *) "y", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail
;
6391 arg2
= (int)(SWIG_As_int(obj1
));
6392 if (SWIG_arg_fail(2)) SWIG_fail
;
6395 arg3
= (int)(SWIG_As_int(obj2
));
6396 if (SWIG_arg_fail(3)) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6414 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxRegion
*arg1
= (wxRegion
*) 0 ;
6419 wxRegionContain result
;
6420 PyObject
* obj0
= 0 ;
6421 PyObject
* obj1
= 0 ;
6422 PyObject
* obj2
= 0 ;
6424 (char *) "self",(char *) "x",(char *) "y", NULL
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6429 if (SWIG_arg_fail(1)) SWIG_fail
;
6431 arg2
= (int)(SWIG_As_int(obj1
));
6432 if (SWIG_arg_fail(2)) SWIG_fail
;
6435 arg3
= (int)(SWIG_As_int(obj2
));
6436 if (SWIG_arg_fail(3)) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= SWIG_From_int((result
));
6452 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxRegion
*arg1
= (wxRegion
*) 0 ;
6456 wxRegionContain result
;
6458 PyObject
* obj0
= 0 ;
6459 PyObject
* obj1
= 0 ;
6461 (char *) "self",(char *) "pt", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6466 if (SWIG_arg_fail(1)) SWIG_fail
;
6469 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_From_int((result
));
6485 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxRegion
*arg1
= (wxRegion
*) 0 ;
6489 wxRegionContain result
;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6494 (char *) "self",(char *) "rect", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6499 if (SWIG_arg_fail(1)) SWIG_fail
;
6502 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_From_int((result
));
6518 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
;
6520 wxRegion
*arg1
= (wxRegion
*) 0 ;
6525 wxRegionContain result
;
6526 PyObject
* obj0
= 0 ;
6527 PyObject
* obj1
= 0 ;
6528 PyObject
* obj2
= 0 ;
6529 PyObject
* obj3
= 0 ;
6530 PyObject
* obj4
= 0 ;
6532 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6537 if (SWIG_arg_fail(1)) SWIG_fail
;
6539 arg2
= (int)(SWIG_As_int(obj1
));
6540 if (SWIG_arg_fail(2)) SWIG_fail
;
6543 arg3
= (int)(SWIG_As_int(obj2
));
6544 if (SWIG_arg_fail(3)) SWIG_fail
;
6547 arg4
= (int)(SWIG_As_int(obj3
));
6548 if (SWIG_arg_fail(4)) SWIG_fail
;
6551 arg5
= (int)(SWIG_As_int(obj4
));
6552 if (SWIG_arg_fail(5)) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= SWIG_From_int((result
));
6568 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxRegion
*arg1
= (wxRegion
*) 0 ;
6572 PyObject
* obj0
= 0 ;
6574 (char *) "self", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
6578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6579 if (SWIG_arg_fail(1)) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (arg1
)->GetBox();
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6589 resultptr
= new wxRect((wxRect
&)(result
));
6590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6598 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 wxRegion
*arg1
= (wxRegion
*) 0 ;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 PyObject
* obj2
= 0 ;
6609 PyObject
* obj3
= 0 ;
6610 PyObject
* obj4
= 0 ;
6612 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(1)) SWIG_fail
;
6619 arg2
= (int)(SWIG_As_int(obj1
));
6620 if (SWIG_arg_fail(2)) SWIG_fail
;
6623 arg3
= (int)(SWIG_As_int(obj2
));
6624 if (SWIG_arg_fail(3)) SWIG_fail
;
6627 arg4
= (int)(SWIG_As_int(obj3
));
6628 if (SWIG_arg_fail(4)) SWIG_fail
;
6631 arg5
= (int)(SWIG_As_int(obj4
));
6632 if (SWIG_arg_fail(5)) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6650 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxRegion
*arg1
= (wxRegion
*) 0 ;
6656 PyObject
* obj0
= 0 ;
6657 PyObject
* obj1
= 0 ;
6659 (char *) "self",(char *) "rect", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6664 if (SWIG_arg_fail(1)) SWIG_fail
;
6667 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6685 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxRegion
*arg1
= (wxRegion
*) 0 ;
6688 wxRegion
*arg2
= 0 ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6693 (char *) "self",(char *) "region", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6698 if (SWIG_arg_fail(1)) SWIG_fail
;
6700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6701 if (SWIG_arg_fail(2)) SWIG_fail
;
6703 SWIG_null_ref("wxRegion");
6705 if (SWIG_arg_fail(2)) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6723 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxRegion
*arg1
= (wxRegion
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6729 (char *) "self", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
6733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6734 if (SWIG_arg_fail(1)) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (bool)(arg1
)->IsEmpty();
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6751 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxRegion
*arg1
= (wxRegion
*) 0 ;
6759 PyObject
* obj0
= 0 ;
6760 PyObject
* obj1
= 0 ;
6761 PyObject
* obj2
= 0 ;
6762 PyObject
* obj3
= 0 ;
6763 PyObject
* obj4
= 0 ;
6765 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6770 if (SWIG_arg_fail(1)) SWIG_fail
;
6772 arg2
= (int)(SWIG_As_int(obj1
));
6773 if (SWIG_arg_fail(2)) SWIG_fail
;
6776 arg3
= (int)(SWIG_As_int(obj2
));
6777 if (SWIG_arg_fail(3)) SWIG_fail
;
6780 arg4
= (int)(SWIG_As_int(obj3
));
6781 if (SWIG_arg_fail(4)) SWIG_fail
;
6784 arg5
= (int)(SWIG_As_int(obj4
));
6785 if (SWIG_arg_fail(5)) SWIG_fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6803 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxRegion
*arg1
= (wxRegion
*) 0 ;
6809 PyObject
* obj0
= 0 ;
6810 PyObject
* obj1
= 0 ;
6812 (char *) "self",(char *) "rect", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6817 if (SWIG_arg_fail(1)) SWIG_fail
;
6820 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6838 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxRegion
*arg1
= (wxRegion
*) 0 ;
6841 wxRegion
*arg2
= 0 ;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6846 (char *) "self",(char *) "region", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6851 if (SWIG_arg_fail(1)) SWIG_fail
;
6853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6854 if (SWIG_arg_fail(2)) SWIG_fail
;
6856 SWIG_null_ref("wxRegion");
6858 if (SWIG_arg_fail(2)) SWIG_fail
;
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) SWIG_fail
;
6868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6876 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxRegion
*arg1
= (wxRegion
*) 0 ;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6886 PyObject
* obj2
= 0 ;
6887 PyObject
* obj3
= 0 ;
6888 PyObject
* obj4
= 0 ;
6890 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6895 if (SWIG_arg_fail(1)) SWIG_fail
;
6897 arg2
= (int)(SWIG_As_int(obj1
));
6898 if (SWIG_arg_fail(2)) SWIG_fail
;
6901 arg3
= (int)(SWIG_As_int(obj2
));
6902 if (SWIG_arg_fail(3)) SWIG_fail
;
6905 arg4
= (int)(SWIG_As_int(obj3
));
6906 if (SWIG_arg_fail(4)) SWIG_fail
;
6909 arg5
= (int)(SWIG_As_int(obj4
));
6910 if (SWIG_arg_fail(5)) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6928 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxRegion
*arg1
= (wxRegion
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6935 PyObject
* obj1
= 0 ;
6937 (char *) "self",(char *) "rect", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6942 if (SWIG_arg_fail(1)) SWIG_fail
;
6945 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6963 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxRegion
*arg1
= (wxRegion
*) 0 ;
6966 wxRegion
*arg2
= 0 ;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6971 (char *) "self",(char *) "region", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6976 if (SWIG_arg_fail(1)) SWIG_fail
;
6978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6979 if (SWIG_arg_fail(2)) SWIG_fail
;
6981 SWIG_null_ref("wxRegion");
6983 if (SWIG_arg_fail(2)) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7001 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxRegion
*arg1
= (wxRegion
*) 0 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 PyObject
* obj2
= 0 ;
7012 PyObject
* obj3
= 0 ;
7013 PyObject
* obj4
= 0 ;
7015 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7020 if (SWIG_arg_fail(1)) SWIG_fail
;
7022 arg2
= (int)(SWIG_As_int(obj1
));
7023 if (SWIG_arg_fail(2)) SWIG_fail
;
7026 arg3
= (int)(SWIG_As_int(obj2
));
7027 if (SWIG_arg_fail(3)) SWIG_fail
;
7030 arg4
= (int)(SWIG_As_int(obj3
));
7031 if (SWIG_arg_fail(4)) SWIG_fail
;
7034 arg5
= (int)(SWIG_As_int(obj4
));
7035 if (SWIG_arg_fail(5)) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7053 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxRegion
*arg1
= (wxRegion
*) 0 ;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7062 (char *) "self",(char *) "rect", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7067 if (SWIG_arg_fail(1)) SWIG_fail
;
7070 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7088 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxRegion
*arg1
= (wxRegion
*) 0 ;
7091 wxRegion
*arg2
= 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7096 (char *) "self",(char *) "region", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7101 if (SWIG_arg_fail(1)) SWIG_fail
;
7103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7104 if (SWIG_arg_fail(2)) SWIG_fail
;
7106 SWIG_null_ref("wxRegion");
7108 if (SWIG_arg_fail(2)) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7126 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
;
7128 wxRegion
*arg1
= (wxRegion
*) 0 ;
7129 SwigValueWrapper
<wxBitmap
> result
;
7130 PyObject
* obj0
= 0 ;
7132 (char *) "self", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7137 if (SWIG_arg_fail(1)) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (arg1
)->ConvertToBitmap();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7146 wxBitmap
* resultptr
;
7147 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7156 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxRegion
*arg1
= (wxRegion
*) 0 ;
7159 wxBitmap
*arg2
= 0 ;
7161 PyObject
* obj0
= 0 ;
7162 PyObject
* obj1
= 0 ;
7164 (char *) "self",(char *) "bmp", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7169 if (SWIG_arg_fail(1)) SWIG_fail
;
7171 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7172 if (SWIG_arg_fail(2)) SWIG_fail
;
7174 SWIG_null_ref("wxBitmap");
7176 if (SWIG_arg_fail(2)) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7194 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 wxRegion
*arg1
= (wxRegion
*) 0 ;
7197 wxBitmap
*arg2
= 0 ;
7198 wxColour
*arg3
= 0 ;
7199 int arg4
= (int) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7204 PyObject
* obj2
= 0 ;
7205 PyObject
* obj3
= 0 ;
7207 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7212 if (SWIG_arg_fail(1)) SWIG_fail
;
7214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7215 if (SWIG_arg_fail(2)) SWIG_fail
;
7217 SWIG_null_ref("wxBitmap");
7219 if (SWIG_arg_fail(2)) SWIG_fail
;
7223 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7227 arg4
= (int)(SWIG_As_int(obj3
));
7228 if (SWIG_arg_fail(4)) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7247 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7250 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7252 return Py_BuildValue((char *)"");
7254 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxRegion
*arg1
= 0 ;
7257 wxRegionIterator
*result
;
7258 PyObject
* obj0
= 0 ;
7260 (char *) "region", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7266 if (SWIG_arg_fail(1)) SWIG_fail
;
7268 SWIG_null_ref("wxRegion");
7270 if (SWIG_arg_fail(1)) SWIG_fail
;
7273 if (!wxPyCheckForApp()) SWIG_fail
;
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7287 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
;
7289 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7290 PyObject
* obj0
= 0 ;
7292 (char *) "self", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7297 if (SWIG_arg_fail(1)) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 Py_INCREF(Py_None
); resultobj
= Py_None
;
7312 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7316 PyObject
* obj0
= 0 ;
7318 (char *) "self", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7323 if (SWIG_arg_fail(1)) SWIG_fail
;
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 result
= (int)(arg1
)->GetX();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= SWIG_From_int((int)(result
));
7340 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7342 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7344 PyObject
* obj0
= 0 ;
7346 (char *) "self", NULL
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7351 if (SWIG_arg_fail(1)) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= (int)(arg1
)->GetY();
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_From_int((int)(result
));
7368 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7372 PyObject
* obj0
= 0 ;
7374 (char *) "self", NULL
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7379 if (SWIG_arg_fail(1)) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (int)(arg1
)->GetW();
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= SWIG_From_int((int)(result
));
7396 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7402 (char *) "self", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7407 if (SWIG_arg_fail(1)) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= (int)(arg1
)->GetWidth();
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= SWIG_From_int((int)(result
));
7424 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7430 (char *) "self", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7435 if (SWIG_arg_fail(1)) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (int)(arg1
)->GetH();
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= SWIG_From_int((int)(result
));
7452 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7458 (char *) "self", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7463 if (SWIG_arg_fail(1)) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 result
= (int)(arg1
)->GetHeight();
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= SWIG_From_int((int)(result
));
7480 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7484 PyObject
* obj0
= 0 ;
7486 (char *) "self", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
7490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7491 if (SWIG_arg_fail(1)) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (arg1
)->GetRect();
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7501 resultptr
= new wxRect((wxRect
&)(result
));
7502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7510 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7514 PyObject
* obj0
= 0 ;
7516 (char *) "self", NULL
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
7520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7521 if (SWIG_arg_fail(1)) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (bool)(arg1
)->HaveRects();
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7538 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7543 (char *) "self", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
7547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7548 if (SWIG_arg_fail(1)) SWIG_fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 Py_INCREF(Py_None
); resultobj
= Py_None
;
7563 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7566 PyObject
* obj0
= 0 ;
7568 (char *) "self", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
7572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7573 if (SWIG_arg_fail(1)) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 wxRegionIterator_Next(arg1
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 Py_INCREF(Py_None
); resultobj
= Py_None
;
7588 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7594 (char *) "self", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
7598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7599 if (SWIG_arg_fail(1)) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (bool)wxRegionIterator___nonzero__(arg1
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7616 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
7618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7619 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
7621 return Py_BuildValue((char *)"");
7623 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxNativeFontInfo
*result
;
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
7645 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "self", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
7654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7655 if (SWIG_arg_fail(1)) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7675 (char *) "self", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
7679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7680 if (SWIG_arg_fail(1)) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 Py_INCREF(Py_None
); resultobj
= Py_None
;
7695 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7699 PyObject
* obj0
= 0 ;
7700 PyObject
* obj1
= 0 ;
7702 (char *) "self",(char *) "font", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
7706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7707 if (SWIG_arg_fail(1)) SWIG_fail
;
7709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7710 if (SWIG_arg_fail(2)) SWIG_fail
;
7712 SWIG_null_ref("wxFont");
7714 if (SWIG_arg_fail(2)) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 Py_INCREF(Py_None
); resultobj
= Py_None
;
7730 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7736 (char *) "self", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
7740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7741 if (SWIG_arg_fail(1)) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= SWIG_From_int((int)(result
));
7758 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7764 (char *) "self", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
7768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7769 if (SWIG_arg_fail(1)) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_From_int((result
));
7784 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7787 wxFontWeight result
;
7788 PyObject
* obj0
= 0 ;
7790 (char *) "self", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
7794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7795 if (SWIG_arg_fail(1)) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_From_int((result
));
7810 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "self", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7838 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7870 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7873 wxFontFamily result
;
7874 PyObject
* obj0
= 0 ;
7876 (char *) "self", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
7880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7881 if (SWIG_arg_fail(1)) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_From_int((result
));
7896 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7899 wxFontEncoding result
;
7900 PyObject
* obj0
= 0 ;
7902 (char *) "self", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
7906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7907 if (SWIG_arg_fail(1)) SWIG_fail
;
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7915 resultobj
= SWIG_From_int((result
));
7922 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7924 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7926 PyObject
* obj0
= 0 ;
7927 PyObject
* obj1
= 0 ;
7929 (char *) "self",(char *) "pointsize", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7934 if (SWIG_arg_fail(1)) SWIG_fail
;
7936 arg2
= (int)(SWIG_As_int(obj1
));
7937 if (SWIG_arg_fail(2)) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 (arg1
)->SetPointSize(arg2
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 Py_INCREF(Py_None
); resultobj
= Py_None
;
7953 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7957 PyObject
* obj0
= 0 ;
7958 PyObject
* obj1
= 0 ;
7960 (char *) "self",(char *) "style", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7965 if (SWIG_arg_fail(1)) SWIG_fail
;
7967 arg2
= (wxFontStyle
)(SWIG_As_int(obj1
));
7968 if (SWIG_arg_fail(2)) SWIG_fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 (arg1
)->SetStyle((wxFontStyle
)arg2
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 Py_INCREF(Py_None
); resultobj
= Py_None
;
7984 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7991 (char *) "self",(char *) "weight", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7996 if (SWIG_arg_fail(1)) SWIG_fail
;
7998 arg2
= (wxFontWeight
)(SWIG_As_int(obj1
));
7999 if (SWIG_arg_fail(2)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 (arg1
)->SetWeight((wxFontWeight
)arg2
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 Py_INCREF(Py_None
); resultobj
= Py_None
;
8015 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8019 PyObject
* obj0
= 0 ;
8020 PyObject
* obj1
= 0 ;
8022 (char *) "self",(char *) "underlined", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8027 if (SWIG_arg_fail(1)) SWIG_fail
;
8029 arg2
= (bool)(SWIG_As_bool(obj1
));
8030 if (SWIG_arg_fail(2)) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 (arg1
)->SetUnderlined(arg2
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 Py_INCREF(Py_None
); resultobj
= Py_None
;
8046 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8050 PyObject
* obj0
= 0 ;
8051 PyObject
* obj1
= 0 ;
8053 (char *) "self",(char *) "facename", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8058 if (SWIG_arg_fail(1)) SWIG_fail
;
8060 wxString
* sptr
= wxString_in_helper(obj1
);
8061 if (sptr
== NULL
) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 (arg1
)->SetFaceName(arg2
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 Py_INCREF(Py_None
); resultobj
= Py_None
;
8079 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8086 (char *) "self",(char *) "family", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8091 if (SWIG_arg_fail(1)) SWIG_fail
;
8093 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
8094 if (SWIG_arg_fail(2)) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 (arg1
)->SetFamily((wxFontFamily
)arg2
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 Py_INCREF(Py_None
); resultobj
= Py_None
;
8110 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8113 wxFontEncoding arg2
;
8114 PyObject
* obj0
= 0 ;
8115 PyObject
* obj1
= 0 ;
8117 (char *) "self",(char *) "encoding", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8122 if (SWIG_arg_fail(1)) SWIG_fail
;
8124 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8125 if (SWIG_arg_fail(2)) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 Py_INCREF(Py_None
); resultobj
= Py_None
;
8141 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8144 wxString
*arg2
= 0 ;
8146 bool temp2
= false ;
8147 PyObject
* obj0
= 0 ;
8148 PyObject
* obj1
= 0 ;
8150 (char *) "self",(char *) "s", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail
;
8157 arg2
= wxString_in_helper(obj1
);
8158 if (arg2
== NULL
) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8185 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "self", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8196 if (SWIG_arg_fail(1)) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8217 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8221 PyObject
* obj0
= 0 ;
8223 (char *) "self", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8228 if (SWIG_arg_fail(1)) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= wxNativeFontInfo___str__(arg1
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8249 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
;
8251 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8252 wxString
*arg2
= 0 ;
8254 bool temp2
= false ;
8255 PyObject
* obj0
= 0 ;
8256 PyObject
* obj1
= 0 ;
8258 (char *) "self",(char *) "s", NULL
8261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
8262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8263 if (SWIG_arg_fail(1)) SWIG_fail
;
8265 arg2
= wxString_in_helper(obj1
);
8266 if (arg2
== NULL
) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8293 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8299 (char *) "self", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8304 if (SWIG_arg_fail(1)) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8325 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8328 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8330 return Py_BuildValue((char *)"");
8332 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8335 wxString
*arg2
= (wxString
*) 0 ;
8336 bool temp2
= false ;
8337 PyObject
* obj0
= 0 ;
8338 PyObject
* obj1
= 0 ;
8340 (char *) "self",(char *) "facename", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8345 if (SWIG_arg_fail(1)) SWIG_fail
;
8347 arg2
= wxString_in_helper(obj1
);
8348 if (arg2
== NULL
) SWIG_fail
;
8351 if (arg1
) (arg1
)->facename
= *arg2
;
8353 Py_INCREF(Py_None
); resultobj
= Py_None
;
8368 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8372 PyObject
* obj0
= 0 ;
8374 (char *) "self", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8379 if (SWIG_arg_fail(1)) SWIG_fail
;
8380 result
= (wxString
*)& ((arg1
)->facename
);
8384 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8386 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8395 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8398 wxFontEncoding arg2
;
8399 PyObject
* obj0
= 0 ;
8400 PyObject
* obj1
= 0 ;
8402 (char *) "self",(char *) "encoding", NULL
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8407 if (SWIG_arg_fail(1)) SWIG_fail
;
8409 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8410 if (SWIG_arg_fail(2)) SWIG_fail
;
8412 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
8414 Py_INCREF(Py_None
); resultobj
= Py_None
;
8421 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8424 wxFontEncoding result
;
8425 PyObject
* obj0
= 0 ;
8427 (char *) "self", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
8431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8432 if (SWIG_arg_fail(1)) SWIG_fail
;
8433 result
= (wxFontEncoding
) ((arg1
)->encoding
);
8435 resultobj
= SWIG_From_int((result
));
8442 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxNativeEncodingInfo
*result
;
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
8464 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "self", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
8473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8474 if (SWIG_arg_fail(1)) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 Py_INCREF(Py_None
); resultobj
= Py_None
;
8489 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8492 wxString
*arg2
= 0 ;
8494 bool temp2
= false ;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8498 (char *) "self",(char *) "s", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail
;
8505 arg2
= wxString_in_helper(obj1
);
8506 if (arg2
== NULL
) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8533 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8537 PyObject
* obj0
= 0 ;
8539 (char *) "self", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
8543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8544 if (SWIG_arg_fail(1)) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8565 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
8567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8568 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
8570 return Py_BuildValue((char *)"");
8572 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxFontEncoding arg1
;
8575 wxNativeEncodingInfo
*result
;
8576 PyObject
* obj0
= 0 ;
8578 (char *) "encoding", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
8583 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8584 if (SWIG_arg_fail(1)) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
8600 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxNativeEncodingInfo
*arg1
= 0 ;
8604 PyObject
* obj0
= 0 ;
8606 (char *) "info", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
8611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8612 if (SWIG_arg_fail(1)) SWIG_fail
;
8614 SWIG_null_ref("wxNativeEncodingInfo");
8616 if (SWIG_arg_fail(1)) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8634 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxFontMapper
*result
;
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 result
= (wxFontMapper
*)new wxFontMapper();
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
8656 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8658 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8659 PyObject
* obj0
= 0 ;
8661 (char *) "self", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
8665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8666 if (SWIG_arg_fail(1)) SWIG_fail
;
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8674 Py_INCREF(Py_None
); resultobj
= Py_None
;
8681 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxFontMapper
*result
;
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (wxFontMapper
*)wxFontMapper::Get();
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8703 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8706 wxFontMapper
*result
;
8707 PyObject
* obj0
= 0 ;
8709 (char *) "mapper", NULL
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
8713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8714 if (SWIG_arg_fail(1)) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8729 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8732 wxString
*arg2
= 0 ;
8733 bool arg3
= (bool) true ;
8734 wxFontEncoding result
;
8735 bool temp2
= false ;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8738 PyObject
* obj2
= 0 ;
8740 (char *) "self",(char *) "charset",(char *) "interactive", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8745 if (SWIG_arg_fail(1)) SWIG_fail
;
8747 arg2
= wxString_in_helper(obj1
);
8748 if (arg2
== NULL
) SWIG_fail
;
8753 arg3
= (bool)(SWIG_As_bool(obj2
));
8754 if (SWIG_arg_fail(3)) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= SWIG_From_int((result
));
8779 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
*resultobj
;
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8803 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8806 wxFontEncoding result
;
8807 PyObject
* obj0
= 0 ;
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
8814 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8815 if (SWIG_arg_fail(1)) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= SWIG_From_int((result
));
8831 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxFontEncoding arg1
;
8835 PyObject
* obj0
= 0 ;
8837 (char *) "encoding", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
8842 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8843 if (SWIG_arg_fail(1)) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8865 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxFontEncoding arg1
;
8869 PyObject
* obj0
= 0 ;
8871 (char *) "encoding", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
8876 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8877 if (SWIG_arg_fail(1)) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8899 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxString
*arg1
= 0 ;
8902 wxFontEncoding result
;
8903 bool temp1
= false ;
8904 PyObject
* obj0
= 0 ;
8906 (char *) "name", NULL
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
8911 arg1
= wxString_in_helper(obj0
);
8912 if (arg1
== NULL
) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8922 resultobj
= SWIG_From_int((result
));
8937 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8939 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8940 wxString
*arg2
= 0 ;
8941 bool temp2
= false ;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8945 (char *) "self",(char *) "prefix", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8950 if (SWIG_arg_fail(1)) SWIG_fail
;
8952 arg2
= wxString_in_helper(obj1
);
8953 if (arg2
== NULL
) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= wxFontMapper::GetDefaultConfigPath();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9006 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9008 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9009 wxFontEncoding arg2
;
9010 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9011 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9012 bool arg4
= (bool) true ;
9014 bool temp3
= false ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9017 PyObject
* obj2
= 0 ;
9018 PyObject
* obj3
= 0 ;
9020 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9025 if (SWIG_arg_fail(1)) SWIG_fail
;
9027 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9028 if (SWIG_arg_fail(2)) SWIG_fail
;
9032 arg3
= wxString_in_helper(obj2
);
9033 if (arg3
== NULL
) SWIG_fail
;
9039 arg4
= (bool)(SWIG_As_bool(obj3
));
9040 if (SWIG_arg_fail(4)) SWIG_fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9065 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
;
9067 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9068 wxFontEncoding arg2
;
9069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9072 bool temp3
= false ;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9075 PyObject
* obj2
= 0 ;
9077 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9082 if (SWIG_arg_fail(1)) SWIG_fail
;
9084 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9085 if (SWIG_arg_fail(2)) SWIG_fail
;
9089 arg3
= wxString_in_helper(obj2
);
9090 if (arg3
== NULL
) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9118 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9121 wxWindow
*arg2
= (wxWindow
*) 0 ;
9122 PyObject
* obj0
= 0 ;
9123 PyObject
* obj1
= 0 ;
9125 (char *) "self",(char *) "parent", NULL
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9130 if (SWIG_arg_fail(1)) SWIG_fail
;
9131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9132 if (SWIG_arg_fail(2)) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 (arg1
)->SetDialogParent(arg2
);
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 Py_INCREF(Py_None
); resultobj
= Py_None
;
9147 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9150 wxString
*arg2
= 0 ;
9151 bool temp2
= false ;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9155 (char *) "self",(char *) "title", NULL
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9160 if (SWIG_arg_fail(1)) SWIG_fail
;
9162 arg2
= wxString_in_helper(obj1
);
9163 if (arg2
== NULL
) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 Py_INCREF(Py_None
); resultobj
= Py_None
;
9188 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9191 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9193 return Py_BuildValue((char *)"");
9195 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9201 bool arg5
= (bool) false ;
9202 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9203 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9204 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9206 bool temp6
= false ;
9207 PyObject
* obj0
= 0 ;
9208 PyObject
* obj1
= 0 ;
9209 PyObject
* obj2
= 0 ;
9210 PyObject
* obj3
= 0 ;
9211 PyObject
* obj4
= 0 ;
9212 PyObject
* obj5
= 0 ;
9213 PyObject
* obj6
= 0 ;
9215 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9220 arg1
= (int)(SWIG_As_int(obj0
));
9221 if (SWIG_arg_fail(1)) SWIG_fail
;
9224 arg2
= (int)(SWIG_As_int(obj1
));
9225 if (SWIG_arg_fail(2)) SWIG_fail
;
9228 arg3
= (int)(SWIG_As_int(obj2
));
9229 if (SWIG_arg_fail(3)) SWIG_fail
;
9232 arg4
= (int)(SWIG_As_int(obj3
));
9233 if (SWIG_arg_fail(4)) SWIG_fail
;
9237 arg5
= (bool)(SWIG_As_bool(obj4
));
9238 if (SWIG_arg_fail(5)) SWIG_fail
;
9243 arg6
= wxString_in_helper(obj5
);
9244 if (arg6
== NULL
) SWIG_fail
;
9250 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9251 if (SWIG_arg_fail(7)) SWIG_fail
;
9255 if (!wxPyCheckForApp()) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9277 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
;
9279 wxFont
*arg1
= (wxFont
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9282 (char *) "self", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
9286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9287 if (SWIG_arg_fail(1)) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 Py_INCREF(Py_None
); resultobj
= Py_None
;
9302 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxNativeFontInfo
*arg1
= 0 ;
9306 PyObject
* obj0
= 0 ;
9308 (char *) "info", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail
;
9316 SWIG_null_ref("wxNativeFontInfo");
9318 if (SWIG_arg_fail(1)) SWIG_fail
;
9321 if (!wxPyCheckForApp()) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9335 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxString
*arg1
= 0 ;
9339 bool temp1
= false ;
9340 PyObject
* obj0
= 0 ;
9342 (char *) "info", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9347 arg1
= wxString_in_helper(obj0
);
9348 if (arg1
== NULL
) SWIG_fail
;
9352 if (!wxPyCheckForApp()) SWIG_fail
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9374 static PyObject
*_wrap_new_FFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9378 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9379 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9380 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9381 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9383 bool temp4
= false ;
9384 PyObject
* obj0
= 0 ;
9385 PyObject
* obj1
= 0 ;
9386 PyObject
* obj2
= 0 ;
9387 PyObject
* obj3
= 0 ;
9388 PyObject
* obj4
= 0 ;
9390 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9395 arg1
= (int)(SWIG_As_int(obj0
));
9396 if (SWIG_arg_fail(1)) SWIG_fail
;
9399 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9400 if (SWIG_arg_fail(2)) SWIG_fail
;
9404 arg3
= (int)(SWIG_As_int(obj2
));
9405 if (SWIG_arg_fail(3)) SWIG_fail
;
9410 arg4
= wxString_in_helper(obj3
);
9411 if (arg4
== NULL
) SWIG_fail
;
9417 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
9418 if (SWIG_arg_fail(5)) SWIG_fail
;
9422 if (!wxPyCheckForApp()) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9444 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
;
9450 bool arg5
= (bool) false ;
9451 wxString
const &arg6_defvalue
= wxEmptyString
;
9452 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9453 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9456 bool temp6
= false ;
9457 PyObject
* obj0
= 0 ;
9458 PyObject
* obj1
= 0 ;
9459 PyObject
* obj2
= 0 ;
9460 PyObject
* obj3
= 0 ;
9461 PyObject
* obj4
= 0 ;
9462 PyObject
* obj5
= 0 ;
9463 PyObject
* obj6
= 0 ;
9465 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9471 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9474 arg2
= (int)(SWIG_As_int(obj1
));
9475 if (SWIG_arg_fail(2)) SWIG_fail
;
9478 arg3
= (int)(SWIG_As_int(obj2
));
9479 if (SWIG_arg_fail(3)) SWIG_fail
;
9482 arg4
= (int)(SWIG_As_int(obj3
));
9483 if (SWIG_arg_fail(4)) SWIG_fail
;
9487 arg5
= (bool)(SWIG_As_bool(obj4
));
9488 if (SWIG_arg_fail(5)) SWIG_fail
;
9493 arg6
= wxString_in_helper(obj5
);
9494 if (arg6
== NULL
) SWIG_fail
;
9500 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9501 if (SWIG_arg_fail(7)) SWIG_fail
;
9505 if (!wxPyCheckForApp()) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9527 static PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
;
9531 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9532 wxString
const &arg4_defvalue
= wxEmptyString
;
9533 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9534 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9537 bool temp4
= false ;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9540 PyObject
* obj2
= 0 ;
9541 PyObject
* obj3
= 0 ;
9542 PyObject
* obj4
= 0 ;
9544 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9550 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9553 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9554 if (SWIG_arg_fail(2)) SWIG_fail
;
9558 arg3
= (int)(SWIG_As_int(obj2
));
9559 if (SWIG_arg_fail(3)) SWIG_fail
;
9564 arg4
= wxString_in_helper(obj3
);
9565 if (arg4
== NULL
) SWIG_fail
;
9571 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
9572 if (SWIG_arg_fail(5)) SWIG_fail
;
9576 if (!wxPyCheckForApp()) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9598 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxFont
*arg1
= (wxFont
*) 0 ;
9602 PyObject
* obj0
= 0 ;
9604 (char *) "self", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
9608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9609 if (SWIG_arg_fail(1)) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 result
= (bool)((wxFont
const *)arg1
)->Ok();
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9626 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxFont
*arg1
= (wxFont
*) 0 ;
9629 wxFont
*arg2
= (wxFont
*) 0 ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9634 (char *) "self",(char *) "other", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9639 if (SWIG_arg_fail(1)) SWIG_fail
;
9640 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9641 if (SWIG_arg_fail(2)) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9658 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxFont
*arg1
= (wxFont
*) 0 ;
9661 wxFont
*arg2
= (wxFont
*) 0 ;
9663 PyObject
* obj0
= 0 ;
9664 PyObject
* obj1
= 0 ;
9666 (char *) "self",(char *) "other", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9671 if (SWIG_arg_fail(1)) SWIG_fail
;
9672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9673 if (SWIG_arg_fail(2)) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9690 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
;
9692 wxFont
*arg1
= (wxFont
*) 0 ;
9694 PyObject
* obj0
= 0 ;
9696 (char *) "self", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
9700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9701 if (SWIG_arg_fail(1)) SWIG_fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= SWIG_From_int((int)(result
));
9718 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxFont
*arg1
= (wxFont
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9724 (char *) "self", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
9728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9729 if (SWIG_arg_fail(1)) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 result
= ((wxFont
const *)arg1
)->GetPixelSize();
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9739 resultptr
= new wxSize((wxSize
&)(result
));
9740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9748 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxFont
*arg1
= (wxFont
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9754 (char *) "self", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
9758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9759 if (SWIG_arg_fail(1)) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9776 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxFont
*arg1
= (wxFont
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9782 (char *) "self", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
9786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9787 if (SWIG_arg_fail(1)) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (int)((wxFont
const *)arg1
)->GetFamily();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_From_int((int)(result
));
9804 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxFont
*arg1
= (wxFont
*) 0 ;
9808 PyObject
* obj0
= 0 ;
9810 (char *) "self", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
9814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9815 if (SWIG_arg_fail(1)) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 result
= (int)((wxFont
const *)arg1
)->GetStyle();
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_From_int((int)(result
));
9832 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
;
9834 wxFont
*arg1
= (wxFont
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9838 (char *) "self", NULL
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
9842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9843 if (SWIG_arg_fail(1)) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (int)((wxFont
const *)arg1
)->GetWeight();
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_From_int((int)(result
));
9860 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxFont
*arg1
= (wxFont
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
9870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9871 if (SWIG_arg_fail(1)) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9888 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxFont
*arg1
= (wxFont
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "self", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
9898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9899 if (SWIG_arg_fail(1)) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= ((wxFont
const *)arg1
)->GetFaceName();
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9920 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
;
9922 wxFont
*arg1
= (wxFont
*) 0 ;
9923 wxFontEncoding result
;
9924 PyObject
* obj0
= 0 ;
9926 (char *) "self", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
9930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9931 if (SWIG_arg_fail(1)) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= SWIG_From_int((result
));
9946 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxFont
*arg1
= (wxFont
*) 0 ;
9949 wxNativeFontInfo
*result
;
9950 PyObject
* obj0
= 0 ;
9952 (char *) "self", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
9956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9957 if (SWIG_arg_fail(1)) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
9972 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxFont
*arg1
= (wxFont
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "self", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
9982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9983 if (SWIG_arg_fail(1)) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10000 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxFont
*arg1
= (wxFont
*) 0 ;
10004 PyObject
* obj0
= 0 ;
10005 char *kwnames
[] = {
10006 (char *) "self", NULL
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
10010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10011 if (SWIG_arg_fail(1)) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10032 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxFont
*arg1
= (wxFont
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
10042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10043 if (SWIG_arg_fail(1)) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10064 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxFont
*arg1
= (wxFont
*) 0 ;
10068 PyObject
* obj0
= 0 ;
10069 PyObject
* obj1
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self",(char *) "pointSize", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10076 if (SWIG_arg_fail(1)) SWIG_fail
;
10078 arg2
= (int)(SWIG_As_int(obj1
));
10079 if (SWIG_arg_fail(2)) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 (arg1
)->SetPointSize(arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 Py_INCREF(Py_None
); resultobj
= Py_None
;
10095 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
;
10097 wxFont
*arg1
= (wxFont
*) 0 ;
10100 PyObject
* obj0
= 0 ;
10101 PyObject
* obj1
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "self",(char *) "pixelSize", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10108 if (SWIG_arg_fail(1)) SWIG_fail
;
10111 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxFont
*arg1
= (wxFont
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self",(char *) "family", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10139 if (SWIG_arg_fail(1)) SWIG_fail
;
10141 arg2
= (int)(SWIG_As_int(obj1
));
10142 if (SWIG_arg_fail(2)) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 (arg1
)->SetFamily(arg2
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 Py_INCREF(Py_None
); resultobj
= Py_None
;
10158 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxFont
*arg1
= (wxFont
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj1
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self",(char *) "style", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10170 if (SWIG_arg_fail(1)) SWIG_fail
;
10172 arg2
= (int)(SWIG_As_int(obj1
));
10173 if (SWIG_arg_fail(2)) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 (arg1
)->SetStyle(arg2
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 Py_INCREF(Py_None
); resultobj
= Py_None
;
10189 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxFont
*arg1
= (wxFont
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self",(char *) "weight", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail
;
10203 arg2
= (int)(SWIG_As_int(obj1
));
10204 if (SWIG_arg_fail(2)) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 (arg1
)->SetWeight(arg2
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 Py_INCREF(Py_None
); resultobj
= Py_None
;
10220 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxFont
*arg1
= (wxFont
*) 0 ;
10223 wxString
*arg2
= 0 ;
10224 bool temp2
= false ;
10225 PyObject
* obj0
= 0 ;
10226 PyObject
* obj1
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self",(char *) "faceName", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10233 if (SWIG_arg_fail(1)) SWIG_fail
;
10235 arg2
= wxString_in_helper(obj1
);
10236 if (arg2
== NULL
) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 Py_INCREF(Py_None
); resultobj
= Py_None
;
10261 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxFont
*arg1
= (wxFont
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 PyObject
* obj1
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self",(char *) "underlined", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10273 if (SWIG_arg_fail(1)) SWIG_fail
;
10275 arg2
= (bool)(SWIG_As_bool(obj1
));
10276 if (SWIG_arg_fail(2)) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 (arg1
)->SetUnderlined(arg2
);
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 Py_INCREF(Py_None
); resultobj
= Py_None
;
10292 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxFont
*arg1
= (wxFont
*) 0 ;
10295 wxFontEncoding arg2
;
10296 PyObject
* obj0
= 0 ;
10297 PyObject
* obj1
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "self",(char *) "encoding", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10304 if (SWIG_arg_fail(1)) SWIG_fail
;
10306 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10307 if (SWIG_arg_fail(2)) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 Py_INCREF(Py_None
); resultobj
= Py_None
;
10323 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxFont
*arg1
= (wxFont
*) 0 ;
10326 wxNativeFontInfo
*arg2
= 0 ;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self",(char *) "info", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10335 if (SWIG_arg_fail(1)) SWIG_fail
;
10337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10338 if (SWIG_arg_fail(2)) SWIG_fail
;
10339 if (arg2
== NULL
) {
10340 SWIG_null_ref("wxNativeFontInfo");
10342 if (SWIG_arg_fail(2)) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 Py_INCREF(Py_None
); resultobj
= Py_None
;
10358 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxFont
*arg1
= (wxFont
*) 0 ;
10361 wxString
*arg2
= 0 ;
10362 bool temp2
= false ;
10363 PyObject
* obj0
= 0 ;
10364 PyObject
* obj1
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self",(char *) "info", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10371 if (SWIG_arg_fail(1)) SWIG_fail
;
10373 arg2
= wxString_in_helper(obj1
);
10374 if (arg2
== NULL
) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 Py_INCREF(Py_None
); resultobj
= Py_None
;
10399 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxFont
*arg1
= (wxFont
*) 0 ;
10402 wxString
*arg2
= 0 ;
10403 bool temp2
= false ;
10404 PyObject
* obj0
= 0 ;
10405 PyObject
* obj1
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self",(char *) "info", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10412 if (SWIG_arg_fail(1)) SWIG_fail
;
10414 arg2
= wxString_in_helper(obj1
);
10415 if (arg2
== NULL
) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 Py_INCREF(Py_None
); resultobj
= Py_None
;
10440 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxFont
*arg1
= (wxFont
*) 0 ;
10444 PyObject
* obj0
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
10450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 result
= ((wxFont
const *)arg1
)->GetFamilyString();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10472 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxFont
*arg1
= (wxFont
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
10482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10483 if (SWIG_arg_fail(1)) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 result
= ((wxFont
const *)arg1
)->GetStyleString();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10504 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxFont
*arg1
= (wxFont
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
10514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10515 if (SWIG_arg_fail(1)) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= ((wxFont
const *)arg1
)->GetWeightString();
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10536 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxFont
*arg1
= (wxFont
*) 0 ;
10539 bool arg2
= (bool) true ;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj1
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self",(char *) "no", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
10547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10548 if (SWIG_arg_fail(1)) SWIG_fail
;
10551 arg2
= (bool)(SWIG_As_bool(obj1
));
10552 if (SWIG_arg_fail(2)) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 (arg1
)->SetNoAntiAliasing(arg2
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 Py_INCREF(Py_None
); resultobj
= Py_None
;
10569 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10571 wxFont
*arg1
= (wxFont
*) 0 ;
10573 PyObject
* obj0
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
10579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10580 if (SWIG_arg_fail(1)) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10597 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxFontEncoding result
;
10600 char *kwnames
[] = {
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
10606 if (!wxPyCheckForApp()) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= SWIG_From_int((result
));
10620 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxFontEncoding arg1
;
10623 PyObject
* obj0
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "encoding", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
10630 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
10631 if (SWIG_arg_fail(1)) SWIG_fail
;
10634 if (!wxPyCheckForApp()) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 Py_INCREF(Py_None
); resultobj
= Py_None
;
10648 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
10650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10651 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
10653 return Py_BuildValue((char *)"");
10655 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxPyFontEnumerator
*result
;
10658 char *kwnames
[] = {
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
10664 if (!wxPyCheckForApp()) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
10678 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10680 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 char *kwnames
[] = {
10683 (char *) "self", NULL
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
10687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10688 if (SWIG_arg_fail(1)) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 Py_INCREF(Py_None
); resultobj
= Py_None
;
10703 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10706 PyObject
*arg2
= (PyObject
*) 0 ;
10707 PyObject
*arg3
= (PyObject
*) 0 ;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 PyObject
* obj2
= 0 ;
10712 PyObject
* obj3
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10719 if (SWIG_arg_fail(1)) SWIG_fail
;
10723 arg4
= (bool)(SWIG_As_bool(obj3
));
10724 if (SWIG_arg_fail(4)) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 Py_INCREF(Py_None
); resultobj
= Py_None
;
10740 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10743 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
10744 bool arg3
= (bool) false ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 PyObject
* obj2
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10755 if (SWIG_arg_fail(1)) SWIG_fail
;
10758 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10759 if (SWIG_arg_fail(2)) SWIG_fail
;
10764 arg3
= (bool)(SWIG_As_bool(obj2
));
10765 if (SWIG_arg_fail(3)) SWIG_fail
;
10769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10770 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10784 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10787 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10788 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10790 bool temp2
= false ;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self",(char *) "facename", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
10798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10799 if (SWIG_arg_fail(1)) SWIG_fail
;
10802 arg2
= wxString_in_helper(obj1
);
10803 if (arg2
== NULL
) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10831 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10835 PyObject
* obj0
= 0 ;
10836 char *kwnames
[] = {
10837 (char *) "self", NULL
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
10841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10842 if (SWIG_arg_fail(1)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= result
;
10857 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10859 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10861 PyObject
* obj0
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "self", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
10867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10868 if (SWIG_arg_fail(1)) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= result
;
10883 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
10885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10886 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
10888 return Py_BuildValue((char *)"");
10890 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
;
10892 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "self",(char *) "Language", NULL
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10902 if (SWIG_arg_fail(1)) SWIG_fail
;
10904 arg2
= (int)(SWIG_As_int(obj1
));
10905 if (SWIG_arg_fail(2)) SWIG_fail
;
10907 if (arg1
) (arg1
)->Language
= arg2
;
10909 Py_INCREF(Py_None
); resultobj
= Py_None
;
10916 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
;
10918 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10920 PyObject
* obj0
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "self", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
10926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10927 if (SWIG_arg_fail(1)) SWIG_fail
;
10928 result
= (int) ((arg1
)->Language
);
10931 resultobj
= SWIG_From_int((int)(result
));
10939 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10942 wxString
*arg2
= (wxString
*) 0 ;
10943 bool temp2
= false ;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self",(char *) "CanonicalName", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10952 if (SWIG_arg_fail(1)) SWIG_fail
;
10954 arg2
= wxString_in_helper(obj1
);
10955 if (arg2
== NULL
) SWIG_fail
;
10958 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
10960 Py_INCREF(Py_None
); resultobj
= Py_None
;
10975 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10979 PyObject
* obj0
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
10985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10986 if (SWIG_arg_fail(1)) SWIG_fail
;
10987 result
= (wxString
*)& ((arg1
)->CanonicalName
);
10991 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10993 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11002 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11005 wxString
*arg2
= (wxString
*) 0 ;
11006 bool temp2
= false ;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self",(char *) "Description", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11015 if (SWIG_arg_fail(1)) SWIG_fail
;
11017 arg2
= wxString_in_helper(obj1
);
11018 if (arg2
== NULL
) SWIG_fail
;
11021 if (arg1
) (arg1
)->Description
= *arg2
;
11023 Py_INCREF(Py_None
); resultobj
= Py_None
;
11038 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11042 PyObject
* obj0
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
11048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail
;
11050 result
= (wxString
*)& ((arg1
)->Description
);
11054 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11056 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11065 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
11067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11068 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
11070 return Py_BuildValue((char *)"");
11072 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 int arg1
= (int) -1 ;
11075 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 char *kwnames
[] = {
11080 (char *) "language",(char *) "flags", NULL
11083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
11086 arg1
= (int)(SWIG_As_int(obj0
));
11087 if (SWIG_arg_fail(1)) SWIG_fail
;
11092 arg2
= (int)(SWIG_As_int(obj1
));
11093 if (SWIG_arg_fail(2)) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11110 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxLocale
*arg1
= (wxLocale
*) 0 ;
11113 PyObject
* obj0
= 0 ;
11114 char *kwnames
[] = {
11115 (char *) "self", NULL
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11120 if (SWIG_arg_fail(1)) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 Py_INCREF(Py_None
); resultobj
= Py_None
;
11135 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxLocale
*arg1
= (wxLocale
*) 0 ;
11138 wxString
*arg2
= 0 ;
11139 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11140 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11141 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11142 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11143 bool arg5
= (bool) true ;
11144 bool arg6
= (bool) false ;
11146 bool temp2
= false ;
11147 bool temp3
= false ;
11148 bool temp4
= false ;
11149 PyObject
* obj0
= 0 ;
11150 PyObject
* obj1
= 0 ;
11151 PyObject
* obj2
= 0 ;
11152 PyObject
* obj3
= 0 ;
11153 PyObject
* obj4
= 0 ;
11154 PyObject
* obj5
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11161 if (SWIG_arg_fail(1)) SWIG_fail
;
11163 arg2
= wxString_in_helper(obj1
);
11164 if (arg2
== NULL
) SWIG_fail
;
11169 arg3
= wxString_in_helper(obj2
);
11170 if (arg3
== NULL
) SWIG_fail
;
11176 arg4
= wxString_in_helper(obj3
);
11177 if (arg4
== NULL
) SWIG_fail
;
11183 arg5
= (bool)(SWIG_As_bool(obj4
));
11184 if (SWIG_arg_fail(5)) SWIG_fail
;
11189 arg6
= (bool)(SWIG_As_bool(obj5
));
11190 if (SWIG_arg_fail(6)) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11233 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxLocale
*arg1
= (wxLocale
*) 0 ;
11236 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11237 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11239 PyObject
* obj0
= 0 ;
11240 PyObject
* obj1
= 0 ;
11241 PyObject
* obj2
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self",(char *) "language",(char *) "flags", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11248 if (SWIG_arg_fail(1)) SWIG_fail
;
11251 arg2
= (int)(SWIG_As_int(obj1
));
11252 if (SWIG_arg_fail(2)) SWIG_fail
;
11257 arg3
= (int)(SWIG_As_int(obj2
));
11258 if (SWIG_arg_fail(3)) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11277 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11280 char *kwnames
[] = {
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (int)wxLocale::GetSystemLanguage();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11293 resultobj
= SWIG_From_int((int)(result
));
11301 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxFontEncoding result
;
11304 char *kwnames
[] = {
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= SWIG_From_int((result
));
11323 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11326 char *kwnames
[] = {
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= wxLocale::GetSystemEncodingName();
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11351 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
;
11353 wxLocale
*arg1
= (wxLocale
*) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
11361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11362 if (SWIG_arg_fail(1)) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11379 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxLocale
*arg1
= (wxLocale
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
11389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11390 if (SWIG_arg_fail(1)) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= ((wxLocale
const *)arg1
)->GetLocale();
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11411 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 wxLocale
*arg1
= (wxLocale
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "self", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
11421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11422 if (SWIG_arg_fail(1)) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= SWIG_From_int((int)(result
));
11439 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxLocale
*arg1
= (wxLocale
*) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 char *kwnames
[] = {
11445 (char *) "self", NULL
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
11449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11450 if (SWIG_arg_fail(1)) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= ((wxLocale
const *)arg1
)->GetSysName();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11471 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxLocale
*arg1
= (wxLocale
*) 0 ;
11475 PyObject
* obj0
= 0 ;
11476 char *kwnames
[] = {
11477 (char *) "self", NULL
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
11481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11482 if (SWIG_arg_fail(1)) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11503 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxString
*arg1
= 0 ;
11506 bool temp1
= false ;
11507 PyObject
* obj0
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "prefix", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
11514 arg1
= wxString_in_helper(obj0
);
11515 if (arg1
== NULL
) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 Py_INCREF(Py_None
); resultobj
= Py_None
;
11540 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxLocale
*arg1
= (wxLocale
*) 0 ;
11543 wxString
*arg2
= 0 ;
11545 bool temp2
= false ;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self",(char *) "szDomain", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
11553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11554 if (SWIG_arg_fail(1)) SWIG_fail
;
11556 arg2
= wxString_in_helper(obj1
);
11557 if (arg2
== NULL
) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11584 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
;
11586 wxLocale
*arg1
= (wxLocale
*) 0 ;
11587 wxString
*arg2
= 0 ;
11589 bool temp2
= false ;
11590 PyObject
* obj0
= 0 ;
11591 PyObject
* obj1
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self",(char *) "szDomain", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
11597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11598 if (SWIG_arg_fail(1)) SWIG_fail
;
11600 arg2
= wxString_in_helper(obj1
);
11601 if (arg2
== NULL
) SWIG_fail
;
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11628 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11629 PyObject
*resultobj
;
11631 wxLanguageInfo
*result
;
11632 PyObject
* obj0
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "lang", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
11639 arg1
= (int)(SWIG_As_int(obj0
));
11640 if (SWIG_arg_fail(1)) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11656 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11660 PyObject
* obj0
= 0 ;
11661 char *kwnames
[] = {
11662 (char *) "lang", NULL
11665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
11667 arg1
= (int)(SWIG_As_int(obj0
));
11668 if (SWIG_arg_fail(1)) SWIG_fail
;
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= wxLocale::GetLanguageName(arg1
);
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11690 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxString
*arg1
= 0 ;
11693 wxLanguageInfo
*result
;
11694 bool temp1
= false ;
11695 PyObject
* obj0
= 0 ;
11696 char *kwnames
[] = {
11697 (char *) "locale", NULL
11700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
11702 arg1
= wxString_in_helper(obj0
);
11703 if (arg1
== NULL
) SWIG_fail
;
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11728 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxLanguageInfo
*arg1
= 0 ;
11731 PyObject
* obj0
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "info", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
11738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11739 if (SWIG_arg_fail(1)) SWIG_fail
;
11740 if (arg1
== NULL
) {
11741 SWIG_null_ref("wxLanguageInfo");
11743 if (SWIG_arg_fail(1)) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 Py_INCREF(Py_None
); resultobj
= Py_None
;
11759 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxLocale
*arg1
= (wxLocale
*) 0 ;
11762 wxString
*arg2
= 0 ;
11763 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11764 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11766 bool temp2
= false ;
11767 bool temp3
= false ;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 PyObject
* obj2
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11777 if (SWIG_arg_fail(1)) SWIG_fail
;
11779 arg2
= wxString_in_helper(obj1
);
11780 if (arg2
== NULL
) SWIG_fail
;
11785 arg3
= wxString_in_helper(obj2
);
11786 if (arg3
== NULL
) SWIG_fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11826 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxLocale
*arg1
= (wxLocale
*) 0 ;
11830 PyObject
* obj0
= 0 ;
11831 char *kwnames
[] = {
11832 (char *) "self", NULL
11835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
11836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11837 if (SWIG_arg_fail(1)) SWIG_fail
;
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
11842 result
= (wxString
*) &_result_ref
;
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11861 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
11863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11864 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
11866 return Py_BuildValue((char *)"");
11868 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
;
11871 char *kwnames
[] = {
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (wxLocale
*)wxGetLocale();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
11890 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
11891 PyObject
*resultobj
;
11892 wxString
*arg1
= 0 ;
11894 bool temp1
= false ;
11895 PyObject
* obj0
= 0 ;
11897 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
11899 arg1
= wxString_in_helper(obj0
);
11900 if (arg1
== NULL
) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= wxGetTranslation((wxString
const &)*arg1
);
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11931 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
11932 PyObject
*resultobj
;
11933 wxString
*arg1
= 0 ;
11934 wxString
*arg2
= 0 ;
11937 bool temp1
= false ;
11938 bool temp2
= false ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 PyObject
* obj2
= 0 ;
11943 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
11945 arg1
= wxString_in_helper(obj0
);
11946 if (arg1
== NULL
) SWIG_fail
;
11950 arg2
= wxString_in_helper(obj1
);
11951 if (arg2
== NULL
) SWIG_fail
;
11955 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11956 if (SWIG_arg_fail(3)) SWIG_fail
;
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11994 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
11999 argc
= PyObject_Length(args
);
12000 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
12001 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12006 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12009 return _wrap_GetTranslation__SWIG_0(self
,args
);
12015 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12019 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
12022 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
12024 return _wrap_GetTranslation__SWIG_1(self
,args
);
12030 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
12035 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxEncodingConverter
*result
;
12038 char *kwnames
[] = {
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (wxEncodingConverter
*)new wxEncodingConverter();
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
12057 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12060 PyObject
* obj0
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
12066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12067 if (SWIG_arg_fail(1)) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 Py_INCREF(Py_None
); resultobj
= Py_None
;
12082 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12085 wxFontEncoding arg2
;
12086 wxFontEncoding arg3
;
12087 int arg4
= (int) wxCONVERT_STRICT
;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 PyObject
* obj2
= 0 ;
12092 PyObject
* obj3
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12099 if (SWIG_arg_fail(1)) SWIG_fail
;
12101 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12102 if (SWIG_arg_fail(2)) SWIG_fail
;
12105 arg3
= (wxFontEncoding
)(SWIG_As_int(obj2
));
12106 if (SWIG_arg_fail(3)) SWIG_fail
;
12110 arg4
= (int)(SWIG_As_int(obj3
));
12111 if (SWIG_arg_fail(4)) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12130 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12133 wxString
*arg2
= 0 ;
12135 bool temp2
= false ;
12136 PyObject
* obj0
= 0 ;
12137 PyObject
* obj1
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "input", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail
;
12146 arg2
= wxString_in_helper(obj1
);
12147 if (arg2
== NULL
) SWIG_fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12178 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxFontEncoding arg1
;
12181 int arg2
= (int) wxPLATFORM_CURRENT
;
12182 wxFontEncodingArray result
;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "enc",(char *) "platform", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12191 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12192 if (SWIG_arg_fail(1)) SWIG_fail
;
12196 arg2
= (int)(SWIG_As_int(obj1
));
12197 if (SWIG_arg_fail(2)) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= PyList_New(0);
12209 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12210 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12211 PyList_Append(resultobj
, number
);
12221 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
;
12223 wxFontEncoding arg1
;
12224 wxFontEncodingArray result
;
12225 PyObject
* obj0
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "enc", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12232 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12233 if (SWIG_arg_fail(1)) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= PyList_New(0);
12244 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12245 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12246 PyList_Append(resultobj
, number
);
12256 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxFontEncoding arg1
;
12259 wxFontEncoding arg2
;
12261 PyObject
* obj0
= 0 ;
12262 PyObject
* obj1
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "encIn",(char *) "encOut", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12269 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12270 if (SWIG_arg_fail(1)) SWIG_fail
;
12273 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12274 if (SWIG_arg_fail(2)) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12292 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12295 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12297 return Py_BuildValue((char *)"");
12299 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxDC
*arg1
= (wxDC
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
12308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12309 if (SWIG_arg_fail(1)) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 Py_INCREF(Py_None
); resultobj
= Py_None
;
12324 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxDC
*arg1
= (wxDC
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 (arg1
)->BeginDrawing();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 Py_INCREF(Py_None
); resultobj
= Py_None
;
12349 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxDC
*arg1
= (wxDC
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12359 if (SWIG_arg_fail(1)) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 (arg1
)->EndDrawing();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 Py_INCREF(Py_None
); resultobj
= Py_None
;
12374 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxDC
*arg1
= (wxDC
*) 0 ;
12379 wxColour
*arg4
= 0 ;
12380 int arg5
= (int) wxFLOOD_SURFACE
;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 PyObject
* obj2
= 0 ;
12386 PyObject
* obj3
= 0 ;
12387 PyObject
* obj4
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12394 if (SWIG_arg_fail(1)) SWIG_fail
;
12396 arg2
= (int)(SWIG_As_int(obj1
));
12397 if (SWIG_arg_fail(2)) SWIG_fail
;
12400 arg3
= (int)(SWIG_As_int(obj2
));
12401 if (SWIG_arg_fail(3)) SWIG_fail
;
12405 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12409 arg5
= (int)(SWIG_As_int(obj4
));
12410 if (SWIG_arg_fail(5)) SWIG_fail
;
12414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12415 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12429 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxDC
*arg1
= (wxDC
*) 0 ;
12432 wxPoint
*arg2
= 0 ;
12433 wxColour
*arg3
= 0 ;
12434 int arg4
= (int) wxFLOOD_SURFACE
;
12438 PyObject
* obj0
= 0 ;
12439 PyObject
* obj1
= 0 ;
12440 PyObject
* obj2
= 0 ;
12441 PyObject
* obj3
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12448 if (SWIG_arg_fail(1)) SWIG_fail
;
12451 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12455 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12459 arg4
= (int)(SWIG_As_int(obj3
));
12460 if (SWIG_arg_fail(4)) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12479 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxDC
*arg1
= (wxDC
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 PyObject
* obj1
= 0 ;
12487 PyObject
* obj2
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self",(char *) "x",(char *) "y", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12494 if (SWIG_arg_fail(1)) SWIG_fail
;
12496 arg2
= (int)(SWIG_As_int(obj1
));
12497 if (SWIG_arg_fail(2)) SWIG_fail
;
12500 arg3
= (int)(SWIG_As_int(obj2
));
12501 if (SWIG_arg_fail(3)) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12511 wxColour
* resultptr
;
12512 resultptr
= new wxColour((wxColour
&)(result
));
12513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12521 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxDC
*arg1
= (wxDC
*) 0 ;
12524 wxPoint
*arg2
= 0 ;
12527 PyObject
* obj0
= 0 ;
12528 PyObject
* obj1
= 0 ;
12529 char *kwnames
[] = {
12530 (char *) "self",(char *) "pt", NULL
12533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12535 if (SWIG_arg_fail(1)) SWIG_fail
;
12538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12548 wxColour
* resultptr
;
12549 resultptr
= new wxColour((wxColour
&)(result
));
12550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12558 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxDC
*arg1
= (wxDC
*) 0 ;
12565 PyObject
* obj0
= 0 ;
12566 PyObject
* obj1
= 0 ;
12567 PyObject
* obj2
= 0 ;
12568 PyObject
* obj3
= 0 ;
12569 PyObject
* obj4
= 0 ;
12570 char *kwnames
[] = {
12571 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
12574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12576 if (SWIG_arg_fail(1)) SWIG_fail
;
12578 arg2
= (int)(SWIG_As_int(obj1
));
12579 if (SWIG_arg_fail(2)) SWIG_fail
;
12582 arg3
= (int)(SWIG_As_int(obj2
));
12583 if (SWIG_arg_fail(3)) SWIG_fail
;
12586 arg4
= (int)(SWIG_As_int(obj3
));
12587 if (SWIG_arg_fail(4)) SWIG_fail
;
12590 arg5
= (int)(SWIG_As_int(obj4
));
12591 if (SWIG_arg_fail(5)) SWIG_fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 Py_INCREF(Py_None
); resultobj
= Py_None
;
12607 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 wxDC
*arg1
= (wxDC
*) 0 ;
12610 wxPoint
*arg2
= 0 ;
12611 wxPoint
*arg3
= 0 ;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 PyObject
* obj2
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12623 if (SWIG_arg_fail(1)) SWIG_fail
;
12626 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12630 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 Py_INCREF(Py_None
); resultobj
= Py_None
;
12646 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxDC
*arg1
= (wxDC
*) 0 ;
12651 PyObject
* obj0
= 0 ;
12652 PyObject
* obj1
= 0 ;
12653 PyObject
* obj2
= 0 ;
12654 char *kwnames
[] = {
12655 (char *) "self",(char *) "x",(char *) "y", NULL
12658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail
;
12662 arg2
= (int)(SWIG_As_int(obj1
));
12663 if (SWIG_arg_fail(2)) SWIG_fail
;
12666 arg3
= (int)(SWIG_As_int(obj2
));
12667 if (SWIG_arg_fail(3)) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 (arg1
)->CrossHair(arg2
,arg3
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 Py_INCREF(Py_None
); resultobj
= Py_None
;
12683 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxDC
*arg1
= (wxDC
*) 0 ;
12686 wxPoint
*arg2
= 0 ;
12688 PyObject
* obj0
= 0 ;
12689 PyObject
* obj1
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self",(char *) "pt", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12696 if (SWIG_arg_fail(1)) SWIG_fail
;
12699 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 Py_INCREF(Py_None
); resultobj
= Py_None
;
12715 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxDC
*arg1
= (wxDC
*) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 PyObject
* obj2
= 0 ;
12727 PyObject
* obj3
= 0 ;
12728 PyObject
* obj4
= 0 ;
12729 PyObject
* obj5
= 0 ;
12730 PyObject
* obj6
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12737 if (SWIG_arg_fail(1)) SWIG_fail
;
12739 arg2
= (int)(SWIG_As_int(obj1
));
12740 if (SWIG_arg_fail(2)) SWIG_fail
;
12743 arg3
= (int)(SWIG_As_int(obj2
));
12744 if (SWIG_arg_fail(3)) SWIG_fail
;
12747 arg4
= (int)(SWIG_As_int(obj3
));
12748 if (SWIG_arg_fail(4)) SWIG_fail
;
12751 arg5
= (int)(SWIG_As_int(obj4
));
12752 if (SWIG_arg_fail(5)) SWIG_fail
;
12755 arg6
= (int)(SWIG_As_int(obj5
));
12756 if (SWIG_arg_fail(6)) SWIG_fail
;
12759 arg7
= (int)(SWIG_As_int(obj6
));
12760 if (SWIG_arg_fail(7)) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 Py_INCREF(Py_None
); resultobj
= Py_None
;
12776 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxDC
*arg1
= (wxDC
*) 0 ;
12779 wxPoint
*arg2
= 0 ;
12780 wxPoint
*arg3
= 0 ;
12781 wxPoint
*arg4
= 0 ;
12785 PyObject
* obj0
= 0 ;
12786 PyObject
* obj1
= 0 ;
12787 PyObject
* obj2
= 0 ;
12788 PyObject
* obj3
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12795 if (SWIG_arg_fail(1)) SWIG_fail
;
12798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 Py_INCREF(Py_None
); resultobj
= Py_None
;
12822 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxDC
*arg1
= (wxDC
*) 0 ;
12829 PyObject
* obj0
= 0 ;
12830 PyObject
* obj1
= 0 ;
12831 PyObject
* obj2
= 0 ;
12832 PyObject
* obj3
= 0 ;
12833 PyObject
* obj4
= 0 ;
12834 char *kwnames
[] = {
12835 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12840 if (SWIG_arg_fail(1)) SWIG_fail
;
12842 arg2
= (int)(SWIG_As_int(obj1
));
12843 if (SWIG_arg_fail(2)) SWIG_fail
;
12846 arg3
= (int)(SWIG_As_int(obj2
));
12847 if (SWIG_arg_fail(3)) SWIG_fail
;
12850 arg4
= (int)(SWIG_As_int(obj3
));
12851 if (SWIG_arg_fail(4)) SWIG_fail
;
12854 arg5
= (int)(SWIG_As_int(obj4
));
12855 if (SWIG_arg_fail(5)) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 Py_INCREF(Py_None
); resultobj
= Py_None
;
12871 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxDC
*arg1
= (wxDC
*) 0 ;
12876 PyObject
* obj0
= 0 ;
12877 PyObject
* obj1
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self",(char *) "rect", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12884 if (SWIG_arg_fail(1)) SWIG_fail
;
12887 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 Py_INCREF(Py_None
); resultobj
= Py_None
;
12903 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxDC
*arg1
= (wxDC
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 PyObject
* obj1
= 0 ;
12914 PyObject
* obj2
= 0 ;
12915 PyObject
* obj3
= 0 ;
12916 PyObject
* obj4
= 0 ;
12917 PyObject
* obj5
= 0 ;
12918 PyObject
* obj6
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12925 if (SWIG_arg_fail(1)) SWIG_fail
;
12927 arg2
= (int)(SWIG_As_int(obj1
));
12928 if (SWIG_arg_fail(2)) SWIG_fail
;
12931 arg3
= (int)(SWIG_As_int(obj2
));
12932 if (SWIG_arg_fail(3)) SWIG_fail
;
12935 arg4
= (int)(SWIG_As_int(obj3
));
12936 if (SWIG_arg_fail(4)) SWIG_fail
;
12939 arg5
= (int)(SWIG_As_int(obj4
));
12940 if (SWIG_arg_fail(5)) SWIG_fail
;
12943 arg6
= (double)(SWIG_As_double(obj5
));
12944 if (SWIG_arg_fail(6)) SWIG_fail
;
12947 arg7
= (double)(SWIG_As_double(obj6
));
12948 if (SWIG_arg_fail(7)) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 Py_INCREF(Py_None
); resultobj
= Py_None
;
12964 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxDC
*arg1
= (wxDC
*) 0 ;
12967 wxPoint
*arg2
= 0 ;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 PyObject
* obj2
= 0 ;
12976 PyObject
* obj3
= 0 ;
12977 PyObject
* obj4
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12984 if (SWIG_arg_fail(1)) SWIG_fail
;
12987 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12991 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12994 arg4
= (double)(SWIG_As_double(obj3
));
12995 if (SWIG_arg_fail(4)) SWIG_fail
;
12998 arg5
= (double)(SWIG_As_double(obj4
));
12999 if (SWIG_arg_fail(5)) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 Py_INCREF(Py_None
); resultobj
= Py_None
;
13015 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxDC
*arg1
= (wxDC
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 PyObject
* obj1
= 0 ;
13022 PyObject
* obj2
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self",(char *) "x",(char *) "y", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13029 if (SWIG_arg_fail(1)) SWIG_fail
;
13031 arg2
= (int)(SWIG_As_int(obj1
));
13032 if (SWIG_arg_fail(2)) SWIG_fail
;
13035 arg3
= (int)(SWIG_As_int(obj2
));
13036 if (SWIG_arg_fail(3)) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->DrawPoint(arg2
,arg3
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxDC
*arg1
= (wxDC
*) 0 ;
13055 wxPoint
*arg2
= 0 ;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "pt", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail
;
13068 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxDC
*arg1
= (wxDC
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 PyObject
* obj2
= 0 ;
13094 PyObject
* obj3
= 0 ;
13095 PyObject
* obj4
= 0 ;
13096 char *kwnames
[] = {
13097 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13102 if (SWIG_arg_fail(1)) SWIG_fail
;
13104 arg2
= (int)(SWIG_As_int(obj1
));
13105 if (SWIG_arg_fail(2)) SWIG_fail
;
13108 arg3
= (int)(SWIG_As_int(obj2
));
13109 if (SWIG_arg_fail(3)) SWIG_fail
;
13112 arg4
= (int)(SWIG_As_int(obj3
));
13113 if (SWIG_arg_fail(4)) SWIG_fail
;
13116 arg5
= (int)(SWIG_As_int(obj4
));
13117 if (SWIG_arg_fail(5)) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 Py_INCREF(Py_None
); resultobj
= Py_None
;
13133 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
;
13135 wxDC
*arg1
= (wxDC
*) 0 ;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self",(char *) "rect", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13146 if (SWIG_arg_fail(1)) SWIG_fail
;
13149 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 Py_INCREF(Py_None
); resultobj
= Py_None
;
13165 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxDC
*arg1
= (wxDC
*) 0 ;
13168 wxPoint
*arg2
= 0 ;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 PyObject
* obj2
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self",(char *) "pt",(char *) "sz", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13181 if (SWIG_arg_fail(1)) SWIG_fail
;
13184 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13188 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 Py_INCREF(Py_None
); resultobj
= Py_None
;
13204 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxDC
*arg1
= (wxDC
*) 0 ;
13212 PyObject
* obj0
= 0 ;
13213 PyObject
* obj1
= 0 ;
13214 PyObject
* obj2
= 0 ;
13215 PyObject
* obj3
= 0 ;
13216 PyObject
* obj4
= 0 ;
13217 PyObject
* obj5
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail
;
13226 arg2
= (int)(SWIG_As_int(obj1
));
13227 if (SWIG_arg_fail(2)) SWIG_fail
;
13230 arg3
= (int)(SWIG_As_int(obj2
));
13231 if (SWIG_arg_fail(3)) SWIG_fail
;
13234 arg4
= (int)(SWIG_As_int(obj3
));
13235 if (SWIG_arg_fail(4)) SWIG_fail
;
13238 arg5
= (int)(SWIG_As_int(obj4
));
13239 if (SWIG_arg_fail(5)) SWIG_fail
;
13242 arg6
= (double)(SWIG_As_double(obj5
));
13243 if (SWIG_arg_fail(6)) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 Py_INCREF(Py_None
); resultobj
= Py_None
;
13259 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxDC
*arg1
= (wxDC
*) 0 ;
13265 PyObject
* obj0
= 0 ;
13266 PyObject
* obj1
= 0 ;
13267 PyObject
* obj2
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "r",(char *) "radius", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail
;
13277 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13280 arg3
= (double)(SWIG_As_double(obj2
));
13281 if (SWIG_arg_fail(3)) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 Py_INCREF(Py_None
); resultobj
= Py_None
;
13297 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxDC
*arg1
= (wxDC
*) 0 ;
13300 wxPoint
*arg2
= 0 ;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 PyObject
* obj2
= 0 ;
13308 PyObject
* obj3
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13315 if (SWIG_arg_fail(1)) SWIG_fail
;
13318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13322 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13325 arg4
= (double)(SWIG_As_double(obj3
));
13326 if (SWIG_arg_fail(4)) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxDC
*arg1
= (wxDC
*) 0 ;
13348 PyObject
* obj0
= 0 ;
13349 PyObject
* obj1
= 0 ;
13350 PyObject
* obj2
= 0 ;
13351 PyObject
* obj3
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13358 if (SWIG_arg_fail(1)) SWIG_fail
;
13360 arg2
= (int)(SWIG_As_int(obj1
));
13361 if (SWIG_arg_fail(2)) SWIG_fail
;
13364 arg3
= (int)(SWIG_As_int(obj2
));
13365 if (SWIG_arg_fail(3)) SWIG_fail
;
13368 arg4
= (int)(SWIG_As_int(obj3
));
13369 if (SWIG_arg_fail(4)) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxDC
*arg1
= (wxDC
*) 0 ;
13388 wxPoint
*arg2
= 0 ;
13391 PyObject
* obj0
= 0 ;
13392 PyObject
* obj1
= 0 ;
13393 PyObject
* obj2
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self",(char *) "pt",(char *) "radius", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13400 if (SWIG_arg_fail(1)) SWIG_fail
;
13403 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13406 arg3
= (int)(SWIG_As_int(obj2
));
13407 if (SWIG_arg_fail(3)) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 Py_INCREF(Py_None
); resultobj
= Py_None
;
13423 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxDC
*arg1
= (wxDC
*) 0 ;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 PyObject
* obj2
= 0 ;
13433 PyObject
* obj3
= 0 ;
13434 PyObject
* obj4
= 0 ;
13435 char *kwnames
[] = {
13436 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13441 if (SWIG_arg_fail(1)) SWIG_fail
;
13443 arg2
= (int)(SWIG_As_int(obj1
));
13444 if (SWIG_arg_fail(2)) SWIG_fail
;
13447 arg3
= (int)(SWIG_As_int(obj2
));
13448 if (SWIG_arg_fail(3)) SWIG_fail
;
13451 arg4
= (int)(SWIG_As_int(obj3
));
13452 if (SWIG_arg_fail(4)) SWIG_fail
;
13455 arg5
= (int)(SWIG_As_int(obj4
));
13456 if (SWIG_arg_fail(5)) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 Py_INCREF(Py_None
); resultobj
= Py_None
;
13472 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxDC
*arg1
= (wxDC
*) 0 ;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self",(char *) "rect", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13485 if (SWIG_arg_fail(1)) SWIG_fail
;
13488 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 Py_INCREF(Py_None
); resultobj
= Py_None
;
13504 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxDC
*arg1
= (wxDC
*) 0 ;
13507 wxPoint
*arg2
= 0 ;
13511 PyObject
* obj0
= 0 ;
13512 PyObject
* obj1
= 0 ;
13513 PyObject
* obj2
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self",(char *) "pt",(char *) "sz", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13520 if (SWIG_arg_fail(1)) SWIG_fail
;
13523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13527 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 Py_INCREF(Py_None
); resultobj
= Py_None
;
13543 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
;
13545 wxDC
*arg1
= (wxDC
*) 0 ;
13549 PyObject
* obj0
= 0 ;
13550 PyObject
* obj1
= 0 ;
13551 PyObject
* obj2
= 0 ;
13552 PyObject
* obj3
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13559 if (SWIG_arg_fail(1)) SWIG_fail
;
13561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13562 if (SWIG_arg_fail(2)) SWIG_fail
;
13563 if (arg2
== NULL
) {
13564 SWIG_null_ref("wxIcon");
13566 if (SWIG_arg_fail(2)) SWIG_fail
;
13569 arg3
= (int)(SWIG_As_int(obj2
));
13570 if (SWIG_arg_fail(3)) SWIG_fail
;
13573 arg4
= (int)(SWIG_As_int(obj3
));
13574 if (SWIG_arg_fail(4)) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 Py_INCREF(Py_None
); resultobj
= Py_None
;
13590 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxDC
*arg1
= (wxDC
*) 0 ;
13594 wxPoint
*arg3
= 0 ;
13596 PyObject
* obj0
= 0 ;
13597 PyObject
* obj1
= 0 ;
13598 PyObject
* obj2
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "self",(char *) "icon",(char *) "pt", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13605 if (SWIG_arg_fail(1)) SWIG_fail
;
13607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13608 if (SWIG_arg_fail(2)) SWIG_fail
;
13609 if (arg2
== NULL
) {
13610 SWIG_null_ref("wxIcon");
13612 if (SWIG_arg_fail(2)) SWIG_fail
;
13616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13620 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
13622 wxPyEndAllowThreads(__tstate
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13625 Py_INCREF(Py_None
); resultobj
= Py_None
;
13632 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
;
13634 wxDC
*arg1
= (wxDC
*) 0 ;
13635 wxBitmap
*arg2
= 0 ;
13638 bool arg5
= (bool) false ;
13639 PyObject
* obj0
= 0 ;
13640 PyObject
* obj1
= 0 ;
13641 PyObject
* obj2
= 0 ;
13642 PyObject
* obj3
= 0 ;
13643 PyObject
* obj4
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13650 if (SWIG_arg_fail(1)) SWIG_fail
;
13652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13653 if (SWIG_arg_fail(2)) SWIG_fail
;
13654 if (arg2
== NULL
) {
13655 SWIG_null_ref("wxBitmap");
13657 if (SWIG_arg_fail(2)) SWIG_fail
;
13660 arg3
= (int)(SWIG_As_int(obj2
));
13661 if (SWIG_arg_fail(3)) SWIG_fail
;
13664 arg4
= (int)(SWIG_As_int(obj3
));
13665 if (SWIG_arg_fail(4)) SWIG_fail
;
13669 arg5
= (bool)(SWIG_As_bool(obj4
));
13670 if (SWIG_arg_fail(5)) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 Py_INCREF(Py_None
); resultobj
= Py_None
;
13687 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
;
13689 wxDC
*arg1
= (wxDC
*) 0 ;
13690 wxBitmap
*arg2
= 0 ;
13691 wxPoint
*arg3
= 0 ;
13692 bool arg4
= (bool) false ;
13694 PyObject
* obj0
= 0 ;
13695 PyObject
* obj1
= 0 ;
13696 PyObject
* obj2
= 0 ;
13697 PyObject
* obj3
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13704 if (SWIG_arg_fail(1)) SWIG_fail
;
13706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13707 if (SWIG_arg_fail(2)) SWIG_fail
;
13708 if (arg2
== NULL
) {
13709 SWIG_null_ref("wxBitmap");
13711 if (SWIG_arg_fail(2)) SWIG_fail
;
13715 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13719 arg4
= (bool)(SWIG_As_bool(obj3
));
13720 if (SWIG_arg_fail(4)) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 Py_INCREF(Py_None
); resultobj
= Py_None
;
13737 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxDC
*arg1
= (wxDC
*) 0 ;
13740 wxString
*arg2
= 0 ;
13743 bool temp2
= false ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 PyObject
* obj2
= 0 ;
13747 PyObject
* obj3
= 0 ;
13748 char *kwnames
[] = {
13749 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
13752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13754 if (SWIG_arg_fail(1)) SWIG_fail
;
13756 arg2
= wxString_in_helper(obj1
);
13757 if (arg2
== NULL
) SWIG_fail
;
13761 arg3
= (int)(SWIG_As_int(obj2
));
13762 if (SWIG_arg_fail(3)) SWIG_fail
;
13765 arg4
= (int)(SWIG_As_int(obj3
));
13766 if (SWIG_arg_fail(4)) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 Py_INCREF(Py_None
); resultobj
= Py_None
;
13790 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxDC
*arg1
= (wxDC
*) 0 ;
13793 wxString
*arg2
= 0 ;
13794 wxPoint
*arg3
= 0 ;
13795 bool temp2
= false ;
13797 PyObject
* obj0
= 0 ;
13798 PyObject
* obj1
= 0 ;
13799 PyObject
* obj2
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self",(char *) "text",(char *) "pt", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13806 if (SWIG_arg_fail(1)) SWIG_fail
;
13808 arg2
= wxString_in_helper(obj1
);
13809 if (arg2
== NULL
) SWIG_fail
;
13814 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 Py_INCREF(Py_None
); resultobj
= Py_None
;
13838 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxDC
*arg1
= (wxDC
*) 0 ;
13841 wxString
*arg2
= 0 ;
13845 bool temp2
= false ;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 PyObject
* obj2
= 0 ;
13849 PyObject
* obj3
= 0 ;
13850 PyObject
* obj4
= 0 ;
13851 char *kwnames
[] = {
13852 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
13855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13857 if (SWIG_arg_fail(1)) SWIG_fail
;
13859 arg2
= wxString_in_helper(obj1
);
13860 if (arg2
== NULL
) SWIG_fail
;
13864 arg3
= (int)(SWIG_As_int(obj2
));
13865 if (SWIG_arg_fail(3)) SWIG_fail
;
13868 arg4
= (int)(SWIG_As_int(obj3
));
13869 if (SWIG_arg_fail(4)) SWIG_fail
;
13872 arg5
= (double)(SWIG_As_double(obj4
));
13873 if (SWIG_arg_fail(5)) SWIG_fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 Py_INCREF(Py_None
); resultobj
= Py_None
;
13897 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxDC
*arg1
= (wxDC
*) 0 ;
13900 wxString
*arg2
= 0 ;
13901 wxPoint
*arg3
= 0 ;
13903 bool temp2
= false ;
13905 PyObject
* obj0
= 0 ;
13906 PyObject
* obj1
= 0 ;
13907 PyObject
* obj2
= 0 ;
13908 PyObject
* obj3
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13915 if (SWIG_arg_fail(1)) SWIG_fail
;
13917 arg2
= wxString_in_helper(obj1
);
13918 if (arg2
== NULL
) SWIG_fail
;
13923 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13926 arg4
= (double)(SWIG_As_double(obj3
));
13927 if (SWIG_arg_fail(4)) SWIG_fail
;
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 Py_INCREF(Py_None
); resultobj
= Py_None
;
13951 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
;
13953 wxDC
*arg1
= (wxDC
*) 0 ;
13958 wxDC
*arg6
= (wxDC
*) 0 ;
13961 int arg9
= (int) wxCOPY
;
13962 bool arg10
= (bool) false ;
13963 int arg11
= (int) -1 ;
13964 int arg12
= (int) -1 ;
13966 PyObject
* obj0
= 0 ;
13967 PyObject
* obj1
= 0 ;
13968 PyObject
* obj2
= 0 ;
13969 PyObject
* obj3
= 0 ;
13970 PyObject
* obj4
= 0 ;
13971 PyObject
* obj5
= 0 ;
13972 PyObject
* obj6
= 0 ;
13973 PyObject
* obj7
= 0 ;
13974 PyObject
* obj8
= 0 ;
13975 PyObject
* obj9
= 0 ;
13976 PyObject
* obj10
= 0 ;
13977 PyObject
* obj11
= 0 ;
13978 char *kwnames
[] = {
13979 (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
13982 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
;
13983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13984 if (SWIG_arg_fail(1)) SWIG_fail
;
13986 arg2
= (int)(SWIG_As_int(obj1
));
13987 if (SWIG_arg_fail(2)) SWIG_fail
;
13990 arg3
= (int)(SWIG_As_int(obj2
));
13991 if (SWIG_arg_fail(3)) SWIG_fail
;
13994 arg4
= (int)(SWIG_As_int(obj3
));
13995 if (SWIG_arg_fail(4)) SWIG_fail
;
13998 arg5
= (int)(SWIG_As_int(obj4
));
13999 if (SWIG_arg_fail(5)) SWIG_fail
;
14001 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14002 if (SWIG_arg_fail(6)) SWIG_fail
;
14004 arg7
= (int)(SWIG_As_int(obj6
));
14005 if (SWIG_arg_fail(7)) SWIG_fail
;
14008 arg8
= (int)(SWIG_As_int(obj7
));
14009 if (SWIG_arg_fail(8)) SWIG_fail
;
14013 arg9
= (int)(SWIG_As_int(obj8
));
14014 if (SWIG_arg_fail(9)) SWIG_fail
;
14019 arg10
= (bool)(SWIG_As_bool(obj9
));
14020 if (SWIG_arg_fail(10)) SWIG_fail
;
14025 arg11
= (int)(SWIG_As_int(obj10
));
14026 if (SWIG_arg_fail(11)) SWIG_fail
;
14031 arg12
= (int)(SWIG_As_int(obj11
));
14032 if (SWIG_arg_fail(12)) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14051 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxDC
*arg1
= (wxDC
*) 0 ;
14054 wxPoint
*arg2
= 0 ;
14056 wxDC
*arg4
= (wxDC
*) 0 ;
14057 wxPoint
*arg5
= 0 ;
14058 int arg6
= (int) wxCOPY
;
14059 bool arg7
= (bool) false ;
14060 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
14061 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
14067 PyObject
* obj0
= 0 ;
14068 PyObject
* obj1
= 0 ;
14069 PyObject
* obj2
= 0 ;
14070 PyObject
* obj3
= 0 ;
14071 PyObject
* obj4
= 0 ;
14072 PyObject
* obj5
= 0 ;
14073 PyObject
* obj6
= 0 ;
14074 PyObject
* obj7
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14081 if (SWIG_arg_fail(1)) SWIG_fail
;
14084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14088 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14090 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14091 if (SWIG_arg_fail(4)) SWIG_fail
;
14094 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14098 arg6
= (int)(SWIG_As_int(obj5
));
14099 if (SWIG_arg_fail(6)) SWIG_fail
;
14104 arg7
= (bool)(SWIG_As_bool(obj6
));
14105 if (SWIG_arg_fail(7)) SWIG_fail
;
14111 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14130 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
;
14132 wxDC
*arg1
= (wxDC
*) 0 ;
14137 PyObject
* obj0
= 0 ;
14138 PyObject
* obj1
= 0 ;
14139 PyObject
* obj2
= 0 ;
14140 PyObject
* obj3
= 0 ;
14141 PyObject
* obj4
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14148 if (SWIG_arg_fail(1)) SWIG_fail
;
14150 arg2
= (int)(SWIG_As_int(obj1
));
14151 if (SWIG_arg_fail(2)) SWIG_fail
;
14154 arg3
= (int)(SWIG_As_int(obj2
));
14155 if (SWIG_arg_fail(3)) SWIG_fail
;
14158 arg4
= (int)(SWIG_As_int(obj3
));
14159 if (SWIG_arg_fail(4)) SWIG_fail
;
14162 arg5
= (int)(SWIG_As_int(obj4
));
14163 if (SWIG_arg_fail(5)) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 Py_INCREF(Py_None
); resultobj
= Py_None
;
14179 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxDC
*arg1
= (wxDC
*) 0 ;
14182 wxPoint
*arg2
= 0 ;
14186 PyObject
* obj0
= 0 ;
14187 PyObject
* obj1
= 0 ;
14188 PyObject
* obj2
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self",(char *) "pt",(char *) "sz", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14195 if (SWIG_arg_fail(1)) SWIG_fail
;
14198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14202 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 Py_INCREF(Py_None
); resultobj
= Py_None
;
14218 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxDC
*arg1
= (wxDC
*) 0 ;
14221 wxRegion
*arg2
= 0 ;
14222 PyObject
* obj0
= 0 ;
14223 PyObject
* obj1
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self",(char *) "region", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14230 if (SWIG_arg_fail(1)) SWIG_fail
;
14232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14233 if (SWIG_arg_fail(2)) SWIG_fail
;
14234 if (arg2
== NULL
) {
14235 SWIG_null_ref("wxRegion");
14237 if (SWIG_arg_fail(2)) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 Py_INCREF(Py_None
); resultobj
= Py_None
;
14253 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxDC
*arg1
= (wxDC
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 PyObject
* obj1
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self",(char *) "rect", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14266 if (SWIG_arg_fail(1)) SWIG_fail
;
14269 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 Py_INCREF(Py_None
); resultobj
= Py_None
;
14285 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxDC
*arg1
= (wxDC
*) 0 ;
14289 wxPoint
*arg3
= (wxPoint
*) 0 ;
14290 int arg4
= (int) 0 ;
14291 int arg5
= (int) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 PyObject
* obj2
= 0 ;
14295 PyObject
* obj3
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14302 if (SWIG_arg_fail(1)) SWIG_fail
;
14304 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14305 if (arg3
== NULL
) SWIG_fail
;
14309 arg4
= (int)(SWIG_As_int(obj2
));
14310 if (SWIG_arg_fail(4)) SWIG_fail
;
14315 arg5
= (int)(SWIG_As_int(obj3
));
14316 if (SWIG_arg_fail(5)) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 Py_INCREF(Py_None
); resultobj
= Py_None
;
14328 if (arg3
) delete [] arg3
;
14333 if (arg3
) delete [] arg3
;
14339 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
;
14341 wxDC
*arg1
= (wxDC
*) 0 ;
14343 wxPoint
*arg3
= (wxPoint
*) 0 ;
14344 int arg4
= (int) 0 ;
14345 int arg5
= (int) 0 ;
14346 int arg6
= (int) wxODDEVEN_RULE
;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 PyObject
* obj2
= 0 ;
14350 PyObject
* obj3
= 0 ;
14351 PyObject
* obj4
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14358 if (SWIG_arg_fail(1)) SWIG_fail
;
14360 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14361 if (arg3
== NULL
) SWIG_fail
;
14365 arg4
= (int)(SWIG_As_int(obj2
));
14366 if (SWIG_arg_fail(4)) SWIG_fail
;
14371 arg5
= (int)(SWIG_As_int(obj3
));
14372 if (SWIG_arg_fail(5)) SWIG_fail
;
14377 arg6
= (int)(SWIG_As_int(obj4
));
14378 if (SWIG_arg_fail(6)) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 Py_INCREF(Py_None
); resultobj
= Py_None
;
14390 if (arg3
) delete [] arg3
;
14395 if (arg3
) delete [] arg3
;
14401 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
;
14403 wxDC
*arg1
= (wxDC
*) 0 ;
14404 wxString
*arg2
= 0 ;
14406 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14407 int arg5
= (int) -1 ;
14408 bool temp2
= false ;
14410 PyObject
* obj0
= 0 ;
14411 PyObject
* obj1
= 0 ;
14412 PyObject
* obj2
= 0 ;
14413 PyObject
* obj3
= 0 ;
14414 PyObject
* obj4
= 0 ;
14415 char *kwnames
[] = {
14416 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14421 if (SWIG_arg_fail(1)) SWIG_fail
;
14423 arg2
= wxString_in_helper(obj1
);
14424 if (arg2
== NULL
) SWIG_fail
;
14429 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
14433 arg4
= (int)(SWIG_As_int(obj3
));
14434 if (SWIG_arg_fail(4)) SWIG_fail
;
14439 arg5
= (int)(SWIG_As_int(obj4
));
14440 if (SWIG_arg_fail(5)) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 Py_INCREF(Py_None
); resultobj
= Py_None
;
14465 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxDC
*arg1
= (wxDC
*) 0 ;
14468 wxString
*arg2
= 0 ;
14469 wxBitmap
*arg3
= 0 ;
14471 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14472 int arg6
= (int) -1 ;
14474 bool temp2
= false ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 PyObject
* obj2
= 0 ;
14479 PyObject
* obj3
= 0 ;
14480 PyObject
* obj4
= 0 ;
14481 PyObject
* obj5
= 0 ;
14482 char *kwnames
[] = {
14483 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14488 if (SWIG_arg_fail(1)) SWIG_fail
;
14490 arg2
= wxString_in_helper(obj1
);
14491 if (arg2
== NULL
) SWIG_fail
;
14495 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14496 if (SWIG_arg_fail(3)) SWIG_fail
;
14497 if (arg3
== NULL
) {
14498 SWIG_null_ref("wxBitmap");
14500 if (SWIG_arg_fail(3)) SWIG_fail
;
14504 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
14508 arg5
= (int)(SWIG_As_int(obj4
));
14509 if (SWIG_arg_fail(5)) SWIG_fail
;
14514 arg6
= (int)(SWIG_As_int(obj5
));
14515 if (SWIG_arg_fail(6)) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 wxRect
* resultptr
;
14527 resultptr
= new wxRect((wxRect
&)(result
));
14528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14544 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxDC
*arg1
= (wxDC
*) 0 ;
14548 wxPoint
*arg3
= (wxPoint
*) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 PyObject
* obj1
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self",(char *) "points", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
14556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14557 if (SWIG_arg_fail(1)) SWIG_fail
;
14559 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14560 if (arg3
== NULL
) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 (arg1
)->DrawSpline(arg2
,arg3
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 Py_INCREF(Py_None
); resultobj
= Py_None
;
14571 if (arg3
) delete [] arg3
;
14576 if (arg3
) delete [] arg3
;
14582 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxDC
*arg1
= (wxDC
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
14591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14592 if (SWIG_arg_fail(1)) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 Py_INCREF(Py_None
); resultobj
= Py_None
;
14607 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxDC
*arg1
= (wxDC
*) 0 ;
14610 wxString
*arg2
= 0 ;
14612 bool temp2
= false ;
14613 PyObject
* obj0
= 0 ;
14614 PyObject
* obj1
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self",(char *) "message", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
14620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14621 if (SWIG_arg_fail(1)) SWIG_fail
;
14623 arg2
= wxString_in_helper(obj1
);
14624 if (arg2
== NULL
) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14651 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
;
14653 wxDC
*arg1
= (wxDC
*) 0 ;
14654 PyObject
* obj0
= 0 ;
14655 char *kwnames
[] = {
14656 (char *) "self", NULL
14659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
14660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14661 if (SWIG_arg_fail(1)) SWIG_fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 Py_INCREF(Py_None
); resultobj
= Py_None
;
14676 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
;
14678 wxDC
*arg1
= (wxDC
*) 0 ;
14679 PyObject
* obj0
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
14685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14686 if (SWIG_arg_fail(1)) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 (arg1
)->StartPage();
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 Py_INCREF(Py_None
); resultobj
= Py_None
;
14701 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxDC
*arg1
= (wxDC
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
14710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14711 if (SWIG_arg_fail(1)) SWIG_fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 Py_INCREF(Py_None
); resultobj
= Py_None
;
14726 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxDC
*arg1
= (wxDC
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 PyObject
* obj1
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self",(char *) "font", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14738 if (SWIG_arg_fail(1)) SWIG_fail
;
14740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14741 if (SWIG_arg_fail(2)) SWIG_fail
;
14742 if (arg2
== NULL
) {
14743 SWIG_null_ref("wxFont");
14745 if (SWIG_arg_fail(2)) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 (arg1
)->SetFont((wxFont
const &)*arg2
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 Py_INCREF(Py_None
); resultobj
= Py_None
;
14761 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 wxDC
*arg1
= (wxDC
*) 0 ;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "self",(char *) "pen", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14773 if (SWIG_arg_fail(1)) SWIG_fail
;
14775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
14776 if (SWIG_arg_fail(2)) SWIG_fail
;
14777 if (arg2
== NULL
) {
14778 SWIG_null_ref("wxPen");
14780 if (SWIG_arg_fail(2)) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 (arg1
)->SetPen((wxPen
const &)*arg2
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 Py_INCREF(Py_None
); resultobj
= Py_None
;
14796 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxDC
*arg1
= (wxDC
*) 0 ;
14799 wxBrush
*arg2
= 0 ;
14800 PyObject
* obj0
= 0 ;
14801 PyObject
* obj1
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self",(char *) "brush", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14808 if (SWIG_arg_fail(1)) SWIG_fail
;
14810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14811 if (SWIG_arg_fail(2)) SWIG_fail
;
14812 if (arg2
== NULL
) {
14813 SWIG_null_ref("wxBrush");
14815 if (SWIG_arg_fail(2)) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 Py_INCREF(Py_None
); resultobj
= Py_None
;
14831 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
;
14833 wxDC
*arg1
= (wxDC
*) 0 ;
14834 wxBrush
*arg2
= 0 ;
14835 PyObject
* obj0
= 0 ;
14836 PyObject
* obj1
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self",(char *) "brush", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14843 if (SWIG_arg_fail(1)) SWIG_fail
;
14845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14846 if (SWIG_arg_fail(2)) SWIG_fail
;
14847 if (arg2
== NULL
) {
14848 SWIG_null_ref("wxBrush");
14850 if (SWIG_arg_fail(2)) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 Py_INCREF(Py_None
); resultobj
= Py_None
;
14866 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxDC
*arg1
= (wxDC
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "mode", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14878 if (SWIG_arg_fail(1)) SWIG_fail
;
14880 arg2
= (int)(SWIG_As_int(obj1
));
14881 if (SWIG_arg_fail(2)) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 (arg1
)->SetBackgroundMode(arg2
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 Py_INCREF(Py_None
); resultobj
= Py_None
;
14897 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxDC
*arg1
= (wxDC
*) 0 ;
14900 wxPalette
*arg2
= 0 ;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self",(char *) "palette", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
14908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14909 if (SWIG_arg_fail(1)) SWIG_fail
;
14911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
14912 if (SWIG_arg_fail(2)) SWIG_fail
;
14913 if (arg2
== NULL
) {
14914 SWIG_null_ref("wxPalette");
14916 if (SWIG_arg_fail(2)) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 Py_INCREF(Py_None
); resultobj
= Py_None
;
14932 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxDC
*arg1
= (wxDC
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
14941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14942 if (SWIG_arg_fail(1)) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 (arg1
)->DestroyClippingRegion();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 Py_INCREF(Py_None
); resultobj
= Py_None
;
14957 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxDC
*arg1
= (wxDC
*) 0 ;
14960 int *arg2
= (int *) 0 ;
14961 int *arg3
= (int *) 0 ;
14962 int *arg4
= (int *) 0 ;
14963 int *arg5
= (int *) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 char *kwnames
[] = {
14974 (char *) "self", NULL
14977 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14978 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14979 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14980 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
14982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14983 if (SWIG_arg_fail(1)) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 Py_INCREF(Py_None
); resultobj
= Py_None
;
14992 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14993 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14994 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14995 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14996 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14997 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14998 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14999 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15006 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxDC
*arg1
= (wxDC
*) 0 ;
15010 PyObject
* obj0
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
15016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15017 if (SWIG_arg_fail(1)) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= wxDC_GetClippingRect(arg1
);
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15026 wxRect
* resultptr
;
15027 resultptr
= new wxRect((wxRect
&)(result
));
15028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15036 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxDC
*arg1
= (wxDC
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
15046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15047 if (SWIG_arg_fail(1)) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= SWIG_From_int((int)(result
));
15064 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxDC
*arg1
= (wxDC
*) 0 ;
15068 PyObject
* obj0
= 0 ;
15069 char *kwnames
[] = {
15070 (char *) "self", NULL
15073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
15074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15075 if (SWIG_arg_fail(1)) SWIG_fail
;
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= SWIG_From_int((int)(result
));
15092 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxDC
*arg1
= (wxDC
*) 0 ;
15095 wxString
*arg2
= 0 ;
15096 int *arg3
= (int *) 0 ;
15097 int *arg4
= (int *) 0 ;
15098 bool temp2
= false ;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self",(char *) "string", NULL
15109 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15110 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15113 if (SWIG_arg_fail(1)) SWIG_fail
;
15115 arg2
= wxString_in_helper(obj1
);
15116 if (arg2
== NULL
) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15126 Py_INCREF(Py_None
); resultobj
= Py_None
;
15127 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15128 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15129 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15130 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15145 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxDC
*arg1
= (wxDC
*) 0 ;
15148 wxString
*arg2
= 0 ;
15149 int *arg3
= (int *) 0 ;
15150 int *arg4
= (int *) 0 ;
15151 int *arg5
= (int *) 0 ;
15152 int *arg6
= (int *) 0 ;
15153 wxFont
*arg7
= (wxFont
*) NULL
;
15154 bool temp2
= false ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 PyObject
* obj2
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self",(char *) "string",(char *) "font", NULL
15170 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15171 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15172 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15173 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15176 if (SWIG_arg_fail(1)) SWIG_fail
;
15178 arg2
= wxString_in_helper(obj1
);
15179 if (arg2
== NULL
) SWIG_fail
;
15183 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15184 if (SWIG_arg_fail(7)) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 Py_INCREF(Py_None
); resultobj
= Py_None
;
15194 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15195 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15196 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15197 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15198 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15199 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15200 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15201 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15216 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxDC
*arg1
= (wxDC
*) 0 ;
15219 wxString
*arg2
= 0 ;
15220 int *arg3
= (int *) 0 ;
15221 int *arg4
= (int *) 0 ;
15222 int *arg5
= (int *) 0 ;
15223 wxFont
*arg6
= (wxFont
*) NULL
;
15224 bool temp2
= false ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 PyObject
* obj2
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self",(char *) "text",(char *) "font", NULL
15238 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15239 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15240 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15243 if (SWIG_arg_fail(1)) SWIG_fail
;
15245 arg2
= wxString_in_helper(obj1
);
15246 if (arg2
== NULL
) SWIG_fail
;
15250 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15251 if (SWIG_arg_fail(6)) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 Py_INCREF(Py_None
); resultobj
= Py_None
;
15261 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15262 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15263 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15264 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15265 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15266 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15281 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxDC
*arg1
= (wxDC
*) 0 ;
15284 wxString
*arg2
= 0 ;
15286 bool temp2
= false ;
15287 PyObject
* obj0
= 0 ;
15288 PyObject
* obj1
= 0 ;
15289 char *kwnames
[] = {
15290 (char *) "self",(char *) "text", NULL
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15295 if (SWIG_arg_fail(1)) SWIG_fail
;
15297 arg2
= wxString_in_helper(obj1
);
15298 if (arg2
== NULL
) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= PyList_New(0);
15311 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15312 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15313 PyList_Append(resultobj
, val
);
15331 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxDC
*arg1
= (wxDC
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15342 if (SWIG_arg_fail(1)) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (arg1
)->GetSize();
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15351 wxSize
* resultptr
;
15352 resultptr
= new wxSize((wxSize
&)(result
));
15353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15361 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxDC
*arg1
= (wxDC
*) 0 ;
15364 int *arg2
= (int *) 0 ;
15365 int *arg3
= (int *) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "self", NULL
15375 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15376 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15379 if (SWIG_arg_fail(1)) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 (arg1
)->GetSize(arg2
,arg3
);
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 Py_INCREF(Py_None
); resultobj
= Py_None
;
15388 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15389 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15390 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15391 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15398 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxDC
*arg1
= (wxDC
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
15408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15409 if (SWIG_arg_fail(1)) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= ((wxDC
const *)arg1
)->GetSizeMM();
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15418 wxSize
* resultptr
;
15419 resultptr
= new wxSize((wxSize
&)(result
));
15420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15428 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxDC
*arg1
= (wxDC
*) 0 ;
15431 int *arg2
= (int *) 0 ;
15432 int *arg3
= (int *) 0 ;
15437 PyObject
* obj0
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "self", NULL
15442 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15443 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
15445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15446 if (SWIG_arg_fail(1)) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 Py_INCREF(Py_None
); resultobj
= Py_None
;
15455 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15456 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15457 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15458 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15465 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxDC
*arg1
= (wxDC
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self",(char *) "x", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
15477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15478 if (SWIG_arg_fail(1)) SWIG_fail
;
15480 arg2
= (int)(SWIG_As_int(obj1
));
15481 if (SWIG_arg_fail(2)) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= SWIG_From_int((int)(result
));
15499 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxDC
*arg1
= (wxDC
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self",(char *) "y", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
15511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15512 if (SWIG_arg_fail(1)) SWIG_fail
;
15514 arg2
= (int)(SWIG_As_int(obj1
));
15515 if (SWIG_arg_fail(2)) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15525 resultobj
= SWIG_From_int((int)(result
));
15533 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxDC
*arg1
= (wxDC
*) 0 ;
15538 PyObject
* obj0
= 0 ;
15539 PyObject
* obj1
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self",(char *) "x", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15546 if (SWIG_arg_fail(1)) SWIG_fail
;
15548 arg2
= (int)(SWIG_As_int(obj1
));
15549 if (SWIG_arg_fail(2)) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= SWIG_From_int((int)(result
));
15567 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxDC
*arg1
= (wxDC
*) 0 ;
15572 PyObject
* obj0
= 0 ;
15573 PyObject
* obj1
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self",(char *) "y", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15580 if (SWIG_arg_fail(1)) SWIG_fail
;
15582 arg2
= (int)(SWIG_As_int(obj1
));
15583 if (SWIG_arg_fail(2)) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_From_int((int)(result
));
15601 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxDC
*arg1
= (wxDC
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "x", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
15613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15614 if (SWIG_arg_fail(1)) SWIG_fail
;
15616 arg2
= (int)(SWIG_As_int(obj1
));
15617 if (SWIG_arg_fail(2)) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= SWIG_From_int((int)(result
));
15635 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxDC
*arg1
= (wxDC
*) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "self",(char *) "y", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
15647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15648 if (SWIG_arg_fail(1)) SWIG_fail
;
15650 arg2
= (int)(SWIG_As_int(obj1
));
15651 if (SWIG_arg_fail(2)) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_From_int((int)(result
));
15669 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxDC
*arg1
= (wxDC
*) 0 ;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self",(char *) "x", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15682 if (SWIG_arg_fail(1)) SWIG_fail
;
15684 arg2
= (int)(SWIG_As_int(obj1
));
15685 if (SWIG_arg_fail(2)) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= SWIG_From_int((int)(result
));
15703 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxDC
*arg1
= (wxDC
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 PyObject
* obj1
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self",(char *) "y", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15716 if (SWIG_arg_fail(1)) SWIG_fail
;
15718 arg2
= (int)(SWIG_As_int(obj1
));
15719 if (SWIG_arg_fail(2)) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15729 resultobj
= SWIG_From_int((int)(result
));
15737 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxDC
*arg1
= (wxDC
*) 0 ;
15741 PyObject
* obj0
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
15747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15748 if (SWIG_arg_fail(1)) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15765 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15766 PyObject
*resultobj
;
15767 wxDC
*arg1
= (wxDC
*) 0 ;
15769 PyObject
* obj0
= 0 ;
15770 char *kwnames
[] = {
15771 (char *) "self", NULL
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
15775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15776 if (SWIG_arg_fail(1)) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15793 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxDC
*arg1
= (wxDC
*) 0 ;
15797 PyObject
* obj0
= 0 ;
15798 char *kwnames
[] = {
15799 (char *) "self", NULL
15802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
15803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15804 if (SWIG_arg_fail(1)) SWIG_fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 result
= (int)((wxDC
const *)arg1
)->GetDepth();
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= SWIG_From_int((int)(result
));
15821 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxDC
*arg1
= (wxDC
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
15831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15832 if (SWIG_arg_fail(1)) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= ((wxDC
const *)arg1
)->GetPPI();
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15841 wxSize
* resultptr
;
15842 resultptr
= new wxSize((wxSize
&)(result
));
15843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15851 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxDC
*arg1
= (wxDC
*) 0 ;
15855 PyObject
* obj0
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
15861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15862 if (SWIG_arg_fail(1)) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (bool)((wxDC
const *)arg1
)->Ok();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15879 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxDC
*arg1
= (wxDC
*) 0 ;
15883 PyObject
* obj0
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
15889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15890 if (SWIG_arg_fail(1)) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_From_int((int)(result
));
15907 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
;
15909 wxDC
*arg1
= (wxDC
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "self", NULL
15916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
15917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15918 if (SWIG_arg_fail(1)) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
15923 result
= (wxBrush
*) &_result_ref
;
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15930 wxBrush
* resultptr
= new wxBrush(*result
);
15931 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15939 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxDC
*arg1
= (wxDC
*) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
15949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15950 if (SWIG_arg_fail(1)) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
15955 result
= (wxBrush
*) &_result_ref
;
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15962 wxBrush
* resultptr
= new wxBrush(*result
);
15963 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15971 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxDC
*arg1
= (wxDC
*) 0 ;
15975 PyObject
* obj0
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
15981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15982 if (SWIG_arg_fail(1)) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
15987 result
= (wxFont
*) &_result_ref
;
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15994 wxFont
* resultptr
= new wxFont(*result
);
15995 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16003 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxDC
*arg1
= (wxDC
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
16013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16014 if (SWIG_arg_fail(1)) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
16019 result
= (wxPen
*) &_result_ref
;
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16026 wxPen
* resultptr
= new wxPen(*result
);
16027 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
16035 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxDC
*arg1
= (wxDC
*) 0 ;
16039 PyObject
* obj0
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
16045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16046 if (SWIG_arg_fail(1)) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
16051 result
= (wxColour
*) &_result_ref
;
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16064 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxDC
*arg1
= (wxDC
*) 0 ;
16068 PyObject
* obj0
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
16074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16075 if (SWIG_arg_fail(1)) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
16080 result
= (wxColour
*) &_result_ref
;
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16093 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxDC
*arg1
= (wxDC
*) 0 ;
16096 wxColour
*arg2
= 0 ;
16098 PyObject
* obj0
= 0 ;
16099 PyObject
* obj1
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "self",(char *) "colour", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16106 if (SWIG_arg_fail(1)) SWIG_fail
;
16109 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 Py_INCREF(Py_None
); resultobj
= Py_None
;
16125 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxDC
*arg1
= (wxDC
*) 0 ;
16128 wxColour
*arg2
= 0 ;
16130 PyObject
* obj0
= 0 ;
16131 PyObject
* obj1
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self",(char *) "colour", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16138 if (SWIG_arg_fail(1)) SWIG_fail
;
16141 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 Py_INCREF(Py_None
); resultobj
= Py_None
;
16157 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxDC
*arg1
= (wxDC
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16168 if (SWIG_arg_fail(1)) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= SWIG_From_int((int)(result
));
16185 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxDC
*arg1
= (wxDC
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "self",(char *) "mode", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16197 if (SWIG_arg_fail(1)) SWIG_fail
;
16199 arg2
= (int)(SWIG_As_int(obj1
));
16200 if (SWIG_arg_fail(2)) SWIG_fail
;
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 (arg1
)->SetMapMode(arg2
);
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16209 Py_INCREF(Py_None
); resultobj
= Py_None
;
16216 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxDC
*arg1
= (wxDC
*) 0 ;
16219 double *arg2
= (double *) 0 ;
16220 double *arg3
= (double *) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self", NULL
16230 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16231 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16234 if (SWIG_arg_fail(1)) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 Py_INCREF(Py_None
); resultobj
= Py_None
;
16243 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16244 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16245 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16246 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16253 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxDC
*arg1
= (wxDC
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 PyObject
* obj2
= 0 ;
16261 char *kwnames
[] = {
16262 (char *) "self",(char *) "x",(char *) "y", NULL
16265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16267 if (SWIG_arg_fail(1)) SWIG_fail
;
16269 arg2
= (double)(SWIG_As_double(obj1
));
16270 if (SWIG_arg_fail(2)) SWIG_fail
;
16273 arg3
= (double)(SWIG_As_double(obj2
));
16274 if (SWIG_arg_fail(3)) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 (arg1
)->SetUserScale(arg2
,arg3
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 Py_INCREF(Py_None
); resultobj
= Py_None
;
16290 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxDC
*arg1
= (wxDC
*) 0 ;
16293 double *arg2
= (double *) 0 ;
16294 double *arg3
= (double *) 0 ;
16299 PyObject
* obj0
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self", NULL
16304 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16305 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16308 if (SWIG_arg_fail(1)) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 (arg1
)->GetLogicalScale(arg2
,arg3
);
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 Py_INCREF(Py_None
); resultobj
= Py_None
;
16317 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16318 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16319 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16320 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16327 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxDC
*arg1
= (wxDC
*) 0 ;
16332 PyObject
* obj0
= 0 ;
16333 PyObject
* obj1
= 0 ;
16334 PyObject
* obj2
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "self",(char *) "x",(char *) "y", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16341 if (SWIG_arg_fail(1)) SWIG_fail
;
16343 arg2
= (double)(SWIG_As_double(obj1
));
16344 if (SWIG_arg_fail(2)) SWIG_fail
;
16347 arg3
= (double)(SWIG_As_double(obj2
));
16348 if (SWIG_arg_fail(3)) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 (arg1
)->SetLogicalScale(arg2
,arg3
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 Py_INCREF(Py_None
); resultobj
= Py_None
;
16364 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxDC
*arg1
= (wxDC
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16375 if (SWIG_arg_fail(1)) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16384 wxPoint
* resultptr
;
16385 resultptr
= new wxPoint((wxPoint
&)(result
));
16386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16394 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxDC
*arg1
= (wxDC
*) 0 ;
16397 int *arg2
= (int *) 0 ;
16398 int *arg3
= (int *) 0 ;
16403 PyObject
* obj0
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "self", NULL
16408 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16409 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
16411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16420 Py_INCREF(Py_None
); resultobj
= Py_None
;
16421 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16422 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16423 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16424 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16431 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxDC
*arg1
= (wxDC
*) 0 ;
16436 PyObject
* obj0
= 0 ;
16437 PyObject
* obj1
= 0 ;
16438 PyObject
* obj2
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self",(char *) "x",(char *) "y", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16445 if (SWIG_arg_fail(1)) SWIG_fail
;
16447 arg2
= (int)(SWIG_As_int(obj1
));
16448 if (SWIG_arg_fail(2)) SWIG_fail
;
16451 arg3
= (int)(SWIG_As_int(obj2
));
16452 if (SWIG_arg_fail(3)) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16461 Py_INCREF(Py_None
); resultobj
= Py_None
;
16468 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxDC
*arg1
= (wxDC
*) 0 ;
16471 wxPoint
*arg2
= 0 ;
16473 PyObject
* obj0
= 0 ;
16474 PyObject
* obj1
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self",(char *) "point", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16481 if (SWIG_arg_fail(1)) SWIG_fail
;
16484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 Py_INCREF(Py_None
); resultobj
= Py_None
;
16500 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxDC
*arg1
= (wxDC
*) 0 ;
16504 PyObject
* obj0
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
16510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16511 if (SWIG_arg_fail(1)) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16520 wxPoint
* resultptr
;
16521 resultptr
= new wxPoint((wxPoint
&)(result
));
16522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16530 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16532 wxDC
*arg1
= (wxDC
*) 0 ;
16533 int *arg2
= (int *) 0 ;
16534 int *arg3
= (int *) 0 ;
16539 PyObject
* obj0
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self", NULL
16544 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16545 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
16547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16548 if (SWIG_arg_fail(1)) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 Py_INCREF(Py_None
); resultobj
= Py_None
;
16557 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16558 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16559 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16560 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16567 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxDC
*arg1
= (wxDC
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 PyObject
* obj2
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self",(char *) "x",(char *) "y", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16581 if (SWIG_arg_fail(1)) SWIG_fail
;
16583 arg2
= (int)(SWIG_As_int(obj1
));
16584 if (SWIG_arg_fail(2)) SWIG_fail
;
16587 arg3
= (int)(SWIG_As_int(obj2
));
16588 if (SWIG_arg_fail(3)) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 Py_INCREF(Py_None
); resultobj
= Py_None
;
16604 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxDC
*arg1
= (wxDC
*) 0 ;
16607 wxPoint
*arg2
= 0 ;
16609 PyObject
* obj0
= 0 ;
16610 PyObject
* obj1
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self",(char *) "point", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16617 if (SWIG_arg_fail(1)) SWIG_fail
;
16620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 Py_INCREF(Py_None
); resultobj
= Py_None
;
16636 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxDC
*arg1
= (wxDC
*) 0 ;
16641 PyObject
* obj0
= 0 ;
16642 PyObject
* obj1
= 0 ;
16643 PyObject
* obj2
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16650 if (SWIG_arg_fail(1)) SWIG_fail
;
16652 arg2
= (bool)(SWIG_As_bool(obj1
));
16653 if (SWIG_arg_fail(2)) SWIG_fail
;
16656 arg3
= (bool)(SWIG_As_bool(obj2
));
16657 if (SWIG_arg_fail(3)) SWIG_fail
;
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 (arg1
)->SetAxisOrientation(arg2
,arg3
);
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 Py_INCREF(Py_None
); resultobj
= Py_None
;
16673 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
;
16675 wxDC
*arg1
= (wxDC
*) 0 ;
16677 PyObject
* obj0
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "self", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
16683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16684 if (SWIG_arg_fail(1)) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= SWIG_From_int((int)(result
));
16701 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
;
16703 wxDC
*arg1
= (wxDC
*) 0 ;
16705 PyObject
* obj0
= 0 ;
16706 PyObject
* obj1
= 0 ;
16707 char *kwnames
[] = {
16708 (char *) "self",(char *) "function", NULL
16711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
16712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16713 if (SWIG_arg_fail(1)) SWIG_fail
;
16715 arg2
= (int)(SWIG_As_int(obj1
));
16716 if (SWIG_arg_fail(2)) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 (arg1
)->SetLogicalFunction(arg2
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 Py_INCREF(Py_None
); resultobj
= Py_None
;
16732 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxDC
*arg1
= (wxDC
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
16741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16742 if (SWIG_arg_fail(1)) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 (arg1
)->ComputeScaleAndOrigin();
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 Py_INCREF(Py_None
); resultobj
= Py_None
;
16757 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxDC
*arg1
= (wxDC
*) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 PyObject
* obj1
= 0 ;
16764 PyObject
* obj2
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "self",(char *) "x",(char *) "y", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16771 if (SWIG_arg_fail(1)) SWIG_fail
;
16773 arg2
= (int)(SWIG_As_int(obj1
));
16774 if (SWIG_arg_fail(2)) SWIG_fail
;
16777 arg3
= (int)(SWIG_As_int(obj2
));
16778 if (SWIG_arg_fail(3)) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 (arg1
)->CalcBoundingBox(arg2
,arg3
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 Py_INCREF(Py_None
); resultobj
= Py_None
;
16794 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxDC
*arg1
= (wxDC
*) 0 ;
16797 wxPoint
*arg2
= 0 ;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 char *kwnames
[] = {
16802 (char *) "self",(char *) "point", NULL
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16807 if (SWIG_arg_fail(1)) SWIG_fail
;
16810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 Py_INCREF(Py_None
); resultobj
= Py_None
;
16826 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxDC
*arg1
= (wxDC
*) 0 ;
16829 PyObject
* obj0
= 0 ;
16830 char *kwnames
[] = {
16831 (char *) "self", NULL
16834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
16835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16836 if (SWIG_arg_fail(1)) SWIG_fail
;
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 (arg1
)->ResetBoundingBox();
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 Py_INCREF(Py_None
); resultobj
= Py_None
;
16851 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
;
16853 wxDC
*arg1
= (wxDC
*) 0 ;
16855 PyObject
* obj0
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "self", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
16861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16862 if (SWIG_arg_fail(1)) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (int)((wxDC
const *)arg1
)->MinX();
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= SWIG_From_int((int)(result
));
16879 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxDC
*arg1
= (wxDC
*) 0 ;
16883 PyObject
* obj0
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
16889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16890 if (SWIG_arg_fail(1)) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (int)((wxDC
const *)arg1
)->MaxX();
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= SWIG_From_int((int)(result
));
16907 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxDC
*arg1
= (wxDC
*) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
16917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16918 if (SWIG_arg_fail(1)) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (int)((wxDC
const *)arg1
)->MinY();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= SWIG_From_int((int)(result
));
16935 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxDC
*arg1
= (wxDC
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
16945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16946 if (SWIG_arg_fail(1)) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (int)((wxDC
const *)arg1
)->MaxY();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= SWIG_From_int((int)(result
));
16963 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxDC
*arg1
= (wxDC
*) 0 ;
16966 int *arg2
= (int *) 0 ;
16967 int *arg3
= (int *) 0 ;
16968 int *arg4
= (int *) 0 ;
16969 int *arg5
= (int *) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 char *kwnames
[] = {
16980 (char *) "self", NULL
16983 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16984 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16985 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16986 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
16988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16989 if (SWIG_arg_fail(1)) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16997 Py_INCREF(Py_None
); resultobj
= Py_None
;
16998 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16999 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17000 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17001 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17002 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17003 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17004 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
17005 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
17012 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxDC
*arg1
= (wxDC
*) 0 ;
17015 PyObject
*arg2
= (PyObject
*) 0 ;
17016 PyObject
*arg3
= (PyObject
*) 0 ;
17017 PyObject
*arg4
= (PyObject
*) 0 ;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 PyObject
* obj2
= 0 ;
17022 PyObject
* obj3
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17029 if (SWIG_arg_fail(1)) SWIG_fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= result
;
17047 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxDC
*arg1
= (wxDC
*) 0 ;
17050 PyObject
*arg2
= (PyObject
*) 0 ;
17051 PyObject
*arg3
= (PyObject
*) 0 ;
17052 PyObject
*arg4
= (PyObject
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 PyObject
* obj2
= 0 ;
17057 PyObject
* obj3
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17064 if (SWIG_arg_fail(1)) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= result
;
17082 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxDC
*arg1
= (wxDC
*) 0 ;
17085 PyObject
*arg2
= (PyObject
*) 0 ;
17086 PyObject
*arg3
= (PyObject
*) 0 ;
17087 PyObject
*arg4
= (PyObject
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 PyObject
* obj1
= 0 ;
17091 PyObject
* obj2
= 0 ;
17092 PyObject
* obj3
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17099 if (SWIG_arg_fail(1)) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= result
;
17117 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxDC
*arg1
= (wxDC
*) 0 ;
17120 PyObject
*arg2
= (PyObject
*) 0 ;
17121 PyObject
*arg3
= (PyObject
*) 0 ;
17122 PyObject
*arg4
= (PyObject
*) 0 ;
17124 PyObject
* obj0
= 0 ;
17125 PyObject
* obj1
= 0 ;
17126 PyObject
* obj2
= 0 ;
17127 PyObject
* obj3
= 0 ;
17128 char *kwnames
[] = {
17129 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17134 if (SWIG_arg_fail(1)) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= result
;
17152 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxDC
*arg1
= (wxDC
*) 0 ;
17155 PyObject
*arg2
= (PyObject
*) 0 ;
17156 PyObject
*arg3
= (PyObject
*) 0 ;
17157 PyObject
*arg4
= (PyObject
*) 0 ;
17159 PyObject
* obj0
= 0 ;
17160 PyObject
* obj1
= 0 ;
17161 PyObject
* obj2
= 0 ;
17162 PyObject
* obj3
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17169 if (SWIG_arg_fail(1)) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= result
;
17187 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxDC
*arg1
= (wxDC
*) 0 ;
17190 PyObject
*arg2
= (PyObject
*) 0 ;
17191 PyObject
*arg3
= (PyObject
*) 0 ;
17192 PyObject
*arg4
= (PyObject
*) 0 ;
17193 PyObject
*arg5
= (PyObject
*) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 PyObject
* obj1
= 0 ;
17197 PyObject
* obj2
= 0 ;
17198 PyObject
* obj3
= 0 ;
17199 PyObject
* obj4
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17206 if (SWIG_arg_fail(1)) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= result
;
17225 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17228 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17230 return Py_BuildValue((char *)"");
17232 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxMemoryDC
*result
;
17235 char *kwnames
[] = {
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17241 if (!wxPyCheckForApp()) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (wxMemoryDC
*)new wxMemoryDC();
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17255 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxDC
*arg1
= (wxDC
*) 0 ;
17258 wxMemoryDC
*result
;
17259 PyObject
* obj0
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "oldDC", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17266 if (SWIG_arg_fail(1)) SWIG_fail
;
17268 if (!wxPyCheckForApp()) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17282 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17285 wxBitmap
*arg2
= 0 ;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self",(char *) "bitmap", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17294 if (SWIG_arg_fail(1)) SWIG_fail
;
17296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17297 if (SWIG_arg_fail(2)) SWIG_fail
;
17298 if (arg2
== NULL
) {
17299 SWIG_null_ref("wxBitmap");
17301 if (SWIG_arg_fail(2)) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 Py_INCREF(Py_None
); resultobj
= Py_None
;
17317 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17320 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17322 return Py_BuildValue((char *)"");
17324 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17325 PyObject
*resultobj
;
17326 wxDC
*arg1
= (wxDC
*) 0 ;
17327 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17328 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17329 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17330 wxBufferedDC
*result
;
17331 PyObject
* obj0
= 0 ;
17332 PyObject
* obj1
= 0 ;
17333 PyObject
* obj2
= 0 ;
17335 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17337 if (SWIG_arg_fail(1)) SWIG_fail
;
17340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17341 if (SWIG_arg_fail(2)) SWIG_fail
;
17342 if (arg2
== NULL
) {
17343 SWIG_null_ref("wxBitmap");
17345 if (SWIG_arg_fail(2)) SWIG_fail
;
17350 arg3
= (int)(SWIG_As_int(obj2
));
17351 if (SWIG_arg_fail(3)) SWIG_fail
;
17355 if (!wxPyCheckForApp()) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17369 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
17370 PyObject
*resultobj
;
17371 wxDC
*arg1
= (wxDC
*) 0 ;
17373 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17374 wxBufferedDC
*result
;
17376 PyObject
* obj0
= 0 ;
17377 PyObject
* obj1
= 0 ;
17378 PyObject
* obj2
= 0 ;
17380 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17382 if (SWIG_arg_fail(1)) SWIG_fail
;
17385 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17389 arg3
= (int)(SWIG_As_int(obj2
));
17390 if (SWIG_arg_fail(3)) SWIG_fail
;
17394 if (!wxPyCheckForApp()) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17408 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
17413 argc
= PyObject_Length(args
);
17414 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
17415 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17417 if ((argc
>= 1) && (argc
<= 3)) {
17421 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17430 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17434 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
17443 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17445 _v
= SWIG_Check_int(argv
[2]);
17447 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17452 if ((argc
>= 2) && (argc
<= 3)) {
17456 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17465 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
17469 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17471 _v
= SWIG_Check_int(argv
[2]);
17473 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17479 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
17484 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17487 PyObject
* obj0
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
17493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17494 if (SWIG_arg_fail(1)) SWIG_fail
;
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17502 Py_INCREF(Py_None
); resultobj
= Py_None
;
17509 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17512 PyObject
* obj0
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
17518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17519 if (SWIG_arg_fail(1)) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 Py_INCREF(Py_None
); resultobj
= Py_None
;
17534 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
17536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17537 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
17539 return Py_BuildValue((char *)"");
17541 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxWindow
*arg1
= (wxWindow
*) 0 ;
17544 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17545 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17546 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17547 wxBufferedPaintDC
*result
;
17548 PyObject
* obj0
= 0 ;
17549 PyObject
* obj1
= 0 ;
17550 PyObject
* obj2
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "window",(char *) "buffer",(char *) "style", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17557 if (SWIG_arg_fail(1)) SWIG_fail
;
17560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17561 if (SWIG_arg_fail(2)) SWIG_fail
;
17562 if (arg2
== NULL
) {
17563 SWIG_null_ref("wxBitmap");
17565 if (SWIG_arg_fail(2)) SWIG_fail
;
17570 arg3
= (int)(SWIG_As_int(obj2
));
17571 if (SWIG_arg_fail(3)) SWIG_fail
;
17575 if (!wxPyCheckForApp()) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
17589 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
17591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17592 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
17594 return Py_BuildValue((char *)"");
17596 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxScreenDC
*result
;
17599 char *kwnames
[] = {
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
17605 if (!wxPyCheckForApp()) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (wxScreenDC
*)new wxScreenDC();
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
17619 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17622 wxWindow
*arg2
= (wxWindow
*) 0 ;
17624 PyObject
* obj0
= 0 ;
17625 PyObject
* obj1
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self",(char *) "window", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
17631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17632 if (SWIG_arg_fail(1)) SWIG_fail
;
17633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17634 if (SWIG_arg_fail(2)) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17651 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17654 wxRect
*arg2
= (wxRect
*) NULL
;
17656 PyObject
* obj0
= 0 ;
17657 PyObject
* obj1
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self",(char *) "rect", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
17663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17664 if (SWIG_arg_fail(1)) SWIG_fail
;
17666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
17667 if (SWIG_arg_fail(2)) SWIG_fail
;
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17685 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
17695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17696 if (SWIG_arg_fail(1)) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 result
= (bool)(arg1
)->EndDrawingOnTop();
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17713 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
17715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17716 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
17718 return Py_BuildValue((char *)"");
17720 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxWindow
*arg1
= (wxWindow
*) 0 ;
17723 wxClientDC
*result
;
17724 PyObject
* obj0
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "win", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
17730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17731 if (SWIG_arg_fail(1)) SWIG_fail
;
17733 if (!wxPyCheckForApp()) SWIG_fail
;
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= (wxClientDC
*)new wxClientDC(arg1
);
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
17747 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
17749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17750 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
17752 return Py_BuildValue((char *)"");
17754 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxWindow
*arg1
= (wxWindow
*) 0 ;
17758 PyObject
* obj0
= 0 ;
17759 char *kwnames
[] = {
17760 (char *) "win", NULL
17763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
17764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17765 if (SWIG_arg_fail(1)) SWIG_fail
;
17767 if (!wxPyCheckForApp()) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
17781 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
17783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17784 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
17786 return Py_BuildValue((char *)"");
17788 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxWindow
*arg1
= (wxWindow
*) 0 ;
17791 wxWindowDC
*result
;
17792 PyObject
* obj0
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "win", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
17798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17799 if (SWIG_arg_fail(1)) SWIG_fail
;
17801 if (!wxPyCheckForApp()) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
17815 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
17817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17818 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
17820 return Py_BuildValue((char *)"");
17822 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17826 wxMirrorDC
*result
;
17827 PyObject
* obj0
= 0 ;
17828 PyObject
* obj1
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "dc",(char *) "mirror", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17836 if (SWIG_arg_fail(1)) SWIG_fail
;
17837 if (arg1
== NULL
) {
17838 SWIG_null_ref("wxDC");
17840 if (SWIG_arg_fail(1)) SWIG_fail
;
17843 arg2
= (bool)(SWIG_As_bool(obj1
));
17844 if (SWIG_arg_fail(2)) SWIG_fail
;
17847 if (!wxPyCheckForApp()) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
17861 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
17863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17864 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
17866 return Py_BuildValue((char *)"");
17868 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxPrintData
*arg1
= 0 ;
17871 wxPostScriptDC
*result
;
17872 PyObject
* obj0
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "printData", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
17879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17880 if (SWIG_arg_fail(1)) SWIG_fail
;
17881 if (arg1
== NULL
) {
17882 SWIG_null_ref("wxPrintData");
17884 if (SWIG_arg_fail(1)) SWIG_fail
;
17887 if (!wxPyCheckForApp()) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
17901 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17904 wxPrintData
*result
;
17905 PyObject
* obj0
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
17911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17912 if (SWIG_arg_fail(1)) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17917 result
= (wxPrintData
*) &_result_ref
;
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
17930 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17933 wxPrintData
*arg2
= 0 ;
17934 PyObject
* obj0
= 0 ;
17935 PyObject
* obj1
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self",(char *) "data", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17942 if (SWIG_arg_fail(1)) SWIG_fail
;
17944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17945 if (SWIG_arg_fail(2)) SWIG_fail
;
17946 if (arg2
== NULL
) {
17947 SWIG_null_ref("wxPrintData");
17949 if (SWIG_arg_fail(2)) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 Py_INCREF(Py_None
); resultobj
= Py_None
;
17965 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17968 PyObject
* obj0
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "ppi", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
17975 arg1
= (int)(SWIG_As_int(obj0
));
17976 if (SWIG_arg_fail(1)) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 wxPostScriptDC::SetResolution(arg1
);
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 Py_INCREF(Py_None
); resultobj
= Py_None
;
17992 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17995 char *kwnames
[] = {
17999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 result
= (int)wxPostScriptDC::GetResolution();
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18008 resultobj
= SWIG_From_int((int)(result
));
18016 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
18018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18019 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
18021 return Py_BuildValue((char *)"");
18023 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18026 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18027 wxMetaFile
*result
;
18028 bool temp1
= false ;
18029 PyObject
* obj0
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "filename", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
18037 arg1
= wxString_in_helper(obj0
);
18038 if (arg1
== NULL
) SWIG_fail
;
18043 if (!wxPyCheckForApp()) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
18065 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18068 PyObject
* obj0
= 0 ;
18069 char *kwnames
[] = {
18070 (char *) "self", NULL
18073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
18074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18075 if (SWIG_arg_fail(1)) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 Py_INCREF(Py_None
); resultobj
= Py_None
;
18090 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
18100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18101 if (SWIG_arg_fail(1)) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (bool)(arg1
)->Ok();
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18118 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18121 int arg2
= (int) 0 ;
18122 int arg3
= (int) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 PyObject
* obj2
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self",(char *) "width",(char *) "height", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18133 if (SWIG_arg_fail(1)) SWIG_fail
;
18136 arg2
= (int)(SWIG_As_int(obj1
));
18137 if (SWIG_arg_fail(2)) SWIG_fail
;
18142 arg3
= (int)(SWIG_As_int(obj2
));
18143 if (SWIG_arg_fail(3)) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18162 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
18172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18173 if (SWIG_arg_fail(1)) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (arg1
)->GetSize();
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18182 wxSize
* resultptr
;
18183 resultptr
= new wxSize((wxSize
&)(result
));
18184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18192 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
18202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18203 if (SWIG_arg_fail(1)) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= (int)(arg1
)->GetWidth();
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= SWIG_From_int((int)(result
));
18220 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18224 PyObject
* obj0
= 0 ;
18225 char *kwnames
[] = {
18226 (char *) "self", NULL
18229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
18230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18231 if (SWIG_arg_fail(1)) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (int)(arg1
)->GetHeight();
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= SWIG_From_int((int)(result
));
18248 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
18250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18251 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
18253 return Py_BuildValue((char *)"");
18255 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
;
18257 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18258 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18259 int arg2
= (int) 0 ;
18260 int arg3
= (int) 0 ;
18261 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18262 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18263 wxMetaFileDC
*result
;
18264 bool temp1
= false ;
18265 bool temp4
= false ;
18266 PyObject
* obj0
= 0 ;
18267 PyObject
* obj1
= 0 ;
18268 PyObject
* obj2
= 0 ;
18269 PyObject
* obj3
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18277 arg1
= wxString_in_helper(obj0
);
18278 if (arg1
== NULL
) SWIG_fail
;
18284 arg2
= (int)(SWIG_As_int(obj1
));
18285 if (SWIG_arg_fail(2)) SWIG_fail
;
18290 arg3
= (int)(SWIG_As_int(obj2
));
18291 if (SWIG_arg_fail(3)) SWIG_fail
;
18296 arg4
= wxString_in_helper(obj3
);
18297 if (arg4
== NULL
) SWIG_fail
;
18302 if (!wxPyCheckForApp()) SWIG_fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
18332 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
;
18334 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
18335 wxMetaFile
*result
;
18336 PyObject
* obj0
= 0 ;
18337 char *kwnames
[] = {
18338 (char *) "self", NULL
18341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
18342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION
| 0);
18343 if (SWIG_arg_fail(1)) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 result
= (wxMetaFile
*)(arg1
)->Close();
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
18358 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
18360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18361 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
18363 return Py_BuildValue((char *)"");
18365 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18366 PyObject
*resultobj
;
18367 wxPrintData
*arg1
= 0 ;
18368 wxPrinterDC
*result
;
18369 PyObject
* obj0
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "printData", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
18376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18377 if (SWIG_arg_fail(1)) SWIG_fail
;
18378 if (arg1
== NULL
) {
18379 SWIG_null_ref("wxPrintData");
18381 if (SWIG_arg_fail(1)) SWIG_fail
;
18384 if (!wxPyCheckForApp()) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
18398 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
18400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18401 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
18403 return Py_BuildValue((char *)"");
18405 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18409 int arg3
= (int) true ;
18410 int arg4
= (int) 1 ;
18411 wxImageList
*result
;
18412 PyObject
* obj0
= 0 ;
18413 PyObject
* obj1
= 0 ;
18414 PyObject
* obj2
= 0 ;
18415 PyObject
* obj3
= 0 ;
18416 char *kwnames
[] = {
18417 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
18420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18422 arg1
= (int)(SWIG_As_int(obj0
));
18423 if (SWIG_arg_fail(1)) SWIG_fail
;
18426 arg2
= (int)(SWIG_As_int(obj1
));
18427 if (SWIG_arg_fail(2)) SWIG_fail
;
18431 arg3
= (int)(SWIG_As_int(obj2
));
18432 if (SWIG_arg_fail(3)) SWIG_fail
;
18437 arg4
= (int)(SWIG_As_int(obj3
));
18438 if (SWIG_arg_fail(4)) SWIG_fail
;
18442 if (!wxPyCheckForApp()) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18450 resultobj
= wxPyMake_wxObject(result
, 1);
18458 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxImageList
*arg1
= (wxImageList
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
18467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 Py_INCREF(Py_None
); resultobj
= Py_None
;
18483 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18484 PyObject
*resultobj
;
18485 wxImageList
*arg1
= (wxImageList
*) 0 ;
18486 wxBitmap
*arg2
= 0 ;
18487 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
18488 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
18490 PyObject
* obj0
= 0 ;
18491 PyObject
* obj1
= 0 ;
18492 PyObject
* obj2
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18499 if (SWIG_arg_fail(1)) SWIG_fail
;
18501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18502 if (SWIG_arg_fail(2)) SWIG_fail
;
18503 if (arg2
== NULL
) {
18504 SWIG_null_ref("wxBitmap");
18506 if (SWIG_arg_fail(2)) SWIG_fail
;
18510 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18511 if (SWIG_arg_fail(3)) SWIG_fail
;
18512 if (arg3
== NULL
) {
18513 SWIG_null_ref("wxBitmap");
18515 if (SWIG_arg_fail(3)) SWIG_fail
;
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18520 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= SWIG_From_int((int)(result
));
18534 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxImageList
*arg1
= (wxImageList
*) 0 ;
18537 wxBitmap
*arg2
= 0 ;
18538 wxColour
*arg3
= 0 ;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 PyObject
* obj2
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18550 if (SWIG_arg_fail(1)) SWIG_fail
;
18552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18553 if (SWIG_arg_fail(2)) SWIG_fail
;
18554 if (arg2
== NULL
) {
18555 SWIG_null_ref("wxBitmap");
18557 if (SWIG_arg_fail(2)) SWIG_fail
;
18561 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= SWIG_From_int((int)(result
));
18579 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxImageList
*arg1
= (wxImageList
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "icon", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18592 if (SWIG_arg_fail(1)) SWIG_fail
;
18594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
18595 if (SWIG_arg_fail(2)) SWIG_fail
;
18596 if (arg2
== NULL
) {
18597 SWIG_null_ref("wxIcon");
18599 if (SWIG_arg_fail(2)) SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_From_int((int)(result
));
18617 static PyObject
*_wrap_ImageList_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 wxImageList
*arg1
= (wxImageList
*) 0 ;
18621 SwigValueWrapper
<wxBitmap
> result
;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "self",(char *) "index", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
18629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18630 if (SWIG_arg_fail(1)) SWIG_fail
;
18632 arg2
= (int)(SWIG_As_int(obj1
));
18633 if (SWIG_arg_fail(2)) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18643 wxBitmap
* resultptr
;
18644 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18653 static PyObject
*_wrap_ImageList_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxImageList
*arg1
= (wxImageList
*) 0 ;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "self",(char *) "index", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18666 if (SWIG_arg_fail(1)) SWIG_fail
;
18668 arg2
= (int)(SWIG_As_int(obj1
));
18669 if (SWIG_arg_fail(2)) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18679 wxIcon
* resultptr
;
18680 resultptr
= new wxIcon((wxIcon
&)(result
));
18681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
18689 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxImageList
*arg1
= (wxImageList
*) 0 ;
18693 wxBitmap
*arg3
= 0 ;
18695 PyObject
* obj0
= 0 ;
18696 PyObject
* obj1
= 0 ;
18697 PyObject
* obj2
= 0 ;
18698 char *kwnames
[] = {
18699 (char *) "self",(char *) "index",(char *) "bitmap", NULL
18702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18704 if (SWIG_arg_fail(1)) SWIG_fail
;
18706 arg2
= (int)(SWIG_As_int(obj1
));
18707 if (SWIG_arg_fail(2)) SWIG_fail
;
18710 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18711 if (SWIG_arg_fail(3)) SWIG_fail
;
18712 if (arg3
== NULL
) {
18713 SWIG_null_ref("wxBitmap");
18715 if (SWIG_arg_fail(3)) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18733 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxImageList
*arg1
= (wxImageList
*) 0 ;
18740 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
18741 bool arg7
= (bool) (bool)false ;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 PyObject
* obj2
= 0 ;
18746 PyObject
* obj3
= 0 ;
18747 PyObject
* obj4
= 0 ;
18748 PyObject
* obj5
= 0 ;
18749 PyObject
* obj6
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18756 if (SWIG_arg_fail(1)) SWIG_fail
;
18758 arg2
= (int)(SWIG_As_int(obj1
));
18759 if (SWIG_arg_fail(2)) SWIG_fail
;
18762 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18763 if (SWIG_arg_fail(3)) SWIG_fail
;
18764 if (arg3
== NULL
) {
18765 SWIG_null_ref("wxDC");
18767 if (SWIG_arg_fail(3)) SWIG_fail
;
18770 arg4
= (int)(SWIG_As_int(obj3
));
18771 if (SWIG_arg_fail(4)) SWIG_fail
;
18774 arg5
= (int)(SWIG_As_int(obj4
));
18775 if (SWIG_arg_fail(5)) SWIG_fail
;
18779 arg6
= (int)(SWIG_As_int(obj5
));
18780 if (SWIG_arg_fail(6)) SWIG_fail
;
18785 arg7
= (bool const)(SWIG_As_bool(obj6
));
18786 if (SWIG_arg_fail(7)) SWIG_fail
;
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18805 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxImageList
*arg1
= (wxImageList
*) 0 ;
18809 PyObject
* obj0
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
18815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18816 if (SWIG_arg_fail(1)) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= (int)(arg1
)->GetImageCount();
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18825 resultobj
= SWIG_From_int((int)(result
));
18833 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
;
18835 wxImageList
*arg1
= (wxImageList
*) 0 ;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self",(char *) "index", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
18845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail
;
18848 arg2
= (int)(SWIG_As_int(obj1
));
18849 if (SWIG_arg_fail(2)) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (bool)(arg1
)->Remove(arg2
);
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18867 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxImageList
*arg1
= (wxImageList
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
18877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18878 if (SWIG_arg_fail(1)) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (bool)(arg1
)->RemoveAll();
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18895 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxImageList
*arg1
= (wxImageList
*) 0 ;
18905 PyObject
* obj0
= 0 ;
18906 PyObject
* obj1
= 0 ;
18907 char *kwnames
[] = {
18908 (char *) "self",(char *) "index", NULL
18911 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18912 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
18913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18915 if (SWIG_arg_fail(1)) SWIG_fail
;
18917 arg2
= (int)(SWIG_As_int(obj1
));
18918 if (SWIG_arg_fail(2)) SWIG_fail
;
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18927 Py_INCREF(Py_None
); resultobj
= Py_None
;
18928 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18929 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18930 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
18931 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
18938 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
18940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18941 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
18943 return Py_BuildValue((char *)"");
18945 static int _wrap_NORMAL_FONT_set(PyObject
*) {
18946 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
18951 static PyObject
*_wrap_NORMAL_FONT_get(void) {
18954 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
18959 static int _wrap_SMALL_FONT_set(PyObject
*) {
18960 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
18965 static PyObject
*_wrap_SMALL_FONT_get(void) {
18968 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
18973 static int _wrap_ITALIC_FONT_set(PyObject
*) {
18974 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
18979 static PyObject
*_wrap_ITALIC_FONT_get(void) {
18982 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
18987 static int _wrap_SWISS_FONT_set(PyObject
*) {
18988 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
18993 static PyObject
*_wrap_SWISS_FONT_get(void) {
18996 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
19001 static int _wrap_RED_PEN_set(PyObject
*) {
19002 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
19007 static PyObject
*_wrap_RED_PEN_get(void) {
19010 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
19015 static int _wrap_CYAN_PEN_set(PyObject
*) {
19016 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
19021 static PyObject
*_wrap_CYAN_PEN_get(void) {
19024 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
19029 static int _wrap_GREEN_PEN_set(PyObject
*) {
19030 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
19035 static PyObject
*_wrap_GREEN_PEN_get(void) {
19038 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
19043 static int _wrap_BLACK_PEN_set(PyObject
*) {
19044 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
19049 static PyObject
*_wrap_BLACK_PEN_get(void) {
19052 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
19057 static int _wrap_WHITE_PEN_set(PyObject
*) {
19058 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
19063 static PyObject
*_wrap_WHITE_PEN_get(void) {
19066 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
19071 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
19072 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
19077 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
19080 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
19085 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
19086 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
19091 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
19094 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
19099 static int _wrap_GREY_PEN_set(PyObject
*) {
19100 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
19105 static PyObject
*_wrap_GREY_PEN_get(void) {
19108 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19113 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
19114 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
19119 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
19122 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19127 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
19128 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
19133 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
19136 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19141 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
19142 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
19147 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
19150 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19155 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
19156 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
19161 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
19164 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19169 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
19170 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
19175 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
19178 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19183 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
19184 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
19189 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
19192 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19197 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
19198 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
19203 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
19206 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19211 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19212 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19217 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19220 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19225 static int _wrap_RED_BRUSH_set(PyObject
*) {
19226 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
19231 static PyObject
*_wrap_RED_BRUSH_get(void) {
19234 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19239 static int _wrap_GREY_BRUSH_set(PyObject
*) {
19240 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
19245 static PyObject
*_wrap_GREY_BRUSH_get(void) {
19248 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19253 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
19254 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
19259 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
19262 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19267 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
19268 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
19273 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
19276 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19281 static int _wrap_BLACK_set(PyObject
*) {
19282 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
19287 static PyObject
*_wrap_BLACK_get(void) {
19290 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
19295 static int _wrap_WHITE_set(PyObject
*) {
19296 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
19301 static PyObject
*_wrap_WHITE_get(void) {
19304 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
19309 static int _wrap_RED_set(PyObject
*) {
19310 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
19315 static PyObject
*_wrap_RED_get(void) {
19318 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
19323 static int _wrap_BLUE_set(PyObject
*) {
19324 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
19329 static PyObject
*_wrap_BLUE_get(void) {
19332 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
19337 static int _wrap_GREEN_set(PyObject
*) {
19338 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
19343 static PyObject
*_wrap_GREEN_get(void) {
19346 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
19351 static int _wrap_CYAN_set(PyObject
*) {
19352 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
19357 static PyObject
*_wrap_CYAN_get(void) {
19360 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
19365 static int _wrap_LIGHT_GREY_set(PyObject
*) {
19366 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
19371 static PyObject
*_wrap_LIGHT_GREY_get(void) {
19374 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
19379 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
19380 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
19385 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
19388 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19393 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
19394 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
19399 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
19402 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19407 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
19408 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
19413 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
19416 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19421 static int _wrap_NullBitmap_set(PyObject
*) {
19422 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
19427 static PyObject
*_wrap_NullBitmap_get(void) {
19430 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
19435 static int _wrap_NullIcon_set(PyObject
*) {
19436 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
19441 static PyObject
*_wrap_NullIcon_get(void) {
19444 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
19449 static int _wrap_NullCursor_set(PyObject
*) {
19450 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
19455 static PyObject
*_wrap_NullCursor_get(void) {
19458 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
19463 static int _wrap_NullPen_set(PyObject
*) {
19464 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
19469 static PyObject
*_wrap_NullPen_get(void) {
19472 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
19477 static int _wrap_NullBrush_set(PyObject
*) {
19478 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
19483 static PyObject
*_wrap_NullBrush_get(void) {
19486 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
19491 static int _wrap_NullPalette_set(PyObject
*) {
19492 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
19497 static PyObject
*_wrap_NullPalette_get(void) {
19500 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
19505 static int _wrap_NullFont_set(PyObject
*) {
19506 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
19511 static PyObject
*_wrap_NullFont_get(void) {
19514 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
19519 static int _wrap_NullColour_set(PyObject
*) {
19520 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
19525 static PyObject
*_wrap_NullColour_get(void) {
19528 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
19533 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxPenList
*arg1
= (wxPenList
*) 0 ;
19536 wxPen
*arg2
= (wxPen
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self",(char *) "pen", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
19544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19545 if (SWIG_arg_fail(1)) SWIG_fail
;
19546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19547 if (SWIG_arg_fail(2)) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 (arg1
)->AddPen(arg2
);
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 Py_INCREF(Py_None
); resultobj
= Py_None
;
19562 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxPenList
*arg1
= (wxPenList
*) 0 ;
19565 wxColour
*arg2
= 0 ;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 PyObject
* obj2
= 0 ;
19573 PyObject
* obj3
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19580 if (SWIG_arg_fail(1)) SWIG_fail
;
19583 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19586 arg3
= (int)(SWIG_As_int(obj2
));
19587 if (SWIG_arg_fail(3)) SWIG_fail
;
19590 arg4
= (int)(SWIG_As_int(obj3
));
19591 if (SWIG_arg_fail(4)) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
19607 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxPenList
*arg1
= (wxPenList
*) 0 ;
19610 wxPen
*arg2
= (wxPen
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 PyObject
* obj1
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self",(char *) "pen", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
19618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19619 if (SWIG_arg_fail(1)) SWIG_fail
;
19620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19621 if (SWIG_arg_fail(2)) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 (arg1
)->RemovePen(arg2
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 Py_INCREF(Py_None
); resultobj
= Py_None
;
19636 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxPenList
*arg1
= (wxPenList
*) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 char *kwnames
[] = {
19642 (char *) "self", NULL
19645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
19646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19647 if (SWIG_arg_fail(1)) SWIG_fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 result
= (int)(arg1
)->GetCount();
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_From_int((int)(result
));
19664 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
19666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19667 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
19669 return Py_BuildValue((char *)"");
19671 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19674 wxBrush
*arg2
= (wxBrush
*) 0 ;
19675 PyObject
* obj0
= 0 ;
19676 PyObject
* obj1
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self",(char *) "brush", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19683 if (SWIG_arg_fail(1)) SWIG_fail
;
19684 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19685 if (SWIG_arg_fail(2)) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 (arg1
)->AddBrush(arg2
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 Py_INCREF(Py_None
); resultobj
= Py_None
;
19700 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19703 wxColour
*arg2
= 0 ;
19704 int arg3
= (int) wxSOLID
;
19707 PyObject
* obj0
= 0 ;
19708 PyObject
* obj1
= 0 ;
19709 PyObject
* obj2
= 0 ;
19710 char *kwnames
[] = {
19711 (char *) "self",(char *) "colour",(char *) "style", NULL
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19716 if (SWIG_arg_fail(1)) SWIG_fail
;
19719 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19723 arg3
= (int)(SWIG_As_int(obj2
));
19724 if (SWIG_arg_fail(3)) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
19741 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19744 wxBrush
*arg2
= (wxBrush
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 PyObject
* obj1
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self",(char *) "brush", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19753 if (SWIG_arg_fail(1)) SWIG_fail
;
19754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19755 if (SWIG_arg_fail(2)) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 (arg1
)->RemoveBrush(arg2
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 Py_INCREF(Py_None
); resultobj
= Py_None
;
19770 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 char *kwnames
[] = {
19776 (char *) "self", NULL
19779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
19780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19781 if (SWIG_arg_fail(1)) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (int)(arg1
)->GetCount();
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= SWIG_From_int((int)(result
));
19798 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
19800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19801 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
19803 return Py_BuildValue((char *)"");
19805 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxColourDatabase
*result
;
19808 char *kwnames
[] = {
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
19814 if (!wxPyCheckForApp()) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (wxColourDatabase
*)new wxColourDatabase();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
19828 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
19837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19838 if (SWIG_arg_fail(1)) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 Py_INCREF(Py_None
); resultobj
= Py_None
;
19853 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19856 wxString
*arg2
= 0 ;
19858 bool temp2
= false ;
19859 PyObject
* obj0
= 0 ;
19860 PyObject
* obj1
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self",(char *) "name", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
19866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19867 if (SWIG_arg_fail(1)) SWIG_fail
;
19869 arg2
= wxString_in_helper(obj1
);
19870 if (arg2
== NULL
) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19881 wxColour
* resultptr
;
19882 resultptr
= new wxColour((wxColour
&)(result
));
19883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19899 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
;
19901 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19902 wxColour
*arg2
= 0 ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self",(char *) "colour", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
19912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19913 if (SWIG_arg_fail(1)) SWIG_fail
;
19916 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19938 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19941 wxString
*arg2
= 0 ;
19942 wxColour
*arg3
= 0 ;
19943 bool temp2
= false ;
19945 PyObject
* obj0
= 0 ;
19946 PyObject
* obj1
= 0 ;
19947 PyObject
* obj2
= 0 ;
19948 char *kwnames
[] = {
19949 (char *) "self",(char *) "name",(char *) "colour", NULL
19952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19954 if (SWIG_arg_fail(1)) SWIG_fail
;
19956 arg2
= wxString_in_helper(obj1
);
19957 if (arg2
== NULL
) SWIG_fail
;
19962 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 Py_INCREF(Py_None
); resultobj
= Py_None
;
19986 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
;
19988 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19989 wxString
*arg2
= 0 ;
19993 bool temp2
= false ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 PyObject
* obj2
= 0 ;
19997 PyObject
* obj3
= 0 ;
19998 PyObject
* obj4
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20005 if (SWIG_arg_fail(1)) SWIG_fail
;
20007 arg2
= wxString_in_helper(obj1
);
20008 if (arg2
== NULL
) SWIG_fail
;
20012 arg3
= (int)(SWIG_As_int(obj2
));
20013 if (SWIG_arg_fail(3)) SWIG_fail
;
20016 arg4
= (int)(SWIG_As_int(obj3
));
20017 if (SWIG_arg_fail(4)) SWIG_fail
;
20020 arg5
= (int)(SWIG_As_int(obj4
));
20021 if (SWIG_arg_fail(5)) SWIG_fail
;
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 Py_INCREF(Py_None
); resultobj
= Py_None
;
20045 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
20047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20048 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
20050 return Py_BuildValue((char *)"");
20052 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
;
20054 wxFontList
*arg1
= (wxFontList
*) 0 ;
20055 wxFont
*arg2
= (wxFont
*) 0 ;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self",(char *) "font", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20064 if (SWIG_arg_fail(1)) SWIG_fail
;
20065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20066 if (SWIG_arg_fail(2)) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 (arg1
)->AddFont(arg2
);
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20074 Py_INCREF(Py_None
); resultobj
= Py_None
;
20081 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20082 PyObject
*resultobj
;
20083 wxFontList
*arg1
= (wxFontList
*) 0 ;
20088 bool arg6
= (bool) false ;
20089 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20090 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20091 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
20093 bool temp7
= false ;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 PyObject
* obj2
= 0 ;
20097 PyObject
* obj3
= 0 ;
20098 PyObject
* obj4
= 0 ;
20099 PyObject
* obj5
= 0 ;
20100 PyObject
* obj6
= 0 ;
20101 PyObject
* obj7
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20108 if (SWIG_arg_fail(1)) SWIG_fail
;
20110 arg2
= (int)(SWIG_As_int(obj1
));
20111 if (SWIG_arg_fail(2)) SWIG_fail
;
20114 arg3
= (int)(SWIG_As_int(obj2
));
20115 if (SWIG_arg_fail(3)) SWIG_fail
;
20118 arg4
= (int)(SWIG_As_int(obj3
));
20119 if (SWIG_arg_fail(4)) SWIG_fail
;
20122 arg5
= (int)(SWIG_As_int(obj4
));
20123 if (SWIG_arg_fail(5)) SWIG_fail
;
20127 arg6
= (bool)(SWIG_As_bool(obj5
));
20128 if (SWIG_arg_fail(6)) SWIG_fail
;
20133 arg7
= wxString_in_helper(obj6
);
20134 if (arg7
== NULL
) SWIG_fail
;
20140 arg8
= (wxFontEncoding
)(SWIG_As_int(obj7
));
20141 if (SWIG_arg_fail(8)) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
20166 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxFontList
*arg1
= (wxFontList
*) 0 ;
20169 wxFont
*arg2
= (wxFont
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 PyObject
* obj1
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self",(char *) "font", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20178 if (SWIG_arg_fail(1)) SWIG_fail
;
20179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20180 if (SWIG_arg_fail(2)) SWIG_fail
;
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 (arg1
)->RemoveFont(arg2
);
20185 wxPyEndAllowThreads(__tstate
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20188 Py_INCREF(Py_None
); resultobj
= Py_None
;
20195 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxFontList
*arg1
= (wxFontList
*) 0 ;
20199 PyObject
* obj0
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self", NULL
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
20205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20206 if (SWIG_arg_fail(1)) SWIG_fail
;
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 result
= (int)(arg1
)->GetCount();
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20215 resultobj
= SWIG_From_int((int)(result
));
20223 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
20225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20226 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
20228 return Py_BuildValue((char *)"");
20230 static int _wrap_TheFontList_set(PyObject
*) {
20231 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
20236 static PyObject
*_wrap_TheFontList_get(void) {
20239 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
20244 static int _wrap_ThePenList_set(PyObject
*) {
20245 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
20250 static PyObject
*_wrap_ThePenList_get(void) {
20253 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
20258 static int _wrap_TheBrushList_set(PyObject
*) {
20259 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
20264 static PyObject
*_wrap_TheBrushList_get(void) {
20267 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
20272 static int _wrap_TheColourDatabase_set(PyObject
*) {
20273 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
20278 static PyObject
*_wrap_TheColourDatabase_get(void) {
20281 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
20286 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
;
20289 char *kwnames
[] = {
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 result
= (wxEffects
*)new wxEffects();
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
20308 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxEffects
*arg1
= (wxEffects
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
20318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20319 if (SWIG_arg_fail(1)) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20328 wxColour
* resultptr
;
20329 resultptr
= new wxColour((wxColour
&)(result
));
20330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20338 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxEffects
*arg1
= (wxEffects
*) 0 ;
20342 PyObject
* obj0
= 0 ;
20343 char *kwnames
[] = {
20344 (char *) "self", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
20348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20349 if (SWIG_arg_fail(1)) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20358 wxColour
* resultptr
;
20359 resultptr
= new wxColour((wxColour
&)(result
));
20360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20368 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
;
20370 wxEffects
*arg1
= (wxEffects
*) 0 ;
20372 PyObject
* obj0
= 0 ;
20373 char *kwnames
[] = {
20374 (char *) "self", NULL
20377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
20378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20379 if (SWIG_arg_fail(1)) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20388 wxColour
* resultptr
;
20389 resultptr
= new wxColour((wxColour
&)(result
));
20390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20398 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxEffects
*arg1
= (wxEffects
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
20408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20409 if (SWIG_arg_fail(1)) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20418 wxColour
* resultptr
;
20419 resultptr
= new wxColour((wxColour
&)(result
));
20420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20428 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxEffects
*arg1
= (wxEffects
*) 0 ;
20432 PyObject
* obj0
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
20438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20448 wxColour
* resultptr
;
20449 resultptr
= new wxColour((wxColour
&)(result
));
20450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20458 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxEffects
*arg1
= (wxEffects
*) 0 ;
20461 wxColour
*arg2
= 0 ;
20463 PyObject
* obj0
= 0 ;
20464 PyObject
* obj1
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self",(char *) "c", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20471 if (SWIG_arg_fail(1)) SWIG_fail
;
20474 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 Py_INCREF(Py_None
); resultobj
= Py_None
;
20490 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxEffects
*arg1
= (wxEffects
*) 0 ;
20493 wxColour
*arg2
= 0 ;
20495 PyObject
* obj0
= 0 ;
20496 PyObject
* obj1
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self",(char *) "c", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20503 if (SWIG_arg_fail(1)) SWIG_fail
;
20506 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 Py_INCREF(Py_None
); resultobj
= Py_None
;
20522 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxEffects
*arg1
= (wxEffects
*) 0 ;
20525 wxColour
*arg2
= 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self",(char *) "c", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20535 if (SWIG_arg_fail(1)) SWIG_fail
;
20538 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 Py_INCREF(Py_None
); resultobj
= Py_None
;
20554 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxEffects
*arg1
= (wxEffects
*) 0 ;
20557 wxColour
*arg2
= 0 ;
20559 PyObject
* obj0
= 0 ;
20560 PyObject
* obj1
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self",(char *) "c", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20567 if (SWIG_arg_fail(1)) SWIG_fail
;
20570 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 Py_INCREF(Py_None
); resultobj
= Py_None
;
20586 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
;
20588 wxEffects
*arg1
= (wxEffects
*) 0 ;
20589 wxColour
*arg2
= 0 ;
20591 PyObject
* obj0
= 0 ;
20592 PyObject
* obj1
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self",(char *) "c", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20599 if (SWIG_arg_fail(1)) SWIG_fail
;
20602 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 Py_INCREF(Py_None
); resultobj
= Py_None
;
20618 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
;
20620 wxEffects
*arg1
= (wxEffects
*) 0 ;
20621 wxColour
*arg2
= 0 ;
20622 wxColour
*arg3
= 0 ;
20623 wxColour
*arg4
= 0 ;
20624 wxColour
*arg5
= 0 ;
20625 wxColour
*arg6
= 0 ;
20631 PyObject
* obj0
= 0 ;
20632 PyObject
* obj1
= 0 ;
20633 PyObject
* obj2
= 0 ;
20634 PyObject
* obj3
= 0 ;
20635 PyObject
* obj4
= 0 ;
20636 PyObject
* obj5
= 0 ;
20637 char *kwnames
[] = {
20638 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
20641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20643 if (SWIG_arg_fail(1)) SWIG_fail
;
20646 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20650 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20654 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
20658 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
20662 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 Py_INCREF(Py_None
); resultobj
= Py_None
;
20678 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20679 PyObject
*resultobj
;
20680 wxEffects
*arg1
= (wxEffects
*) 0 ;
20683 int arg4
= (int) 1 ;
20685 PyObject
* obj0
= 0 ;
20686 PyObject
* obj1
= 0 ;
20687 PyObject
* obj2
= 0 ;
20688 PyObject
* obj3
= 0 ;
20689 char *kwnames
[] = {
20690 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20695 if (SWIG_arg_fail(1)) SWIG_fail
;
20697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20698 if (SWIG_arg_fail(2)) SWIG_fail
;
20699 if (arg2
== NULL
) {
20700 SWIG_null_ref("wxDC");
20702 if (SWIG_arg_fail(2)) SWIG_fail
;
20706 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20710 arg4
= (int)(SWIG_As_int(obj3
));
20711 if (SWIG_arg_fail(4)) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 Py_INCREF(Py_None
); resultobj
= Py_None
;
20728 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxEffects
*arg1
= (wxEffects
*) 0 ;
20733 wxBitmap
*arg4
= 0 ;
20736 PyObject
* obj0
= 0 ;
20737 PyObject
* obj1
= 0 ;
20738 PyObject
* obj2
= 0 ;
20739 PyObject
* obj3
= 0 ;
20740 char *kwnames
[] = {
20741 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20746 if (SWIG_arg_fail(1)) SWIG_fail
;
20749 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20752 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20753 if (SWIG_arg_fail(3)) SWIG_fail
;
20754 if (arg3
== NULL
) {
20755 SWIG_null_ref("wxDC");
20757 if (SWIG_arg_fail(3)) SWIG_fail
;
20760 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20761 if (SWIG_arg_fail(4)) SWIG_fail
;
20762 if (arg4
== NULL
) {
20763 SWIG_null_ref("wxBitmap");
20765 if (SWIG_arg_fail(4)) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20783 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
20785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20786 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
20788 return Py_BuildValue((char *)"");
20790 static PyObject
*_wrap_new_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20795 wxSplitterRenderParams
*result
;
20796 PyObject
* obj0
= 0 ;
20797 PyObject
* obj1
= 0 ;
20798 PyObject
* obj2
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20805 arg1
= (int)(SWIG_As_int(obj0
));
20806 if (SWIG_arg_fail(1)) SWIG_fail
;
20809 arg2
= (int)(SWIG_As_int(obj1
));
20810 if (SWIG_arg_fail(2)) SWIG_fail
;
20813 arg3
= (bool)(SWIG_As_bool(obj2
));
20814 if (SWIG_arg_fail(3)) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
20830 static PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20833 PyObject
* obj0
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SplitterRenderParams",kwnames
,&obj0
)) goto fail
;
20839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20840 if (SWIG_arg_fail(1)) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 Py_INCREF(Py_None
); resultobj
= Py_None
;
20855 static PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_widthSash_get",kwnames
,&obj0
)) goto fail
;
20865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20866 if (SWIG_arg_fail(1)) SWIG_fail
;
20867 result
= (int)(int) ((arg1
)->widthSash
);
20870 resultobj
= SWIG_From_int((int)(result
));
20878 static PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_border_get",kwnames
,&obj0
)) goto fail
;
20888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20889 if (SWIG_arg_fail(1)) SWIG_fail
;
20890 result
= (int)(int) ((arg1
)->border
);
20893 resultobj
= SWIG_From_int((int)(result
));
20901 static PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20903 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames
,&obj0
)) goto fail
;
20911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20912 if (SWIG_arg_fail(1)) SWIG_fail
;
20913 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
20916 resultobj
= SWIG_From_bool((bool)(result
));
20924 static PyObject
* SplitterRenderParams_swigregister(PyObject
*, PyObject
*args
) {
20926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20927 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams
, obj
);
20929 return Py_BuildValue((char *)"");
20931 static PyObject
*_wrap_new_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20935 wxRendererVersion
*result
;
20936 PyObject
* obj0
= 0 ;
20937 PyObject
* obj1
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "version_",(char *) "age_", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) goto fail
;
20944 arg1
= (int)(SWIG_As_int(obj0
));
20945 if (SWIG_arg_fail(1)) SWIG_fail
;
20948 arg2
= (int)(SWIG_As_int(obj1
));
20949 if (SWIG_arg_fail(2)) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererVersion
, 1);
20965 static PyObject
*_wrap_delete_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
20968 PyObject
* obj0
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RendererVersion",kwnames
,&obj0
)) goto fail
;
20974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
20975 if (SWIG_arg_fail(1)) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 Py_INCREF(Py_None
); resultobj
= Py_None
;
20990 static PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
;
20992 wxRendererVersion
*arg1
= 0 ;
20994 PyObject
* obj0
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "ver", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) goto fail
;
21001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21002 if (SWIG_arg_fail(1)) SWIG_fail
;
21003 if (arg1
== NULL
) {
21004 SWIG_null_ref("wxRendererVersion");
21006 if (SWIG_arg_fail(1)) SWIG_fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21024 static PyObject
*_wrap_RendererVersion_version_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
;
21026 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_version_get",kwnames
,&obj0
)) goto fail
;
21034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21035 if (SWIG_arg_fail(1)) SWIG_fail
;
21036 result
= (int)(int) ((arg1
)->version
);
21039 resultobj
= SWIG_From_int((int)(result
));
21047 static PyObject
*_wrap_RendererVersion_age_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21049 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 char *kwnames
[] = {
21053 (char *) "self", NULL
21056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_age_get",kwnames
,&obj0
)) goto fail
;
21057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21058 if (SWIG_arg_fail(1)) SWIG_fail
;
21059 result
= (int)(int) ((arg1
)->age
);
21062 resultobj
= SWIG_From_int((int)(result
));
21070 static PyObject
* RendererVersion_swigregister(PyObject
*, PyObject
*args
) {
21072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21073 SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion
, obj
);
21075 return Py_BuildValue((char *)"");
21077 static PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
;
21079 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21080 wxWindow
*arg2
= (wxWindow
*) 0 ;
21083 int arg5
= (int) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 PyObject
* obj1
= 0 ;
21087 PyObject
* obj2
= 0 ;
21088 PyObject
* obj3
= 0 ;
21089 PyObject
* obj4
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21096 if (SWIG_arg_fail(1)) SWIG_fail
;
21097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21098 if (SWIG_arg_fail(2)) SWIG_fail
;
21100 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21101 if (SWIG_arg_fail(3)) SWIG_fail
;
21102 if (arg3
== NULL
) {
21103 SWIG_null_ref("wxDC");
21105 if (SWIG_arg_fail(3)) SWIG_fail
;
21109 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21113 arg5
= (int)(SWIG_As_int(obj4
));
21114 if (SWIG_arg_fail(5)) SWIG_fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 Py_INCREF(Py_None
); resultobj
= Py_None
;
21131 static PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
;
21133 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21134 wxWindow
*arg2
= (wxWindow
*) 0 ;
21137 int arg5
= (int) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 PyObject
* obj1
= 0 ;
21141 PyObject
* obj2
= 0 ;
21142 PyObject
* obj3
= 0 ;
21143 PyObject
* obj4
= 0 ;
21144 char *kwnames
[] = {
21145 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21150 if (SWIG_arg_fail(1)) SWIG_fail
;
21151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21152 if (SWIG_arg_fail(2)) SWIG_fail
;
21154 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21155 if (SWIG_arg_fail(3)) SWIG_fail
;
21156 if (arg3
== NULL
) {
21157 SWIG_null_ref("wxDC");
21159 if (SWIG_arg_fail(3)) SWIG_fail
;
21163 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21167 arg5
= (int)(SWIG_As_int(obj4
));
21168 if (SWIG_arg_fail(5)) SWIG_fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 Py_INCREF(Py_None
); resultobj
= Py_None
;
21185 static PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21187 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21188 wxWindow
*arg2
= (wxWindow
*) 0 ;
21191 int arg5
= (int) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 PyObject
* obj1
= 0 ;
21195 PyObject
* obj2
= 0 ;
21196 PyObject
* obj3
= 0 ;
21197 PyObject
* obj4
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21204 if (SWIG_arg_fail(1)) SWIG_fail
;
21205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21206 if (SWIG_arg_fail(2)) SWIG_fail
;
21208 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21209 if (SWIG_arg_fail(3)) SWIG_fail
;
21210 if (arg3
== NULL
) {
21211 SWIG_null_ref("wxDC");
21213 if (SWIG_arg_fail(3)) SWIG_fail
;
21217 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21221 arg5
= (int)(SWIG_As_int(obj4
));
21222 if (SWIG_arg_fail(5)) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 Py_INCREF(Py_None
); resultobj
= Py_None
;
21239 static PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21241 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21242 wxWindow
*arg2
= (wxWindow
*) 0 ;
21246 wxOrientation arg6
;
21247 int arg7
= (int) 0 ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 PyObject
* obj2
= 0 ;
21252 PyObject
* obj3
= 0 ;
21253 PyObject
* obj4
= 0 ;
21254 PyObject
* obj5
= 0 ;
21255 PyObject
* obj6
= 0 ;
21256 char *kwnames
[] = {
21257 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21262 if (SWIG_arg_fail(1)) SWIG_fail
;
21263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21264 if (SWIG_arg_fail(2)) SWIG_fail
;
21266 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21267 if (SWIG_arg_fail(3)) SWIG_fail
;
21268 if (arg3
== NULL
) {
21269 SWIG_null_ref("wxDC");
21271 if (SWIG_arg_fail(3)) SWIG_fail
;
21275 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21278 arg5
= (int)(SWIG_As_int(obj4
));
21279 if (SWIG_arg_fail(5)) SWIG_fail
;
21282 arg6
= (wxOrientation
)(SWIG_As_int(obj5
));
21283 if (SWIG_arg_fail(6)) SWIG_fail
;
21287 arg7
= (int)(SWIG_As_int(obj6
));
21288 if (SWIG_arg_fail(7)) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,(wxOrientation
)arg6
,arg7
);
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 Py_INCREF(Py_None
); resultobj
= Py_None
;
21305 static PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
;
21307 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21308 wxWindow
*arg2
= (wxWindow
*) 0 ;
21311 int arg5
= (int) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 PyObject
* obj2
= 0 ;
21316 PyObject
* obj3
= 0 ;
21317 PyObject
* obj4
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail
;
21325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21326 if (SWIG_arg_fail(2)) SWIG_fail
;
21328 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21329 if (SWIG_arg_fail(3)) SWIG_fail
;
21330 if (arg3
== NULL
) {
21331 SWIG_null_ref("wxDC");
21333 if (SWIG_arg_fail(3)) SWIG_fail
;
21337 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21341 arg5
= (int)(SWIG_As_int(obj4
));
21342 if (SWIG_arg_fail(5)) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 Py_INCREF(Py_None
); resultobj
= Py_None
;
21359 static PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21361 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21362 wxWindow
*arg2
= (wxWindow
*) 0 ;
21365 int arg5
= (int) 0 ;
21367 PyObject
* obj0
= 0 ;
21368 PyObject
* obj1
= 0 ;
21369 PyObject
* obj2
= 0 ;
21370 PyObject
* obj3
= 0 ;
21371 PyObject
* obj4
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21378 if (SWIG_arg_fail(1)) SWIG_fail
;
21379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21380 if (SWIG_arg_fail(2)) SWIG_fail
;
21382 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21383 if (SWIG_arg_fail(3)) SWIG_fail
;
21384 if (arg3
== NULL
) {
21385 SWIG_null_ref("wxDC");
21387 if (SWIG_arg_fail(3)) SWIG_fail
;
21391 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21395 arg5
= (int)(SWIG_As_int(obj4
));
21396 if (SWIG_arg_fail(5)) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21406 Py_INCREF(Py_None
); resultobj
= Py_None
;
21413 static PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21416 wxWindow
*arg2
= (wxWindow
*) 0 ;
21417 SwigValueWrapper
<wxSplitterRenderParams
> result
;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 char *kwnames
[] = {
21421 (char *) "self",(char *) "win", NULL
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) goto fail
;
21425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21426 if (SWIG_arg_fail(1)) SWIG_fail
;
21427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21428 if (SWIG_arg_fail(2)) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 wxSplitterRenderParams
* resultptr
;
21438 resultptr
= new wxSplitterRenderParams((wxSplitterRenderParams
&)(result
));
21439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
21447 static PyObject
*_wrap_RendererNative_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxRendererNative
*result
;
21450 char *kwnames
[] = {
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_Get",kwnames
)) goto fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 wxRendererNative
&_result_ref
= wxRendererNative::Get();
21459 result
= (wxRendererNative
*) &_result_ref
;
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21472 static PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxRendererNative
*result
;
21475 char *kwnames
[] = {
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetGeneric",kwnames
)) goto fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
21484 result
= (wxRendererNative
*) &_result_ref
;
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21497 static PyObject
*_wrap_RendererNative_GetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxRendererNative
*result
;
21500 char *kwnames
[] = {
21504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetDefault",kwnames
)) goto fail
;
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21508 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
21509 result
= (wxRendererNative
*) &_result_ref
;
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21522 static PyObject
*_wrap_RendererNative_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21525 wxRendererNative
*result
;
21526 PyObject
* obj0
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "renderer", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) goto fail
;
21532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21533 if (SWIG_arg_fail(1)) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21548 static PyObject
*_wrap_RendererNative_GetVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21551 SwigValueWrapper
<wxRendererVersion
> result
;
21552 PyObject
* obj0
= 0 ;
21553 char *kwnames
[] = {
21554 (char *) "self", NULL
21557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_GetVersion",kwnames
,&obj0
)) goto fail
;
21558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21559 if (SWIG_arg_fail(1)) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21568 wxRendererVersion
* resultptr
;
21569 resultptr
= new wxRendererVersion((wxRendererVersion
&)(result
));
21570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRendererVersion
, 1);
21578 static PyObject
* RendererNative_swigregister(PyObject
*, PyObject
*args
) {
21580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21581 SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative
, obj
);
21583 return Py_BuildValue((char *)"");
21585 static PyMethodDef SwigMethods
[] = {
21586 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21587 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21588 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21589 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21590 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21591 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
21592 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21593 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21594 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21595 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21596 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21597 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21598 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21599 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21600 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21601 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21602 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21603 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21604 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21605 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21606 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21607 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21608 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
21609 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21610 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21611 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21612 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21613 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21614 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21615 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
21616 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21617 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21618 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21619 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21620 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21621 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21622 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21623 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21624 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21625 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21626 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21627 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21628 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21629 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21630 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21631 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21632 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21633 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21634 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
21635 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21636 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21637 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21638 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21639 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21640 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21641 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21642 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21643 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21644 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21645 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21646 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21647 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21648 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
21649 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21650 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21651 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21652 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21653 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21654 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21655 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21656 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21657 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21658 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21659 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21660 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21661 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21662 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21663 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21664 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21665 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21666 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21667 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21668 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21669 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21670 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21671 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21672 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21673 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21674 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21675 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21676 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
21677 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21678 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
21679 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21680 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21681 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21682 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21683 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21684 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21685 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21686 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21687 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21688 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21689 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21690 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21691 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21692 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21693 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
21694 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21695 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21696 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21697 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21698 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21699 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21700 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21701 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
21702 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21703 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21704 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21705 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21706 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21707 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21708 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21709 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
21710 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21711 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21712 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21713 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21714 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21715 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
21716 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21717 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21718 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21719 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21720 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21721 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21722 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21723 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21724 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21725 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21726 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21727 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21728 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21729 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21730 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21731 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21732 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21733 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21734 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21735 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21736 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21737 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21738 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21739 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21740 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21741 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21742 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21743 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21744 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
21745 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21746 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21747 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21748 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21749 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21750 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21751 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21752 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21753 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21754 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21755 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21756 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21757 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21758 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
21759 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21760 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21761 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21762 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21763 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21764 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21765 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21766 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21767 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21768 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21769 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21770 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21771 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21772 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21773 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21774 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21775 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21776 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21777 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21778 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21779 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21780 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21781 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21782 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
21783 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21784 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21785 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21786 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21787 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21788 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21789 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21790 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21791 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
21792 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21793 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21794 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21795 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21796 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21797 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21798 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21799 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21800 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21801 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21802 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21803 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21804 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21805 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21806 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21807 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21808 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21809 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21810 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
21811 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21812 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21813 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21814 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21815 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21816 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21817 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21818 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21819 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21820 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21821 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21822 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21823 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21824 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21825 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21826 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21827 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21828 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21829 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21830 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21831 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21832 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21833 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21834 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21835 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21836 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21837 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21838 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21839 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21840 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21841 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21842 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21843 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21844 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21845 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21846 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21847 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21848 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21849 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21850 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21851 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21852 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
21853 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21854 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21855 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21856 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21857 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21858 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21859 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21860 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
21861 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21862 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21863 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21864 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21865 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21866 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21867 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
21868 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21869 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21870 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21871 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21872 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21873 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21874 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21875 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21876 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21877 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21878 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21879 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21880 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21881 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21882 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21883 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21884 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21885 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21886 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21887 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21888 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21889 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
21890 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21891 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
21892 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21893 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21894 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21895 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21896 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21897 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21898 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21899 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
21900 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21901 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21902 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21903 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21904 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21905 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21906 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21907 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21908 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21909 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21910 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21911 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21912 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21913 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21914 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21915 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21916 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21917 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21918 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21919 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21920 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21921 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21922 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21923 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21924 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21925 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21926 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21927 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21928 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21929 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21930 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21931 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21932 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21933 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21934 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21935 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21936 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21937 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21938 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21939 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21940 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21941 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21942 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21943 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21944 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21945 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21946 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21947 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21948 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21949 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21950 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21951 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21952 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21953 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21954 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21955 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21956 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21957 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21958 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21959 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21960 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21961 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21962 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21963 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21964 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21965 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21966 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21967 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21968 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21969 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21970 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21971 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21972 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21973 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21974 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21975 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21976 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21977 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21978 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21979 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21980 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21981 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21982 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21983 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21984 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21985 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21986 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21987 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21988 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21989 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21990 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21991 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21992 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21993 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21994 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21995 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21996 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21997 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21998 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21999 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22000 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22001 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22002 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22003 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22004 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22005 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22006 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22007 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22008 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22009 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22010 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22011 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22012 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22013 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22014 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22015 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22016 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22017 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22018 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22019 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22020 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22021 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22022 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22023 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22024 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22025 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22026 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22027 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
22028 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22029 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22030 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22031 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
22032 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
22033 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22034 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22035 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
22036 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22037 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
22038 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22039 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22040 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22041 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22042 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
22043 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22044 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
22045 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22046 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
22047 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22048 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
22049 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22050 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
22051 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22052 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22053 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22054 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22055 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22056 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
22057 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22058 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22059 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22060 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22061 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22062 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22063 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22064 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
22065 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22066 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22067 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
22068 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22069 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
22070 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22071 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22072 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22073 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22074 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22075 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22076 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22077 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22078 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22079 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22080 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22081 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22082 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22083 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
22084 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22085 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22086 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22087 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22088 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
22089 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22090 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22091 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22092 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22093 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
22094 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22095 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22096 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22097 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22098 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22099 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22100 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
22101 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22102 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22103 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22104 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22105 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
22106 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22107 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22108 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22109 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22110 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22111 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22112 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22113 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22114 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22115 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22116 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22117 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22118 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22119 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22120 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
22121 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22122 { (char *)"delete_SplitterRenderParams", (PyCFunction
) _wrap_delete_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22123 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
) _wrap_SplitterRenderParams_widthSash_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22124 { (char *)"SplitterRenderParams_border_get", (PyCFunction
) _wrap_SplitterRenderParams_border_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22125 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
) _wrap_SplitterRenderParams_isHotSensitive_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22126 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
22127 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22128 { (char *)"delete_RendererVersion", (PyCFunction
) _wrap_delete_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22129 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22130 { (char *)"RendererVersion_version_get", (PyCFunction
) _wrap_RendererVersion_version_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22131 { (char *)"RendererVersion_age_get", (PyCFunction
) _wrap_RendererVersion_age_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22132 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
22133 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22134 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22135 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22136 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22137 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22138 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22139 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22140 { (char *)"RendererNative_Get", (PyCFunction
) _wrap_RendererNative_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22141 { (char *)"RendererNative_GetGeneric", (PyCFunction
) _wrap_RendererNative_GetGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22142 { (char *)"RendererNative_GetDefault", (PyCFunction
) _wrap_RendererNative_GetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22143 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22144 { (char *)"RendererNative_GetVersion", (PyCFunction
) _wrap_RendererNative_GetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22145 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
22146 { NULL
, NULL
, 0, NULL
}
22150 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
22152 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
22153 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
22155 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
22156 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22158 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
22159 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
22161 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
22162 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
22164 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
22165 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
22167 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
22168 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
22170 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
22171 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
22173 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
22174 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
22176 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
22177 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
22179 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
22180 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
22182 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
22183 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
22185 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
22186 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
22188 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
22189 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
22191 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
22192 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
22194 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
22195 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
22197 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
22198 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
22200 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
22201 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22203 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
22204 return (void *)((wxDC
*) ((wxClientDC
*) x
));
22206 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
22207 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
22209 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
22210 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
22212 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
22213 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
22215 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
22216 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22218 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
22219 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
22221 static void *_p_wxPenTo_p_wxObject(void *x
) {
22222 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
22224 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
22225 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
22227 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
22228 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
22230 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
22231 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
22233 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
22234 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
22236 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
22237 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
22239 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
22240 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
22242 static void *_p_wxIconTo_p_wxObject(void *x
) {
22243 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
22245 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
22246 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
22248 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
22249 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
22251 static void *_p_wxSizerTo_p_wxObject(void *x
) {
22252 return (void *)((wxObject
*) ((wxSizer
*) x
));
22254 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
22255 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
22257 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
22258 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22260 static void *_p_wxPenListTo_p_wxObject(void *x
) {
22261 return (void *)((wxObject
*) ((wxPenList
*) x
));
22263 static void *_p_wxEventTo_p_wxObject(void *x
) {
22264 return (void *)((wxObject
*) ((wxEvent
*) x
));
22266 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
22267 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
22269 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
22270 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
22272 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
22273 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
22275 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
22276 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
22278 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
22279 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
22281 static void *_p_wxDCTo_p_wxObject(void *x
) {
22282 return (void *)((wxObject
*) ((wxDC
*) x
));
22284 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
22285 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
22287 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
22288 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22290 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22291 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22293 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22294 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22296 static void *_p_wxControlTo_p_wxObject(void *x
) {
22297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22299 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22300 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22302 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
22303 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
22305 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22306 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22308 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
22309 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
22311 static void *_p_wxRegionTo_p_wxObject(void *x
) {
22312 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
22314 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22315 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22317 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
22318 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
22320 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
22321 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
22323 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
22324 return (void *)((wxObject
*) ((wxEffects
*) x
));
22326 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22327 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22329 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22330 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22332 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
22333 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
22335 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22336 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22338 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22339 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22341 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
22342 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
22344 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22345 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22347 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22348 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22350 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22351 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22353 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22354 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22356 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22357 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22359 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22360 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22362 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22363 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22365 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22366 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22368 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22369 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22371 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22372 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22374 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22375 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22377 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22378 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22380 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22381 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22383 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22384 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22386 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22387 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22389 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22390 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22392 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22393 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22395 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
22396 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
22398 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22399 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22401 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22402 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22404 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22405 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22407 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22408 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22410 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
22411 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22413 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
22414 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
22416 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
22417 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
22419 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
22420 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
22422 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
22423 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
22425 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22426 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22428 static void *_p_wxImageTo_p_wxObject(void *x
) {
22429 return (void *)((wxObject
*) ((wxImage
*) x
));
22431 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22432 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22434 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
22435 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
22437 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
22438 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
22440 static void *_p_wxImageListTo_p_wxObject(void *x
) {
22441 return (void *)((wxObject
*) ((wxImageList
*) x
));
22443 static void *_p_wxCursorTo_p_wxObject(void *x
) {
22444 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
22446 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
22447 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
22449 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
22450 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
22452 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22453 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22455 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22456 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22458 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22459 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22461 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22462 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22464 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22465 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22467 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22470 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
22471 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
22473 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
22474 return (void *)((wxObject
*) ((wxBrushList
*) x
));
22476 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22477 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22479 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
22480 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
22482 static void *_p_wxMaskTo_p_wxObject(void *x
) {
22483 return (void *)((wxObject
*) ((wxMask
*) x
));
22485 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22488 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22489 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22491 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22492 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22494 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22495 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22497 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22498 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22500 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22501 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22503 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22504 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22506 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22507 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22509 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22510 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22512 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22513 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22515 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22518 static void *_p_wxFontTo_p_wxObject(void *x
) {
22519 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
22521 static void *_p_wxBrushTo_p_wxObject(void *x
) {
22522 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
22524 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
22525 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
22527 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22530 static void *_p_wxColourTo_p_wxObject(void *x
) {
22531 return (void *)((wxObject
*) ((wxColour
*) x
));
22533 static void *_p_wxFontListTo_p_wxObject(void *x
) {
22534 return (void *)((wxObject
*) ((wxFontList
*) x
));
22536 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22539 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22540 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22542 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22543 return (void *)((wxWindow
*) ((wxControl
*) x
));
22545 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22546 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22548 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22549 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22551 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}};
22552 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}};
22553 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}};
22554 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}};
22555 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}};
22556 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}};
22557 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}};
22558 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}};
22559 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}};
22560 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}};
22561 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}};
22562 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}};
22563 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}};
22564 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}};
22565 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}};
22566 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}};
22567 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}};
22568 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}};
22569 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}};
22570 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}};
22571 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}};
22572 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}};
22573 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}};
22574 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}};
22575 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_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_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_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_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_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_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}};
22576 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}};
22577 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}};
22578 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}};
22579 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}};
22580 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}};
22581 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}};
22582 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}};
22583 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}};
22584 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}};
22585 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}};
22586 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}};
22587 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}};
22588 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}};
22589 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}};
22590 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}};
22591 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}};
22592 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}};
22593 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}};
22594 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}};
22595 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}};
22596 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}};
22597 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}};
22598 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}};
22599 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}};
22600 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}};
22601 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}};
22602 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}};
22603 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}};
22604 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}};
22605 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}};
22606 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}};
22607 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}};
22608 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}};
22609 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}};
22610 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}};
22611 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}};
22612 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}};
22613 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}};
22614 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}};
22616 static swig_type_info
*swig_types_initial
[] = {
22617 _swigt__p_wxPostScriptDC
,
22619 _swigt__p_wxColour
,
22621 _swigt__p_wxMirrorDC
,
22622 _swigt__p_form_ops_t
,
22623 _swigt__p_wxRendererVersion
,
22624 _swigt__p_wxDuplexMode
,
22625 _swigt__p_wxPyFontEnumerator
,
22627 _swigt__p_wxIconLocation
,
22629 _swigt__p_wxMetaFileDC
,
22633 _swigt__p_wxWindow
,
22635 _swigt__p_wxMemoryDC
,
22636 _swigt__p_wxFontMapper
,
22637 _swigt__p_wxEffects
,
22638 _swigt__p_wxNativeEncodingInfo
,
22639 _swigt__p_wxPalette
,
22640 _swigt__p_wxBitmap
,
22641 _swigt__p_wxObject
,
22642 _swigt__p_wxRegionIterator
,
22644 _swigt__p_wxPaperSize
,
22645 _swigt__p_wxString
,
22646 _swigt__unsigned_int
,
22647 _swigt__p_unsigned_int
,
22648 _swigt__p_wxPrinterDC
,
22649 _swigt__p_wxIconBundle
,
22652 _swigt__p_wxScreenDC
,
22653 _swigt__p_wxCursor
,
22654 _swigt__p_wxClientDC
,
22655 _swigt__p_wxBufferedDC
,
22656 _swigt__p_wxImageList
,
22657 _swigt__p_unsigned_char
,
22658 _swigt__p_wxGDIObject
,
22660 _swigt__p_wxLocale
,
22662 _swigt__std__ptrdiff_t
,
22663 _swigt__p_wxRegion
,
22664 _swigt__p_wxLanguageInfo
,
22665 _swigt__p_wxWindowDC
,
22666 _swigt__p_wxPrintData
,
22667 _swigt__p_wxBrushList
,
22668 _swigt__p_wxFontList
,
22670 _swigt__p_wxBufferedPaintDC
,
22671 _swigt__p_wxPaintDC
,
22672 _swigt__p_wxPenList
,
22674 _swigt__p_wxMetaFile
,
22675 _swigt__p_wxRendererNative
,
22676 _swigt__p_unsigned_long
,
22677 _swigt__p_wxNativeFontInfo
,
22678 _swigt__p_wxEncodingConverter
,
22679 _swigt__p_wxSplitterRenderParams
,
22680 _swigt__p_wxColourDatabase
,
22685 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22687 static swig_const_info swig_const_table
[] = {
22688 {0, 0, 0, 0.0, 0, 0}};
22699 /* Python-specific SWIG API */
22700 #define SWIG_newvarlink() SWIG_Python_newvarlink()
22701 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22702 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22704 /* -----------------------------------------------------------------------------
22705 * global variable support code.
22706 * ----------------------------------------------------------------------------- */
22708 typedef struct swig_globalvar
{
22709 char *name
; /* Name of global variable */
22710 PyObject
*(*get_attr
)(); /* Return the current value */
22711 int (*set_attr
)(PyObject
*); /* Set the value */
22712 struct swig_globalvar
*next
;
22715 typedef struct swig_varlinkobject
{
22717 swig_globalvar
*vars
;
22718 } swig_varlinkobject
;
22721 swig_varlink_repr(swig_varlinkobject
*v
) {
22723 return PyString_FromString("<Swig global variables>");
22727 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
22728 swig_globalvar
*var
;
22730 fprintf(fp
,"Swig global variables { ");
22731 for (var
= v
->vars
; var
; var
=var
->next
) {
22732 fprintf(fp
,"%s", var
->name
);
22733 if (var
->next
) fprintf(fp
,", ");
22735 fprintf(fp
," }\n");
22740 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
22741 swig_globalvar
*var
= v
->vars
;
22743 if (strcmp(var
->name
,n
) == 0) {
22744 return (*var
->get_attr
)();
22748 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22753 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
22754 swig_globalvar
*var
= v
->vars
;
22756 if (strcmp(var
->name
,n
) == 0) {
22757 return (*var
->set_attr
)(p
);
22761 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22765 static PyTypeObject varlinktype
= {
22766 PyObject_HEAD_INIT(0)
22767 0, /* Number of items in variable part (ob_size) */
22768 (char *)"swigvarlink", /* Type name (tp_name) */
22769 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
22770 0, /* Itemsize (tp_itemsize) */
22771 0, /* Deallocator (tp_dealloc) */
22772 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
22773 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
22774 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
22775 0, /* tp_compare */
22776 (reprfunc
) swig_varlink_repr
, /* tp_repr */
22777 0, /* tp_as_number */
22778 0, /* tp_as_sequence */
22779 0, /* tp_as_mapping */
22783 0, /* tp_getattro */
22784 0, /* tp_setattro */
22785 0, /* tp_as_buffer */
22788 #if PY_VERSION_HEX >= 0x02000000
22789 0, /* tp_traverse */
22792 #if PY_VERSION_HEX >= 0x02010000
22793 0, /* tp_richcompare */
22794 0, /* tp_weaklistoffset */
22796 #if PY_VERSION_HEX >= 0x02020000
22797 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
22799 #if PY_VERSION_HEX >= 0x02030000
22802 #ifdef COUNT_ALLOCS
22803 0,0,0,0 /* tp_alloc -> tp_next */
22807 /* Create a variable linking object for use later */
22809 SWIG_Python_newvarlink(void) {
22810 swig_varlinkobject
*result
= 0;
22811 result
= PyMem_NEW(swig_varlinkobject
,1);
22812 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
22813 result
->ob_type
= &varlinktype
;
22815 result
->ob_refcnt
= 0;
22816 Py_XINCREF((PyObject
*) result
);
22817 return ((PyObject
*) result
);
22821 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
22822 swig_varlinkobject
*v
;
22823 swig_globalvar
*gv
;
22824 v
= (swig_varlinkobject
*) p
;
22825 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
22826 gv
->name
= (char *) malloc(strlen(name
)+1);
22827 strcpy(gv
->name
,name
);
22828 gv
->get_attr
= get_attr
;
22829 gv
->set_attr
= set_attr
;
22830 gv
->next
= v
->vars
;
22834 /* -----------------------------------------------------------------------------
22835 * constants/methods manipulation
22836 * ----------------------------------------------------------------------------- */
22838 /* Install Constants */
22840 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
22843 for (i
= 0; constants
[i
].type
; i
++) {
22844 switch(constants
[i
].type
) {
22846 obj
= PyInt_FromLong(constants
[i
].lvalue
);
22848 case SWIG_PY_FLOAT
:
22849 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
22851 case SWIG_PY_STRING
:
22852 if (constants
[i
].pvalue
) {
22853 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
22855 Py_INCREF(Py_None
);
22859 case SWIG_PY_POINTER
:
22860 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
22862 case SWIG_PY_BINARY
:
22863 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
22870 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
22876 /* -----------------------------------------------------------------------------*/
22877 /* Fix SwigMethods to carry the callback ptrs when needed */
22878 /* -----------------------------------------------------------------------------*/
22881 SWIG_Python_FixMethods(PyMethodDef
*methods
,
22882 swig_const_info
*const_table
,
22883 swig_type_info
**types
,
22884 swig_type_info
**types_initial
) {
22886 for (i
= 0; methods
[i
].ml_name
; ++i
) {
22887 char *c
= methods
[i
].ml_doc
;
22888 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
22890 swig_const_info
*ci
= 0;
22891 char *name
= c
+ 10;
22892 for (j
= 0; const_table
[j
].type
; j
++) {
22893 if (strncmp(const_table
[j
].name
, name
,
22894 strlen(const_table
[j
].name
)) == 0) {
22895 ci
= &(const_table
[j
]);
22900 size_t shift
= (ci
->ptype
) - types
;
22901 swig_type_info
*ty
= types_initial
[shift
];
22902 size_t ldoc
= (c
- methods
[i
].ml_doc
);
22903 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
22904 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
22906 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
22907 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
22909 strncpy(buff
, "swig_ptr: ", 10);
22911 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
22912 methods
[i
].ml_doc
= ndoc
;
22918 /* -----------------------------------------------------------------------------*
22919 * Initialize type list
22920 * -----------------------------------------------------------------------------*/
22922 #if PY_MAJOR_VERSION < 2
22923 /* PyModule_AddObject function was introduced in Python 2.0. The following function
22924 is copied out of Python/modsupport.c in python version 2.3.4 */
22926 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
22929 if (!PyModule_Check(m
)) {
22930 PyErr_SetString(PyExc_TypeError
,
22931 "PyModule_AddObject() needs module as first arg");
22935 PyErr_SetString(PyExc_TypeError
,
22936 "PyModule_AddObject() needs non-NULL value");
22940 dict
= PyModule_GetDict(m
);
22941 if (dict
== NULL
) {
22942 /* Internal error -- modules must have a dict! */
22943 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
22944 PyModule_GetName(m
));
22947 if (PyDict_SetItemString(dict
, name
, o
))
22954 static swig_type_info
**
22955 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
22956 static PyMethodDef swig_empty_runtime_method_table
[] = {
22958 NULL
, NULL
, 0, NULL
22962 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
22963 swig_empty_runtime_method_table
);
22964 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
22965 if (pointer
&& module) {
22966 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
22968 return type_list_handle
;
22971 static swig_type_info
**
22972 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
22973 swig_type_info
**type_pointer
;
22975 /* first check if module already created */
22976 type_pointer
= SWIG_Python_GetTypeListHandle();
22977 if (type_pointer
) {
22978 return type_pointer
;
22980 /* create a new module and variable */
22981 return SWIG_Python_SetTypeListHandle(type_list_handle
);
22989 /* -----------------------------------------------------------------------------*
22990 * Partial Init method
22991 * -----------------------------------------------------------------------------*/
22993 #ifdef SWIG_LINK_RUNTIME
22997 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
23003 SWIGEXPORT(void) SWIG_init(void) {
23004 static PyObject
*SWIG_globals
= 0;
23005 static int typeinit
= 0;
23008 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
23010 /* Fix SwigMethods to carry the callback ptrs when needed */
23011 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
23013 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23014 d
= PyModule_GetDict(m
);
23017 #ifdef SWIG_LINK_RUNTIME
23018 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
23020 # ifndef SWIG_STATIC_RUNTIME
23021 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
23024 for (i
= 0; swig_types_initial
[i
]; i
++) {
23025 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
23029 SWIG_InstallConstants(d
,swig_const_table
);
23032 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));
23035 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));
23038 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));
23041 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));
23044 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));
23047 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));
23050 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));
23053 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));
23056 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));
23059 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));
23062 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));
23065 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));
23068 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));
23071 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));
23074 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));
23077 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));
23080 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));
23083 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));
23086 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));
23089 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));
23092 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));
23095 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));
23098 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));
23101 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));
23104 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));
23107 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));
23110 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));
23113 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));
23116 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));
23119 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));
23122 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));
23125 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));
23128 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));
23131 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));
23134 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));
23137 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));
23140 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));
23143 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));
23146 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));
23149 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));
23152 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));
23155 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));
23158 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));
23161 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));
23164 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));
23167 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));
23170 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));
23173 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));
23176 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));
23179 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));
23182 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));
23185 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));
23188 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));
23191 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));
23194 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));
23197 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));
23200 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));
23203 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));
23206 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));
23209 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));
23212 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));
23215 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));
23218 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));
23221 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));
23224 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));
23227 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));
23230 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));
23233 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));
23236 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));
23239 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));
23242 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));
23245 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));
23248 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));
23251 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));
23254 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));
23257 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));
23260 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));
23263 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));
23266 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));
23269 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));
23272 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));
23275 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));
23278 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));
23281 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));
23284 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));
23287 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));
23290 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));
23293 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));
23296 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));
23299 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));
23302 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));
23305 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));
23308 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));
23311 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));
23314 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));
23317 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));
23320 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));
23323 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));
23326 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));
23329 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));
23332 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));
23335 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));
23338 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));
23341 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));
23344 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));
23347 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));
23350 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));
23353 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));
23356 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));
23359 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));
23362 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));
23365 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));
23368 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));
23371 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));
23374 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));
23377 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));
23380 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));
23383 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));
23386 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));
23389 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));
23392 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));
23395 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));
23398 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));
23401 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));
23404 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));
23407 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));
23410 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));
23413 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
23416 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));
23419 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));
23422 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));
23425 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));
23428 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));
23431 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));
23434 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));
23437 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));
23440 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));
23443 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));
23446 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));
23449 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));
23452 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));
23455 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));
23458 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));
23461 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));
23464 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));
23467 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));
23470 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));
23473 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
23476 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));
23479 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));
23482 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));
23485 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));
23488 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));
23491 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));
23494 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));
23497 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));
23500 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));
23503 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));
23506 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));
23509 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));
23512 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));
23515 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));
23518 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));
23521 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));
23524 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));
23527 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));
23530 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));
23533 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));
23536 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));
23539 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));
23542 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));
23545 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));
23548 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
23551 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));
23554 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));
23557 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));
23560 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));
23563 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));
23566 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));
23569 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));
23572 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));
23575 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));
23578 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));
23581 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));
23584 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));
23587 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));
23590 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));
23593 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
23596 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));
23599 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));
23602 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));
23605 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
23608 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));
23611 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));
23614 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));
23617 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
23620 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
23623 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
23626 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));
23629 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
23632 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));
23635 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));
23638 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));
23641 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));
23644 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));
23647 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));
23650 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));
23653 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));
23656 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));
23659 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
23662 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));
23665 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));
23668 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));
23671 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));
23674 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));
23677 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));
23680 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));
23683 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));
23686 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
23689 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
23692 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));
23695 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));
23698 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));
23701 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));
23704 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));
23707 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));
23710 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));
23713 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));
23716 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));
23719 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));
23722 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));
23725 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));
23728 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));
23731 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));
23734 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));
23737 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));
23740 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));
23743 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));
23746 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));
23749 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));
23752 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));
23755 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));
23758 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));
23761 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));
23764 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));
23767 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));
23770 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));
23773 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));
23776 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));
23779 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));
23782 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));
23785 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));
23788 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));
23791 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));
23794 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));
23797 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));
23800 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));
23803 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));
23806 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));
23809 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));
23812 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
23815 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));
23818 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));
23821 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));
23824 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));
23827 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));
23830 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));
23833 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));
23836 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));
23839 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));
23842 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));
23845 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
23848 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
23851 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));
23854 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));
23857 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));
23860 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));
23863 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));
23866 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));
23869 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
23872 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));
23875 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));
23878 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));
23881 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));
23884 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));
23887 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));
23890 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));
23893 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));
23896 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));
23899 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));
23902 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));
23905 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));
23908 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));
23911 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));
23914 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));
23917 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));
23920 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));
23923 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));
23926 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));
23929 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));
23932 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));
23935 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));
23938 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));
23941 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));
23944 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));
23947 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));
23950 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));
23953 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));
23956 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));
23959 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
23962 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));
23965 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
23968 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));
23971 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));
23974 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));
23977 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));
23980 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));
23983 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));
23986 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));
23989 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));
23992 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
23995 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));
23998 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));
24001 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));
24004 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));
24007 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));
24010 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));
24013 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));
24016 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));
24019 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));
24022 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));
24025 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));
24028 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));
24031 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));
24034 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));
24037 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));
24040 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));
24043 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));
24046 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));
24049 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));
24052 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));
24055 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));
24058 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));
24061 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));
24064 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));
24067 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));
24070 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));
24073 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));
24076 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));
24079 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));
24082 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));
24085 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));
24088 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));
24091 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));
24094 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));
24097 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));
24100 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));
24103 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));
24106 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));
24109 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));
24112 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));
24115 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));
24118 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));
24121 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));
24124 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));
24127 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));
24130 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));
24133 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));
24136 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));
24139 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));
24142 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));
24145 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));
24148 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));
24151 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));
24154 PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int((int)(wxBUFFER_VIRTUAL_AREA
)));
24157 PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int((int)(wxBUFFER_CLIENT_AREA
)));
24160 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));
24163 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));
24166 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));
24169 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));
24172 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));
24175 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));
24178 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));
24180 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24181 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
24182 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
24183 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
24184 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
24185 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
24186 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
24187 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
24188 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
24189 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
24190 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
24191 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
24192 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
24193 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
24194 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
24195 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
24196 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
24197 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
24198 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
24199 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
24200 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
24201 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
24202 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
24203 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
24204 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
24205 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
24206 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
24207 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
24208 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
24209 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
24210 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
24211 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
24212 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
24213 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
24214 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
24215 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
24216 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
24217 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
24218 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
24219 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
24220 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
24221 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
24222 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
24223 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
24224 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
24225 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
24226 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
24228 PyDict_SetItemString(d
,"CONTROL_DISABLED", SWIG_From_int((int)(wxCONTROL_DISABLED
)));
24231 PyDict_SetItemString(d
,"CONTROL_FOCUSED", SWIG_From_int((int)(wxCONTROL_FOCUSED
)));
24234 PyDict_SetItemString(d
,"CONTROL_PRESSED", SWIG_From_int((int)(wxCONTROL_PRESSED
)));
24237 PyDict_SetItemString(d
,"CONTROL_ISDEFAULT", SWIG_From_int((int)(wxCONTROL_ISDEFAULT
)));
24240 PyDict_SetItemString(d
,"CONTROL_ISSUBMENU", SWIG_From_int((int)(wxCONTROL_ISSUBMENU
)));
24243 PyDict_SetItemString(d
,"CONTROL_EXPANDED", SWIG_From_int((int)(wxCONTROL_EXPANDED
)));
24246 PyDict_SetItemString(d
,"CONTROL_CURRENT", SWIG_From_int((int)(wxCONTROL_CURRENT
)));
24249 PyDict_SetItemString(d
,"CONTROL_SELECTED", SWIG_From_int((int)(wxCONTROL_SELECTED
)));
24252 PyDict_SetItemString(d
,"CONTROL_CHECKED", SWIG_From_int((int)(wxCONTROL_CHECKED
)));
24255 PyDict_SetItemString(d
,"CONTROL_CHECKABLE", SWIG_From_int((int)(wxCONTROL_CHECKABLE
)));
24258 PyDict_SetItemString(d
,"CONTROL_UNDETERMINED", SWIG_From_int((int)(wxCONTROL_UNDETERMINED
)));
24261 PyDict_SetItemString(d
,"CONTROL_FLAGS_MASK", SWIG_From_int((int)(wxCONTROL_FLAGS_MASK
)));
24264 PyDict_SetItemString(d
,"CONTROL_DIRTY", SWIG_From_int((int)(wxCONTROL_DIRTY
)));
24267 PyDict_SetItemString(d
,"RendererVersion_Current_Version", SWIG_From_int((int)(wxRendererVersion::Current_Version
)));
24270 PyDict_SetItemString(d
,"RendererVersion_Current_Age", SWIG_From_int((int)(wxRendererVersion::Current_Age
)));
24273 // Work around a chicken/egg problem in drawlist.cpp
24274 wxPyDrawList_SetAPIPtr();