1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
1343 #define SWIGTYPE_p_wxBrush swig_types[1]
1344 #define SWIGTYPE_p_wxColour swig_types[2]
1345 #define SWIGTYPE_p_wxDC swig_types[3]
1346 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
1347 #define SWIGTYPE_p_form_ops_t swig_types[5]
1348 #define SWIGTYPE_p_wxRendererVersion swig_types[6]
1349 #define SWIGTYPE_p_wxDuplexMode swig_types[7]
1350 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[8]
1351 #define SWIGTYPE_p_char swig_types[9]
1352 #define SWIGTYPE_p_wxIconLocation swig_types[10]
1353 #define SWIGTYPE_p_wxImage swig_types[11]
1354 #define SWIGTYPE_p_wxMetaFileDC swig_types[12]
1355 #define SWIGTYPE_p_wxMask swig_types[13]
1356 #define SWIGTYPE_p_wxSize swig_types[14]
1357 #define SWIGTYPE_p_wxFont swig_types[15]
1358 #define SWIGTYPE_p_wxWindow swig_types[16]
1359 #define SWIGTYPE_p_double swig_types[17]
1360 #define SWIGTYPE_p_wxMemoryDC swig_types[18]
1361 #define SWIGTYPE_p_wxFontMapper swig_types[19]
1362 #define SWIGTYPE_p_wxEffects swig_types[20]
1363 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[21]
1364 #define SWIGTYPE_p_wxPalette swig_types[22]
1365 #define SWIGTYPE_p_wxBitmap swig_types[23]
1366 #define SWIGTYPE_p_wxObject swig_types[24]
1367 #define SWIGTYPE_p_wxRegionIterator swig_types[25]
1368 #define SWIGTYPE_p_wxRect swig_types[26]
1369 #define SWIGTYPE_p_wxPaperSize swig_types[27]
1370 #define SWIGTYPE_p_wxString swig_types[28]
1371 #define SWIGTYPE_unsigned_int swig_types[29]
1372 #define SWIGTYPE_p_unsigned_int swig_types[30]
1373 #define SWIGTYPE_p_wxPrinterDC swig_types[31]
1374 #define SWIGTYPE_p_wxIconBundle swig_types[32]
1375 #define SWIGTYPE_p_wxPoint swig_types[33]
1376 #define SWIGTYPE_p_wxDash swig_types[34]
1377 #define SWIGTYPE_p_wxScreenDC swig_types[35]
1378 #define SWIGTYPE_p_wxCursor swig_types[36]
1379 #define SWIGTYPE_p_wxClientDC swig_types[37]
1380 #define SWIGTYPE_p_wxBufferedDC swig_types[38]
1381 #define SWIGTYPE_p_wxImageList swig_types[39]
1382 #define SWIGTYPE_p_unsigned_char swig_types[40]
1383 #define SWIGTYPE_p_wxGDIObject swig_types[41]
1384 #define SWIGTYPE_p_wxIcon swig_types[42]
1385 #define SWIGTYPE_p_wxLocale swig_types[43]
1386 #define SWIGTYPE_ptrdiff_t swig_types[44]
1387 #define SWIGTYPE_std__ptrdiff_t swig_types[45]
1388 #define SWIGTYPE_p_wxRegion swig_types[46]
1389 #define SWIGTYPE_p_wxConfigBase swig_types[47]
1390 #define SWIGTYPE_p_wxLanguageInfo swig_types[48]
1391 #define SWIGTYPE_p_wxWindowDC swig_types[49]
1392 #define SWIGTYPE_p_wxPrintData swig_types[50]
1393 #define SWIGTYPE_p_wxBrushList swig_types[51]
1394 #define SWIGTYPE_p_wxFontList swig_types[52]
1395 #define SWIGTYPE_p_wxPen swig_types[53]
1396 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[54]
1397 #define SWIGTYPE_p_wxPaintDC swig_types[55]
1398 #define SWIGTYPE_p_wxPenList swig_types[56]
1399 #define SWIGTYPE_p_int swig_types[57]
1400 #define SWIGTYPE_p_wxMetaFile swig_types[58]
1401 #define SWIGTYPE_p_wxRendererNative swig_types[59]
1402 #define SWIGTYPE_p_unsigned_long swig_types[60]
1403 #define SWIGTYPE_p_wxNativeFontInfo swig_types[61]
1404 #define SWIGTYPE_p_wxEncodingConverter swig_types[62]
1405 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[63]
1406 #define SWIGTYPE_p_wxColourDatabase swig_types[64]
1407 static swig_type_info
*swig_types
[66];
1409 /* -------- TYPES TABLE (END) -------- */
1412 /*-----------------------------------------------
1413 @(target):= _gdi_.so
1414 ------------------------------------------------*/
1415 #define SWIG_init init_gdi_
1417 #define SWIG_name "_gdi_"
1419 #include "wx/wxPython/wxPython.h"
1420 #include "wx/wxPython/pyclasses.h"
1423 static const wxString
wxPyEmptyString(wxEmptyString
);
1429 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1432 if (value
< min_value
) {
1434 PyErr_Format(PyExc_OverflowError
,
1435 "value %ld is less than '%s' minimum %ld",
1436 value
, errmsg
, min_value
);
1439 } else if (value
> max_value
) {
1441 PyErr_Format(PyExc_OverflowError
,
1442 "value %ld is greater than '%s' maximum %ld",
1443 value
, errmsg
, max_value
);
1452 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1454 if (PyNumber_Check(obj
)) {
1455 if (val
) *val
= PyInt_AsLong(obj
);
1459 SWIG_type_error("number", obj
);
1465 #if INT_MAX != LONG_MAX
1467 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1469 const char* errmsg
= val
? "int" : (char*)0;
1471 if (SWIG_AsVal_long(obj
, &v
)) {
1472 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1473 if (val
) *val
= (int)(v
);
1482 SWIG_type_error(errmsg
, obj
);
1488 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1490 return SWIG_AsVal_long(obj
,(long*)val
);
1496 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1498 if (obj
== Py_True
) {
1499 if (val
) *val
= true;
1502 if (obj
== Py_False
) {
1503 if (val
) *val
= false;
1507 if (SWIG_AsVal_int(obj
, &res
)) {
1508 if (val
) *val
= res
? true : false;
1514 SWIG_type_error("bool", obj
);
1520 SWIGINTERNSHORT
bool
1521 SWIG_As_bool(PyObject
* obj
)
1524 if (!SWIG_AsVal_bool(obj
, &v
)) {
1526 this is needed to make valgrind/purify happier.
1528 memset((void*)&v
, 0, sizeof(bool));
1535 SWIG_Check_bool(PyObject
* obj
)
1537 return SWIG_AsVal_bool(obj
, (bool*)0);
1542 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1545 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1546 SWIG_type_error("unsigned number", obj
);
1549 *val
= (unsigned long)v
;
1555 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1556 unsigned long max_value
,
1559 if (value
> max_value
) {
1561 PyErr_Format(PyExc_OverflowError
,
1562 "value %lu is greater than '%s' minimum %lu",
1563 value
, errmsg
, max_value
);
1572 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1574 const char* errmsg
= val
? "unsigned char" : (char*)0;
1576 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1577 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1578 if (val
) *val
= (unsigned char)(v
);
1587 SWIG_type_error(errmsg
, obj
);
1593 SWIGINTERNSHORT
unsigned char
1594 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1597 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1599 this is needed to make valgrind/purify happier.
1601 memset((void*)&v
, 0, sizeof(unsigned char));
1608 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1610 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1614 SWIGINTERNSHORT
unsigned long
1615 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1618 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1620 this is needed to make valgrind/purify happier.
1622 memset((void*)&v
, 0, sizeof(unsigned long));
1629 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1631 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1635 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1636 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1640 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1641 #define SWIG_From_long PyInt_FromLong
1644 static PyObject
*wxColour_Get(wxColour
*self
){
1645 PyObject
* rv
= PyTuple_New(3);
1651 green
= self
->Green();
1652 blue
= self
->Blue();
1654 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
1655 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
1656 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
1659 static unsigned long wxColour_GetRGB(wxColour
*self
){
1660 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
1663 SWIGINTERNSHORT PyObject
*
1664 SWIG_From_unsigned_SS_long(unsigned long value
)
1666 return (value
> LONG_MAX
) ?
1667 PyLong_FromUnsignedLong(value
)
1668 : PyInt_FromLong((long)(value
));
1673 SWIG_As_int(PyObject
* obj
)
1676 if (!SWIG_AsVal_int(obj
, &v
)) {
1678 this is needed to make valgrind/purify happier.
1680 memset((void*)&v
, 0, sizeof(int));
1687 SWIG_Check_int(PyObject
* obj
)
1689 return SWIG_AsVal_int(obj
, (int*)0);
1693 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1694 #define SWIG_From_int PyInt_FromLong
1698 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1704 } else if (target
== Py_None
) {
1708 if (!PyTuple_Check(target
)) {
1710 target
= PyTuple_New(1);
1711 PyTuple_SetItem(target
, 0, o2
);
1713 o3
= PyTuple_New(1);
1714 PyTuple_SetItem(o3
, 0, o
);
1717 target
= PySequence_Concat(o2
, o3
);
1725 static PyObject
*wxPen_GetDashes(wxPen
*self
){
1727 int count
= self
->GetDashes(&dashes
);
1728 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1729 PyObject
* retval
= PyList_New(0);
1730 for (int x
=0; x
<count
; x
++) {
1731 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
1732 PyList_Append(retval
, pyint
);
1735 wxPyEndBlockThreads(blocked
);
1738 static void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
1739 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1740 int size
= PyList_Size(pyDashes
);
1741 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
1743 // black magic warning! The array of wxDashes needs to exist as
1744 // long as the pen does because wxPen does not copy the array. So
1745 // stick a copy in a Python string object and attach it to _self,
1746 // and then call SetDashes with a pointer to that array. Then
1747 // when the Python pen object is destroyed the array will be
1749 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
1750 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
1752 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
1754 Py_DECREF(strDashes
);
1755 wxPyEndBlockThreads(blocked
);
1757 static bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
1758 static bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
1760 #include <wx/image.h>
1762 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1763 char** cArray
= NULL
;
1766 if (!PyList_Check(listOfStrings
)) {
1767 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1770 count
= PyList_Size(listOfStrings
);
1771 cArray
= new char*[count
];
1773 for(int x
=0; x
<count
; x
++) {
1774 // TODO: Need some validation and error checking here
1775 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1781 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1782 char** cArray
= NULL
;
1785 cArray
= ConvertListOfStrings(listOfStrings
);
1788 bmp
= new wxBitmap(cArray
);
1792 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1795 PyString_AsStringAndSize(bits
, &buf
, &length
);
1796 return new wxBitmap(buf
, width
, height
, depth
);
1799 SWIGINTERNSHORT
long
1800 SWIG_As_long(PyObject
* obj
)
1803 if (!SWIG_AsVal_long(obj
, &v
)) {
1805 this is needed to make valgrind/purify happier.
1807 memset((void*)&v
, 0, sizeof(long));
1814 SWIG_Check_long(PyObject
* obj
)
1816 return SWIG_AsVal_long(obj
, (long*)0);
1819 static void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
1820 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1821 wxSize
size(self
->GetWidth(), self
->GetHeight());
1824 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1825 wxMask
*mask
= new wxMask(*self
, colour
);
1826 self
->SetMask(mask
);
1828 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1829 self
->SetWidth(size
.x
);
1830 self
->SetHeight(size
.y
);
1832 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
1833 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
1834 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
1836 return new wxMask(bitmap
, *wxBLACK
);
1838 return new wxMask(bitmap
, colour
);
1841 #include <wx/iconbndl.h>
1843 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
1844 wxIcon
* icon
= new wxIcon();
1845 icon
->CopyFromBitmap(bmp
);
1848 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
1849 char** cArray
= NULL
;
1852 cArray
= ConvertListOfStrings(listOfStrings
);
1855 icon
= new wxIcon(cArray
);
1859 static void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
1860 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
1862 return new wxIconLocation(*filename
, num
);
1867 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
1869 self
->SetIndex(num
);
1874 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
1876 return self
->GetIndex();
1881 static wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
1883 wxImage
img(cursorName
, type
);
1884 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
1885 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
1886 return new wxCursor(img
);
1888 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
1891 static void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
1894 static void wxRegionIterator_Next(wxRegionIterator
*self
){
1897 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
1898 return self
->operator bool();
1901 #include <wx/fontutil.h>
1902 #include <wx/fontmap.h>
1903 #include <wx/fontenum.h>
1905 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
1906 return self
->ToString();
1909 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
1910 { wxPyRaiseNotImplemented(); return NULL
; }
1912 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
1913 { wxPyRaiseNotImplemented(); return false; }
1915 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
1916 wxFontEncoding alt_enc
;
1917 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1918 return PyInt_FromLong(alt_enc
);
1924 static wxFont
*new_wxFont(wxString
const &info
){
1925 wxNativeFontInfo nfi
;
1926 nfi
.FromString(info
);
1927 return new wxFont(nfi
);
1929 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1930 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
1932 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1933 return wxFontBase::New(pixelSize
, family
,
1934 style
, weight
, underlined
,
1937 static wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1938 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
1940 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
1941 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
1943 class wxPyFontEnumerator
: public wxFontEnumerator
{
1945 wxPyFontEnumerator() {}
1946 ~wxPyFontEnumerator() {}
1948 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
1949 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
1954 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
1955 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
1958 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
1959 wxArrayString
* arr
= self
->GetEncodings();
1961 return wxArrayString2PyList_helper(*arr
);
1963 return PyList_New(0);
1965 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
1966 wxArrayString
* arr
= self
->GetFacenames();
1968 return wxArrayString2PyList_helper(*arr
);
1970 return PyList_New(0);
1975 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
1978 loc
= new wxLocale();
1980 loc
= new wxLocale(language
, flags
);
1981 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1982 // for the floating point conversions and such to work right.
1983 #if PY_VERSION_HEX < 0x02040000
1984 setlocale(LC_NUMERIC
, "C");
1988 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
1989 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
1990 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1991 // for the floating point conversions and such to work right.
1992 #if PY_VERSION_HEX < 0x02040000
1993 setlocale(LC_NUMERIC
, "C");
1997 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
1998 bool rc
= self
->Init(language
, flags
);
1999 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2000 // for the floating point conversions and such to work right.
2001 #if PY_VERSION_HEX < 0x02040000
2002 setlocale(LC_NUMERIC
, "C");
2007 #include "wx/wxPython/pydrawxxx.h"
2009 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2011 self
->GetPixel(x
, y
, &col
);
2014 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2016 self
->GetPixel(pt
, &col
);
2021 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2023 if (PyNumber_Check(obj
)) {
2024 if (val
) *val
= PyFloat_AsDouble(obj
);
2028 SWIG_type_error("number", obj
);
2034 SWIGINTERNSHORT
double
2035 SWIG_As_double(PyObject
* obj
)
2038 if (!SWIG_AsVal_double(obj
, &v
)) {
2040 this is needed to make valgrind/purify happier.
2042 memset((void*)&v
, 0, sizeof(double));
2049 SWIG_Check_double(PyObject
* obj
)
2051 return SWIG_AsVal_double(obj
, (double*)0);
2054 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2056 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2060 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2062 self
->GetClippingBox(rect
);
2065 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2067 self
->GetPartialTextExtents(text
, widths
);
2071 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2072 #define SWIG_From_double PyFloat_FromDouble
2076 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2077 self
->SetLogicalOrigin(point
.x
, point
.y
);
2079 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2080 self
->SetDeviceOrigin(point
.x
, point
.y
);
2082 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2083 self
->CalcBoundingBox(point
.x
, point
.y
);
2085 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2086 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2088 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2089 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2091 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2092 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2094 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2095 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2097 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2098 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2100 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2101 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2104 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2112 #include <wx/dcbuffer.h>
2115 #include <wx/dcps.h>
2118 #include <wx/metafile.h>
2122 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2123 self
->AddColour(name
, wxColour(red
, green
, blue
));
2126 #include <wx/effects.h>
2129 #include "wx/renderer.h"
2132 SWIGINTERNSHORT PyObject
*
2133 SWIG_From_bool(bool value
)
2135 PyObject
*obj
= value
? Py_True
: Py_False
;
2143 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
*resultobj
;
2145 wxGDIObject
*result
;
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2152 if (!wxPyCheckForApp()) SWIG_fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 result
= (wxGDIObject
*)new wxGDIObject();
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2166 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2169 PyObject
* obj0
= 0 ;
2171 (char *) "self", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2176 if (SWIG_arg_fail(1)) SWIG_fail
;
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) SWIG_fail
;
2184 Py_INCREF(Py_None
); resultobj
= Py_None
;
2191 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
*resultobj
;
2193 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2197 (char *) "self", NULL
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2202 if (SWIG_arg_fail(1)) SWIG_fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 result
= (bool)(arg1
)->GetVisible();
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2219 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
*resultobj
;
2221 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2223 PyObject
* obj0
= 0 ;
2224 PyObject
* obj1
= 0 ;
2226 (char *) "self",(char *) "visible", NULL
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2231 if (SWIG_arg_fail(1)) SWIG_fail
;
2233 arg2
= (bool)(SWIG_As_bool(obj1
));
2234 if (SWIG_arg_fail(2)) SWIG_fail
;
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 (arg1
)->SetVisible(arg2
);
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) SWIG_fail
;
2243 Py_INCREF(Py_None
); resultobj
= Py_None
;
2250 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2254 PyObject
* obj0
= 0 ;
2256 (char *) "self", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2261 if (SWIG_arg_fail(1)) SWIG_fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 result
= (bool)(arg1
)->IsNull();
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2278 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2281 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2283 return Py_BuildValue((char *)"");
2285 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2287 byte arg1
= (byte
) 0 ;
2288 byte arg2
= (byte
) 0 ;
2289 byte arg3
= (byte
) 0 ;
2291 PyObject
* obj0
= 0 ;
2292 PyObject
* obj1
= 0 ;
2293 PyObject
* obj2
= 0 ;
2295 (char *) "red",(char *) "green",(char *) "blue", NULL
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2301 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
2302 if (SWIG_arg_fail(1)) SWIG_fail
;
2307 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2308 if (SWIG_arg_fail(2)) SWIG_fail
;
2313 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2314 if (SWIG_arg_fail(3)) SWIG_fail
;
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2331 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2333 wxString
*arg1
= 0 ;
2335 bool temp1
= false ;
2336 PyObject
* obj0
= 0 ;
2338 (char *) "colorName", NULL
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2343 arg1
= wxString_in_helper(obj0
);
2344 if (arg1
== NULL
) SWIG_fail
;
2348 if (!wxPyCheckForApp()) SWIG_fail
;
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2370 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2372 unsigned long arg1
;
2374 PyObject
* obj0
= 0 ;
2376 (char *) "colRGB", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2381 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
2382 if (SWIG_arg_fail(1)) SWIG_fail
;
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 result
= (wxColour
*)new wxColour(arg1
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) SWIG_fail
;
2391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2398 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
*resultobj
;
2400 wxColour
*arg1
= (wxColour
*) 0 ;
2401 PyObject
* obj0
= 0 ;
2403 (char *) "self", NULL
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2408 if (SWIG_arg_fail(1)) SWIG_fail
;
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2416 Py_INCREF(Py_None
); resultobj
= Py_None
;
2423 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
;
2425 wxColour
*arg1
= (wxColour
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2429 (char *) "self", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2434 if (SWIG_arg_fail(1)) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= (byte
)(arg1
)->Red();
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2443 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2451 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
*resultobj
;
2453 wxColour
*arg1
= (wxColour
*) 0 ;
2455 PyObject
* obj0
= 0 ;
2457 (char *) "self", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2462 if (SWIG_arg_fail(1)) SWIG_fail
;
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 result
= (byte
)(arg1
)->Green();
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2471 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2479 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxColour
*arg1
= (wxColour
*) 0 ;
2483 PyObject
* obj0
= 0 ;
2485 (char *) "self", NULL
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2490 if (SWIG_arg_fail(1)) SWIG_fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 result
= (byte
)(arg1
)->Blue();
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2499 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2507 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
*resultobj
;
2509 wxColour
*arg1
= (wxColour
*) 0 ;
2511 PyObject
* obj0
= 0 ;
2513 (char *) "self", NULL
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2518 if (SWIG_arg_fail(1)) SWIG_fail
;
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 result
= (bool)(arg1
)->Ok();
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2535 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
*resultobj
;
2537 wxColour
*arg1
= (wxColour
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2542 PyObject
* obj1
= 0 ;
2543 PyObject
* obj2
= 0 ;
2544 PyObject
* obj3
= 0 ;
2546 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2551 if (SWIG_arg_fail(1)) SWIG_fail
;
2553 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2554 if (SWIG_arg_fail(2)) SWIG_fail
;
2557 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2558 if (SWIG_arg_fail(3)) SWIG_fail
;
2561 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2562 if (SWIG_arg_fail(4)) SWIG_fail
;
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 (arg1
)->Set(arg2
,arg3
,arg4
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2571 Py_INCREF(Py_None
); resultobj
= Py_None
;
2578 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 wxColour
*arg1
= (wxColour
*) 0 ;
2581 unsigned long arg2
;
2582 PyObject
* obj0
= 0 ;
2583 PyObject
* obj1
= 0 ;
2585 (char *) "self",(char *) "colRGB", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2590 if (SWIG_arg_fail(1)) SWIG_fail
;
2592 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
2593 if (SWIG_arg_fail(2)) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 Py_INCREF(Py_None
); resultobj
= Py_None
;
2609 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2611 wxColour
*arg1
= (wxColour
*) 0 ;
2612 wxString
*arg2
= 0 ;
2613 bool temp2
= false ;
2614 PyObject
* obj0
= 0 ;
2615 PyObject
* obj1
= 0 ;
2617 (char *) "self",(char *) "colourName", NULL
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2622 if (SWIG_arg_fail(1)) SWIG_fail
;
2624 arg2
= wxString_in_helper(obj1
);
2625 if (arg2
== NULL
) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 (arg1
)->InitFromName((wxString
const &)*arg2
);
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2635 Py_INCREF(Py_None
); resultobj
= Py_None
;
2650 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 wxColour
*arg1
= (wxColour
*) 0 ;
2654 PyObject
* obj0
= 0 ;
2656 (char *) "self", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2661 if (SWIG_arg_fail(1)) SWIG_fail
;
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2670 resultobj
= SWIG_From_long((long)(result
));
2678 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
*resultobj
;
2680 wxColour
*arg1
= (wxColour
*) 0 ;
2681 wxColour
*arg2
= 0 ;
2684 PyObject
* obj0
= 0 ;
2685 PyObject
* obj1
= 0 ;
2687 (char *) "self",(char *) "colour", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2692 if (SWIG_arg_fail(1)) SWIG_fail
;
2695 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2699 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2713 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
*resultobj
;
2715 wxColour
*arg1
= (wxColour
*) 0 ;
2716 wxColour
*arg2
= 0 ;
2719 PyObject
* obj0
= 0 ;
2720 PyObject
* obj1
= 0 ;
2722 (char *) "self",(char *) "colour", NULL
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2727 if (SWIG_arg_fail(1)) SWIG_fail
;
2730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2748 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
*resultobj
;
2750 wxColour
*arg1
= (wxColour
*) 0 ;
2752 PyObject
* obj0
= 0 ;
2754 (char *) "self", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2759 if (SWIG_arg_fail(1)) SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 result
= (PyObject
*)wxColour_Get(arg1
);
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2774 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxColour
*arg1
= (wxColour
*) 0 ;
2777 unsigned long result
;
2778 PyObject
* obj0
= 0 ;
2780 (char *) "self", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2785 if (SWIG_arg_fail(1)) SWIG_fail
;
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 result
= (unsigned long)wxColour_GetRGB(arg1
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2794 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
2802 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2805 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2807 return Py_BuildValue((char *)"");
2809 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2812 unsigned char *arg2
= (unsigned char *) 0 ;
2813 unsigned char *arg3
= (unsigned char *) 0 ;
2814 unsigned char *arg4
= (unsigned char *) 0 ;
2816 PyObject
* obj0
= 0 ;
2817 PyObject
* obj1
= 0 ;
2818 PyObject
* obj2
= 0 ;
2819 PyObject
* obj3
= 0 ;
2821 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2826 arg1
= (int)(SWIG_As_int(obj0
));
2827 if (SWIG_arg_fail(1)) SWIG_fail
;
2829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2830 if (SWIG_arg_fail(2)) SWIG_fail
;
2831 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2832 if (SWIG_arg_fail(3)) SWIG_fail
;
2833 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2834 if (SWIG_arg_fail(4)) SWIG_fail
;
2836 if (!wxPyCheckForApp()) SWIG_fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
2850 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
*resultobj
;
2852 wxPalette
*arg1
= (wxPalette
*) 0 ;
2853 PyObject
* obj0
= 0 ;
2855 (char *) "self", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
2859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2860 if (SWIG_arg_fail(1)) SWIG_fail
;
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2868 Py_INCREF(Py_None
); resultobj
= Py_None
;
2875 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
*resultobj
;
2877 wxPalette
*arg1
= (wxPalette
*) 0 ;
2882 PyObject
* obj0
= 0 ;
2883 PyObject
* obj1
= 0 ;
2884 PyObject
* obj2
= 0 ;
2885 PyObject
* obj3
= 0 ;
2887 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2892 if (SWIG_arg_fail(1)) SWIG_fail
;
2894 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2895 if (SWIG_arg_fail(2)) SWIG_fail
;
2898 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2899 if (SWIG_arg_fail(3)) SWIG_fail
;
2902 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2903 if (SWIG_arg_fail(4)) SWIG_fail
;
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2913 resultobj
= SWIG_From_int((int)(result
));
2921 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
*resultobj
;
2923 wxPalette
*arg1
= (wxPalette
*) 0 ;
2925 byte
*arg3
= (byte
*) 0 ;
2926 byte
*arg4
= (byte
*) 0 ;
2927 byte
*arg5
= (byte
*) 0 ;
2935 PyObject
* obj0
= 0 ;
2936 PyObject
* obj1
= 0 ;
2938 (char *) "self",(char *) "pixel", NULL
2941 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2942 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2943 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2946 if (SWIG_arg_fail(1)) SWIG_fail
;
2948 arg2
= (int)(SWIG_As_int(obj1
));
2949 if (SWIG_arg_fail(2)) SWIG_fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2961 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2962 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
2963 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2964 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
2965 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2966 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
2973 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
*resultobj
;
2975 wxPalette
*arg1
= (wxPalette
*) 0 ;
2977 PyObject
* obj0
= 0 ;
2979 (char *) "self", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
2983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= SWIG_From_int((int)(result
));
3001 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPalette
*arg1
= (wxPalette
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3007 (char *) "self", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3012 if (SWIG_arg_fail(1)) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 result
= (bool)(arg1
)->Ok();
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3029 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3032 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3034 return Py_BuildValue((char *)"");
3036 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxColour
*arg1
= 0 ;
3039 int arg2
= (int) 1 ;
3040 int arg3
= (int) wxSOLID
;
3043 PyObject
* obj0
= 0 ;
3044 PyObject
* obj1
= 0 ;
3045 PyObject
* obj2
= 0 ;
3047 (char *) "colour",(char *) "width",(char *) "style", NULL
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3053 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3057 arg2
= (int)(SWIG_As_int(obj1
));
3058 if (SWIG_arg_fail(2)) SWIG_fail
;
3063 arg3
= (int)(SWIG_As_int(obj2
));
3064 if (SWIG_arg_fail(3)) SWIG_fail
;
3068 if (!wxPyCheckForApp()) SWIG_fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3082 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
*resultobj
;
3084 wxPen
*arg1
= (wxPen
*) 0 ;
3085 PyObject
* obj0
= 0 ;
3087 (char *) "self", NULL
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3092 if (SWIG_arg_fail(1)) SWIG_fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3100 Py_INCREF(Py_None
); resultobj
= Py_None
;
3107 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxPen
*arg1
= (wxPen
*) 0 ;
3111 PyObject
* obj0
= 0 ;
3113 (char *) "self", NULL
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3118 if (SWIG_arg_fail(1)) SWIG_fail
;
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 result
= (int)(arg1
)->GetCap();
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3127 resultobj
= SWIG_From_int((int)(result
));
3135 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxPen
*arg1
= (wxPen
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3141 (char *) "self", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3146 if (SWIG_arg_fail(1)) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 result
= (arg1
)->GetColour();
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 wxColour
* resultptr
;
3156 resultptr
= new wxColour((wxColour
&)(result
));
3157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3165 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxPen
*arg1
= (wxPen
*) 0 ;
3169 PyObject
* obj0
= 0 ;
3171 (char *) "self", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3176 if (SWIG_arg_fail(1)) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 result
= (int)(arg1
)->GetJoin();
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3185 resultobj
= SWIG_From_int((int)(result
));
3193 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxPen
*arg1
= (wxPen
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3199 (char *) "self", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3204 if (SWIG_arg_fail(1)) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 result
= (int)(arg1
)->GetStyle();
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3213 resultobj
= SWIG_From_int((int)(result
));
3221 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxPen
*arg1
= (wxPen
*) 0 ;
3225 PyObject
* obj0
= 0 ;
3227 (char *) "self", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3232 if (SWIG_arg_fail(1)) SWIG_fail
;
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 result
= (int)(arg1
)->GetWidth();
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3241 resultobj
= SWIG_From_int((int)(result
));
3249 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
*resultobj
;
3251 wxPen
*arg1
= (wxPen
*) 0 ;
3253 PyObject
* obj0
= 0 ;
3255 (char *) "self", NULL
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3260 if (SWIG_arg_fail(1)) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 result
= (bool)(arg1
)->Ok();
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3277 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxPen
*arg1
= (wxPen
*) 0 ;
3281 PyObject
* obj0
= 0 ;
3282 PyObject
* obj1
= 0 ;
3284 (char *) "self",(char *) "cap_style", NULL
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3289 if (SWIG_arg_fail(1)) SWIG_fail
;
3291 arg2
= (int)(SWIG_As_int(obj1
));
3292 if (SWIG_arg_fail(2)) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 (arg1
)->SetCap(arg2
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3308 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
*resultobj
;
3310 wxPen
*arg1
= (wxPen
*) 0 ;
3311 wxColour
*arg2
= 0 ;
3313 PyObject
* obj0
= 0 ;
3314 PyObject
* obj1
= 0 ;
3316 (char *) "self",(char *) "colour", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3321 if (SWIG_arg_fail(1)) SWIG_fail
;
3324 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 (arg1
)->SetColour(*arg2
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3333 Py_INCREF(Py_None
); resultobj
= Py_None
;
3340 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxPen
*arg1
= (wxPen
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3345 PyObject
* obj1
= 0 ;
3347 (char *) "self",(char *) "join_style", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3352 if (SWIG_arg_fail(1)) SWIG_fail
;
3354 arg2
= (int)(SWIG_As_int(obj1
));
3355 if (SWIG_arg_fail(2)) SWIG_fail
;
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 (arg1
)->SetJoin(arg2
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3364 Py_INCREF(Py_None
); resultobj
= Py_None
;
3371 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxPen
*arg1
= (wxPen
*) 0 ;
3375 PyObject
* obj0
= 0 ;
3376 PyObject
* obj1
= 0 ;
3378 (char *) "self",(char *) "style", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3383 if (SWIG_arg_fail(1)) SWIG_fail
;
3385 arg2
= (int)(SWIG_As_int(obj1
));
3386 if (SWIG_arg_fail(2)) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 (arg1
)->SetStyle(arg2
);
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 Py_INCREF(Py_None
); resultobj
= Py_None
;
3402 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxPen
*arg1
= (wxPen
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "self",(char *) "width", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3414 if (SWIG_arg_fail(1)) SWIG_fail
;
3416 arg2
= (int)(SWIG_As_int(obj1
));
3417 if (SWIG_arg_fail(2)) SWIG_fail
;
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 (arg1
)->SetWidth(arg2
);
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3426 Py_INCREF(Py_None
); resultobj
= Py_None
;
3433 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxPen
*arg1
= (wxPen
*) 0 ;
3437 wxDash
*arg3
= (wxDash
*) 0 ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3441 (char *) "self",(char *) "dashes", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail
;
3448 arg2
= PyList_Size(obj1
);
3449 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3450 if (arg3
== NULL
) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 (arg1
)->SetDashes(arg2
,arg3
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3459 Py_INCREF(Py_None
); resultobj
= Py_None
;
3461 if (arg3
) delete [] arg3
;
3466 if (arg3
) delete [] arg3
;
3472 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxPen
*arg1
= (wxPen
*) 0 ;
3476 PyObject
* obj0
= 0 ;
3478 (char *) "self", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3483 if (SWIG_arg_fail(1)) SWIG_fail
;
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3498 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxPen
*arg1
= (wxPen
*) 0 ;
3501 PyObject
*arg2
= (PyObject
*) 0 ;
3502 PyObject
*arg3
= (PyObject
*) 0 ;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3505 PyObject
* obj2
= 0 ;
3507 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3512 if (SWIG_arg_fail(1)) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 wxPen__SetDashes(arg1
,arg2
,arg3
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 Py_INCREF(Py_None
); resultobj
= Py_None
;
3529 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxPen
*arg1
= (wxPen
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3535 (char *) "self", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
3539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3540 if (SWIG_arg_fail(1)) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3549 resultobj
= SWIG_From_int((int)(result
));
3557 static PyObject
*_wrap_Pen_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxPen
*arg1
= (wxPen
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3563 (char *) "self", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
3567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (wxBitmap
*)(arg1
)->GetStipple();
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3583 static PyObject
*_wrap_Pen_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxPen
*arg1
= (wxPen
*) 0 ;
3586 wxBitmap
*arg2
= 0 ;
3587 PyObject
* obj0
= 0 ;
3588 PyObject
* obj1
= 0 ;
3590 (char *) "self",(char *) "stipple", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3595 if (SWIG_arg_fail(1)) SWIG_fail
;
3597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3598 if (SWIG_arg_fail(2)) SWIG_fail
;
3600 SWIG_null_ref("wxBitmap");
3602 if (SWIG_arg_fail(2)) SWIG_fail
;
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 (arg1
)->SetStipple(*arg2
);
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 Py_INCREF(Py_None
); resultobj
= Py_None
;
3618 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
;
3620 wxPen
*arg1
= (wxPen
*) 0 ;
3621 wxPen
*arg2
= (wxPen
*) 0 ;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3626 (char *) "self",(char *) "other", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3631 if (SWIG_arg_fail(1)) SWIG_fail
;
3632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3633 if (SWIG_arg_fail(2)) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3650 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxPen
*arg1
= (wxPen
*) 0 ;
3653 wxPen
*arg2
= (wxPen
*) 0 ;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3658 (char *) "self",(char *) "other", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3663 if (SWIG_arg_fail(1)) SWIG_fail
;
3664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3665 if (SWIG_arg_fail(2)) SWIG_fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3682 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3685 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3687 return Py_BuildValue((char *)"");
3689 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3691 wxColour
*arg1
= 0 ;
3692 int arg2
= (int) wxSOLID
;
3695 PyObject
* obj0
= 0 ;
3696 PyObject
* obj1
= 0 ;
3698 (char *) "colour",(char *) "style", NULL
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3704 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3708 arg2
= (int)(SWIG_As_int(obj1
));
3709 if (SWIG_arg_fail(2)) SWIG_fail
;
3713 if (!wxPyCheckForApp()) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3727 static PyObject
*_wrap_new_BrushFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxBitmap
*arg1
= 0 ;
3731 PyObject
* obj0
= 0 ;
3733 (char *) "stippleBitmap", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) goto fail
;
3738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3739 if (SWIG_arg_fail(1)) SWIG_fail
;
3741 SWIG_null_ref("wxBitmap");
3743 if (SWIG_arg_fail(1)) SWIG_fail
;
3746 if (!wxPyCheckForApp()) SWIG_fail
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3760 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 wxBrush
*arg1
= (wxBrush
*) 0 ;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "self", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3770 if (SWIG_arg_fail(1)) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 Py_INCREF(Py_None
); resultobj
= Py_None
;
3785 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3787 wxBrush
*arg1
= (wxBrush
*) 0 ;
3788 wxColour
*arg2
= 0 ;
3790 PyObject
* obj0
= 0 ;
3791 PyObject
* obj1
= 0 ;
3793 (char *) "self",(char *) "col", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail
;
3801 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 (arg1
)->SetColour((wxColour
const &)*arg2
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 Py_INCREF(Py_None
); resultobj
= Py_None
;
3817 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxBrush
*arg1
= (wxBrush
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3824 (char *) "self",(char *) "style", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3829 if (SWIG_arg_fail(1)) SWIG_fail
;
3831 arg2
= (int)(SWIG_As_int(obj1
));
3832 if (SWIG_arg_fail(2)) SWIG_fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 (arg1
)->SetStyle(arg2
);
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 Py_INCREF(Py_None
); resultobj
= Py_None
;
3848 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
;
3850 wxBrush
*arg1
= (wxBrush
*) 0 ;
3851 wxBitmap
*arg2
= 0 ;
3852 PyObject
* obj0
= 0 ;
3853 PyObject
* obj1
= 0 ;
3855 (char *) "self",(char *) "stipple", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3860 if (SWIG_arg_fail(1)) SWIG_fail
;
3862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3863 if (SWIG_arg_fail(2)) SWIG_fail
;
3865 SWIG_null_ref("wxBitmap");
3867 if (SWIG_arg_fail(2)) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 Py_INCREF(Py_None
); resultobj
= Py_None
;
3883 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxBrush
*arg1
= (wxBrush
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3889 (char *) "self", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
3893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3894 if (SWIG_arg_fail(1)) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= ((wxBrush
const *)arg1
)->GetColour();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3903 wxColour
* resultptr
;
3904 resultptr
= new wxColour((wxColour
&)(result
));
3905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3913 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxBrush
*arg1
= (wxBrush
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3919 (char *) "self", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
3923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3924 if (SWIG_arg_fail(1)) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= SWIG_From_int((int)(result
));
3941 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3943 wxBrush
*arg1
= (wxBrush
*) 0 ;
3945 PyObject
* obj0
= 0 ;
3947 (char *) "self", NULL
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
3951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3952 if (SWIG_arg_fail(1)) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3967 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxBrush
*arg1
= (wxBrush
*) 0 ;
3971 PyObject
* obj0
= 0 ;
3973 (char *) "self", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
3977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3978 if (SWIG_arg_fail(1)) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3995 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxBrush
*arg1
= (wxBrush
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4001 (char *) "self", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
4005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4006 if (SWIG_arg_fail(1)) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= (bool)(arg1
)->Ok();
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4023 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
4025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4026 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
4028 return Py_BuildValue((char *)"");
4030 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
;
4032 wxString
*arg1
= 0 ;
4033 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
4035 bool temp1
= false ;
4036 PyObject
* obj0
= 0 ;
4037 PyObject
* obj1
= 0 ;
4039 (char *) "name",(char *) "type", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4044 arg1
= wxString_in_helper(obj0
);
4045 if (arg1
== NULL
) SWIG_fail
;
4050 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4051 if (SWIG_arg_fail(2)) SWIG_fail
;
4055 if (!wxPyCheckForApp()) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4077 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4087 if (SWIG_arg_fail(1)) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 Py_INCREF(Py_None
); resultobj
= Py_None
;
4102 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4106 int arg3
= (int) -1 ;
4108 PyObject
* obj0
= 0 ;
4109 PyObject
* obj1
= 0 ;
4110 PyObject
* obj2
= 0 ;
4112 (char *) "width",(char *) "height",(char *) "depth", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4117 arg1
= (int)(SWIG_As_int(obj0
));
4118 if (SWIG_arg_fail(1)) SWIG_fail
;
4121 arg2
= (int)(SWIG_As_int(obj1
));
4122 if (SWIG_arg_fail(2)) SWIG_fail
;
4126 arg3
= (int)(SWIG_As_int(obj2
));
4127 if (SWIG_arg_fail(3)) SWIG_fail
;
4131 if (!wxPyCheckForApp()) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4145 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
;
4149 PyObject
* obj0
= 0 ;
4151 (char *) "icon", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4157 if (SWIG_arg_fail(1)) SWIG_fail
;
4159 SWIG_null_ref("wxIcon");
4161 if (SWIG_arg_fail(1)) SWIG_fail
;
4164 if (!wxPyCheckForApp()) SWIG_fail
;
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4178 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4181 int arg2
= (int) -1 ;
4183 PyObject
* obj0
= 0 ;
4184 PyObject
* obj1
= 0 ;
4186 (char *) "image",(char *) "depth", NULL
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4192 if (SWIG_arg_fail(1)) SWIG_fail
;
4194 SWIG_null_ref("wxImage");
4196 if (SWIG_arg_fail(1)) SWIG_fail
;
4200 arg2
= (int)(SWIG_As_int(obj1
));
4201 if (SWIG_arg_fail(2)) SWIG_fail
;
4205 if (!wxPyCheckForApp()) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4219 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 PyObject
*arg1
= (PyObject
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4225 (char *) "listOfStrings", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4231 if (!wxPyCheckForApp()) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4245 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 PyObject
*arg1
= (PyObject
*) 0 ;
4250 int arg4
= (int) 1 ;
4252 PyObject
* obj0
= 0 ;
4253 PyObject
* obj1
= 0 ;
4254 PyObject
* obj2
= 0 ;
4255 PyObject
* obj3
= 0 ;
4257 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4263 arg2
= (int)(SWIG_As_int(obj1
));
4264 if (SWIG_arg_fail(2)) SWIG_fail
;
4267 arg3
= (int)(SWIG_As_int(obj2
));
4268 if (SWIG_arg_fail(3)) SWIG_fail
;
4272 arg4
= (int)(SWIG_As_int(obj3
));
4273 if (SWIG_arg_fail(4)) SWIG_fail
;
4277 if (!wxPyCheckForApp()) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4291 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4297 (char *) "self", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
4301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4302 if (SWIG_arg_fail(1)) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 result
= (long)(arg1
)->GetHandle();
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_From_long((long)(result
));
4319 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4321 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4323 PyObject
* obj0
= 0 ;
4324 PyObject
* obj1
= 0 ;
4326 (char *) "self",(char *) "handle", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4331 if (SWIG_arg_fail(1)) SWIG_fail
;
4333 arg2
= (long)(SWIG_As_long(obj1
));
4334 if (SWIG_arg_fail(2)) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 wxBitmap_SetHandle(arg1
,arg2
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 Py_INCREF(Py_None
); resultobj
= Py_None
;
4350 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4352 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4356 (char *) "self", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4361 if (SWIG_arg_fail(1)) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (bool)(arg1
)->Ok();
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4378 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4380 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4384 (char *) "self", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4389 if (SWIG_arg_fail(1)) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (int)(arg1
)->GetWidth();
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= SWIG_From_int((int)(result
));
4406 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
;
4408 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4410 PyObject
* obj0
= 0 ;
4412 (char *) "self", NULL
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4417 if (SWIG_arg_fail(1)) SWIG_fail
;
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 result
= (int)(arg1
)->GetHeight();
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_From_int((int)(result
));
4434 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4436 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4438 PyObject
* obj0
= 0 ;
4440 (char *) "self", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4445 if (SWIG_arg_fail(1)) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 result
= (int)(arg1
)->GetDepth();
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int((int)(result
));
4462 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
*resultobj
;
4464 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4466 PyObject
* obj0
= 0 ;
4468 (char *) "self", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= wxBitmap_GetSize(arg1
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4483 resultptr
= new wxSize((wxSize
&)(result
));
4484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4492 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
;
4494 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4495 SwigValueWrapper
<wxImage
> result
;
4496 PyObject
* obj0
= 0 ;
4498 (char *) "self", NULL
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4503 if (SWIG_arg_fail(1)) SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4512 wxImage
* resultptr
;
4513 resultptr
= new wxImage((wxImage
&)(result
));
4514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4522 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4526 PyObject
* obj0
= 0 ;
4528 (char *) "self", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4533 if (SWIG_arg_fail(1)) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4548 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4551 wxMask
*arg2
= (wxMask
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4555 (char *) "self",(char *) "mask", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4560 if (SWIG_arg_fail(1)) SWIG_fail
;
4561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4562 if (SWIG_arg_fail(2)) SWIG_fail
;
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 (arg1
)->SetMask(arg2
);
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 Py_INCREF(Py_None
); resultobj
= Py_None
;
4577 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4580 wxColour
*arg2
= 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4585 (char *) "self",(char *) "colour", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail
;
4593 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 Py_INCREF(Py_None
); resultobj
= Py_None
;
4609 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4613 SwigValueWrapper
<wxBitmap
> result
;
4615 PyObject
* obj0
= 0 ;
4616 PyObject
* obj1
= 0 ;
4618 (char *) "self",(char *) "rect", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail
;
4626 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4636 wxBitmap
* resultptr
;
4637 resultptr
= new wxBitmap((wxBitmap
&)(result
));
4638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4646 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
;
4648 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4649 wxString
*arg2
= 0 ;
4651 wxPalette
*arg4
= (wxPalette
*) NULL
;
4653 bool temp2
= false ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4656 PyObject
* obj2
= 0 ;
4657 PyObject
* obj3
= 0 ;
4659 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4664 if (SWIG_arg_fail(1)) SWIG_fail
;
4666 arg2
= wxString_in_helper(obj1
);
4667 if (arg2
== NULL
) SWIG_fail
;
4671 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4672 if (SWIG_arg_fail(3)) SWIG_fail
;
4675 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4676 if (SWIG_arg_fail(4)) SWIG_fail
;
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4702 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4705 wxString
*arg2
= 0 ;
4708 bool temp2
= false ;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 PyObject
* obj2
= 0 ;
4713 (char *) "self",(char *) "name",(char *) "type", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4718 if (SWIG_arg_fail(1)) SWIG_fail
;
4720 arg2
= wxString_in_helper(obj1
);
4721 if (arg2
== NULL
) SWIG_fail
;
4725 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4726 if (SWIG_arg_fail(3)) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4752 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4756 PyObject
* obj0
= 0 ;
4758 (char *) "self", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4763 if (SWIG_arg_fail(1)) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4778 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4781 wxPalette
*arg2
= 0 ;
4782 PyObject
* obj0
= 0 ;
4783 PyObject
* obj1
= 0 ;
4785 (char *) "self",(char *) "palette", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
4789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4790 if (SWIG_arg_fail(1)) SWIG_fail
;
4792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4793 if (SWIG_arg_fail(2)) SWIG_fail
;
4795 SWIG_null_ref("wxPalette");
4797 if (SWIG_arg_fail(2)) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 Py_INCREF(Py_None
); resultobj
= Py_None
;
4813 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4818 PyObject
* obj0
= 0 ;
4819 PyObject
* obj1
= 0 ;
4821 (char *) "self",(char *) "icon", NULL
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4826 if (SWIG_arg_fail(1)) SWIG_fail
;
4828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4829 if (SWIG_arg_fail(2)) SWIG_fail
;
4831 SWIG_null_ref("wxIcon");
4833 if (SWIG_arg_fail(2)) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4851 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4855 PyObject
* obj0
= 0 ;
4856 PyObject
* obj1
= 0 ;
4858 (char *) "self",(char *) "height", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4863 if (SWIG_arg_fail(1)) SWIG_fail
;
4865 arg2
= (int)(SWIG_As_int(obj1
));
4866 if (SWIG_arg_fail(2)) SWIG_fail
;
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 (arg1
)->SetHeight(arg2
);
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4875 Py_INCREF(Py_None
); resultobj
= Py_None
;
4882 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
*resultobj
;
4884 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4886 PyObject
* obj0
= 0 ;
4887 PyObject
* obj1
= 0 ;
4889 (char *) "self",(char *) "width", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4894 if (SWIG_arg_fail(1)) SWIG_fail
;
4896 arg2
= (int)(SWIG_As_int(obj1
));
4897 if (SWIG_arg_fail(2)) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 (arg1
)->SetWidth(arg2
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 Py_INCREF(Py_None
); resultobj
= Py_None
;
4913 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4920 (char *) "self",(char *) "depth", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4925 if (SWIG_arg_fail(1)) SWIG_fail
;
4927 arg2
= (int)(SWIG_As_int(obj1
));
4928 if (SWIG_arg_fail(2)) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 (arg1
)->SetDepth(arg2
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 Py_INCREF(Py_None
); resultobj
= Py_None
;
4944 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4949 PyObject
* obj0
= 0 ;
4950 PyObject
* obj1
= 0 ;
4952 (char *) "self",(char *) "size", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4957 if (SWIG_arg_fail(1)) SWIG_fail
;
4960 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 Py_INCREF(Py_None
); resultobj
= Py_None
;
4976 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4979 wxCursor
*arg2
= 0 ;
4981 PyObject
* obj0
= 0 ;
4982 PyObject
* obj1
= 0 ;
4984 (char *) "self",(char *) "cursor", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
4988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4989 if (SWIG_arg_fail(1)) SWIG_fail
;
4991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
4992 if (SWIG_arg_fail(2)) SWIG_fail
;
4994 SWIG_null_ref("wxCursor");
4996 if (SWIG_arg_fail(2)) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5014 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
;
5016 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5017 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5022 (char *) "self",(char *) "other", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5027 if (SWIG_arg_fail(1)) SWIG_fail
;
5028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5029 if (SWIG_arg_fail(2)) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5046 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5049 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5054 (char *) "self",(char *) "other", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5059 if (SWIG_arg_fail(1)) SWIG_fail
;
5060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5061 if (SWIG_arg_fail(2)) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5078 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
5080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5081 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
5083 return Py_BuildValue((char *)"");
5085 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
;
5087 wxBitmap
*arg1
= 0 ;
5088 wxColour
const &arg2_defvalue
= wxNullColour
;
5089 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5092 PyObject
* obj0
= 0 ;
5093 PyObject
* obj1
= 0 ;
5095 (char *) "bitmap",(char *) "colour", NULL
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
5100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail
;
5103 SWIG_null_ref("wxBitmap");
5105 if (SWIG_arg_fail(1)) SWIG_fail
;
5110 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5114 if (!wxPyCheckForApp()) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
5128 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
5130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5131 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
5133 return Py_BuildValue((char *)"");
5135 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxString
*arg1
= 0 ;
5139 int arg3
= (int) -1 ;
5140 int arg4
= (int) -1 ;
5142 bool temp1
= false ;
5143 PyObject
* obj0
= 0 ;
5144 PyObject
* obj1
= 0 ;
5145 PyObject
* obj2
= 0 ;
5146 PyObject
* obj3
= 0 ;
5148 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5153 arg1
= wxString_in_helper(obj0
);
5154 if (arg1
== NULL
) SWIG_fail
;
5158 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
5159 if (SWIG_arg_fail(2)) SWIG_fail
;
5163 arg3
= (int)(SWIG_As_int(obj2
));
5164 if (SWIG_arg_fail(3)) SWIG_fail
;
5169 arg4
= (int)(SWIG_As_int(obj3
));
5170 if (SWIG_arg_fail(4)) SWIG_fail
;
5174 if (!wxPyCheckForApp()) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5196 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxIcon
*arg1
= (wxIcon
*) 0 ;
5199 PyObject
* obj0
= 0 ;
5201 (char *) "self", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5206 if (SWIG_arg_fail(1)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 Py_INCREF(Py_None
); resultobj
= Py_None
;
5221 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5230 if (!wxPyCheckForApp()) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= (wxIcon
*)new wxIcon();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5244 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
;
5246 wxIconLocation
*arg1
= 0 ;
5248 PyObject
* obj0
= 0 ;
5250 (char *) "loc", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5256 if (SWIG_arg_fail(1)) SWIG_fail
;
5258 SWIG_null_ref("wxIconLocation");
5260 if (SWIG_arg_fail(1)) SWIG_fail
;
5263 if (!wxPyCheckForApp()) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5277 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
;
5279 wxBitmap
*arg1
= 0 ;
5281 PyObject
* obj0
= 0 ;
5283 (char *) "bmp", NULL
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5289 if (SWIG_arg_fail(1)) SWIG_fail
;
5291 SWIG_null_ref("wxBitmap");
5293 if (SWIG_arg_fail(1)) SWIG_fail
;
5296 if (!wxPyCheckForApp()) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5310 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 PyObject
*arg1
= (PyObject
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5316 (char *) "listOfStrings", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5322 if (!wxPyCheckForApp()) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 result
= (wxIcon
*)new_wxIcon(arg1
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5336 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxIcon
*arg1
= (wxIcon
*) 0 ;
5339 wxString
*arg2
= 0 ;
5342 bool temp2
= false ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5345 PyObject
* obj2
= 0 ;
5347 (char *) "self",(char *) "name",(char *) "type", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5352 if (SWIG_arg_fail(1)) SWIG_fail
;
5354 arg2
= wxString_in_helper(obj1
);
5355 if (arg2
== NULL
) SWIG_fail
;
5359 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
5360 if (SWIG_arg_fail(3)) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5386 static PyObject
*_wrap_Icon_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
;
5388 wxIcon
*arg1
= (wxIcon
*) 0 ;
5390 PyObject
* obj0
= 0 ;
5392 (char *) "self", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
5396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5397 if (SWIG_arg_fail(1)) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= (long)(arg1
)->GetHandle();
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= SWIG_From_long((long)(result
));
5414 static PyObject
*_wrap_Icon_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxIcon
*arg1
= (wxIcon
*) 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5421 (char *) "self",(char *) "handle", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
5425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5426 if (SWIG_arg_fail(1)) SWIG_fail
;
5428 arg2
= (long)(SWIG_As_long(obj1
));
5429 if (SWIG_arg_fail(2)) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 wxIcon_SetHandle(arg1
,arg2
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 Py_INCREF(Py_None
); resultobj
= Py_None
;
5445 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
;
5447 wxIcon
*arg1
= (wxIcon
*) 0 ;
5449 PyObject
* obj0
= 0 ;
5451 (char *) "self", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5456 if (SWIG_arg_fail(1)) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (bool)(arg1
)->Ok();
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5473 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 wxIcon
*arg1
= (wxIcon
*) 0 ;
5477 PyObject
* obj0
= 0 ;
5479 (char *) "self", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5484 if (SWIG_arg_fail(1)) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 result
= (int)(arg1
)->GetWidth();
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= SWIG_From_int((int)(result
));
5501 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5503 wxIcon
*arg1
= (wxIcon
*) 0 ;
5505 PyObject
* obj0
= 0 ;
5507 (char *) "self", NULL
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5512 if (SWIG_arg_fail(1)) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (int)(arg1
)->GetHeight();
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5521 resultobj
= SWIG_From_int((int)(result
));
5529 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxIcon
*arg1
= (wxIcon
*) 0 ;
5533 PyObject
* obj0
= 0 ;
5535 (char *) "self", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5540 if (SWIG_arg_fail(1)) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (int)(arg1
)->GetDepth();
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= SWIG_From_int((int)(result
));
5557 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
*resultobj
;
5559 wxIcon
*arg1
= (wxIcon
*) 0 ;
5561 PyObject
* obj0
= 0 ;
5562 PyObject
* obj1
= 0 ;
5564 (char *) "self",(char *) "w", NULL
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5569 if (SWIG_arg_fail(1)) SWIG_fail
;
5571 arg2
= (int)(SWIG_As_int(obj1
));
5572 if (SWIG_arg_fail(2)) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 (arg1
)->SetWidth(arg2
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 Py_INCREF(Py_None
); resultobj
= Py_None
;
5588 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxIcon
*arg1
= (wxIcon
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5595 (char *) "self",(char *) "h", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5600 if (SWIG_arg_fail(1)) SWIG_fail
;
5602 arg2
= (int)(SWIG_As_int(obj1
));
5603 if (SWIG_arg_fail(2)) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 (arg1
)->SetHeight(arg2
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 Py_INCREF(Py_None
); resultobj
= Py_None
;
5619 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxIcon
*arg1
= (wxIcon
*) 0 ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5626 (char *) "self",(char *) "d", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5631 if (SWIG_arg_fail(1)) SWIG_fail
;
5633 arg2
= (int)(SWIG_As_int(obj1
));
5634 if (SWIG_arg_fail(2)) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 (arg1
)->SetDepth(arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 Py_INCREF(Py_None
); resultobj
= Py_None
;
5650 static PyObject
*_wrap_Icon_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxIcon
*arg1
= (wxIcon
*) 0 ;
5655 PyObject
* obj0
= 0 ;
5656 PyObject
* obj1
= 0 ;
5658 (char *) "self",(char *) "size", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5663 if (SWIG_arg_fail(1)) SWIG_fail
;
5666 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 (arg1
)->SetSize((wxSize
const &)*arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxIcon
*arg1
= (wxIcon
*) 0 ;
5685 wxBitmap
*arg2
= 0 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5689 (char *) "self",(char *) "bmp", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5694 if (SWIG_arg_fail(1)) SWIG_fail
;
5696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5697 if (SWIG_arg_fail(2)) SWIG_fail
;
5699 SWIG_null_ref("wxBitmap");
5701 if (SWIG_arg_fail(2)) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 Py_INCREF(Py_None
); resultobj
= Py_None
;
5717 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5720 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5722 return Py_BuildValue((char *)"");
5724 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5726 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5727 int arg2
= (int) 0 ;
5728 wxIconLocation
*result
;
5729 bool temp1
= false ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5733 (char *) "filename",(char *) "num", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5739 arg1
= wxString_in_helper(obj0
);
5740 if (arg1
== NULL
) SWIG_fail
;
5746 arg2
= (int)(SWIG_As_int(obj1
));
5747 if (SWIG_arg_fail(2)) SWIG_fail
;
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5772 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5782 if (SWIG_arg_fail(1)) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 Py_INCREF(Py_None
); resultobj
= Py_None
;
5797 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5803 (char *) "self", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5808 if (SWIG_arg_fail(1)) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5825 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5828 wxString
*arg2
= 0 ;
5829 bool temp2
= false ;
5830 PyObject
* obj0
= 0 ;
5831 PyObject
* obj1
= 0 ;
5833 (char *) "self",(char *) "filename", NULL
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5838 if (SWIG_arg_fail(1)) SWIG_fail
;
5840 arg2
= wxString_in_helper(obj1
);
5841 if (arg2
== NULL
) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->SetFileName((wxString
const &)*arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 Py_INCREF(Py_None
); resultobj
= Py_None
;
5866 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5870 PyObject
* obj0
= 0 ;
5872 (char *) "self", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5877 if (SWIG_arg_fail(1)) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5882 result
= (wxString
*) &_result_ref
;
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5892 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5901 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5905 PyObject
* obj0
= 0 ;
5906 PyObject
* obj1
= 0 ;
5908 (char *) "self",(char *) "num", NULL
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5913 if (SWIG_arg_fail(1)) SWIG_fail
;
5915 arg2
= (int)(SWIG_As_int(obj1
));
5916 if (SWIG_arg_fail(2)) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 wxIconLocation_SetIndex(arg1
,arg2
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 Py_INCREF(Py_None
); resultobj
= Py_None
;
5932 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
;
5934 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5936 PyObject
* obj0
= 0 ;
5938 (char *) "self", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5943 if (SWIG_arg_fail(1)) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (int)wxIconLocation_GetIndex(arg1
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5952 resultobj
= SWIG_From_int((int)(result
));
5960 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5963 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5965 return Py_BuildValue((char *)"");
5967 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
;
5969 wxIconBundle
*result
;
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 result
= (wxIconBundle
*)new wxIconBundle();
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5989 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxString
*arg1
= 0 ;
5993 wxIconBundle
*result
;
5994 bool temp1
= false ;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5998 (char *) "file",(char *) "type", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6003 arg1
= wxString_in_helper(obj0
);
6004 if (arg1
== NULL
) SWIG_fail
;
6008 arg2
= (long)(SWIG_As_long(obj1
));
6009 if (SWIG_arg_fail(2)) SWIG_fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6033 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6036 wxIconBundle
*result
;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "icon", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
6044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6045 if (SWIG_arg_fail(1)) SWIG_fail
;
6047 SWIG_null_ref("wxIcon");
6049 if (SWIG_arg_fail(1)) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6065 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6068 PyObject
* obj0
= 0 ;
6070 (char *) "self", NULL
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
6074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6075 if (SWIG_arg_fail(1)) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 Py_INCREF(Py_None
); resultobj
= Py_None
;
6090 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6097 (char *) "self",(char *) "icon", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6102 if (SWIG_arg_fail(1)) SWIG_fail
;
6104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6105 if (SWIG_arg_fail(2)) SWIG_fail
;
6107 SWIG_null_ref("wxIcon");
6109 if (SWIG_arg_fail(2)) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 Py_INCREF(Py_None
); resultobj
= Py_None
;
6125 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
;
6127 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6128 wxString
*arg2
= 0 ;
6130 bool temp2
= false ;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6133 PyObject
* obj2
= 0 ;
6135 (char *) "self",(char *) "file",(char *) "type", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6140 if (SWIG_arg_fail(1)) SWIG_fail
;
6142 arg2
= wxString_in_helper(obj1
);
6143 if (arg2
== NULL
) SWIG_fail
;
6147 arg3
= (long)(SWIG_As_long(obj2
));
6148 if (SWIG_arg_fail(3)) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6157 Py_INCREF(Py_None
); resultobj
= Py_None
;
6172 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj1
= 0 ;
6181 (char *) "self",(char *) "size", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6186 if (SWIG_arg_fail(1)) SWIG_fail
;
6189 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
6195 result
= (wxIcon
*) &_result_ref
;
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6202 wxIcon
* resultptr
= new wxIcon(*result
);
6203 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
6211 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
6213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6214 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
6216 return Py_BuildValue((char *)"");
6218 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxString
*arg1
= 0 ;
6222 int arg3
= (int) 0 ;
6223 int arg4
= (int) 0 ;
6225 bool temp1
= false ;
6226 PyObject
* obj0
= 0 ;
6227 PyObject
* obj1
= 0 ;
6228 PyObject
* obj2
= 0 ;
6229 PyObject
* obj3
= 0 ;
6231 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6236 arg1
= wxString_in_helper(obj0
);
6237 if (arg1
== NULL
) SWIG_fail
;
6241 arg2
= (long)(SWIG_As_long(obj1
));
6242 if (SWIG_arg_fail(2)) SWIG_fail
;
6246 arg3
= (int)(SWIG_As_int(obj2
));
6247 if (SWIG_arg_fail(3)) SWIG_fail
;
6252 arg4
= (int)(SWIG_As_int(obj3
));
6253 if (SWIG_arg_fail(4)) SWIG_fail
;
6257 if (!wxPyCheckForApp()) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6279 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxCursor
*arg1
= (wxCursor
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6284 (char *) "self", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
6288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6289 if (SWIG_arg_fail(1)) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 Py_INCREF(Py_None
); resultobj
= Py_None
;
6304 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6308 PyObject
* obj0
= 0 ;
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6315 arg1
= (int)(SWIG_As_int(obj0
));
6316 if (SWIG_arg_fail(1)) SWIG_fail
;
6319 if (!wxPyCheckForApp()) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (wxCursor
*)new wxCursor(arg1
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6333 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "image", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6345 if (SWIG_arg_fail(1)) SWIG_fail
;
6347 SWIG_null_ref("wxImage");
6349 if (SWIG_arg_fail(1)) SWIG_fail
;
6352 if (!wxPyCheckForApp()) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6366 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxCursor
*arg1
= (wxCursor
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6372 (char *) "self", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
6376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6377 if (SWIG_arg_fail(1)) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 result
= (long)(arg1
)->GetHandle();
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6386 resultobj
= SWIG_From_long((long)(result
));
6394 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
*resultobj
;
6396 wxCursor
*arg1
= (wxCursor
*) 0 ;
6398 PyObject
* obj0
= 0 ;
6399 PyObject
* obj1
= 0 ;
6401 (char *) "self",(char *) "handle", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
6405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6406 if (SWIG_arg_fail(1)) SWIG_fail
;
6408 arg2
= (long)(SWIG_As_long(obj1
));
6409 if (SWIG_arg_fail(2)) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 wxCursor_SetHandle(arg1
,arg2
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 Py_INCREF(Py_None
); resultobj
= Py_None
;
6425 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxCursor
*arg1
= (wxCursor
*) 0 ;
6429 PyObject
* obj0
= 0 ;
6431 (char *) "self", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6436 if (SWIG_arg_fail(1)) SWIG_fail
;
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 result
= (bool)(arg1
)->Ok();
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6453 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
;
6455 wxCursor
*arg1
= (wxCursor
*) 0 ;
6457 PyObject
* obj0
= 0 ;
6459 (char *) "self", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
6463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6464 if (SWIG_arg_fail(1)) SWIG_fail
;
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 result
= (int)(arg1
)->GetWidth();
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_From_int((int)(result
));
6481 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
*resultobj
;
6483 wxCursor
*arg1
= (wxCursor
*) 0 ;
6485 PyObject
* obj0
= 0 ;
6487 (char *) "self", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
6491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6492 if (SWIG_arg_fail(1)) SWIG_fail
;
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 result
= (int)(arg1
)->GetHeight();
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_From_int((int)(result
));
6509 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
*resultobj
;
6511 wxCursor
*arg1
= (wxCursor
*) 0 ;
6513 PyObject
* obj0
= 0 ;
6515 (char *) "self", NULL
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
6519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6520 if (SWIG_arg_fail(1)) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (int)(arg1
)->GetDepth();
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_From_int((int)(result
));
6537 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxCursor
*arg1
= (wxCursor
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6544 (char *) "self",(char *) "w", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
6548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6549 if (SWIG_arg_fail(1)) SWIG_fail
;
6551 arg2
= (int)(SWIG_As_int(obj1
));
6552 if (SWIG_arg_fail(2)) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 (arg1
)->SetWidth(arg2
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 Py_INCREF(Py_None
); resultobj
= Py_None
;
6568 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxCursor
*arg1
= (wxCursor
*) 0 ;
6572 PyObject
* obj0
= 0 ;
6573 PyObject
* obj1
= 0 ;
6575 (char *) "self",(char *) "h", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6580 if (SWIG_arg_fail(1)) SWIG_fail
;
6582 arg2
= (int)(SWIG_As_int(obj1
));
6583 if (SWIG_arg_fail(2)) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 (arg1
)->SetHeight(arg2
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 Py_INCREF(Py_None
); resultobj
= Py_None
;
6599 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxCursor
*arg1
= (wxCursor
*) 0 ;
6603 PyObject
* obj0
= 0 ;
6604 PyObject
* obj1
= 0 ;
6606 (char *) "self",(char *) "d", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
6610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6611 if (SWIG_arg_fail(1)) SWIG_fail
;
6613 arg2
= (int)(SWIG_As_int(obj1
));
6614 if (SWIG_arg_fail(2)) SWIG_fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 (arg1
)->SetDepth(arg2
);
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 Py_INCREF(Py_None
); resultobj
= Py_None
;
6630 static PyObject
*_wrap_Cursor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxCursor
*arg1
= (wxCursor
*) 0 ;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6638 (char *) "self",(char *) "size", NULL
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6643 if (SWIG_arg_fail(1)) SWIG_fail
;
6646 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 (arg1
)->SetSize((wxSize
const &)*arg2
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 Py_INCREF(Py_None
); resultobj
= Py_None
;
6662 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6665 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6667 return Py_BuildValue((char *)"");
6669 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 int arg1
= (int) 0 ;
6672 int arg2
= (int) 0 ;
6673 int arg3
= (int) 0 ;
6674 int arg4
= (int) 0 ;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6678 PyObject
* obj2
= 0 ;
6679 PyObject
* obj3
= 0 ;
6681 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6687 arg1
= (int)(SWIG_As_int(obj0
));
6688 if (SWIG_arg_fail(1)) SWIG_fail
;
6693 arg2
= (int)(SWIG_As_int(obj1
));
6694 if (SWIG_arg_fail(2)) SWIG_fail
;
6699 arg3
= (int)(SWIG_As_int(obj2
));
6700 if (SWIG_arg_fail(3)) SWIG_fail
;
6705 arg4
= (int)(SWIG_As_int(obj3
));
6706 if (SWIG_arg_fail(4)) SWIG_fail
;
6710 if (!wxPyCheckForApp()) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6724 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxBitmap
*arg1
= 0 ;
6728 PyObject
* obj0
= 0 ;
6730 (char *) "bmp", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6736 if (SWIG_arg_fail(1)) SWIG_fail
;
6738 SWIG_null_ref("wxBitmap");
6740 if (SWIG_arg_fail(1)) SWIG_fail
;
6743 if (!wxPyCheckForApp()) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6757 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxBitmap
*arg1
= 0 ;
6760 wxColour
*arg2
= 0 ;
6761 int arg3
= (int) 0 ;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6766 PyObject
* obj2
= 0 ;
6768 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6774 if (SWIG_arg_fail(1)) SWIG_fail
;
6776 SWIG_null_ref("wxBitmap");
6778 if (SWIG_arg_fail(1)) SWIG_fail
;
6782 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6786 arg3
= (int)(SWIG_As_int(obj2
));
6787 if (SWIG_arg_fail(3)) SWIG_fail
;
6791 if (!wxPyCheckForApp()) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6805 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6808 wxPoint
*arg2
= (wxPoint
*) 0 ;
6809 int arg3
= (int) wxWINDING_RULE
;
6811 PyObject
* obj0
= 0 ;
6812 PyObject
* obj1
= 0 ;
6814 (char *) "points",(char *) "fillStyle", NULL
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6819 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6820 if (arg2
== NULL
) SWIG_fail
;
6824 arg3
= (int)(SWIG_As_int(obj1
));
6825 if (SWIG_arg_fail(3)) SWIG_fail
;
6829 if (!wxPyCheckForApp()) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6838 if (arg2
) delete [] arg2
;
6843 if (arg2
) delete [] arg2
;
6849 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxRegion
*arg1
= (wxRegion
*) 0 ;
6852 PyObject
* obj0
= 0 ;
6854 (char *) "self", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6859 if (SWIG_arg_fail(1)) SWIG_fail
;
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) SWIG_fail
;
6867 Py_INCREF(Py_None
); resultobj
= Py_None
;
6874 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
;
6876 wxRegion
*arg1
= (wxRegion
*) 0 ;
6877 PyObject
* obj0
= 0 ;
6879 (char *) "self", NULL
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6884 if (SWIG_arg_fail(1)) SWIG_fail
;
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 Py_INCREF(Py_None
); resultobj
= Py_None
;
6899 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
;
6901 wxRegion
*arg1
= (wxRegion
*) 0 ;
6905 PyObject
* obj0
= 0 ;
6906 PyObject
* obj1
= 0 ;
6907 PyObject
* obj2
= 0 ;
6909 (char *) "self",(char *) "x",(char *) "y", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6914 if (SWIG_arg_fail(1)) SWIG_fail
;
6916 arg2
= (int)(SWIG_As_int(obj1
));
6917 if (SWIG_arg_fail(2)) SWIG_fail
;
6920 arg3
= (int)(SWIG_As_int(obj2
));
6921 if (SWIG_arg_fail(3)) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6939 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxRegion
*arg1
= (wxRegion
*) 0 ;
6944 wxRegionContain result
;
6945 PyObject
* obj0
= 0 ;
6946 PyObject
* obj1
= 0 ;
6947 PyObject
* obj2
= 0 ;
6949 (char *) "self",(char *) "x",(char *) "y", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6954 if (SWIG_arg_fail(1)) SWIG_fail
;
6956 arg2
= (int)(SWIG_As_int(obj1
));
6957 if (SWIG_arg_fail(2)) SWIG_fail
;
6960 arg3
= (int)(SWIG_As_int(obj2
));
6961 if (SWIG_arg_fail(3)) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 resultobj
= SWIG_From_int((result
));
6977 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxRegion
*arg1
= (wxRegion
*) 0 ;
6981 wxRegionContain result
;
6983 PyObject
* obj0
= 0 ;
6984 PyObject
* obj1
= 0 ;
6986 (char *) "self",(char *) "pt", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6991 if (SWIG_arg_fail(1)) SWIG_fail
;
6994 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_From_int((result
));
7010 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxRegion
*arg1
= (wxRegion
*) 0 ;
7014 wxRegionContain result
;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7019 (char *) "self",(char *) "rect", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7024 if (SWIG_arg_fail(1)) SWIG_fail
;
7027 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= SWIG_From_int((result
));
7043 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxRegion
*arg1
= (wxRegion
*) 0 ;
7050 wxRegionContain result
;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7053 PyObject
* obj2
= 0 ;
7054 PyObject
* obj3
= 0 ;
7055 PyObject
* obj4
= 0 ;
7057 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7062 if (SWIG_arg_fail(1)) SWIG_fail
;
7064 arg2
= (int)(SWIG_As_int(obj1
));
7065 if (SWIG_arg_fail(2)) SWIG_fail
;
7068 arg3
= (int)(SWIG_As_int(obj2
));
7069 if (SWIG_arg_fail(3)) SWIG_fail
;
7072 arg4
= (int)(SWIG_As_int(obj3
));
7073 if (SWIG_arg_fail(4)) SWIG_fail
;
7076 arg5
= (int)(SWIG_As_int(obj4
));
7077 if (SWIG_arg_fail(5)) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 resultobj
= SWIG_From_int((result
));
7093 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxRegion
*arg1
= (wxRegion
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7099 (char *) "self", NULL
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
7103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7104 if (SWIG_arg_fail(1)) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 result
= (arg1
)->GetBox();
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7114 resultptr
= new wxRect((wxRect
&)(result
));
7115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7123 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxRegion
*arg1
= (wxRegion
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 PyObject
* obj2
= 0 ;
7134 PyObject
* obj3
= 0 ;
7135 PyObject
* obj4
= 0 ;
7137 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7142 if (SWIG_arg_fail(1)) SWIG_fail
;
7144 arg2
= (int)(SWIG_As_int(obj1
));
7145 if (SWIG_arg_fail(2)) SWIG_fail
;
7148 arg3
= (int)(SWIG_As_int(obj2
));
7149 if (SWIG_arg_fail(3)) SWIG_fail
;
7152 arg4
= (int)(SWIG_As_int(obj3
));
7153 if (SWIG_arg_fail(4)) SWIG_fail
;
7156 arg5
= (int)(SWIG_As_int(obj4
));
7157 if (SWIG_arg_fail(5)) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7175 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxRegion
*arg1
= (wxRegion
*) 0 ;
7181 PyObject
* obj0
= 0 ;
7182 PyObject
* obj1
= 0 ;
7184 (char *) "self",(char *) "rect", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7189 if (SWIG_arg_fail(1)) SWIG_fail
;
7192 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7210 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxRegion
*arg1
= (wxRegion
*) 0 ;
7213 wxRegion
*arg2
= 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7218 (char *) "self",(char *) "region", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7223 if (SWIG_arg_fail(1)) SWIG_fail
;
7225 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7226 if (SWIG_arg_fail(2)) SWIG_fail
;
7228 SWIG_null_ref("wxRegion");
7230 if (SWIG_arg_fail(2)) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7248 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxRegion
*arg1
= (wxRegion
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7254 (char *) "self", NULL
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
7258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7259 if (SWIG_arg_fail(1)) SWIG_fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 result
= (bool)(arg1
)->IsEmpty();
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7276 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxRegion
*arg1
= (wxRegion
*) 0 ;
7284 PyObject
* obj0
= 0 ;
7285 PyObject
* obj1
= 0 ;
7286 PyObject
* obj2
= 0 ;
7287 PyObject
* obj3
= 0 ;
7288 PyObject
* obj4
= 0 ;
7290 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7295 if (SWIG_arg_fail(1)) SWIG_fail
;
7297 arg2
= (int)(SWIG_As_int(obj1
));
7298 if (SWIG_arg_fail(2)) SWIG_fail
;
7301 arg3
= (int)(SWIG_As_int(obj2
));
7302 if (SWIG_arg_fail(3)) SWIG_fail
;
7305 arg4
= (int)(SWIG_As_int(obj3
));
7306 if (SWIG_arg_fail(4)) SWIG_fail
;
7309 arg5
= (int)(SWIG_As_int(obj4
));
7310 if (SWIG_arg_fail(5)) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7328 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxRegion
*arg1
= (wxRegion
*) 0 ;
7334 PyObject
* obj0
= 0 ;
7335 PyObject
* obj1
= 0 ;
7337 (char *) "self",(char *) "rect", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7342 if (SWIG_arg_fail(1)) SWIG_fail
;
7345 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7363 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7365 wxRegion
*arg1
= (wxRegion
*) 0 ;
7366 wxRegion
*arg2
= 0 ;
7368 PyObject
* obj0
= 0 ;
7369 PyObject
* obj1
= 0 ;
7371 (char *) "self",(char *) "region", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7376 if (SWIG_arg_fail(1)) SWIG_fail
;
7378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7379 if (SWIG_arg_fail(2)) SWIG_fail
;
7381 SWIG_null_ref("wxRegion");
7383 if (SWIG_arg_fail(2)) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7401 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxRegion
*arg1
= (wxRegion
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7410 PyObject
* obj1
= 0 ;
7411 PyObject
* obj2
= 0 ;
7412 PyObject
* obj3
= 0 ;
7413 PyObject
* obj4
= 0 ;
7415 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7420 if (SWIG_arg_fail(1)) SWIG_fail
;
7422 arg2
= (int)(SWIG_As_int(obj1
));
7423 if (SWIG_arg_fail(2)) SWIG_fail
;
7426 arg3
= (int)(SWIG_As_int(obj2
));
7427 if (SWIG_arg_fail(3)) SWIG_fail
;
7430 arg4
= (int)(SWIG_As_int(obj3
));
7431 if (SWIG_arg_fail(4)) SWIG_fail
;
7434 arg5
= (int)(SWIG_As_int(obj4
));
7435 if (SWIG_arg_fail(5)) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7453 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxRegion
*arg1
= (wxRegion
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7462 (char *) "self",(char *) "rect", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7467 if (SWIG_arg_fail(1)) SWIG_fail
;
7470 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7488 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxRegion
*arg1
= (wxRegion
*) 0 ;
7491 wxRegion
*arg2
= 0 ;
7493 PyObject
* obj0
= 0 ;
7494 PyObject
* obj1
= 0 ;
7496 (char *) "self",(char *) "region", NULL
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7501 if (SWIG_arg_fail(1)) SWIG_fail
;
7503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7504 if (SWIG_arg_fail(2)) SWIG_fail
;
7506 SWIG_null_ref("wxRegion");
7508 if (SWIG_arg_fail(2)) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7526 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxRegion
*arg1
= (wxRegion
*) 0 ;
7534 PyObject
* obj0
= 0 ;
7535 PyObject
* obj1
= 0 ;
7536 PyObject
* obj2
= 0 ;
7537 PyObject
* obj3
= 0 ;
7538 PyObject
* obj4
= 0 ;
7540 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7545 if (SWIG_arg_fail(1)) SWIG_fail
;
7547 arg2
= (int)(SWIG_As_int(obj1
));
7548 if (SWIG_arg_fail(2)) SWIG_fail
;
7551 arg3
= (int)(SWIG_As_int(obj2
));
7552 if (SWIG_arg_fail(3)) SWIG_fail
;
7555 arg4
= (int)(SWIG_As_int(obj3
));
7556 if (SWIG_arg_fail(4)) SWIG_fail
;
7559 arg5
= (int)(SWIG_As_int(obj4
));
7560 if (SWIG_arg_fail(5)) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7578 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxRegion
*arg1
= (wxRegion
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7587 (char *) "self",(char *) "rect", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7592 if (SWIG_arg_fail(1)) SWIG_fail
;
7595 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7613 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxRegion
*arg1
= (wxRegion
*) 0 ;
7616 wxRegion
*arg2
= 0 ;
7618 PyObject
* obj0
= 0 ;
7619 PyObject
* obj1
= 0 ;
7621 (char *) "self",(char *) "region", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7626 if (SWIG_arg_fail(1)) SWIG_fail
;
7628 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7629 if (SWIG_arg_fail(2)) SWIG_fail
;
7631 SWIG_null_ref("wxRegion");
7633 if (SWIG_arg_fail(2)) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7651 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxRegion
*arg1
= (wxRegion
*) 0 ;
7654 SwigValueWrapper
<wxBitmap
> result
;
7655 PyObject
* obj0
= 0 ;
7657 (char *) "self", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7662 if (SWIG_arg_fail(1)) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= (arg1
)->ConvertToBitmap();
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7671 wxBitmap
* resultptr
;
7672 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7681 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxRegion
*arg1
= (wxRegion
*) 0 ;
7684 wxBitmap
*arg2
= 0 ;
7686 PyObject
* obj0
= 0 ;
7687 PyObject
* obj1
= 0 ;
7689 (char *) "self",(char *) "bmp", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7694 if (SWIG_arg_fail(1)) SWIG_fail
;
7696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7697 if (SWIG_arg_fail(2)) SWIG_fail
;
7699 SWIG_null_ref("wxBitmap");
7701 if (SWIG_arg_fail(2)) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7719 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxRegion
*arg1
= (wxRegion
*) 0 ;
7722 wxBitmap
*arg2
= 0 ;
7723 wxColour
*arg3
= 0 ;
7724 int arg4
= (int) 0 ;
7727 PyObject
* obj0
= 0 ;
7728 PyObject
* obj1
= 0 ;
7729 PyObject
* obj2
= 0 ;
7730 PyObject
* obj3
= 0 ;
7732 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7737 if (SWIG_arg_fail(1)) SWIG_fail
;
7739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7740 if (SWIG_arg_fail(2)) SWIG_fail
;
7742 SWIG_null_ref("wxBitmap");
7744 if (SWIG_arg_fail(2)) SWIG_fail
;
7748 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7752 arg4
= (int)(SWIG_As_int(obj3
));
7753 if (SWIG_arg_fail(4)) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7772 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7775 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7777 return Py_BuildValue((char *)"");
7779 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxRegion
*arg1
= 0 ;
7782 wxRegionIterator
*result
;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "region", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7791 if (SWIG_arg_fail(1)) SWIG_fail
;
7793 SWIG_null_ref("wxRegion");
7795 if (SWIG_arg_fail(1)) SWIG_fail
;
7798 if (!wxPyCheckForApp()) SWIG_fail
;
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7812 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7815 PyObject
* obj0
= 0 ;
7817 (char *) "self", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7822 if (SWIG_arg_fail(1)) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 Py_INCREF(Py_None
); resultobj
= Py_None
;
7837 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7843 (char *) "self", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (int)(arg1
)->GetX();
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_From_int((int)(result
));
7865 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7869 PyObject
* obj0
= 0 ;
7871 (char *) "self", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 result
= (int)(arg1
)->GetY();
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= SWIG_From_int((int)(result
));
7893 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7899 (char *) "self", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (int)(arg1
)->GetW();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_From_int((int)(result
));
7921 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7923 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7925 PyObject
* obj0
= 0 ;
7927 (char *) "self", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7932 if (SWIG_arg_fail(1)) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 result
= (int)(arg1
)->GetWidth();
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= SWIG_From_int((int)(result
));
7949 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7955 (char *) "self", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7960 if (SWIG_arg_fail(1)) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (int)(arg1
)->GetH();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_From_int((int)(result
));
7977 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7981 PyObject
* obj0
= 0 ;
7983 (char *) "self", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7988 if (SWIG_arg_fail(1)) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (int)(arg1
)->GetHeight();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_From_int((int)(result
));
8005 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "self", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
8015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8016 if (SWIG_arg_fail(1)) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (arg1
)->GetRect();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8026 resultptr
= new wxRect((wxRect
&)(result
));
8027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8035 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8039 PyObject
* obj0
= 0 ;
8041 (char *) "self", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
8045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8046 if (SWIG_arg_fail(1)) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= (bool)(arg1
)->HaveRects();
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8063 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
8072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8073 if (SWIG_arg_fail(1)) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 Py_INCREF(Py_None
); resultobj
= Py_None
;
8088 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8091 PyObject
* obj0
= 0 ;
8093 (char *) "self", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
8097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8098 if (SWIG_arg_fail(1)) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 wxRegionIterator_Next(arg1
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 Py_INCREF(Py_None
); resultobj
= Py_None
;
8113 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
*resultobj
;
8115 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8117 PyObject
* obj0
= 0 ;
8119 (char *) "self", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
8123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8124 if (SWIG_arg_fail(1)) SWIG_fail
;
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 result
= (bool)wxRegionIterator___nonzero__(arg1
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8141 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
8143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8144 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
8146 return Py_BuildValue((char *)"");
8148 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
*resultobj
;
8150 wxNativeFontInfo
*result
;
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
8170 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8175 (char *) "self", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
8179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8180 if (SWIG_arg_fail(1)) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 Py_INCREF(Py_None
); resultobj
= Py_None
;
8195 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8198 PyObject
* obj0
= 0 ;
8200 (char *) "self", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
8204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8205 if (SWIG_arg_fail(1)) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 Py_INCREF(Py_None
); resultobj
= Py_None
;
8220 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8227 (char *) "self",(char *) "font", NULL
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
8231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8232 if (SWIG_arg_fail(1)) SWIG_fail
;
8234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8235 if (SWIG_arg_fail(2)) SWIG_fail
;
8237 SWIG_null_ref("wxFont");
8239 if (SWIG_arg_fail(2)) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 Py_INCREF(Py_None
); resultobj
= Py_None
;
8255 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8259 PyObject
* obj0
= 0 ;
8261 (char *) "self", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
8265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8266 if (SWIG_arg_fail(1)) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= SWIG_From_int((int)(result
));
8283 static PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8287 PyObject
* obj0
= 0 ;
8289 (char *) "self", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8294 if (SWIG_arg_fail(1)) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8304 resultptr
= new wxSize((wxSize
&)(result
));
8305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8313 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8317 PyObject
* obj0
= 0 ;
8319 (char *) "self", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
8323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8324 if (SWIG_arg_fail(1)) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= SWIG_From_int((result
));
8339 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8342 wxFontWeight result
;
8343 PyObject
* obj0
= 0 ;
8345 (char *) "self", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
8349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8350 if (SWIG_arg_fail(1)) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= SWIG_From_int((result
));
8365 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8369 PyObject
* obj0
= 0 ;
8371 (char *) "self", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8376 if (SWIG_arg_fail(1)) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8393 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8397 PyObject
* obj0
= 0 ;
8399 (char *) "self", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
8403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8404 if (SWIG_arg_fail(1)) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8425 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8428 wxFontFamily result
;
8429 PyObject
* obj0
= 0 ;
8431 (char *) "self", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
8435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8436 if (SWIG_arg_fail(1)) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= SWIG_From_int((result
));
8451 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8454 wxFontEncoding result
;
8455 PyObject
* obj0
= 0 ;
8457 (char *) "self", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
8461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8462 if (SWIG_arg_fail(1)) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= SWIG_From_int((result
));
8477 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8481 PyObject
* obj0
= 0 ;
8482 PyObject
* obj1
= 0 ;
8484 (char *) "self",(char *) "pointsize", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8489 if (SWIG_arg_fail(1)) SWIG_fail
;
8491 arg2
= (int)(SWIG_As_int(obj1
));
8492 if (SWIG_arg_fail(2)) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 (arg1
)->SetPointSize(arg2
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 Py_INCREF(Py_None
); resultobj
= Py_None
;
8508 static PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8516 (char *) "self",(char *) "pixelSize", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8521 if (SWIG_arg_fail(1)) SWIG_fail
;
8524 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 Py_INCREF(Py_None
); resultobj
= Py_None
;
8540 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8544 PyObject
* obj0
= 0 ;
8545 PyObject
* obj1
= 0 ;
8547 (char *) "self",(char *) "style", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8552 if (SWIG_arg_fail(1)) SWIG_fail
;
8554 arg2
= (wxFontStyle
)(SWIG_As_int(obj1
));
8555 if (SWIG_arg_fail(2)) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 (arg1
)->SetStyle((wxFontStyle
)arg2
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 Py_INCREF(Py_None
); resultobj
= Py_None
;
8571 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8576 PyObject
* obj1
= 0 ;
8578 (char *) "self",(char *) "weight", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8583 if (SWIG_arg_fail(1)) SWIG_fail
;
8585 arg2
= (wxFontWeight
)(SWIG_As_int(obj1
));
8586 if (SWIG_arg_fail(2)) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 (arg1
)->SetWeight((wxFontWeight
)arg2
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 Py_INCREF(Py_None
); resultobj
= Py_None
;
8602 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8607 PyObject
* obj1
= 0 ;
8609 (char *) "self",(char *) "underlined", NULL
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8614 if (SWIG_arg_fail(1)) SWIG_fail
;
8616 arg2
= (bool)(SWIG_As_bool(obj1
));
8617 if (SWIG_arg_fail(2)) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 (arg1
)->SetUnderlined(arg2
);
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 Py_INCREF(Py_None
); resultobj
= Py_None
;
8633 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
;
8635 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8640 (char *) "self",(char *) "facename", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8645 if (SWIG_arg_fail(1)) SWIG_fail
;
8647 wxString
* sptr
= wxString_in_helper(obj1
);
8648 if (sptr
== NULL
) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 (arg1
)->SetFaceName(arg2
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 Py_INCREF(Py_None
); resultobj
= Py_None
;
8666 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8673 (char *) "self",(char *) "family", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8678 if (SWIG_arg_fail(1)) SWIG_fail
;
8680 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
8681 if (SWIG_arg_fail(2)) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 (arg1
)->SetFamily((wxFontFamily
)arg2
);
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 Py_INCREF(Py_None
); resultobj
= Py_None
;
8697 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
;
8699 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8700 wxFontEncoding arg2
;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8704 (char *) "self",(char *) "encoding", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8709 if (SWIG_arg_fail(1)) SWIG_fail
;
8711 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8712 if (SWIG_arg_fail(2)) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 Py_INCREF(Py_None
); resultobj
= Py_None
;
8728 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8731 wxString
*arg2
= 0 ;
8733 bool temp2
= false ;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8737 (char *) "self",(char *) "s", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8742 if (SWIG_arg_fail(1)) SWIG_fail
;
8744 arg2
= wxString_in_helper(obj1
);
8745 if (arg2
== NULL
) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8772 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8774 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8776 PyObject
* obj0
= 0 ;
8778 (char *) "self", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8783 if (SWIG_arg_fail(1)) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8804 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8810 (char *) "self", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8815 if (SWIG_arg_fail(1)) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 result
= wxNativeFontInfo___str__(arg1
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8836 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8839 wxString
*arg2
= 0 ;
8841 bool temp2
= false ;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8845 (char *) "self",(char *) "s", NULL
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
8849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8850 if (SWIG_arg_fail(1)) SWIG_fail
;
8852 arg2
= wxString_in_helper(obj1
);
8853 if (arg2
== NULL
) SWIG_fail
;
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8880 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8886 (char *) "self", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8891 if (SWIG_arg_fail(1)) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8912 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8915 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8917 return Py_BuildValue((char *)"");
8919 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
;
8921 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8922 wxString
*arg2
= (wxString
*) 0 ;
8923 bool temp2
= false ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8927 (char *) "self",(char *) "facename", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8932 if (SWIG_arg_fail(1)) SWIG_fail
;
8934 arg2
= wxString_in_helper(obj1
);
8935 if (arg2
== NULL
) SWIG_fail
;
8938 if (arg1
) (arg1
)->facename
= *arg2
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8955 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8961 (char *) "self", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8966 if (SWIG_arg_fail(1)) SWIG_fail
;
8967 result
= (wxString
*)& ((arg1
)->facename
);
8971 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8973 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8982 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8985 wxFontEncoding arg2
;
8986 PyObject
* obj0
= 0 ;
8987 PyObject
* obj1
= 0 ;
8989 (char *) "self",(char *) "encoding", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail
;
8996 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8997 if (SWIG_arg_fail(2)) SWIG_fail
;
8999 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
9001 Py_INCREF(Py_None
); resultobj
= Py_None
;
9008 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9011 wxFontEncoding result
;
9012 PyObject
* obj0
= 0 ;
9014 (char *) "self", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
9018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9019 if (SWIG_arg_fail(1)) SWIG_fail
;
9020 result
= (wxFontEncoding
) ((arg1
)->encoding
);
9022 resultobj
= SWIG_From_int((result
));
9029 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxNativeEncodingInfo
*result
;
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
9051 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9056 (char *) "self", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
9060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9061 if (SWIG_arg_fail(1)) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 Py_INCREF(Py_None
); resultobj
= Py_None
;
9076 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9079 wxString
*arg2
= 0 ;
9081 bool temp2
= false ;
9082 PyObject
* obj0
= 0 ;
9083 PyObject
* obj1
= 0 ;
9085 (char *) "self",(char *) "s", NULL
9088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
9089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9090 if (SWIG_arg_fail(1)) SWIG_fail
;
9092 arg2
= wxString_in_helper(obj1
);
9093 if (arg2
== NULL
) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9120 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9124 PyObject
* obj0
= 0 ;
9126 (char *) "self", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
9130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9131 if (SWIG_arg_fail(1)) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9152 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
9154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9155 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
9157 return Py_BuildValue((char *)"");
9159 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxFontEncoding arg1
;
9162 wxNativeEncodingInfo
*result
;
9163 PyObject
* obj0
= 0 ;
9165 (char *) "encoding", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
9170 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
9171 if (SWIG_arg_fail(1)) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
9187 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxNativeEncodingInfo
*arg1
= 0 ;
9191 PyObject
* obj0
= 0 ;
9193 (char *) "info", NULL
9196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
9198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9199 if (SWIG_arg_fail(1)) SWIG_fail
;
9201 SWIG_null_ref("wxNativeEncodingInfo");
9203 if (SWIG_arg_fail(1)) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9221 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxFontMapper
*result
;
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 result
= (wxFontMapper
*)new wxFontMapper();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
9243 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9246 PyObject
* obj0
= 0 ;
9248 (char *) "self", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
9252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 Py_INCREF(Py_None
); resultobj
= Py_None
;
9268 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxFontMapper
*result
;
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 result
= (wxFontMapper
*)wxFontMapper::Get();
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
9290 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9293 wxFontMapper
*result
;
9294 PyObject
* obj0
= 0 ;
9296 (char *) "mapper", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
9300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9301 if (SWIG_arg_fail(1)) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
9316 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9319 wxString
*arg2
= 0 ;
9320 bool arg3
= (bool) true ;
9321 wxFontEncoding result
;
9322 bool temp2
= false ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 PyObject
* obj2
= 0 ;
9327 (char *) "self",(char *) "charset",(char *) "interactive", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail
;
9334 arg2
= wxString_in_helper(obj1
);
9335 if (arg2
== NULL
) SWIG_fail
;
9340 arg3
= (bool)(SWIG_As_bool(obj2
));
9341 if (SWIG_arg_fail(3)) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_From_int((result
));
9366 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
*resultobj
;
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9390 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9393 wxFontEncoding result
;
9394 PyObject
* obj0
= 0 ;
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
9401 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
9402 if (SWIG_arg_fail(1)) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= SWIG_From_int((result
));
9418 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 wxFontEncoding arg1
;
9422 PyObject
* obj0
= 0 ;
9424 (char *) "encoding", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
9429 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
9430 if (SWIG_arg_fail(1)) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9452 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 wxFontEncoding arg1
;
9456 PyObject
* obj0
= 0 ;
9458 (char *) "encoding", NULL
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
9463 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
9464 if (SWIG_arg_fail(1)) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9486 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxString
*arg1
= 0 ;
9489 wxFontEncoding result
;
9490 bool temp1
= false ;
9491 PyObject
* obj0
= 0 ;
9493 (char *) "name", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
9498 arg1
= wxString_in_helper(obj0
);
9499 if (arg1
== NULL
) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= SWIG_From_int((result
));
9524 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
;
9526 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9527 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9528 PyObject
* obj0
= 0 ;
9529 PyObject
* obj1
= 0 ;
9531 (char *) "self",(char *) "config", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
9535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9536 if (SWIG_arg_fail(1)) SWIG_fail
;
9537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
9538 if (SWIG_arg_fail(2)) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 (arg1
)->SetConfig(arg2
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 Py_INCREF(Py_None
); resultobj
= Py_None
;
9553 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9556 wxString
*arg2
= 0 ;
9557 bool temp2
= false ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9561 (char *) "self",(char *) "prefix", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9566 if (SWIG_arg_fail(1)) SWIG_fail
;
9568 arg2
= wxString_in_helper(obj1
);
9569 if (arg2
== NULL
) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 Py_INCREF(Py_None
); resultobj
= Py_None
;
9594 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 result
= wxFontMapper::GetDefaultConfigPath();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9622 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9625 wxFontEncoding arg2
;
9626 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9627 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9628 bool arg4
= (bool) true ;
9630 bool temp3
= false ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9633 PyObject
* obj2
= 0 ;
9634 PyObject
* obj3
= 0 ;
9636 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9641 if (SWIG_arg_fail(1)) SWIG_fail
;
9643 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9644 if (SWIG_arg_fail(2)) SWIG_fail
;
9648 arg3
= wxString_in_helper(obj2
);
9649 if (arg3
== NULL
) SWIG_fail
;
9655 arg4
= (bool)(SWIG_As_bool(obj3
));
9656 if (SWIG_arg_fail(4)) SWIG_fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9681 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9684 wxFontEncoding arg2
;
9685 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9686 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9688 bool temp3
= false ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 PyObject
* obj2
= 0 ;
9693 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9698 if (SWIG_arg_fail(1)) SWIG_fail
;
9700 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9701 if (SWIG_arg_fail(2)) SWIG_fail
;
9705 arg3
= wxString_in_helper(obj2
);
9706 if (arg3
== NULL
) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9734 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9737 wxWindow
*arg2
= (wxWindow
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9741 (char *) "self",(char *) "parent", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9746 if (SWIG_arg_fail(1)) SWIG_fail
;
9747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9748 if (SWIG_arg_fail(2)) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 (arg1
)->SetDialogParent(arg2
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 Py_INCREF(Py_None
); resultobj
= Py_None
;
9763 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9766 wxString
*arg2
= 0 ;
9767 bool temp2
= false ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9771 (char *) "self",(char *) "title", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9776 if (SWIG_arg_fail(1)) SWIG_fail
;
9778 arg2
= wxString_in_helper(obj1
);
9779 if (arg2
== NULL
) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 Py_INCREF(Py_None
); resultobj
= Py_None
;
9804 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9807 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9809 return Py_BuildValue((char *)"");
9811 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9817 bool arg5
= (bool) false ;
9818 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9819 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9820 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9822 bool temp6
= false ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 PyObject
* obj3
= 0 ;
9827 PyObject
* obj4
= 0 ;
9828 PyObject
* obj5
= 0 ;
9829 PyObject
* obj6
= 0 ;
9831 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9836 arg1
= (int)(SWIG_As_int(obj0
));
9837 if (SWIG_arg_fail(1)) SWIG_fail
;
9840 arg2
= (int)(SWIG_As_int(obj1
));
9841 if (SWIG_arg_fail(2)) SWIG_fail
;
9844 arg3
= (int)(SWIG_As_int(obj2
));
9845 if (SWIG_arg_fail(3)) SWIG_fail
;
9848 arg4
= (int)(SWIG_As_int(obj3
));
9849 if (SWIG_arg_fail(4)) SWIG_fail
;
9853 arg5
= (bool)(SWIG_As_bool(obj4
));
9854 if (SWIG_arg_fail(5)) SWIG_fail
;
9859 arg6
= wxString_in_helper(obj5
);
9860 if (arg6
== NULL
) SWIG_fail
;
9866 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9867 if (SWIG_arg_fail(7)) SWIG_fail
;
9871 if (!wxPyCheckForApp()) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9893 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxFont
*arg1
= (wxFont
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9898 (char *) "self", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
9902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9903 if (SWIG_arg_fail(1)) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 Py_INCREF(Py_None
); resultobj
= Py_None
;
9918 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxNativeFontInfo
*arg1
= 0 ;
9922 PyObject
* obj0
= 0 ;
9924 (char *) "info", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9930 if (SWIG_arg_fail(1)) SWIG_fail
;
9932 SWIG_null_ref("wxNativeFontInfo");
9934 if (SWIG_arg_fail(1)) SWIG_fail
;
9937 if (!wxPyCheckForApp()) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9951 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxString
*arg1
= 0 ;
9955 bool temp1
= false ;
9956 PyObject
* obj0
= 0 ;
9958 (char *) "info", NULL
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9963 arg1
= wxString_in_helper(obj0
);
9964 if (arg1
== NULL
) SWIG_fail
;
9968 if (!wxPyCheckForApp()) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9990 static PyObject
*_wrap_new_FFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9994 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9995 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9996 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9997 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9999 bool temp4
= false ;
10000 PyObject
* obj0
= 0 ;
10001 PyObject
* obj1
= 0 ;
10002 PyObject
* obj2
= 0 ;
10003 PyObject
* obj3
= 0 ;
10004 PyObject
* obj4
= 0 ;
10005 char *kwnames
[] = {
10006 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10011 arg1
= (int)(SWIG_As_int(obj0
));
10012 if (SWIG_arg_fail(1)) SWIG_fail
;
10015 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
10016 if (SWIG_arg_fail(2)) SWIG_fail
;
10020 arg3
= (int)(SWIG_As_int(obj2
));
10021 if (SWIG_arg_fail(3)) SWIG_fail
;
10026 arg4
= wxString_in_helper(obj3
);
10027 if (arg4
== NULL
) SWIG_fail
;
10033 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
10034 if (SWIG_arg_fail(5)) SWIG_fail
;
10038 if (!wxPyCheckForApp()) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10060 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10066 bool arg5
= (bool) false ;
10067 wxString
const &arg6_defvalue
= wxEmptyString
;
10068 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10069 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10072 bool temp6
= false ;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 PyObject
* obj2
= 0 ;
10076 PyObject
* obj3
= 0 ;
10077 PyObject
* obj4
= 0 ;
10078 PyObject
* obj5
= 0 ;
10079 PyObject
* obj6
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10087 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
10090 arg2
= (int)(SWIG_As_int(obj1
));
10091 if (SWIG_arg_fail(2)) SWIG_fail
;
10094 arg3
= (int)(SWIG_As_int(obj2
));
10095 if (SWIG_arg_fail(3)) SWIG_fail
;
10098 arg4
= (int)(SWIG_As_int(obj3
));
10099 if (SWIG_arg_fail(4)) SWIG_fail
;
10103 arg5
= (bool)(SWIG_As_bool(obj4
));
10104 if (SWIG_arg_fail(5)) SWIG_fail
;
10109 arg6
= wxString_in_helper(obj5
);
10110 if (arg6
== NULL
) SWIG_fail
;
10116 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
10117 if (SWIG_arg_fail(7)) SWIG_fail
;
10121 if (!wxPyCheckForApp()) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10143 static PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10146 wxFontFamily arg2
;
10147 int arg3
= (int) wxFONTFLAG_DEFAULT
;
10148 wxString
const &arg4_defvalue
= wxEmptyString
;
10149 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10150 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10153 bool temp4
= false ;
10154 PyObject
* obj0
= 0 ;
10155 PyObject
* obj1
= 0 ;
10156 PyObject
* obj2
= 0 ;
10157 PyObject
* obj3
= 0 ;
10158 PyObject
* obj4
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10166 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
10169 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
10170 if (SWIG_arg_fail(2)) SWIG_fail
;
10174 arg3
= (int)(SWIG_As_int(obj2
));
10175 if (SWIG_arg_fail(3)) SWIG_fail
;
10180 arg4
= wxString_in_helper(obj3
);
10181 if (arg4
== NULL
) SWIG_fail
;
10187 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
10188 if (SWIG_arg_fail(5)) SWIG_fail
;
10192 if (!wxPyCheckForApp()) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10214 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
;
10216 wxFont
*arg1
= (wxFont
*) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
10224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10225 if (SWIG_arg_fail(1)) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (bool)((wxFont
const *)arg1
)->Ok();
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10242 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
;
10244 wxFont
*arg1
= (wxFont
*) 0 ;
10245 wxFont
*arg2
= (wxFont
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 PyObject
* obj1
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self",(char *) "other", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
10254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10255 if (SWIG_arg_fail(1)) SWIG_fail
;
10256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10257 if (SWIG_arg_fail(2)) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10274 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
;
10276 wxFont
*arg1
= (wxFont
*) 0 ;
10277 wxFont
*arg2
= (wxFont
*) 0 ;
10279 PyObject
* obj0
= 0 ;
10280 PyObject
* obj1
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self",(char *) "other", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
10286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10287 if (SWIG_arg_fail(1)) SWIG_fail
;
10288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10289 if (SWIG_arg_fail(2)) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10306 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxFont
*arg1
= (wxFont
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
10316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10317 if (SWIG_arg_fail(1)) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_From_int((int)(result
));
10334 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxFont
*arg1
= (wxFont
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
10344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10345 if (SWIG_arg_fail(1)) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= ((wxFont
const *)arg1
)->GetPixelSize();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10354 wxSize
* resultptr
;
10355 resultptr
= new wxSize((wxSize
&)(result
));
10356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10364 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 wxFont
*arg1
= (wxFont
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
10374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10375 if (SWIG_arg_fail(1)) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10392 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxFont
*arg1
= (wxFont
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
10402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10403 if (SWIG_arg_fail(1)) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (int)((wxFont
const *)arg1
)->GetFamily();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_From_int((int)(result
));
10420 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxFont
*arg1
= (wxFont
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
10430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10431 if (SWIG_arg_fail(1)) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= (int)((wxFont
const *)arg1
)->GetStyle();
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_From_int((int)(result
));
10448 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxFont
*arg1
= (wxFont
*) 0 ;
10452 PyObject
* obj0
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
10458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10459 if (SWIG_arg_fail(1)) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (int)((wxFont
const *)arg1
)->GetWeight();
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= SWIG_From_int((int)(result
));
10476 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
;
10478 wxFont
*arg1
= (wxFont
*) 0 ;
10480 PyObject
* obj0
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
10486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10487 if (SWIG_arg_fail(1)) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10504 static PyObject
*_wrap_Font_GetFaceName(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_GetFaceName",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
)->GetFaceName();
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_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxFont
*arg1
= (wxFont
*) 0 ;
10539 wxFontEncoding result
;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
10546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10547 if (SWIG_arg_fail(1)) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= SWIG_From_int((result
));
10562 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxFont
*arg1
= (wxFont
*) 0 ;
10565 wxNativeFontInfo
*result
;
10566 PyObject
* obj0
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
10572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10573 if (SWIG_arg_fail(1)) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
10588 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
;
10590 wxFont
*arg1
= (wxFont
*) 0 ;
10592 PyObject
* obj0
= 0 ;
10593 char *kwnames
[] = {
10594 (char *) "self", NULL
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
10598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10599 if (SWIG_arg_fail(1)) SWIG_fail
;
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10616 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxFont
*arg1
= (wxFont
*) 0 ;
10620 PyObject
* obj0
= 0 ;
10621 char *kwnames
[] = {
10622 (char *) "self", NULL
10625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
10626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10627 if (SWIG_arg_fail(1)) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10648 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxFont
*arg1
= (wxFont
*) 0 ;
10652 PyObject
* obj0
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
10658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10680 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxFont
*arg1
= (wxFont
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 char *kwnames
[] = {
10687 (char *) "self",(char *) "pointSize", NULL
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10692 if (SWIG_arg_fail(1)) SWIG_fail
;
10694 arg2
= (int)(SWIG_As_int(obj1
));
10695 if (SWIG_arg_fail(2)) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 (arg1
)->SetPointSize(arg2
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxFont
*arg1
= (wxFont
*) 0 ;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self",(char *) "pixelSize", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10724 if (SWIG_arg_fail(1)) SWIG_fail
;
10727 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 Py_INCREF(Py_None
); resultobj
= Py_None
;
10743 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxFont
*arg1
= (wxFont
*) 0 ;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "family", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10755 if (SWIG_arg_fail(1)) SWIG_fail
;
10757 arg2
= (int)(SWIG_As_int(obj1
));
10758 if (SWIG_arg_fail(2)) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 (arg1
)->SetFamily(arg2
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 Py_INCREF(Py_None
); resultobj
= Py_None
;
10774 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxFont
*arg1
= (wxFont
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self",(char *) "style", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10786 if (SWIG_arg_fail(1)) SWIG_fail
;
10788 arg2
= (int)(SWIG_As_int(obj1
));
10789 if (SWIG_arg_fail(2)) SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 (arg1
)->SetStyle(arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 Py_INCREF(Py_None
); resultobj
= Py_None
;
10805 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxFont
*arg1
= (wxFont
*) 0 ;
10809 PyObject
* obj0
= 0 ;
10810 PyObject
* obj1
= 0 ;
10811 char *kwnames
[] = {
10812 (char *) "self",(char *) "weight", NULL
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10817 if (SWIG_arg_fail(1)) SWIG_fail
;
10819 arg2
= (int)(SWIG_As_int(obj1
));
10820 if (SWIG_arg_fail(2)) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 (arg1
)->SetWeight(arg2
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10829 Py_INCREF(Py_None
); resultobj
= Py_None
;
10836 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxFont
*arg1
= (wxFont
*) 0 ;
10839 wxString
*arg2
= 0 ;
10840 bool temp2
= false ;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "self",(char *) "faceName", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10849 if (SWIG_arg_fail(1)) SWIG_fail
;
10851 arg2
= wxString_in_helper(obj1
);
10852 if (arg2
== NULL
) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10862 Py_INCREF(Py_None
); resultobj
= Py_None
;
10877 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxFont
*arg1
= (wxFont
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self",(char *) "underlined", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10889 if (SWIG_arg_fail(1)) SWIG_fail
;
10891 arg2
= (bool)(SWIG_As_bool(obj1
));
10892 if (SWIG_arg_fail(2)) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 (arg1
)->SetUnderlined(arg2
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 Py_INCREF(Py_None
); resultobj
= Py_None
;
10908 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
;
10910 wxFont
*arg1
= (wxFont
*) 0 ;
10911 wxFontEncoding arg2
;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "encoding", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10920 if (SWIG_arg_fail(1)) SWIG_fail
;
10922 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10923 if (SWIG_arg_fail(2)) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 Py_INCREF(Py_None
); resultobj
= Py_None
;
10939 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxFont
*arg1
= (wxFont
*) 0 ;
10942 wxNativeFontInfo
*arg2
= 0 ;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self",(char *) "info", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10951 if (SWIG_arg_fail(1)) SWIG_fail
;
10953 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10954 if (SWIG_arg_fail(2)) SWIG_fail
;
10955 if (arg2
== NULL
) {
10956 SWIG_null_ref("wxNativeFontInfo");
10958 if (SWIG_arg_fail(2)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 Py_INCREF(Py_None
); resultobj
= Py_None
;
10974 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxFont
*arg1
= (wxFont
*) 0 ;
10977 wxString
*arg2
= 0 ;
10978 bool temp2
= false ;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "info", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10987 if (SWIG_arg_fail(1)) SWIG_fail
;
10989 arg2
= wxString_in_helper(obj1
);
10990 if (arg2
== NULL
) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 Py_INCREF(Py_None
); resultobj
= Py_None
;
11015 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxFont
*arg1
= (wxFont
*) 0 ;
11018 wxString
*arg2
= 0 ;
11019 bool temp2
= false ;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self",(char *) "info", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11028 if (SWIG_arg_fail(1)) SWIG_fail
;
11030 arg2
= wxString_in_helper(obj1
);
11031 if (arg2
== NULL
) SWIG_fail
;
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 Py_INCREF(Py_None
); resultobj
= Py_None
;
11056 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxFont
*arg1
= (wxFont
*) 0 ;
11060 PyObject
* obj0
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
11066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11067 if (SWIG_arg_fail(1)) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= ((wxFont
const *)arg1
)->GetFamilyString();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11088 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxFont
*arg1
= (wxFont
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
11098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11099 if (SWIG_arg_fail(1)) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= ((wxFont
const *)arg1
)->GetStyleString();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11120 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxFont
*arg1
= (wxFont
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 char *kwnames
[] = {
11126 (char *) "self", NULL
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
11130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11131 if (SWIG_arg_fail(1)) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= ((wxFont
const *)arg1
)->GetWeightString();
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11152 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxFont
*arg1
= (wxFont
*) 0 ;
11155 bool arg2
= (bool) true ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "no", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
11163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11164 if (SWIG_arg_fail(1)) SWIG_fail
;
11167 arg2
= (bool)(SWIG_As_bool(obj1
));
11168 if (SWIG_arg_fail(2)) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 (arg1
)->SetNoAntiAliasing(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 Py_INCREF(Py_None
); resultobj
= Py_None
;
11185 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxFont
*arg1
= (wxFont
*) 0 ;
11189 PyObject
* obj0
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
11195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11213 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxFontEncoding result
;
11216 char *kwnames
[] = {
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
11222 if (!wxPyCheckForApp()) SWIG_fail
;
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= SWIG_From_int((result
));
11236 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
;
11238 wxFontEncoding arg1
;
11239 PyObject
* obj0
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "encoding", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
11246 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
11247 if (SWIG_arg_fail(1)) SWIG_fail
;
11250 if (!wxPyCheckForApp()) SWIG_fail
;
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 Py_INCREF(Py_None
); resultobj
= Py_None
;
11264 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
11266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11267 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
11269 return Py_BuildValue((char *)"");
11271 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxPyFontEnumerator
*result
;
11274 char *kwnames
[] = {
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
11280 if (!wxPyCheckForApp()) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
11294 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
;
11296 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
11303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 Py_INCREF(Py_None
); resultobj
= Py_None
;
11319 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11322 PyObject
*arg2
= (PyObject
*) 0 ;
11323 PyObject
*arg3
= (PyObject
*) 0 ;
11325 PyObject
* obj0
= 0 ;
11326 PyObject
* obj1
= 0 ;
11327 PyObject
* obj2
= 0 ;
11328 PyObject
* obj3
= 0 ;
11329 char *kwnames
[] = {
11330 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11335 if (SWIG_arg_fail(1)) SWIG_fail
;
11339 arg4
= (bool)(SWIG_As_bool(obj3
));
11340 if (SWIG_arg_fail(4)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 Py_INCREF(Py_None
); resultobj
= Py_None
;
11356 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11359 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
11360 bool arg3
= (bool) false ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 PyObject
* obj2
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11371 if (SWIG_arg_fail(1)) SWIG_fail
;
11374 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
11375 if (SWIG_arg_fail(2)) SWIG_fail
;
11380 arg3
= (bool)(SWIG_As_bool(obj2
));
11381 if (SWIG_arg_fail(3)) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11400 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11403 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11404 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11406 bool temp2
= false ;
11407 PyObject
* obj0
= 0 ;
11408 PyObject
* obj1
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "self",(char *) "facename", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
11414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11415 if (SWIG_arg_fail(1)) SWIG_fail
;
11418 arg2
= wxString_in_helper(obj1
);
11419 if (arg2
== NULL
) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11447 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
11457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11458 if (SWIG_arg_fail(1)) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= result
;
11473 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
11483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= result
;
11499 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
11501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11502 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
11504 return Py_BuildValue((char *)"");
11506 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self",(char *) "Language", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11518 if (SWIG_arg_fail(1)) SWIG_fail
;
11520 arg2
= (int)(SWIG_As_int(obj1
));
11521 if (SWIG_arg_fail(2)) SWIG_fail
;
11523 if (arg1
) (arg1
)->Language
= arg2
;
11525 Py_INCREF(Py_None
); resultobj
= Py_None
;
11532 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11534 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11536 PyObject
* obj0
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
11542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail
;
11544 result
= (int) ((arg1
)->Language
);
11547 resultobj
= SWIG_From_int((int)(result
));
11555 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11558 wxString
*arg2
= (wxString
*) 0 ;
11559 bool temp2
= false ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "self",(char *) "CanonicalName", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11568 if (SWIG_arg_fail(1)) SWIG_fail
;
11570 arg2
= wxString_in_helper(obj1
);
11571 if (arg2
== NULL
) SWIG_fail
;
11574 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
11576 Py_INCREF(Py_None
); resultobj
= Py_None
;
11591 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
;
11593 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11595 PyObject
* obj0
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
11601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11602 if (SWIG_arg_fail(1)) SWIG_fail
;
11603 result
= (wxString
*)& ((arg1
)->CanonicalName
);
11607 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11609 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11618 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11619 PyObject
*resultobj
;
11620 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11621 wxString
*arg2
= (wxString
*) 0 ;
11622 bool temp2
= false ;
11623 PyObject
* obj0
= 0 ;
11624 PyObject
* obj1
= 0 ;
11625 char *kwnames
[] = {
11626 (char *) "self",(char *) "Description", NULL
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11631 if (SWIG_arg_fail(1)) SWIG_fail
;
11633 arg2
= wxString_in_helper(obj1
);
11634 if (arg2
== NULL
) SWIG_fail
;
11637 if (arg1
) (arg1
)->Description
= *arg2
;
11639 Py_INCREF(Py_None
); resultobj
= Py_None
;
11654 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11658 PyObject
* obj0
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "self", NULL
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
11664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11665 if (SWIG_arg_fail(1)) SWIG_fail
;
11666 result
= (wxString
*)& ((arg1
)->Description
);
11670 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11672 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11681 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
11683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11684 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
11686 return Py_BuildValue((char *)"");
11688 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 int arg1
= (int) -1 ;
11691 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11693 PyObject
* obj0
= 0 ;
11694 PyObject
* obj1
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "language",(char *) "flags", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
11702 arg1
= (int)(SWIG_As_int(obj0
));
11703 if (SWIG_arg_fail(1)) SWIG_fail
;
11708 arg2
= (int)(SWIG_As_int(obj1
));
11709 if (SWIG_arg_fail(2)) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11726 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxLocale
*arg1
= (wxLocale
*) 0 ;
11729 PyObject
* obj0
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11736 if (SWIG_arg_fail(1)) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 Py_INCREF(Py_None
); resultobj
= Py_None
;
11751 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxLocale
*arg1
= (wxLocale
*) 0 ;
11754 wxString
*arg2
= 0 ;
11755 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11756 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11757 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11758 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11759 bool arg5
= (bool) true ;
11760 bool arg6
= (bool) false ;
11762 bool temp2
= false ;
11763 bool temp3
= false ;
11764 bool temp4
= false ;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 PyObject
* obj2
= 0 ;
11768 PyObject
* obj3
= 0 ;
11769 PyObject
* obj4
= 0 ;
11770 PyObject
* obj5
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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
;
11792 arg4
= wxString_in_helper(obj3
);
11793 if (arg4
== NULL
) SWIG_fail
;
11799 arg5
= (bool)(SWIG_As_bool(obj4
));
11800 if (SWIG_arg_fail(5)) SWIG_fail
;
11805 arg6
= (bool)(SWIG_As_bool(obj5
));
11806 if (SWIG_arg_fail(6)) SWIG_fail
;
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11849 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxLocale
*arg1
= (wxLocale
*) 0 ;
11852 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11853 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11855 PyObject
* obj0
= 0 ;
11856 PyObject
* obj1
= 0 ;
11857 PyObject
* obj2
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self",(char *) "language",(char *) "flags", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11864 if (SWIG_arg_fail(1)) SWIG_fail
;
11867 arg2
= (int)(SWIG_As_int(obj1
));
11868 if (SWIG_arg_fail(2)) SWIG_fail
;
11873 arg3
= (int)(SWIG_As_int(obj2
));
11874 if (SWIG_arg_fail(3)) SWIG_fail
;
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11893 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11896 char *kwnames
[] = {
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (int)wxLocale::GetSystemLanguage();
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= SWIG_From_int((int)(result
));
11917 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
;
11919 wxFontEncoding result
;
11920 char *kwnames
[] = {
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11932 resultobj
= SWIG_From_int((result
));
11939 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11942 char *kwnames
[] = {
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= wxLocale::GetSystemEncodingName();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11967 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxLocale
*arg1
= (wxLocale
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
11977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11978 if (SWIG_arg_fail(1)) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11995 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
;
11997 wxLocale
*arg1
= (wxLocale
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
12005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12006 if (SWIG_arg_fail(1)) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= ((wxLocale
const *)arg1
)->GetLocale();
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12027 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
;
12029 wxLocale
*arg1
= (wxLocale
*) 0 ;
12031 PyObject
* obj0
= 0 ;
12032 char *kwnames
[] = {
12033 (char *) "self", NULL
12036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
12037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12038 if (SWIG_arg_fail(1)) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_From_int((int)(result
));
12055 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxLocale
*arg1
= (wxLocale
*) 0 ;
12059 PyObject
* obj0
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
12065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= ((wxLocale
const *)arg1
)->GetSysName();
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12087 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxLocale
*arg1
= (wxLocale
*) 0 ;
12091 PyObject
* obj0
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "self", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
12097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12098 if (SWIG_arg_fail(1)) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12119 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxString
*arg1
= 0 ;
12122 bool temp1
= false ;
12123 PyObject
* obj0
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "prefix", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
12130 arg1
= wxString_in_helper(obj0
);
12131 if (arg1
== NULL
) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12141 Py_INCREF(Py_None
); resultobj
= Py_None
;
12156 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxLocale
*arg1
= (wxLocale
*) 0 ;
12159 wxString
*arg2
= 0 ;
12161 bool temp2
= false ;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self",(char *) "szDomain", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
12169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12170 if (SWIG_arg_fail(1)) SWIG_fail
;
12172 arg2
= wxString_in_helper(obj1
);
12173 if (arg2
== NULL
) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12200 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxLocale
*arg1
= (wxLocale
*) 0 ;
12203 wxString
*arg2
= 0 ;
12205 bool temp2
= false ;
12206 PyObject
* obj0
= 0 ;
12207 PyObject
* obj1
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self",(char *) "szDomain", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
12213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12214 if (SWIG_arg_fail(1)) SWIG_fail
;
12216 arg2
= wxString_in_helper(obj1
);
12217 if (arg2
== NULL
) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12244 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
;
12247 wxLanguageInfo
*result
;
12248 PyObject
* obj0
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "lang", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
12255 arg1
= (int)(SWIG_As_int(obj0
));
12256 if (SWIG_arg_fail(1)) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
12272 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12276 PyObject
* obj0
= 0 ;
12277 char *kwnames
[] = {
12278 (char *) "lang", NULL
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
12283 arg1
= (int)(SWIG_As_int(obj0
));
12284 if (SWIG_arg_fail(1)) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= wxLocale::GetLanguageName(arg1
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12306 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxString
*arg1
= 0 ;
12309 wxLanguageInfo
*result
;
12310 bool temp1
= false ;
12311 PyObject
* obj0
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "locale", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
12318 arg1
= wxString_in_helper(obj0
);
12319 if (arg1
== NULL
) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
12344 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxLanguageInfo
*arg1
= 0 ;
12347 PyObject
* obj0
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "info", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
12354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
12355 if (SWIG_arg_fail(1)) SWIG_fail
;
12356 if (arg1
== NULL
) {
12357 SWIG_null_ref("wxLanguageInfo");
12359 if (SWIG_arg_fail(1)) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 Py_INCREF(Py_None
); resultobj
= Py_None
;
12375 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
;
12377 wxLocale
*arg1
= (wxLocale
*) 0 ;
12378 wxString
*arg2
= 0 ;
12379 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12380 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12382 bool temp2
= false ;
12383 bool temp3
= false ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 PyObject
* obj2
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12393 if (SWIG_arg_fail(1)) SWIG_fail
;
12395 arg2
= wxString_in_helper(obj1
);
12396 if (arg2
== NULL
) SWIG_fail
;
12401 arg3
= wxString_in_helper(obj2
);
12402 if (arg3
== NULL
) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12442 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxLocale
*arg1
= (wxLocale
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
12452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12453 if (SWIG_arg_fail(1)) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
12458 result
= (wxString
*) &_result_ref
;
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12468 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12477 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
12479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12480 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
12482 return Py_BuildValue((char *)"");
12484 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12487 char *kwnames
[] = {
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (wxLocale
*)wxGetLocale();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
12506 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
12507 PyObject
*resultobj
;
12508 wxString
*arg1
= 0 ;
12510 bool temp1
= false ;
12511 PyObject
* obj0
= 0 ;
12513 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
12515 arg1
= wxString_in_helper(obj0
);
12516 if (arg1
== NULL
) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= wxGetTranslation((wxString
const &)*arg1
);
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12547 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
12548 PyObject
*resultobj
;
12549 wxString
*arg1
= 0 ;
12550 wxString
*arg2
= 0 ;
12553 bool temp1
= false ;
12554 bool temp2
= false ;
12555 PyObject
* obj0
= 0 ;
12556 PyObject
* obj1
= 0 ;
12557 PyObject
* obj2
= 0 ;
12559 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
12561 arg1
= wxString_in_helper(obj0
);
12562 if (arg1
== NULL
) SWIG_fail
;
12566 arg2
= wxString_in_helper(obj1
);
12567 if (arg2
== NULL
) SWIG_fail
;
12571 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12572 if (SWIG_arg_fail(3)) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12610 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
12615 argc
= PyObject_Length(args
);
12616 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
12617 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12622 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12625 return _wrap_GetTranslation__SWIG_0(self
,args
);
12631 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12635 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
12638 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
12640 return _wrap_GetTranslation__SWIG_1(self
,args
);
12646 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
12651 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxEncodingConverter
*result
;
12654 char *kwnames
[] = {
12658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (wxEncodingConverter
*)new wxEncodingConverter();
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
12673 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
12682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12683 if (SWIG_arg_fail(1)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 Py_INCREF(Py_None
); resultobj
= Py_None
;
12698 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12701 wxFontEncoding arg2
;
12702 wxFontEncoding arg3
;
12703 int arg4
= (int) wxCONVERT_STRICT
;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 PyObject
* obj2
= 0 ;
12708 PyObject
* obj3
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12715 if (SWIG_arg_fail(1)) SWIG_fail
;
12717 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12718 if (SWIG_arg_fail(2)) SWIG_fail
;
12721 arg3
= (wxFontEncoding
)(SWIG_As_int(obj2
));
12722 if (SWIG_arg_fail(3)) SWIG_fail
;
12726 arg4
= (int)(SWIG_As_int(obj3
));
12727 if (SWIG_arg_fail(4)) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12746 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
;
12748 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12749 wxString
*arg2
= 0 ;
12751 bool temp2
= false ;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self",(char *) "input", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12760 if (SWIG_arg_fail(1)) SWIG_fail
;
12762 arg2
= wxString_in_helper(obj1
);
12763 if (arg2
== NULL
) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12794 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
;
12796 wxFontEncoding arg1
;
12797 int arg2
= (int) wxPLATFORM_CURRENT
;
12798 wxFontEncodingArray result
;
12799 PyObject
* obj0
= 0 ;
12800 PyObject
* obj1
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "enc",(char *) "platform", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12807 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12808 if (SWIG_arg_fail(1)) SWIG_fail
;
12812 arg2
= (int)(SWIG_As_int(obj1
));
12813 if (SWIG_arg_fail(2)) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= PyList_New(0);
12825 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12826 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12827 PyList_Append(resultobj
, number
);
12837 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxFontEncoding arg1
;
12840 wxFontEncodingArray result
;
12841 PyObject
* obj0
= 0 ;
12842 char *kwnames
[] = {
12843 (char *) "enc", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12848 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12849 if (SWIG_arg_fail(1)) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= PyList_New(0);
12860 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12861 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12862 PyList_Append(resultobj
, number
);
12872 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
;
12874 wxFontEncoding arg1
;
12875 wxFontEncoding arg2
;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 char *kwnames
[] = {
12880 (char *) "encIn",(char *) "encOut", NULL
12883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12885 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12886 if (SWIG_arg_fail(1)) SWIG_fail
;
12889 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12890 if (SWIG_arg_fail(2)) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12908 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12911 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12913 return Py_BuildValue((char *)"");
12915 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxDC
*arg1
= (wxDC
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 Py_INCREF(Py_None
); resultobj
= Py_None
;
12940 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxDC
*arg1
= (wxDC
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12950 if (SWIG_arg_fail(1)) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 (arg1
)->BeginDrawing();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 Py_INCREF(Py_None
); resultobj
= Py_None
;
12965 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxDC
*arg1
= (wxDC
*) 0 ;
12968 PyObject
* obj0
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12975 if (SWIG_arg_fail(1)) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 (arg1
)->EndDrawing();
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 Py_INCREF(Py_None
); resultobj
= Py_None
;
12990 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxDC
*arg1
= (wxDC
*) 0 ;
12995 wxColour
*arg4
= 0 ;
12996 int arg5
= (int) wxFLOOD_SURFACE
;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 PyObject
* obj2
= 0 ;
13002 PyObject
* obj3
= 0 ;
13003 PyObject
* obj4
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13010 if (SWIG_arg_fail(1)) SWIG_fail
;
13012 arg2
= (int)(SWIG_As_int(obj1
));
13013 if (SWIG_arg_fail(2)) SWIG_fail
;
13016 arg3
= (int)(SWIG_As_int(obj2
));
13017 if (SWIG_arg_fail(3)) SWIG_fail
;
13021 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
13025 arg5
= (int)(SWIG_As_int(obj4
));
13026 if (SWIG_arg_fail(5)) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13045 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxDC
*arg1
= (wxDC
*) 0 ;
13048 wxPoint
*arg2
= 0 ;
13049 wxColour
*arg3
= 0 ;
13050 int arg4
= (int) wxFLOOD_SURFACE
;
13054 PyObject
* obj0
= 0 ;
13055 PyObject
* obj1
= 0 ;
13056 PyObject
* obj2
= 0 ;
13057 PyObject
* obj3
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail
;
13067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13071 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13075 arg4
= (int)(SWIG_As_int(obj3
));
13076 if (SWIG_arg_fail(4)) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13095 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
;
13097 wxDC
*arg1
= (wxDC
*) 0 ;
13101 PyObject
* obj0
= 0 ;
13102 PyObject
* obj1
= 0 ;
13103 PyObject
* obj2
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self",(char *) "x",(char *) "y", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13110 if (SWIG_arg_fail(1)) SWIG_fail
;
13112 arg2
= (int)(SWIG_As_int(obj1
));
13113 if (SWIG_arg_fail(2)) SWIG_fail
;
13116 arg3
= (int)(SWIG_As_int(obj2
));
13117 if (SWIG_arg_fail(3)) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13127 wxColour
* resultptr
;
13128 resultptr
= new wxColour((wxColour
&)(result
));
13129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13137 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxDC
*arg1
= (wxDC
*) 0 ;
13140 wxPoint
*arg2
= 0 ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self",(char *) "pt", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13151 if (SWIG_arg_fail(1)) SWIG_fail
;
13154 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 wxColour
* resultptr
;
13165 resultptr
= new wxColour((wxColour
&)(result
));
13166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13174 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxDC
*arg1
= (wxDC
*) 0 ;
13181 PyObject
* obj0
= 0 ;
13182 PyObject
* obj1
= 0 ;
13183 PyObject
* obj2
= 0 ;
13184 PyObject
* obj3
= 0 ;
13185 PyObject
* obj4
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13192 if (SWIG_arg_fail(1)) SWIG_fail
;
13194 arg2
= (int)(SWIG_As_int(obj1
));
13195 if (SWIG_arg_fail(2)) SWIG_fail
;
13198 arg3
= (int)(SWIG_As_int(obj2
));
13199 if (SWIG_arg_fail(3)) SWIG_fail
;
13202 arg4
= (int)(SWIG_As_int(obj3
));
13203 if (SWIG_arg_fail(4)) SWIG_fail
;
13206 arg5
= (int)(SWIG_As_int(obj4
));
13207 if (SWIG_arg_fail(5)) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 Py_INCREF(Py_None
); resultobj
= Py_None
;
13223 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxDC
*arg1
= (wxDC
*) 0 ;
13226 wxPoint
*arg2
= 0 ;
13227 wxPoint
*arg3
= 0 ;
13230 PyObject
* obj0
= 0 ;
13231 PyObject
* obj1
= 0 ;
13232 PyObject
* obj2
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13239 if (SWIG_arg_fail(1)) SWIG_fail
;
13242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13246 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 Py_INCREF(Py_None
); resultobj
= Py_None
;
13262 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxDC
*arg1
= (wxDC
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 PyObject
* obj2
= 0 ;
13270 char *kwnames
[] = {
13271 (char *) "self",(char *) "x",(char *) "y", NULL
13274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13276 if (SWIG_arg_fail(1)) SWIG_fail
;
13278 arg2
= (int)(SWIG_As_int(obj1
));
13279 if (SWIG_arg_fail(2)) SWIG_fail
;
13282 arg3
= (int)(SWIG_As_int(obj2
));
13283 if (SWIG_arg_fail(3)) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 (arg1
)->CrossHair(arg2
,arg3
);
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 Py_INCREF(Py_None
); resultobj
= Py_None
;
13299 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxDC
*arg1
= (wxDC
*) 0 ;
13302 wxPoint
*arg2
= 0 ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self",(char *) "pt", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13312 if (SWIG_arg_fail(1)) SWIG_fail
;
13315 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 Py_INCREF(Py_None
); resultobj
= Py_None
;
13331 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxDC
*arg1
= (wxDC
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 PyObject
* obj2
= 0 ;
13343 PyObject
* obj3
= 0 ;
13344 PyObject
* obj4
= 0 ;
13345 PyObject
* obj5
= 0 ;
13346 PyObject
* obj6
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13353 if (SWIG_arg_fail(1)) SWIG_fail
;
13355 arg2
= (int)(SWIG_As_int(obj1
));
13356 if (SWIG_arg_fail(2)) SWIG_fail
;
13359 arg3
= (int)(SWIG_As_int(obj2
));
13360 if (SWIG_arg_fail(3)) SWIG_fail
;
13363 arg4
= (int)(SWIG_As_int(obj3
));
13364 if (SWIG_arg_fail(4)) SWIG_fail
;
13367 arg5
= (int)(SWIG_As_int(obj4
));
13368 if (SWIG_arg_fail(5)) SWIG_fail
;
13371 arg6
= (int)(SWIG_As_int(obj5
));
13372 if (SWIG_arg_fail(6)) SWIG_fail
;
13375 arg7
= (int)(SWIG_As_int(obj6
));
13376 if (SWIG_arg_fail(7)) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 Py_INCREF(Py_None
); resultobj
= Py_None
;
13392 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxDC
*arg1
= (wxDC
*) 0 ;
13395 wxPoint
*arg2
= 0 ;
13396 wxPoint
*arg3
= 0 ;
13397 wxPoint
*arg4
= 0 ;
13401 PyObject
* obj0
= 0 ;
13402 PyObject
* obj1
= 0 ;
13403 PyObject
* obj2
= 0 ;
13404 PyObject
* obj3
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13411 if (SWIG_arg_fail(1)) SWIG_fail
;
13414 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13418 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13422 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 Py_INCREF(Py_None
); resultobj
= Py_None
;
13438 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxDC
*arg1
= (wxDC
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 PyObject
* obj1
= 0 ;
13447 PyObject
* obj2
= 0 ;
13448 PyObject
* obj3
= 0 ;
13449 PyObject
* obj4
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13456 if (SWIG_arg_fail(1)) SWIG_fail
;
13458 arg2
= (int)(SWIG_As_int(obj1
));
13459 if (SWIG_arg_fail(2)) SWIG_fail
;
13462 arg3
= (int)(SWIG_As_int(obj2
));
13463 if (SWIG_arg_fail(3)) SWIG_fail
;
13466 arg4
= (int)(SWIG_As_int(obj3
));
13467 if (SWIG_arg_fail(4)) SWIG_fail
;
13470 arg5
= (int)(SWIG_As_int(obj4
));
13471 if (SWIG_arg_fail(5)) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 Py_INCREF(Py_None
); resultobj
= Py_None
;
13487 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxDC
*arg1
= (wxDC
*) 0 ;
13492 PyObject
* obj0
= 0 ;
13493 PyObject
* obj1
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self",(char *) "rect", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13500 if (SWIG_arg_fail(1)) SWIG_fail
;
13503 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 Py_INCREF(Py_None
); resultobj
= Py_None
;
13519 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
;
13521 wxDC
*arg1
= (wxDC
*) 0 ;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 PyObject
* obj2
= 0 ;
13531 PyObject
* obj3
= 0 ;
13532 PyObject
* obj4
= 0 ;
13533 PyObject
* obj5
= 0 ;
13534 PyObject
* obj6
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13541 if (SWIG_arg_fail(1)) SWIG_fail
;
13543 arg2
= (int)(SWIG_As_int(obj1
));
13544 if (SWIG_arg_fail(2)) SWIG_fail
;
13547 arg3
= (int)(SWIG_As_int(obj2
));
13548 if (SWIG_arg_fail(3)) SWIG_fail
;
13551 arg4
= (int)(SWIG_As_int(obj3
));
13552 if (SWIG_arg_fail(4)) SWIG_fail
;
13555 arg5
= (int)(SWIG_As_int(obj4
));
13556 if (SWIG_arg_fail(5)) SWIG_fail
;
13559 arg6
= (double)(SWIG_As_double(obj5
));
13560 if (SWIG_arg_fail(6)) SWIG_fail
;
13563 arg7
= (double)(SWIG_As_double(obj6
));
13564 if (SWIG_arg_fail(7)) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 Py_INCREF(Py_None
); resultobj
= Py_None
;
13580 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxDC
*arg1
= (wxDC
*) 0 ;
13583 wxPoint
*arg2
= 0 ;
13589 PyObject
* obj0
= 0 ;
13590 PyObject
* obj1
= 0 ;
13591 PyObject
* obj2
= 0 ;
13592 PyObject
* obj3
= 0 ;
13593 PyObject
* obj4
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13600 if (SWIG_arg_fail(1)) SWIG_fail
;
13603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13607 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13610 arg4
= (double)(SWIG_As_double(obj3
));
13611 if (SWIG_arg_fail(4)) SWIG_fail
;
13614 arg5
= (double)(SWIG_As_double(obj4
));
13615 if (SWIG_arg_fail(5)) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 Py_INCREF(Py_None
); resultobj
= Py_None
;
13631 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
;
13633 wxDC
*arg1
= (wxDC
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 PyObject
* obj2
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "self",(char *) "x",(char *) "y", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13645 if (SWIG_arg_fail(1)) SWIG_fail
;
13647 arg2
= (int)(SWIG_As_int(obj1
));
13648 if (SWIG_arg_fail(2)) SWIG_fail
;
13651 arg3
= (int)(SWIG_As_int(obj2
));
13652 if (SWIG_arg_fail(3)) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 (arg1
)->DrawPoint(arg2
,arg3
);
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 Py_INCREF(Py_None
); resultobj
= Py_None
;
13668 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
;
13670 wxDC
*arg1
= (wxDC
*) 0 ;
13671 wxPoint
*arg2
= 0 ;
13673 PyObject
* obj0
= 0 ;
13674 PyObject
* obj1
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self",(char *) "pt", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13681 if (SWIG_arg_fail(1)) SWIG_fail
;
13684 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 Py_INCREF(Py_None
); resultobj
= Py_None
;
13700 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13702 wxDC
*arg1
= (wxDC
*) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 PyObject
* obj1
= 0 ;
13709 PyObject
* obj2
= 0 ;
13710 PyObject
* obj3
= 0 ;
13711 PyObject
* obj4
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13718 if (SWIG_arg_fail(1)) SWIG_fail
;
13720 arg2
= (int)(SWIG_As_int(obj1
));
13721 if (SWIG_arg_fail(2)) SWIG_fail
;
13724 arg3
= (int)(SWIG_As_int(obj2
));
13725 if (SWIG_arg_fail(3)) SWIG_fail
;
13728 arg4
= (int)(SWIG_As_int(obj3
));
13729 if (SWIG_arg_fail(4)) SWIG_fail
;
13732 arg5
= (int)(SWIG_As_int(obj4
));
13733 if (SWIG_arg_fail(5)) SWIG_fail
;
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13739 wxPyEndAllowThreads(__tstate
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 Py_INCREF(Py_None
); resultobj
= Py_None
;
13749 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 wxDC
*arg1
= (wxDC
*) 0 ;
13754 PyObject
* obj0
= 0 ;
13755 PyObject
* obj1
= 0 ;
13756 char *kwnames
[] = {
13757 (char *) "self",(char *) "rect", NULL
13760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13762 if (SWIG_arg_fail(1)) SWIG_fail
;
13765 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 Py_INCREF(Py_None
); resultobj
= Py_None
;
13781 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxDC
*arg1
= (wxDC
*) 0 ;
13784 wxPoint
*arg2
= 0 ;
13788 PyObject
* obj0
= 0 ;
13789 PyObject
* obj1
= 0 ;
13790 PyObject
* obj2
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "self",(char *) "pt",(char *) "sz", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13797 if (SWIG_arg_fail(1)) SWIG_fail
;
13800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13804 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 Py_INCREF(Py_None
); resultobj
= Py_None
;
13820 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxDC
*arg1
= (wxDC
*) 0 ;
13828 PyObject
* obj0
= 0 ;
13829 PyObject
* obj1
= 0 ;
13830 PyObject
* obj2
= 0 ;
13831 PyObject
* obj3
= 0 ;
13832 PyObject
* obj4
= 0 ;
13833 PyObject
* obj5
= 0 ;
13834 char *kwnames
[] = {
13835 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13840 if (SWIG_arg_fail(1)) SWIG_fail
;
13842 arg2
= (int)(SWIG_As_int(obj1
));
13843 if (SWIG_arg_fail(2)) SWIG_fail
;
13846 arg3
= (int)(SWIG_As_int(obj2
));
13847 if (SWIG_arg_fail(3)) SWIG_fail
;
13850 arg4
= (int)(SWIG_As_int(obj3
));
13851 if (SWIG_arg_fail(4)) SWIG_fail
;
13854 arg5
= (int)(SWIG_As_int(obj4
));
13855 if (SWIG_arg_fail(5)) SWIG_fail
;
13858 arg6
= (double)(SWIG_As_double(obj5
));
13859 if (SWIG_arg_fail(6)) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 Py_INCREF(Py_None
); resultobj
= Py_None
;
13875 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxDC
*arg1
= (wxDC
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 PyObject
* obj1
= 0 ;
13883 PyObject
* obj2
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self",(char *) "r",(char *) "radius", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13890 if (SWIG_arg_fail(1)) SWIG_fail
;
13893 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13896 arg3
= (double)(SWIG_As_double(obj2
));
13897 if (SWIG_arg_fail(3)) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 Py_INCREF(Py_None
); resultobj
= Py_None
;
13913 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
;
13915 wxDC
*arg1
= (wxDC
*) 0 ;
13916 wxPoint
*arg2
= 0 ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 PyObject
* obj2
= 0 ;
13924 PyObject
* obj3
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13931 if (SWIG_arg_fail(1)) SWIG_fail
;
13934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13938 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13941 arg4
= (double)(SWIG_As_double(obj3
));
13942 if (SWIG_arg_fail(4)) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 Py_INCREF(Py_None
); resultobj
= Py_None
;
13958 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxDC
*arg1
= (wxDC
*) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 PyObject
* obj1
= 0 ;
13966 PyObject
* obj2
= 0 ;
13967 PyObject
* obj3
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13974 if (SWIG_arg_fail(1)) SWIG_fail
;
13976 arg2
= (int)(SWIG_As_int(obj1
));
13977 if (SWIG_arg_fail(2)) SWIG_fail
;
13980 arg3
= (int)(SWIG_As_int(obj2
));
13981 if (SWIG_arg_fail(3)) SWIG_fail
;
13984 arg4
= (int)(SWIG_As_int(obj3
));
13985 if (SWIG_arg_fail(4)) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 Py_INCREF(Py_None
); resultobj
= Py_None
;
14001 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
;
14003 wxDC
*arg1
= (wxDC
*) 0 ;
14004 wxPoint
*arg2
= 0 ;
14007 PyObject
* obj0
= 0 ;
14008 PyObject
* obj1
= 0 ;
14009 PyObject
* obj2
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self",(char *) "pt",(char *) "radius", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail
;
14019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14022 arg3
= (int)(SWIG_As_int(obj2
));
14023 if (SWIG_arg_fail(3)) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 Py_INCREF(Py_None
); resultobj
= Py_None
;
14039 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
;
14041 wxDC
*arg1
= (wxDC
*) 0 ;
14046 PyObject
* obj0
= 0 ;
14047 PyObject
* obj1
= 0 ;
14048 PyObject
* obj2
= 0 ;
14049 PyObject
* obj3
= 0 ;
14050 PyObject
* obj4
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14057 if (SWIG_arg_fail(1)) SWIG_fail
;
14059 arg2
= (int)(SWIG_As_int(obj1
));
14060 if (SWIG_arg_fail(2)) SWIG_fail
;
14063 arg3
= (int)(SWIG_As_int(obj2
));
14064 if (SWIG_arg_fail(3)) SWIG_fail
;
14067 arg4
= (int)(SWIG_As_int(obj3
));
14068 if (SWIG_arg_fail(4)) SWIG_fail
;
14071 arg5
= (int)(SWIG_As_int(obj4
));
14072 if (SWIG_arg_fail(5)) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 Py_INCREF(Py_None
); resultobj
= Py_None
;
14088 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxDC
*arg1
= (wxDC
*) 0 ;
14093 PyObject
* obj0
= 0 ;
14094 PyObject
* obj1
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self",(char *) "rect", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14101 if (SWIG_arg_fail(1)) SWIG_fail
;
14104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 Py_INCREF(Py_None
); resultobj
= Py_None
;
14120 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxDC
*arg1
= (wxDC
*) 0 ;
14123 wxPoint
*arg2
= 0 ;
14127 PyObject
* obj0
= 0 ;
14128 PyObject
* obj1
= 0 ;
14129 PyObject
* obj2
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self",(char *) "pt",(char *) "sz", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14136 if (SWIG_arg_fail(1)) SWIG_fail
;
14139 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14143 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 Py_INCREF(Py_None
); resultobj
= Py_None
;
14159 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 wxDC
*arg1
= (wxDC
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 PyObject
* obj2
= 0 ;
14168 PyObject
* obj3
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14175 if (SWIG_arg_fail(1)) SWIG_fail
;
14177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
14178 if (SWIG_arg_fail(2)) SWIG_fail
;
14179 if (arg2
== NULL
) {
14180 SWIG_null_ref("wxIcon");
14182 if (SWIG_arg_fail(2)) SWIG_fail
;
14185 arg3
= (int)(SWIG_As_int(obj2
));
14186 if (SWIG_arg_fail(3)) SWIG_fail
;
14189 arg4
= (int)(SWIG_As_int(obj3
));
14190 if (SWIG_arg_fail(4)) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 Py_INCREF(Py_None
); resultobj
= Py_None
;
14206 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxDC
*arg1
= (wxDC
*) 0 ;
14210 wxPoint
*arg3
= 0 ;
14212 PyObject
* obj0
= 0 ;
14213 PyObject
* obj1
= 0 ;
14214 PyObject
* obj2
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self",(char *) "icon",(char *) "pt", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail
;
14223 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
14224 if (SWIG_arg_fail(2)) SWIG_fail
;
14225 if (arg2
== NULL
) {
14226 SWIG_null_ref("wxIcon");
14228 if (SWIG_arg_fail(2)) SWIG_fail
;
14232 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14241 Py_INCREF(Py_None
); resultobj
= Py_None
;
14248 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxDC
*arg1
= (wxDC
*) 0 ;
14251 wxBitmap
*arg2
= 0 ;
14254 bool arg5
= (bool) false ;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 PyObject
* obj2
= 0 ;
14258 PyObject
* obj3
= 0 ;
14259 PyObject
* obj4
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14266 if (SWIG_arg_fail(1)) SWIG_fail
;
14268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14269 if (SWIG_arg_fail(2)) SWIG_fail
;
14270 if (arg2
== NULL
) {
14271 SWIG_null_ref("wxBitmap");
14273 if (SWIG_arg_fail(2)) SWIG_fail
;
14276 arg3
= (int)(SWIG_As_int(obj2
));
14277 if (SWIG_arg_fail(3)) SWIG_fail
;
14280 arg4
= (int)(SWIG_As_int(obj3
));
14281 if (SWIG_arg_fail(4)) SWIG_fail
;
14285 arg5
= (bool)(SWIG_As_bool(obj4
));
14286 if (SWIG_arg_fail(5)) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 Py_INCREF(Py_None
); resultobj
= Py_None
;
14303 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxDC
*arg1
= (wxDC
*) 0 ;
14306 wxBitmap
*arg2
= 0 ;
14307 wxPoint
*arg3
= 0 ;
14308 bool arg4
= (bool) false ;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 PyObject
* obj2
= 0 ;
14313 PyObject
* obj3
= 0 ;
14314 char *kwnames
[] = {
14315 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
14318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14320 if (SWIG_arg_fail(1)) SWIG_fail
;
14322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14323 if (SWIG_arg_fail(2)) SWIG_fail
;
14324 if (arg2
== NULL
) {
14325 SWIG_null_ref("wxBitmap");
14327 if (SWIG_arg_fail(2)) SWIG_fail
;
14331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14335 arg4
= (bool)(SWIG_As_bool(obj3
));
14336 if (SWIG_arg_fail(4)) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14353 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxDC
*arg1
= (wxDC
*) 0 ;
14356 wxString
*arg2
= 0 ;
14359 bool temp2
= false ;
14360 PyObject
* obj0
= 0 ;
14361 PyObject
* obj1
= 0 ;
14362 PyObject
* obj2
= 0 ;
14363 PyObject
* obj3
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14370 if (SWIG_arg_fail(1)) SWIG_fail
;
14372 arg2
= wxString_in_helper(obj1
);
14373 if (arg2
== NULL
) SWIG_fail
;
14377 arg3
= (int)(SWIG_As_int(obj2
));
14378 if (SWIG_arg_fail(3)) SWIG_fail
;
14381 arg4
= (int)(SWIG_As_int(obj3
));
14382 if (SWIG_arg_fail(4)) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 Py_INCREF(Py_None
); resultobj
= Py_None
;
14406 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxDC
*arg1
= (wxDC
*) 0 ;
14409 wxString
*arg2
= 0 ;
14410 wxPoint
*arg3
= 0 ;
14411 bool temp2
= false ;
14413 PyObject
* obj0
= 0 ;
14414 PyObject
* obj1
= 0 ;
14415 PyObject
* obj2
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "self",(char *) "text",(char *) "pt", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14422 if (SWIG_arg_fail(1)) SWIG_fail
;
14424 arg2
= wxString_in_helper(obj1
);
14425 if (arg2
== NULL
) SWIG_fail
;
14430 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 Py_INCREF(Py_None
); resultobj
= Py_None
;
14454 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
;
14456 wxDC
*arg1
= (wxDC
*) 0 ;
14457 wxString
*arg2
= 0 ;
14461 bool temp2
= false ;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 PyObject
* obj2
= 0 ;
14465 PyObject
* obj3
= 0 ;
14466 PyObject
* obj4
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14473 if (SWIG_arg_fail(1)) SWIG_fail
;
14475 arg2
= wxString_in_helper(obj1
);
14476 if (arg2
== NULL
) SWIG_fail
;
14480 arg3
= (int)(SWIG_As_int(obj2
));
14481 if (SWIG_arg_fail(3)) SWIG_fail
;
14484 arg4
= (int)(SWIG_As_int(obj3
));
14485 if (SWIG_arg_fail(4)) SWIG_fail
;
14488 arg5
= (double)(SWIG_As_double(obj4
));
14489 if (SWIG_arg_fail(5)) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 Py_INCREF(Py_None
); resultobj
= Py_None
;
14513 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxDC
*arg1
= (wxDC
*) 0 ;
14516 wxString
*arg2
= 0 ;
14517 wxPoint
*arg3
= 0 ;
14519 bool temp2
= false ;
14521 PyObject
* obj0
= 0 ;
14522 PyObject
* obj1
= 0 ;
14523 PyObject
* obj2
= 0 ;
14524 PyObject
* obj3
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14531 if (SWIG_arg_fail(1)) SWIG_fail
;
14533 arg2
= wxString_in_helper(obj1
);
14534 if (arg2
== NULL
) SWIG_fail
;
14539 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14542 arg4
= (double)(SWIG_As_double(obj3
));
14543 if (SWIG_arg_fail(4)) SWIG_fail
;
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 Py_INCREF(Py_None
); resultobj
= Py_None
;
14567 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxDC
*arg1
= (wxDC
*) 0 ;
14574 wxDC
*arg6
= (wxDC
*) 0 ;
14577 int arg9
= (int) wxCOPY
;
14578 bool arg10
= (bool) false ;
14579 int arg11
= (int) -1 ;
14580 int arg12
= (int) -1 ;
14582 PyObject
* obj0
= 0 ;
14583 PyObject
* obj1
= 0 ;
14584 PyObject
* obj2
= 0 ;
14585 PyObject
* obj3
= 0 ;
14586 PyObject
* obj4
= 0 ;
14587 PyObject
* obj5
= 0 ;
14588 PyObject
* obj6
= 0 ;
14589 PyObject
* obj7
= 0 ;
14590 PyObject
* obj8
= 0 ;
14591 PyObject
* obj9
= 0 ;
14592 PyObject
* obj10
= 0 ;
14593 PyObject
* obj11
= 0 ;
14594 char *kwnames
[] = {
14595 (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
14598 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
;
14599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14600 if (SWIG_arg_fail(1)) SWIG_fail
;
14602 arg2
= (int)(SWIG_As_int(obj1
));
14603 if (SWIG_arg_fail(2)) SWIG_fail
;
14606 arg3
= (int)(SWIG_As_int(obj2
));
14607 if (SWIG_arg_fail(3)) SWIG_fail
;
14610 arg4
= (int)(SWIG_As_int(obj3
));
14611 if (SWIG_arg_fail(4)) SWIG_fail
;
14614 arg5
= (int)(SWIG_As_int(obj4
));
14615 if (SWIG_arg_fail(5)) SWIG_fail
;
14617 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14618 if (SWIG_arg_fail(6)) SWIG_fail
;
14620 arg7
= (int)(SWIG_As_int(obj6
));
14621 if (SWIG_arg_fail(7)) SWIG_fail
;
14624 arg8
= (int)(SWIG_As_int(obj7
));
14625 if (SWIG_arg_fail(8)) SWIG_fail
;
14629 arg9
= (int)(SWIG_As_int(obj8
));
14630 if (SWIG_arg_fail(9)) SWIG_fail
;
14635 arg10
= (bool)(SWIG_As_bool(obj9
));
14636 if (SWIG_arg_fail(10)) SWIG_fail
;
14641 arg11
= (int)(SWIG_As_int(obj10
));
14642 if (SWIG_arg_fail(11)) SWIG_fail
;
14647 arg12
= (int)(SWIG_As_int(obj11
));
14648 if (SWIG_arg_fail(12)) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14667 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
;
14669 wxDC
*arg1
= (wxDC
*) 0 ;
14670 wxPoint
*arg2
= 0 ;
14672 wxDC
*arg4
= (wxDC
*) 0 ;
14673 wxPoint
*arg5
= 0 ;
14674 int arg6
= (int) wxCOPY
;
14675 bool arg7
= (bool) false ;
14676 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
14677 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 PyObject
* obj2
= 0 ;
14686 PyObject
* obj3
= 0 ;
14687 PyObject
* obj4
= 0 ;
14688 PyObject
* obj5
= 0 ;
14689 PyObject
* obj6
= 0 ;
14690 PyObject
* obj7
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14697 if (SWIG_arg_fail(1)) SWIG_fail
;
14700 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14704 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14706 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14707 if (SWIG_arg_fail(4)) SWIG_fail
;
14710 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14714 arg6
= (int)(SWIG_As_int(obj5
));
14715 if (SWIG_arg_fail(6)) SWIG_fail
;
14720 arg7
= (bool)(SWIG_As_bool(obj6
));
14721 if (SWIG_arg_fail(7)) SWIG_fail
;
14727 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14746 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxDC
*arg1
= (wxDC
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 PyObject
* obj1
= 0 ;
14755 PyObject
* obj2
= 0 ;
14756 PyObject
* obj3
= 0 ;
14757 PyObject
* obj4
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14764 if (SWIG_arg_fail(1)) SWIG_fail
;
14766 arg2
= (int)(SWIG_As_int(obj1
));
14767 if (SWIG_arg_fail(2)) SWIG_fail
;
14770 arg3
= (int)(SWIG_As_int(obj2
));
14771 if (SWIG_arg_fail(3)) SWIG_fail
;
14774 arg4
= (int)(SWIG_As_int(obj3
));
14775 if (SWIG_arg_fail(4)) SWIG_fail
;
14778 arg5
= (int)(SWIG_As_int(obj4
));
14779 if (SWIG_arg_fail(5)) SWIG_fail
;
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 Py_INCREF(Py_None
); resultobj
= Py_None
;
14795 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
;
14797 wxDC
*arg1
= (wxDC
*) 0 ;
14798 wxPoint
*arg2
= 0 ;
14802 PyObject
* obj0
= 0 ;
14803 PyObject
* obj1
= 0 ;
14804 PyObject
* obj2
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self",(char *) "pt",(char *) "sz", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14811 if (SWIG_arg_fail(1)) SWIG_fail
;
14814 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14818 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 Py_INCREF(Py_None
); resultobj
= Py_None
;
14834 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxDC
*arg1
= (wxDC
*) 0 ;
14837 wxRegion
*arg2
= 0 ;
14838 PyObject
* obj0
= 0 ;
14839 PyObject
* obj1
= 0 ;
14840 char *kwnames
[] = {
14841 (char *) "self",(char *) "region", NULL
14844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14846 if (SWIG_arg_fail(1)) SWIG_fail
;
14848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14849 if (SWIG_arg_fail(2)) SWIG_fail
;
14850 if (arg2
== NULL
) {
14851 SWIG_null_ref("wxRegion");
14853 if (SWIG_arg_fail(2)) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 Py_INCREF(Py_None
); resultobj
= Py_None
;
14869 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxDC
*arg1
= (wxDC
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self",(char *) "rect", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14882 if (SWIG_arg_fail(1)) SWIG_fail
;
14885 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 Py_INCREF(Py_None
); resultobj
= Py_None
;
14901 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxDC
*arg1
= (wxDC
*) 0 ;
14905 wxPoint
*arg3
= (wxPoint
*) 0 ;
14906 int arg4
= (int) 0 ;
14907 int arg5
= (int) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 PyObject
* obj2
= 0 ;
14911 PyObject
* obj3
= 0 ;
14912 char *kwnames
[] = {
14913 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14918 if (SWIG_arg_fail(1)) SWIG_fail
;
14920 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14921 if (arg3
== NULL
) SWIG_fail
;
14925 arg4
= (int)(SWIG_As_int(obj2
));
14926 if (SWIG_arg_fail(4)) SWIG_fail
;
14931 arg5
= (int)(SWIG_As_int(obj3
));
14932 if (SWIG_arg_fail(5)) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 Py_INCREF(Py_None
); resultobj
= Py_None
;
14944 if (arg3
) delete [] arg3
;
14949 if (arg3
) delete [] arg3
;
14955 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxDC
*arg1
= (wxDC
*) 0 ;
14959 wxPoint
*arg3
= (wxPoint
*) 0 ;
14960 int arg4
= (int) 0 ;
14961 int arg5
= (int) 0 ;
14962 int arg6
= (int) wxODDEVEN_RULE
;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 PyObject
* obj2
= 0 ;
14966 PyObject
* obj3
= 0 ;
14967 PyObject
* obj4
= 0 ;
14968 char *kwnames
[] = {
14969 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14974 if (SWIG_arg_fail(1)) SWIG_fail
;
14976 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14977 if (arg3
== NULL
) SWIG_fail
;
14981 arg4
= (int)(SWIG_As_int(obj2
));
14982 if (SWIG_arg_fail(4)) SWIG_fail
;
14987 arg5
= (int)(SWIG_As_int(obj3
));
14988 if (SWIG_arg_fail(5)) SWIG_fail
;
14993 arg6
= (int)(SWIG_As_int(obj4
));
14994 if (SWIG_arg_fail(6)) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 Py_INCREF(Py_None
); resultobj
= Py_None
;
15006 if (arg3
) delete [] arg3
;
15011 if (arg3
) delete [] arg3
;
15017 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxDC
*arg1
= (wxDC
*) 0 ;
15020 wxString
*arg2
= 0 ;
15022 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
15023 int arg5
= (int) -1 ;
15024 bool temp2
= false ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 PyObject
* obj2
= 0 ;
15029 PyObject
* obj3
= 0 ;
15030 PyObject
* obj4
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15037 if (SWIG_arg_fail(1)) SWIG_fail
;
15039 arg2
= wxString_in_helper(obj1
);
15040 if (arg2
== NULL
) SWIG_fail
;
15045 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15049 arg4
= (int)(SWIG_As_int(obj3
));
15050 if (SWIG_arg_fail(4)) SWIG_fail
;
15055 arg5
= (int)(SWIG_As_int(obj4
));
15056 if (SWIG_arg_fail(5)) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 Py_INCREF(Py_None
); resultobj
= Py_None
;
15081 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxDC
*arg1
= (wxDC
*) 0 ;
15084 wxString
*arg2
= 0 ;
15085 wxBitmap
*arg3
= 0 ;
15087 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
15088 int arg6
= (int) -1 ;
15090 bool temp2
= false ;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 PyObject
* obj2
= 0 ;
15095 PyObject
* obj3
= 0 ;
15096 PyObject
* obj4
= 0 ;
15097 PyObject
* obj5
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15104 if (SWIG_arg_fail(1)) SWIG_fail
;
15106 arg2
= wxString_in_helper(obj1
);
15107 if (arg2
== NULL
) SWIG_fail
;
15111 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
15112 if (SWIG_arg_fail(3)) SWIG_fail
;
15113 if (arg3
== NULL
) {
15114 SWIG_null_ref("wxBitmap");
15116 if (SWIG_arg_fail(3)) SWIG_fail
;
15120 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
15124 arg5
= (int)(SWIG_As_int(obj4
));
15125 if (SWIG_arg_fail(5)) SWIG_fail
;
15130 arg6
= (int)(SWIG_As_int(obj5
));
15131 if (SWIG_arg_fail(6)) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15142 wxRect
* resultptr
;
15143 resultptr
= new wxRect((wxRect
&)(result
));
15144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15160 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
;
15162 wxDC
*arg1
= (wxDC
*) 0 ;
15164 wxPoint
*arg3
= (wxPoint
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self",(char *) "points", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
15172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15173 if (SWIG_arg_fail(1)) SWIG_fail
;
15175 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15176 if (arg3
== NULL
) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 (arg1
)->DrawSpline(arg2
,arg3
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 Py_INCREF(Py_None
); resultobj
= Py_None
;
15187 if (arg3
) delete [] arg3
;
15192 if (arg3
) delete [] arg3
;
15198 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxDC
*arg1
= (wxDC
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
15207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15208 if (SWIG_arg_fail(1)) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 Py_INCREF(Py_None
); resultobj
= Py_None
;
15223 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxDC
*arg1
= (wxDC
*) 0 ;
15226 wxString
*arg2
= 0 ;
15228 bool temp2
= false ;
15229 PyObject
* obj0
= 0 ;
15230 PyObject
* obj1
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self",(char *) "message", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
15236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15237 if (SWIG_arg_fail(1)) SWIG_fail
;
15239 arg2
= wxString_in_helper(obj1
);
15240 if (arg2
== NULL
) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15267 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxDC
*arg1
= (wxDC
*) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
15276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15277 if (SWIG_arg_fail(1)) SWIG_fail
;
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15285 Py_INCREF(Py_None
); resultobj
= Py_None
;
15292 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
;
15294 wxDC
*arg1
= (wxDC
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
15301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15302 if (SWIG_arg_fail(1)) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 (arg1
)->StartPage();
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 Py_INCREF(Py_None
); resultobj
= Py_None
;
15317 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 wxDC
*arg1
= (wxDC
*) 0 ;
15320 PyObject
* obj0
= 0 ;
15321 char *kwnames
[] = {
15322 (char *) "self", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
15326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15327 if (SWIG_arg_fail(1)) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 Py_INCREF(Py_None
); resultobj
= Py_None
;
15342 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
;
15344 wxDC
*arg1
= (wxDC
*) 0 ;
15346 PyObject
* obj0
= 0 ;
15347 PyObject
* obj1
= 0 ;
15348 char *kwnames
[] = {
15349 (char *) "self",(char *) "font", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15354 if (SWIG_arg_fail(1)) SWIG_fail
;
15356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15357 if (SWIG_arg_fail(2)) SWIG_fail
;
15358 if (arg2
== NULL
) {
15359 SWIG_null_ref("wxFont");
15361 if (SWIG_arg_fail(2)) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 (arg1
)->SetFont((wxFont
const &)*arg2
);
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 Py_INCREF(Py_None
); resultobj
= Py_None
;
15377 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxDC
*arg1
= (wxDC
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 PyObject
* obj1
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self",(char *) "pen", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
15388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15389 if (SWIG_arg_fail(1)) SWIG_fail
;
15391 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
15392 if (SWIG_arg_fail(2)) SWIG_fail
;
15393 if (arg2
== NULL
) {
15394 SWIG_null_ref("wxPen");
15396 if (SWIG_arg_fail(2)) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 (arg1
)->SetPen((wxPen
const &)*arg2
);
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 Py_INCREF(Py_None
); resultobj
= Py_None
;
15412 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxDC
*arg1
= (wxDC
*) 0 ;
15415 wxBrush
*arg2
= 0 ;
15416 PyObject
* obj0
= 0 ;
15417 PyObject
* obj1
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "self",(char *) "brush", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
15423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15424 if (SWIG_arg_fail(1)) SWIG_fail
;
15426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15427 if (SWIG_arg_fail(2)) SWIG_fail
;
15428 if (arg2
== NULL
) {
15429 SWIG_null_ref("wxBrush");
15431 if (SWIG_arg_fail(2)) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 Py_INCREF(Py_None
); resultobj
= Py_None
;
15447 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxDC
*arg1
= (wxDC
*) 0 ;
15450 wxBrush
*arg2
= 0 ;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self",(char *) "brush", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15459 if (SWIG_arg_fail(1)) SWIG_fail
;
15461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(2)) SWIG_fail
;
15463 if (arg2
== NULL
) {
15464 SWIG_null_ref("wxBrush");
15466 if (SWIG_arg_fail(2)) SWIG_fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 Py_INCREF(Py_None
); resultobj
= Py_None
;
15482 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxDC
*arg1
= (wxDC
*) 0 ;
15486 PyObject
* obj0
= 0 ;
15487 PyObject
* obj1
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self",(char *) "mode", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15494 if (SWIG_arg_fail(1)) SWIG_fail
;
15496 arg2
= (int)(SWIG_As_int(obj1
));
15497 if (SWIG_arg_fail(2)) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 (arg1
)->SetBackgroundMode(arg2
);
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15506 Py_INCREF(Py_None
); resultobj
= Py_None
;
15513 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
;
15515 wxDC
*arg1
= (wxDC
*) 0 ;
15516 wxPalette
*arg2
= 0 ;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self",(char *) "palette", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
15524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15525 if (SWIG_arg_fail(1)) SWIG_fail
;
15527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
15528 if (SWIG_arg_fail(2)) SWIG_fail
;
15529 if (arg2
== NULL
) {
15530 SWIG_null_ref("wxPalette");
15532 if (SWIG_arg_fail(2)) SWIG_fail
;
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 Py_INCREF(Py_None
); resultobj
= Py_None
;
15548 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
;
15550 wxDC
*arg1
= (wxDC
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
15557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15558 if (SWIG_arg_fail(1)) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 (arg1
)->DestroyClippingRegion();
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 Py_INCREF(Py_None
); resultobj
= Py_None
;
15573 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxDC
*arg1
= (wxDC
*) 0 ;
15576 int *arg2
= (int *) 0 ;
15577 int *arg3
= (int *) 0 ;
15578 int *arg4
= (int *) 0 ;
15579 int *arg5
= (int *) 0 ;
15588 PyObject
* obj0
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self", NULL
15593 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15594 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15595 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15596 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
15598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15599 if (SWIG_arg_fail(1)) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 Py_INCREF(Py_None
); resultobj
= Py_None
;
15608 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15609 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15610 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15611 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15612 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15613 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15614 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15615 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15622 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxDC
*arg1
= (wxDC
*) 0 ;
15626 PyObject
* obj0
= 0 ;
15627 char *kwnames
[] = {
15628 (char *) "self", NULL
15631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
15632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15633 if (SWIG_arg_fail(1)) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= wxDC_GetClippingRect(arg1
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15642 wxRect
* resultptr
;
15643 resultptr
= new wxRect((wxRect
&)(result
));
15644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15652 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxDC
*arg1
= (wxDC
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
15662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15663 if (SWIG_arg_fail(1)) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= SWIG_From_int((int)(result
));
15680 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
;
15682 wxDC
*arg1
= (wxDC
*) 0 ;
15684 PyObject
* obj0
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
15690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15691 if (SWIG_arg_fail(1)) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15700 resultobj
= SWIG_From_int((int)(result
));
15708 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
;
15710 wxDC
*arg1
= (wxDC
*) 0 ;
15711 wxString
*arg2
= 0 ;
15712 int *arg3
= (int *) 0 ;
15713 int *arg4
= (int *) 0 ;
15714 bool temp2
= false ;
15719 PyObject
* obj0
= 0 ;
15720 PyObject
* obj1
= 0 ;
15721 char *kwnames
[] = {
15722 (char *) "self",(char *) "string", NULL
15725 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15726 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15729 if (SWIG_arg_fail(1)) SWIG_fail
;
15731 arg2
= wxString_in_helper(obj1
);
15732 if (arg2
== NULL
) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 Py_INCREF(Py_None
); resultobj
= Py_None
;
15743 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15744 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15745 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15746 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15761 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
;
15763 wxDC
*arg1
= (wxDC
*) 0 ;
15764 wxString
*arg2
= 0 ;
15765 int *arg3
= (int *) 0 ;
15766 int *arg4
= (int *) 0 ;
15767 int *arg5
= (int *) 0 ;
15768 int *arg6
= (int *) 0 ;
15769 wxFont
*arg7
= (wxFont
*) NULL
;
15770 bool temp2
= false ;
15779 PyObject
* obj0
= 0 ;
15780 PyObject
* obj1
= 0 ;
15781 PyObject
* obj2
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "self",(char *) "string",(char *) "font", NULL
15786 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15787 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15788 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15789 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15792 if (SWIG_arg_fail(1)) SWIG_fail
;
15794 arg2
= wxString_in_helper(obj1
);
15795 if (arg2
== NULL
) SWIG_fail
;
15799 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15800 if (SWIG_arg_fail(7)) SWIG_fail
;
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 Py_INCREF(Py_None
); resultobj
= Py_None
;
15810 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15811 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15812 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15813 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15814 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15815 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15816 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15817 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15832 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
;
15834 wxDC
*arg1
= (wxDC
*) 0 ;
15835 wxString
*arg2
= 0 ;
15836 int *arg3
= (int *) 0 ;
15837 int *arg4
= (int *) 0 ;
15838 int *arg5
= (int *) 0 ;
15839 wxFont
*arg6
= (wxFont
*) NULL
;
15840 bool temp2
= false ;
15847 PyObject
* obj0
= 0 ;
15848 PyObject
* obj1
= 0 ;
15849 PyObject
* obj2
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self",(char *) "text",(char *) "font", NULL
15854 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15855 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15856 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15859 if (SWIG_arg_fail(1)) SWIG_fail
;
15861 arg2
= wxString_in_helper(obj1
);
15862 if (arg2
== NULL
) SWIG_fail
;
15866 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15867 if (SWIG_arg_fail(6)) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 Py_INCREF(Py_None
); resultobj
= Py_None
;
15877 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15878 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15879 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15880 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15881 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15882 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15897 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxDC
*arg1
= (wxDC
*) 0 ;
15900 wxString
*arg2
= 0 ;
15902 bool temp2
= false ;
15903 PyObject
* obj0
= 0 ;
15904 PyObject
* obj1
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "self",(char *) "text", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15911 if (SWIG_arg_fail(1)) SWIG_fail
;
15913 arg2
= wxString_in_helper(obj1
);
15914 if (arg2
== NULL
) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= PyList_New(0);
15927 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15928 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15929 PyList_Append(resultobj
, val
);
15947 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxDC
*arg1
= (wxDC
*) 0 ;
15951 PyObject
* obj0
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15958 if (SWIG_arg_fail(1)) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (arg1
)->GetSize();
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15967 wxSize
* resultptr
;
15968 resultptr
= new wxSize((wxSize
&)(result
));
15969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15977 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxDC
*arg1
= (wxDC
*) 0 ;
15980 int *arg2
= (int *) 0 ;
15981 int *arg3
= (int *) 0 ;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self", NULL
15991 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15992 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15995 if (SWIG_arg_fail(1)) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 (arg1
)->GetSize(arg2
,arg3
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 Py_INCREF(Py_None
); resultobj
= Py_None
;
16004 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16005 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16006 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16007 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16014 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxDC
*arg1
= (wxDC
*) 0 ;
16018 PyObject
* obj0
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
16024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16025 if (SWIG_arg_fail(1)) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= ((wxDC
const *)arg1
)->GetSizeMM();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 wxSize
* resultptr
;
16035 resultptr
= new wxSize((wxSize
&)(result
));
16036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16044 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxDC
*arg1
= (wxDC
*) 0 ;
16047 int *arg2
= (int *) 0 ;
16048 int *arg3
= (int *) 0 ;
16053 PyObject
* obj0
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self", NULL
16058 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16059 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
16061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16062 if (SWIG_arg_fail(1)) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16070 Py_INCREF(Py_None
); resultobj
= Py_None
;
16071 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16072 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16073 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16074 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16081 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
;
16083 wxDC
*arg1
= (wxDC
*) 0 ;
16086 PyObject
* obj0
= 0 ;
16087 PyObject
* obj1
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self",(char *) "x", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
16093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16094 if (SWIG_arg_fail(1)) SWIG_fail
;
16096 arg2
= (int)(SWIG_As_int(obj1
));
16097 if (SWIG_arg_fail(2)) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= SWIG_From_int((int)(result
));
16115 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxDC
*arg1
= (wxDC
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "y", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
16127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail
;
16130 arg2
= (int)(SWIG_As_int(obj1
));
16131 if (SWIG_arg_fail(2)) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= SWIG_From_int((int)(result
));
16149 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxDC
*arg1
= (wxDC
*) 0 ;
16154 PyObject
* obj0
= 0 ;
16155 PyObject
* obj1
= 0 ;
16156 char *kwnames
[] = {
16157 (char *) "self",(char *) "x", NULL
16160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16162 if (SWIG_arg_fail(1)) SWIG_fail
;
16164 arg2
= (int)(SWIG_As_int(obj1
));
16165 if (SWIG_arg_fail(2)) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= SWIG_From_int((int)(result
));
16183 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
;
16185 wxDC
*arg1
= (wxDC
*) 0 ;
16188 PyObject
* obj0
= 0 ;
16189 PyObject
* obj1
= 0 ;
16190 char *kwnames
[] = {
16191 (char *) "self",(char *) "y", NULL
16194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16196 if (SWIG_arg_fail(1)) SWIG_fail
;
16198 arg2
= (int)(SWIG_As_int(obj1
));
16199 if (SWIG_arg_fail(2)) SWIG_fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16209 resultobj
= SWIG_From_int((int)(result
));
16217 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxDC
*arg1
= (wxDC
*) 0 ;
16222 PyObject
* obj0
= 0 ;
16223 PyObject
* obj1
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self",(char *) "x", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
16229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16230 if (SWIG_arg_fail(1)) SWIG_fail
;
16232 arg2
= (int)(SWIG_As_int(obj1
));
16233 if (SWIG_arg_fail(2)) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= SWIG_From_int((int)(result
));
16251 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxDC
*arg1
= (wxDC
*) 0 ;
16256 PyObject
* obj0
= 0 ;
16257 PyObject
* obj1
= 0 ;
16258 char *kwnames
[] = {
16259 (char *) "self",(char *) "y", NULL
16262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
16263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16264 if (SWIG_arg_fail(1)) SWIG_fail
;
16266 arg2
= (int)(SWIG_As_int(obj1
));
16267 if (SWIG_arg_fail(2)) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= SWIG_From_int((int)(result
));
16285 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxDC
*arg1
= (wxDC
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 PyObject
* obj1
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self",(char *) "x", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16298 if (SWIG_arg_fail(1)) SWIG_fail
;
16300 arg2
= (int)(SWIG_As_int(obj1
));
16301 if (SWIG_arg_fail(2)) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= SWIG_From_int((int)(result
));
16319 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxDC
*arg1
= (wxDC
*) 0 ;
16324 PyObject
* obj0
= 0 ;
16325 PyObject
* obj1
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self",(char *) "y", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16332 if (SWIG_arg_fail(1)) SWIG_fail
;
16334 arg2
= (int)(SWIG_As_int(obj1
));
16335 if (SWIG_arg_fail(2)) SWIG_fail
;
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16345 resultobj
= SWIG_From_int((int)(result
));
16353 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16355 wxDC
*arg1
= (wxDC
*) 0 ;
16357 PyObject
* obj0
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
16363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16364 if (SWIG_arg_fail(1)) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16381 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxDC
*arg1
= (wxDC
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
16391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16392 if (SWIG_arg_fail(1)) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16409 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxDC
*arg1
= (wxDC
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
16419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16420 if (SWIG_arg_fail(1)) SWIG_fail
;
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= (int)((wxDC
const *)arg1
)->GetDepth();
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= SWIG_From_int((int)(result
));
16437 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxDC
*arg1
= (wxDC
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
16447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16448 if (SWIG_arg_fail(1)) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= ((wxDC
const *)arg1
)->GetPPI();
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16457 wxSize
* resultptr
;
16458 resultptr
= new wxSize((wxSize
&)(result
));
16459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16467 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxDC
*arg1
= (wxDC
*) 0 ;
16471 PyObject
* obj0
= 0 ;
16472 char *kwnames
[] = {
16473 (char *) "self", NULL
16476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
16477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16478 if (SWIG_arg_fail(1)) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (bool)((wxDC
const *)arg1
)->Ok();
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16495 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxDC
*arg1
= (wxDC
*) 0 ;
16499 PyObject
* obj0
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "self", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
16505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16506 if (SWIG_arg_fail(1)) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= SWIG_From_int((int)(result
));
16523 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxDC
*arg1
= (wxDC
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
16533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16534 if (SWIG_arg_fail(1)) SWIG_fail
;
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
16539 result
= (wxBrush
*) &_result_ref
;
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16546 wxBrush
* resultptr
= new wxBrush(*result
);
16547 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16555 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxDC
*arg1
= (wxDC
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 char *kwnames
[] = {
16561 (char *) "self", NULL
16564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
16565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16566 if (SWIG_arg_fail(1)) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
16571 result
= (wxBrush
*) &_result_ref
;
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16578 wxBrush
* resultptr
= new wxBrush(*result
);
16579 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16587 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxDC
*arg1
= (wxDC
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
16597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16598 if (SWIG_arg_fail(1)) SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
16603 result
= (wxFont
*) &_result_ref
;
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16610 wxFont
* resultptr
= new wxFont(*result
);
16611 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16619 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxDC
*arg1
= (wxDC
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
16629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16630 if (SWIG_arg_fail(1)) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
16635 result
= (wxPen
*) &_result_ref
;
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16642 wxPen
* resultptr
= new wxPen(*result
);
16643 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
16651 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxDC
*arg1
= (wxDC
*) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
16661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16662 if (SWIG_arg_fail(1)) SWIG_fail
;
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
16667 result
= (wxColour
*) &_result_ref
;
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16680 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16682 wxDC
*arg1
= (wxDC
*) 0 ;
16684 PyObject
* obj0
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
16690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16691 if (SWIG_arg_fail(1)) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
16696 result
= (wxColour
*) &_result_ref
;
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16709 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxDC
*arg1
= (wxDC
*) 0 ;
16712 wxColour
*arg2
= 0 ;
16714 PyObject
* obj0
= 0 ;
16715 PyObject
* obj1
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self",(char *) "colour", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16722 if (SWIG_arg_fail(1)) SWIG_fail
;
16725 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 Py_INCREF(Py_None
); resultobj
= Py_None
;
16741 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
;
16743 wxDC
*arg1
= (wxDC
*) 0 ;
16744 wxColour
*arg2
= 0 ;
16746 PyObject
* obj0
= 0 ;
16747 PyObject
* obj1
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self",(char *) "colour", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16754 if (SWIG_arg_fail(1)) SWIG_fail
;
16757 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 Py_INCREF(Py_None
); resultobj
= Py_None
;
16773 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxDC
*arg1
= (wxDC
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= SWIG_From_int((int)(result
));
16801 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxDC
*arg1
= (wxDC
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 PyObject
* obj1
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self",(char *) "mode", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16813 if (SWIG_arg_fail(1)) SWIG_fail
;
16815 arg2
= (int)(SWIG_As_int(obj1
));
16816 if (SWIG_arg_fail(2)) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 (arg1
)->SetMapMode(arg2
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 Py_INCREF(Py_None
); resultobj
= Py_None
;
16832 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxDC
*arg1
= (wxDC
*) 0 ;
16835 double *arg2
= (double *) 0 ;
16836 double *arg3
= (double *) 0 ;
16841 PyObject
* obj0
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "self", NULL
16846 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16847 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16850 if (SWIG_arg_fail(1)) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 Py_INCREF(Py_None
); resultobj
= Py_None
;
16859 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16860 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16861 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16862 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16869 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxDC
*arg1
= (wxDC
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 PyObject
* obj1
= 0 ;
16876 PyObject
* obj2
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self",(char *) "x",(char *) "y", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16883 if (SWIG_arg_fail(1)) SWIG_fail
;
16885 arg2
= (double)(SWIG_As_double(obj1
));
16886 if (SWIG_arg_fail(2)) SWIG_fail
;
16889 arg3
= (double)(SWIG_As_double(obj2
));
16890 if (SWIG_arg_fail(3)) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 (arg1
)->SetUserScale(arg2
,arg3
);
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 Py_INCREF(Py_None
); resultobj
= Py_None
;
16906 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxDC
*arg1
= (wxDC
*) 0 ;
16909 double *arg2
= (double *) 0 ;
16910 double *arg3
= (double *) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self", NULL
16920 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16921 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 (arg1
)->GetLogicalScale(arg2
,arg3
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 Py_INCREF(Py_None
); resultobj
= Py_None
;
16933 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16934 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16935 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16936 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16943 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxDC
*arg1
= (wxDC
*) 0 ;
16948 PyObject
* obj0
= 0 ;
16949 PyObject
* obj1
= 0 ;
16950 PyObject
* obj2
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "self",(char *) "x",(char *) "y", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16957 if (SWIG_arg_fail(1)) SWIG_fail
;
16959 arg2
= (double)(SWIG_As_double(obj1
));
16960 if (SWIG_arg_fail(2)) SWIG_fail
;
16963 arg3
= (double)(SWIG_As_double(obj2
));
16964 if (SWIG_arg_fail(3)) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 (arg1
)->SetLogicalScale(arg2
,arg3
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 Py_INCREF(Py_None
); resultobj
= Py_None
;
16980 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 wxDC
*arg1
= (wxDC
*) 0 ;
16984 PyObject
* obj0
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "self", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16991 if (SWIG_arg_fail(1)) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
17000 wxPoint
* resultptr
;
17001 resultptr
= new wxPoint((wxPoint
&)(result
));
17002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17010 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
;
17012 wxDC
*arg1
= (wxDC
*) 0 ;
17013 int *arg2
= (int *) 0 ;
17014 int *arg3
= (int *) 0 ;
17019 PyObject
* obj0
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "self", NULL
17024 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17025 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
17027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17028 if (SWIG_arg_fail(1)) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 Py_INCREF(Py_None
); resultobj
= Py_None
;
17037 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17038 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17039 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17040 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17047 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxDC
*arg1
= (wxDC
*) 0 ;
17052 PyObject
* obj0
= 0 ;
17053 PyObject
* obj1
= 0 ;
17054 PyObject
* obj2
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self",(char *) "x",(char *) "y", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail
;
17063 arg2
= (int)(SWIG_As_int(obj1
));
17064 if (SWIG_arg_fail(2)) SWIG_fail
;
17067 arg3
= (int)(SWIG_As_int(obj2
));
17068 if (SWIG_arg_fail(3)) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17084 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxDC
*arg1
= (wxDC
*) 0 ;
17087 wxPoint
*arg2
= 0 ;
17089 PyObject
* obj0
= 0 ;
17090 PyObject
* obj1
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self",(char *) "point", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17097 if (SWIG_arg_fail(1)) SWIG_fail
;
17100 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17109 Py_INCREF(Py_None
); resultobj
= Py_None
;
17116 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 wxDC
*arg1
= (wxDC
*) 0 ;
17120 PyObject
* obj0
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
17126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17127 if (SWIG_arg_fail(1)) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17136 wxPoint
* resultptr
;
17137 resultptr
= new wxPoint((wxPoint
&)(result
));
17138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17146 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxDC
*arg1
= (wxDC
*) 0 ;
17149 int *arg2
= (int *) 0 ;
17150 int *arg3
= (int *) 0 ;
17155 PyObject
* obj0
= 0 ;
17156 char *kwnames
[] = {
17157 (char *) "self", NULL
17160 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17161 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
17163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17164 if (SWIG_arg_fail(1)) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 Py_INCREF(Py_None
); resultobj
= Py_None
;
17173 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17174 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17175 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17176 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17183 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxDC
*arg1
= (wxDC
*) 0 ;
17188 PyObject
* obj0
= 0 ;
17189 PyObject
* obj1
= 0 ;
17190 PyObject
* obj2
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self",(char *) "x",(char *) "y", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17197 if (SWIG_arg_fail(1)) SWIG_fail
;
17199 arg2
= (int)(SWIG_As_int(obj1
));
17200 if (SWIG_arg_fail(2)) SWIG_fail
;
17203 arg3
= (int)(SWIG_As_int(obj2
));
17204 if (SWIG_arg_fail(3)) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17213 Py_INCREF(Py_None
); resultobj
= Py_None
;
17220 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17221 PyObject
*resultobj
;
17222 wxDC
*arg1
= (wxDC
*) 0 ;
17223 wxPoint
*arg2
= 0 ;
17225 PyObject
* obj0
= 0 ;
17226 PyObject
* obj1
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self",(char *) "point", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17233 if (SWIG_arg_fail(1)) SWIG_fail
;
17236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17245 Py_INCREF(Py_None
); resultobj
= Py_None
;
17252 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxDC
*arg1
= (wxDC
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 PyObject
* obj2
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
17269 if (SWIG_arg_fail(2)) SWIG_fail
;
17272 arg3
= (bool)(SWIG_As_bool(obj2
));
17273 if (SWIG_arg_fail(3)) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 (arg1
)->SetAxisOrientation(arg2
,arg3
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 Py_INCREF(Py_None
); resultobj
= Py_None
;
17289 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
;
17291 wxDC
*arg1
= (wxDC
*) 0 ;
17293 PyObject
* obj0
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "self", NULL
17298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
17299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17300 if (SWIG_arg_fail(1)) SWIG_fail
;
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17309 resultobj
= SWIG_From_int((int)(result
));
17317 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxDC
*arg1
= (wxDC
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 PyObject
* obj1
= 0 ;
17323 char *kwnames
[] = {
17324 (char *) "self",(char *) "function", NULL
17327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
17328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17329 if (SWIG_arg_fail(1)) SWIG_fail
;
17331 arg2
= (int)(SWIG_As_int(obj1
));
17332 if (SWIG_arg_fail(2)) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 (arg1
)->SetLogicalFunction(arg2
);
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 Py_INCREF(Py_None
); resultobj
= Py_None
;
17348 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxDC
*arg1
= (wxDC
*) 0 ;
17351 PyObject
* obj0
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
17357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17358 if (SWIG_arg_fail(1)) SWIG_fail
;
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 (arg1
)->ComputeScaleAndOrigin();
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 Py_INCREF(Py_None
); resultobj
= Py_None
;
17373 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxDC
*arg1
= (wxDC
*) 0 ;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 PyObject
* obj2
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "self",(char *) "x",(char *) "y", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17387 if (SWIG_arg_fail(1)) SWIG_fail
;
17389 arg2
= (int)(SWIG_As_int(obj1
));
17390 if (SWIG_arg_fail(2)) SWIG_fail
;
17393 arg3
= (int)(SWIG_As_int(obj2
));
17394 if (SWIG_arg_fail(3)) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 (arg1
)->CalcBoundingBox(arg2
,arg3
);
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 Py_INCREF(Py_None
); resultobj
= Py_None
;
17410 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxDC
*arg1
= (wxDC
*) 0 ;
17413 wxPoint
*arg2
= 0 ;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self",(char *) "point", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17423 if (SWIG_arg_fail(1)) SWIG_fail
;
17426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 Py_INCREF(Py_None
); resultobj
= Py_None
;
17442 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxDC
*arg1
= (wxDC
*) 0 ;
17445 PyObject
* obj0
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
17451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17452 if (SWIG_arg_fail(1)) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 (arg1
)->ResetBoundingBox();
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 Py_INCREF(Py_None
); resultobj
= Py_None
;
17467 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
;
17469 wxDC
*arg1
= (wxDC
*) 0 ;
17471 PyObject
* obj0
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "self", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
17477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17478 if (SWIG_arg_fail(1)) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 result
= (int)((wxDC
const *)arg1
)->MinX();
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= SWIG_From_int((int)(result
));
17495 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxDC
*arg1
= (wxDC
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
17505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17506 if (SWIG_arg_fail(1)) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= (int)((wxDC
const *)arg1
)->MaxX();
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= SWIG_From_int((int)(result
));
17523 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17525 wxDC
*arg1
= (wxDC
*) 0 ;
17527 PyObject
* obj0
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
17533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17534 if (SWIG_arg_fail(1)) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 result
= (int)((wxDC
const *)arg1
)->MinY();
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= SWIG_From_int((int)(result
));
17551 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
;
17553 wxDC
*arg1
= (wxDC
*) 0 ;
17555 PyObject
* obj0
= 0 ;
17556 char *kwnames
[] = {
17557 (char *) "self", NULL
17560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
17561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17562 if (SWIG_arg_fail(1)) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (int)((wxDC
const *)arg1
)->MaxY();
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 resultobj
= SWIG_From_int((int)(result
));
17579 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxDC
*arg1
= (wxDC
*) 0 ;
17582 int *arg2
= (int *) 0 ;
17583 int *arg3
= (int *) 0 ;
17584 int *arg4
= (int *) 0 ;
17585 int *arg5
= (int *) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self", NULL
17599 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17600 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17601 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17602 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
17604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17605 if (SWIG_arg_fail(1)) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17613 Py_INCREF(Py_None
); resultobj
= Py_None
;
17614 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17615 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17616 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17617 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17618 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17619 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17620 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
17621 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
17628 static PyObject
*_wrap_DC_GetHDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxDC
*arg1
= (wxDC
*) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
;
17638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17639 if (SWIG_arg_fail(1)) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 result
= (long)(arg1
)->GetHDC();
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= SWIG_From_long((long)(result
));
17656 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17658 wxDC
*arg1
= (wxDC
*) 0 ;
17659 PyObject
*arg2
= (PyObject
*) 0 ;
17660 PyObject
*arg3
= (PyObject
*) 0 ;
17661 PyObject
*arg4
= (PyObject
*) 0 ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 PyObject
* obj2
= 0 ;
17666 PyObject
* obj3
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17673 if (SWIG_arg_fail(1)) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 resultobj
= result
;
17691 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxDC
*arg1
= (wxDC
*) 0 ;
17694 PyObject
*arg2
= (PyObject
*) 0 ;
17695 PyObject
*arg3
= (PyObject
*) 0 ;
17696 PyObject
*arg4
= (PyObject
*) 0 ;
17698 PyObject
* obj0
= 0 ;
17699 PyObject
* obj1
= 0 ;
17700 PyObject
* obj2
= 0 ;
17701 PyObject
* obj3
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17708 if (SWIG_arg_fail(1)) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= result
;
17726 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxDC
*arg1
= (wxDC
*) 0 ;
17729 PyObject
*arg2
= (PyObject
*) 0 ;
17730 PyObject
*arg3
= (PyObject
*) 0 ;
17731 PyObject
*arg4
= (PyObject
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 PyObject
* obj2
= 0 ;
17736 PyObject
* obj3
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17743 if (SWIG_arg_fail(1)) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= result
;
17761 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxDC
*arg1
= (wxDC
*) 0 ;
17764 PyObject
*arg2
= (PyObject
*) 0 ;
17765 PyObject
*arg3
= (PyObject
*) 0 ;
17766 PyObject
*arg4
= (PyObject
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 PyObject
* obj2
= 0 ;
17771 PyObject
* obj3
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17778 if (SWIG_arg_fail(1)) SWIG_fail
;
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= result
;
17796 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
;
17798 wxDC
*arg1
= (wxDC
*) 0 ;
17799 PyObject
*arg2
= (PyObject
*) 0 ;
17800 PyObject
*arg3
= (PyObject
*) 0 ;
17801 PyObject
*arg4
= (PyObject
*) 0 ;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 PyObject
* obj2
= 0 ;
17806 PyObject
* obj3
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17813 if (SWIG_arg_fail(1)) SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= result
;
17831 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17833 wxDC
*arg1
= (wxDC
*) 0 ;
17834 PyObject
*arg2
= (PyObject
*) 0 ;
17835 PyObject
*arg3
= (PyObject
*) 0 ;
17836 PyObject
*arg4
= (PyObject
*) 0 ;
17837 PyObject
*arg5
= (PyObject
*) 0 ;
17839 PyObject
* obj0
= 0 ;
17840 PyObject
* obj1
= 0 ;
17841 PyObject
* obj2
= 0 ;
17842 PyObject
* obj3
= 0 ;
17843 PyObject
* obj4
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17850 if (SWIG_arg_fail(1)) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= result
;
17869 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17872 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17874 return Py_BuildValue((char *)"");
17876 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxMemoryDC
*result
;
17879 char *kwnames
[] = {
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17885 if (!wxPyCheckForApp()) SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 result
= (wxMemoryDC
*)new wxMemoryDC();
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17899 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxDC
*arg1
= (wxDC
*) 0 ;
17902 wxMemoryDC
*result
;
17903 PyObject
* obj0
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "oldDC", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17910 if (SWIG_arg_fail(1)) SWIG_fail
;
17912 if (!wxPyCheckForApp()) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17926 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
;
17928 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17929 wxBitmap
*arg2
= 0 ;
17930 PyObject
* obj0
= 0 ;
17931 PyObject
* obj1
= 0 ;
17932 char *kwnames
[] = {
17933 (char *) "self",(char *) "bitmap", NULL
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17938 if (SWIG_arg_fail(1)) SWIG_fail
;
17940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17941 if (SWIG_arg_fail(2)) SWIG_fail
;
17942 if (arg2
== NULL
) {
17943 SWIG_null_ref("wxBitmap");
17945 if (SWIG_arg_fail(2)) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 Py_INCREF(Py_None
); resultobj
= Py_None
;
17961 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17964 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17966 return Py_BuildValue((char *)"");
17968 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17969 PyObject
*resultobj
;
17970 wxDC
*arg1
= (wxDC
*) 0 ;
17971 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17972 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17973 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17974 wxBufferedDC
*result
;
17975 PyObject
* obj0
= 0 ;
17976 PyObject
* obj1
= 0 ;
17977 PyObject
* obj2
= 0 ;
17979 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17981 if (SWIG_arg_fail(1)) SWIG_fail
;
17984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17985 if (SWIG_arg_fail(2)) SWIG_fail
;
17986 if (arg2
== NULL
) {
17987 SWIG_null_ref("wxBitmap");
17989 if (SWIG_arg_fail(2)) SWIG_fail
;
17994 arg3
= (int)(SWIG_As_int(obj2
));
17995 if (SWIG_arg_fail(3)) SWIG_fail
;
17999 if (!wxPyCheckForApp()) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
18013 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
18014 PyObject
*resultobj
;
18015 wxDC
*arg1
= (wxDC
*) 0 ;
18017 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
18018 wxBufferedDC
*result
;
18020 PyObject
* obj0
= 0 ;
18021 PyObject
* obj1
= 0 ;
18022 PyObject
* obj2
= 0 ;
18024 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
18025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18026 if (SWIG_arg_fail(1)) SWIG_fail
;
18029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18033 arg3
= (int)(SWIG_As_int(obj2
));
18034 if (SWIG_arg_fail(3)) SWIG_fail
;
18038 if (!wxPyCheckForApp()) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
18052 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
18057 argc
= PyObject_Length(args
);
18058 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
18059 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18061 if ((argc
>= 1) && (argc
<= 3)) {
18065 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
18074 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18078 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
18087 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18089 _v
= SWIG_Check_int(argv
[2]);
18091 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18096 if ((argc
>= 2) && (argc
<= 3)) {
18100 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
18109 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
18113 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
18115 _v
= SWIG_Check_int(argv
[2]);
18117 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
18123 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
18128 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
;
18130 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
18131 PyObject
* obj0
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
18137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
18138 if (SWIG_arg_fail(1)) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18146 Py_INCREF(Py_None
); resultobj
= Py_None
;
18153 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
18156 PyObject
* obj0
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
18162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
18163 if (SWIG_arg_fail(1)) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 Py_INCREF(Py_None
); resultobj
= Py_None
;
18178 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
18180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18181 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
18183 return Py_BuildValue((char *)"");
18185 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxWindow
*arg1
= (wxWindow
*) 0 ;
18188 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
18189 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
18190 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
18191 wxBufferedPaintDC
*result
;
18192 PyObject
* obj0
= 0 ;
18193 PyObject
* obj1
= 0 ;
18194 PyObject
* obj2
= 0 ;
18195 char *kwnames
[] = {
18196 (char *) "window",(char *) "buffer",(char *) "style", NULL
18199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18201 if (SWIG_arg_fail(1)) SWIG_fail
;
18204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18205 if (SWIG_arg_fail(2)) SWIG_fail
;
18206 if (arg2
== NULL
) {
18207 SWIG_null_ref("wxBitmap");
18209 if (SWIG_arg_fail(2)) SWIG_fail
;
18214 arg3
= (int)(SWIG_As_int(obj2
));
18215 if (SWIG_arg_fail(3)) SWIG_fail
;
18219 if (!wxPyCheckForApp()) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
18233 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
18235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18236 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
18238 return Py_BuildValue((char *)"");
18240 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxScreenDC
*result
;
18243 char *kwnames
[] = {
18247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
18249 if (!wxPyCheckForApp()) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 result
= (wxScreenDC
*)new wxScreenDC();
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
18263 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18266 wxWindow
*arg2
= (wxWindow
*) 0 ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self",(char *) "window", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
18275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18276 if (SWIG_arg_fail(1)) SWIG_fail
;
18277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18278 if (SWIG_arg_fail(2)) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18295 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18298 wxRect
*arg2
= (wxRect
*) NULL
;
18300 PyObject
* obj0
= 0 ;
18301 PyObject
* obj1
= 0 ;
18302 char *kwnames
[] = {
18303 (char *) "self",(char *) "rect", NULL
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
18307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18308 if (SWIG_arg_fail(1)) SWIG_fail
;
18310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18311 if (SWIG_arg_fail(2)) SWIG_fail
;
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18329 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
18339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18340 if (SWIG_arg_fail(1)) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 result
= (bool)(arg1
)->EndDrawingOnTop();
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18357 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
18359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18360 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
18362 return Py_BuildValue((char *)"");
18364 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxWindow
*arg1
= (wxWindow
*) 0 ;
18367 wxClientDC
*result
;
18368 PyObject
* obj0
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "win", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
18374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18375 if (SWIG_arg_fail(1)) SWIG_fail
;
18377 if (!wxPyCheckForApp()) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (wxClientDC
*)new wxClientDC(arg1
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
18391 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
18393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18394 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
18396 return Py_BuildValue((char *)"");
18398 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxWindow
*arg1
= (wxWindow
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "win", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
18408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18409 if (SWIG_arg_fail(1)) SWIG_fail
;
18411 if (!wxPyCheckForApp()) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
18425 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
18427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18428 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
18430 return Py_BuildValue((char *)"");
18432 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxWindow
*arg1
= (wxWindow
*) 0 ;
18435 wxWindowDC
*result
;
18436 PyObject
* obj0
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "win", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
18442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18443 if (SWIG_arg_fail(1)) SWIG_fail
;
18445 if (!wxPyCheckForApp()) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
18459 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
18461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18462 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
18464 return Py_BuildValue((char *)"");
18466 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18470 wxMirrorDC
*result
;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "dc",(char *) "mirror", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18480 if (SWIG_arg_fail(1)) SWIG_fail
;
18481 if (arg1
== NULL
) {
18482 SWIG_null_ref("wxDC");
18484 if (SWIG_arg_fail(1)) SWIG_fail
;
18487 arg2
= (bool)(SWIG_As_bool(obj1
));
18488 if (SWIG_arg_fail(2)) SWIG_fail
;
18491 if (!wxPyCheckForApp()) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
18505 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
18507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18508 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
18510 return Py_BuildValue((char *)"");
18512 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxPrintData
*arg1
= 0 ;
18515 wxPostScriptDC
*result
;
18516 PyObject
* obj0
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "printData", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
18523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18524 if (SWIG_arg_fail(1)) SWIG_fail
;
18525 if (arg1
== NULL
) {
18526 SWIG_null_ref("wxPrintData");
18528 if (SWIG_arg_fail(1)) SWIG_fail
;
18531 if (!wxPyCheckForApp()) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
18545 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18548 wxPrintData
*result
;
18549 PyObject
* obj0
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
18555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18556 if (SWIG_arg_fail(1)) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18561 result
= (wxPrintData
*) &_result_ref
;
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18574 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18577 wxPrintData
*arg2
= 0 ;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self",(char *) "data", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18586 if (SWIG_arg_fail(1)) SWIG_fail
;
18588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18589 if (SWIG_arg_fail(2)) SWIG_fail
;
18590 if (arg2
== NULL
) {
18591 SWIG_null_ref("wxPrintData");
18593 if (SWIG_arg_fail(2)) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 Py_INCREF(Py_None
); resultobj
= Py_None
;
18609 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18612 PyObject
* obj0
= 0 ;
18613 char *kwnames
[] = {
18614 (char *) "ppi", NULL
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
18619 arg1
= (int)(SWIG_As_int(obj0
));
18620 if (SWIG_arg_fail(1)) SWIG_fail
;
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 wxPostScriptDC::SetResolution(arg1
);
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18629 Py_INCREF(Py_None
); resultobj
= Py_None
;
18636 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
;
18639 char *kwnames
[] = {
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (int)wxPostScriptDC::GetResolution();
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= SWIG_From_int((int)(result
));
18660 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
18662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18663 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
18665 return Py_BuildValue((char *)"");
18667 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18670 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18671 wxMetaFile
*result
;
18672 bool temp1
= false ;
18673 PyObject
* obj0
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "filename", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
18681 arg1
= wxString_in_helper(obj0
);
18682 if (arg1
== NULL
) SWIG_fail
;
18687 if (!wxPyCheckForApp()) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
18709 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
18718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18719 if (SWIG_arg_fail(1)) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 Py_INCREF(Py_None
); resultobj
= Py_None
;
18734 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
18744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18745 if (SWIG_arg_fail(1)) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (bool)(arg1
)->Ok();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18762 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18765 int arg2
= (int) 0 ;
18766 int arg3
= (int) 0 ;
18768 PyObject
* obj0
= 0 ;
18769 PyObject
* obj1
= 0 ;
18770 PyObject
* obj2
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self",(char *) "width",(char *) "height", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18777 if (SWIG_arg_fail(1)) SWIG_fail
;
18780 arg2
= (int)(SWIG_As_int(obj1
));
18781 if (SWIG_arg_fail(2)) SWIG_fail
;
18786 arg3
= (int)(SWIG_As_int(obj2
));
18787 if (SWIG_arg_fail(3)) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18806 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
18816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18817 if (SWIG_arg_fail(1)) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (arg1
)->GetSize();
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 wxSize
* resultptr
;
18827 resultptr
= new wxSize((wxSize
&)(result
));
18828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18836 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18840 PyObject
* obj0
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "self", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
18846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18847 if (SWIG_arg_fail(1)) SWIG_fail
;
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 result
= (int)(arg1
)->GetWidth();
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_From_int((int)(result
));
18864 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
18874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18875 if (SWIG_arg_fail(1)) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 result
= (int)(arg1
)->GetHeight();
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_From_int((int)(result
));
18892 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
;
18894 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18896 PyObject
* obj0
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
18902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18903 if (SWIG_arg_fail(1)) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
18908 result
= (wxString
*) &_result_ref
;
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18916 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18918 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18927 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
18929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18930 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
18932 return Py_BuildValue((char *)"");
18934 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
;
18936 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18937 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18938 int arg2
= (int) 0 ;
18939 int arg3
= (int) 0 ;
18940 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18941 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18942 wxMetaFileDC
*result
;
18943 bool temp1
= false ;
18944 bool temp4
= false ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 PyObject
* obj2
= 0 ;
18948 PyObject
* obj3
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18956 arg1
= wxString_in_helper(obj0
);
18957 if (arg1
== NULL
) SWIG_fail
;
18963 arg2
= (int)(SWIG_As_int(obj1
));
18964 if (SWIG_arg_fail(2)) SWIG_fail
;
18969 arg3
= (int)(SWIG_As_int(obj2
));
18970 if (SWIG_arg_fail(3)) SWIG_fail
;
18975 arg4
= wxString_in_helper(obj3
);
18976 if (arg4
== NULL
) SWIG_fail
;
18981 if (!wxPyCheckForApp()) SWIG_fail
;
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
19011 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19013 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
19014 wxMetaFile
*result
;
19015 PyObject
* obj0
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
19021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION
| 0);
19022 if (SWIG_arg_fail(1)) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 result
= (wxMetaFile
*)(arg1
)->Close();
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
19037 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
19039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19040 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
19042 return Py_BuildValue((char *)"");
19044 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxPrintData
*arg1
= 0 ;
19047 wxPrinterDC
*result
;
19048 PyObject
* obj0
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "printData", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
19055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
19056 if (SWIG_arg_fail(1)) SWIG_fail
;
19057 if (arg1
== NULL
) {
19058 SWIG_null_ref("wxPrintData");
19060 if (SWIG_arg_fail(1)) SWIG_fail
;
19063 if (!wxPyCheckForApp()) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
19077 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
19079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19080 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
19082 return Py_BuildValue((char *)"");
19084 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19088 int arg3
= (int) true ;
19089 int arg4
= (int) 1 ;
19090 wxImageList
*result
;
19091 PyObject
* obj0
= 0 ;
19092 PyObject
* obj1
= 0 ;
19093 PyObject
* obj2
= 0 ;
19094 PyObject
* obj3
= 0 ;
19095 char *kwnames
[] = {
19096 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19101 arg1
= (int)(SWIG_As_int(obj0
));
19102 if (SWIG_arg_fail(1)) SWIG_fail
;
19105 arg2
= (int)(SWIG_As_int(obj1
));
19106 if (SWIG_arg_fail(2)) SWIG_fail
;
19110 arg3
= (int)(SWIG_As_int(obj2
));
19111 if (SWIG_arg_fail(3)) SWIG_fail
;
19116 arg4
= (int)(SWIG_As_int(obj3
));
19117 if (SWIG_arg_fail(4)) SWIG_fail
;
19121 if (!wxPyCheckForApp()) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= wxPyMake_wxObject(result
, 1);
19137 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxImageList
*arg1
= (wxImageList
*) 0 ;
19140 PyObject
* obj0
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
19146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19147 if (SWIG_arg_fail(1)) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 Py_INCREF(Py_None
); resultobj
= Py_None
;
19162 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxImageList
*arg1
= (wxImageList
*) 0 ;
19165 wxBitmap
*arg2
= 0 ;
19166 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
19167 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 PyObject
* obj2
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19178 if (SWIG_arg_fail(1)) SWIG_fail
;
19180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19181 if (SWIG_arg_fail(2)) SWIG_fail
;
19182 if (arg2
== NULL
) {
19183 SWIG_null_ref("wxBitmap");
19185 if (SWIG_arg_fail(2)) SWIG_fail
;
19189 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19190 if (SWIG_arg_fail(3)) SWIG_fail
;
19191 if (arg3
== NULL
) {
19192 SWIG_null_ref("wxBitmap");
19194 if (SWIG_arg_fail(3)) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= SWIG_From_int((int)(result
));
19213 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxImageList
*arg1
= (wxImageList
*) 0 ;
19216 wxBitmap
*arg2
= 0 ;
19217 wxColour
*arg3
= 0 ;
19220 PyObject
* obj0
= 0 ;
19221 PyObject
* obj1
= 0 ;
19222 PyObject
* obj2
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19229 if (SWIG_arg_fail(1)) SWIG_fail
;
19231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19232 if (SWIG_arg_fail(2)) SWIG_fail
;
19233 if (arg2
== NULL
) {
19234 SWIG_null_ref("wxBitmap");
19236 if (SWIG_arg_fail(2)) SWIG_fail
;
19240 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= SWIG_From_int((int)(result
));
19258 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxImageList
*arg1
= (wxImageList
*) 0 ;
19263 PyObject
* obj0
= 0 ;
19264 PyObject
* obj1
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "self",(char *) "icon", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
19270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19271 if (SWIG_arg_fail(1)) SWIG_fail
;
19273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
19274 if (SWIG_arg_fail(2)) SWIG_fail
;
19275 if (arg2
== NULL
) {
19276 SWIG_null_ref("wxIcon");
19278 if (SWIG_arg_fail(2)) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= SWIG_From_int((int)(result
));
19296 static PyObject
*_wrap_ImageList_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxImageList
*arg1
= (wxImageList
*) 0 ;
19300 SwigValueWrapper
<wxBitmap
> result
;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self",(char *) "index", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19309 if (SWIG_arg_fail(1)) SWIG_fail
;
19311 arg2
= (int)(SWIG_As_int(obj1
));
19312 if (SWIG_arg_fail(2)) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19322 wxBitmap
* resultptr
;
19323 resultptr
= new wxBitmap((wxBitmap
&)(result
));
19324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19332 static PyObject
*_wrap_ImageList_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxImageList
*arg1
= (wxImageList
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self",(char *) "index", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
19344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19345 if (SWIG_arg_fail(1)) SWIG_fail
;
19347 arg2
= (int)(SWIG_As_int(obj1
));
19348 if (SWIG_arg_fail(2)) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19358 wxIcon
* resultptr
;
19359 resultptr
= new wxIcon((wxIcon
&)(result
));
19360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
19368 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
;
19370 wxImageList
*arg1
= (wxImageList
*) 0 ;
19372 wxBitmap
*arg3
= 0 ;
19373 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
19374 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 PyObject
* obj2
= 0 ;
19379 PyObject
* obj3
= 0 ;
19380 char *kwnames
[] = {
19381 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
19384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19386 if (SWIG_arg_fail(1)) SWIG_fail
;
19388 arg2
= (int)(SWIG_As_int(obj1
));
19389 if (SWIG_arg_fail(2)) SWIG_fail
;
19392 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19393 if (SWIG_arg_fail(3)) SWIG_fail
;
19394 if (arg3
== NULL
) {
19395 SWIG_null_ref("wxBitmap");
19397 if (SWIG_arg_fail(3)) SWIG_fail
;
19401 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19402 if (SWIG_arg_fail(4)) SWIG_fail
;
19403 if (arg4
== NULL
) {
19404 SWIG_null_ref("wxBitmap");
19406 if (SWIG_arg_fail(4)) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19425 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
;
19427 wxImageList
*arg1
= (wxImageList
*) 0 ;
19432 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
19433 bool arg7
= (bool) (bool)false ;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 PyObject
* obj2
= 0 ;
19438 PyObject
* obj3
= 0 ;
19439 PyObject
* obj4
= 0 ;
19440 PyObject
* obj5
= 0 ;
19441 PyObject
* obj6
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19448 if (SWIG_arg_fail(1)) SWIG_fail
;
19450 arg2
= (int)(SWIG_As_int(obj1
));
19451 if (SWIG_arg_fail(2)) SWIG_fail
;
19454 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19455 if (SWIG_arg_fail(3)) SWIG_fail
;
19456 if (arg3
== NULL
) {
19457 SWIG_null_ref("wxDC");
19459 if (SWIG_arg_fail(3)) SWIG_fail
;
19462 arg4
= (int)(SWIG_As_int(obj3
));
19463 if (SWIG_arg_fail(4)) SWIG_fail
;
19466 arg5
= (int)(SWIG_As_int(obj4
));
19467 if (SWIG_arg_fail(5)) SWIG_fail
;
19471 arg6
= (int)(SWIG_As_int(obj5
));
19472 if (SWIG_arg_fail(6)) SWIG_fail
;
19477 arg7
= (bool const)(SWIG_As_bool(obj6
));
19478 if (SWIG_arg_fail(7)) SWIG_fail
;
19482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19483 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19497 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxImageList
*arg1
= (wxImageList
*) 0 ;
19501 PyObject
* obj0
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
19507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19508 if (SWIG_arg_fail(1)) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 result
= (int)(arg1
)->GetImageCount();
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= SWIG_From_int((int)(result
));
19525 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxImageList
*arg1
= (wxImageList
*) 0 ;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "self",(char *) "index", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
19537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19538 if (SWIG_arg_fail(1)) SWIG_fail
;
19540 arg2
= (int)(SWIG_As_int(obj1
));
19541 if (SWIG_arg_fail(2)) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (bool)(arg1
)->Remove(arg2
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19559 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxImageList
*arg1
= (wxImageList
*) 0 ;
19563 PyObject
* obj0
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
19569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19570 if (SWIG_arg_fail(1)) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (bool)(arg1
)->RemoveAll();
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19587 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxImageList
*arg1
= (wxImageList
*) 0 ;
19597 PyObject
* obj0
= 0 ;
19598 PyObject
* obj1
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self",(char *) "index", NULL
19603 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19604 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19607 if (SWIG_arg_fail(1)) SWIG_fail
;
19609 arg2
= (int)(SWIG_As_int(obj1
));
19610 if (SWIG_arg_fail(2)) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 Py_INCREF(Py_None
); resultobj
= Py_None
;
19620 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19621 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19622 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
19623 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
19630 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
19632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19633 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
19635 return Py_BuildValue((char *)"");
19637 static int _wrap_NORMAL_FONT_set(PyObject
*) {
19638 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
19643 static PyObject
*_wrap_NORMAL_FONT_get(void) {
19646 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
19651 static int _wrap_SMALL_FONT_set(PyObject
*) {
19652 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
19657 static PyObject
*_wrap_SMALL_FONT_get(void) {
19660 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
19665 static int _wrap_ITALIC_FONT_set(PyObject
*) {
19666 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
19671 static PyObject
*_wrap_ITALIC_FONT_get(void) {
19674 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
19679 static int _wrap_SWISS_FONT_set(PyObject
*) {
19680 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
19685 static PyObject
*_wrap_SWISS_FONT_get(void) {
19688 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
19693 static int _wrap_RED_PEN_set(PyObject
*) {
19694 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
19699 static PyObject
*_wrap_RED_PEN_get(void) {
19702 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
19707 static int _wrap_CYAN_PEN_set(PyObject
*) {
19708 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
19713 static PyObject
*_wrap_CYAN_PEN_get(void) {
19716 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
19721 static int _wrap_GREEN_PEN_set(PyObject
*) {
19722 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
19727 static PyObject
*_wrap_GREEN_PEN_get(void) {
19730 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
19735 static int _wrap_BLACK_PEN_set(PyObject
*) {
19736 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
19741 static PyObject
*_wrap_BLACK_PEN_get(void) {
19744 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
19749 static int _wrap_WHITE_PEN_set(PyObject
*) {
19750 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
19755 static PyObject
*_wrap_WHITE_PEN_get(void) {
19758 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
19763 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
19764 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
19769 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
19772 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
19777 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
19778 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
19783 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
19786 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
19791 static int _wrap_GREY_PEN_set(PyObject
*) {
19792 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
19797 static PyObject
*_wrap_GREY_PEN_get(void) {
19800 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19805 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
19806 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
19811 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
19814 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19819 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
19820 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
19825 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
19828 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19833 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
19834 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
19839 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
19842 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19847 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
19848 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
19853 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
19856 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19861 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
19862 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
19867 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
19870 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19875 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
19876 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
19881 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
19884 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19889 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
19890 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
19895 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
19898 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19903 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19904 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19909 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19912 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19917 static int _wrap_RED_BRUSH_set(PyObject
*) {
19918 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
19923 static PyObject
*_wrap_RED_BRUSH_get(void) {
19926 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19931 static int _wrap_GREY_BRUSH_set(PyObject
*) {
19932 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
19937 static PyObject
*_wrap_GREY_BRUSH_get(void) {
19940 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19945 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
19946 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
19951 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
19954 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19959 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
19960 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
19965 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
19968 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19973 static int _wrap_BLACK_set(PyObject
*) {
19974 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
19979 static PyObject
*_wrap_BLACK_get(void) {
19982 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
19987 static int _wrap_WHITE_set(PyObject
*) {
19988 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
19993 static PyObject
*_wrap_WHITE_get(void) {
19996 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
20001 static int _wrap_RED_set(PyObject
*) {
20002 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
20007 static PyObject
*_wrap_RED_get(void) {
20010 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
20015 static int _wrap_BLUE_set(PyObject
*) {
20016 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
20021 static PyObject
*_wrap_BLUE_get(void) {
20024 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
20029 static int _wrap_GREEN_set(PyObject
*) {
20030 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
20035 static PyObject
*_wrap_GREEN_get(void) {
20038 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
20043 static int _wrap_CYAN_set(PyObject
*) {
20044 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
20049 static PyObject
*_wrap_CYAN_get(void) {
20052 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
20057 static int _wrap_LIGHT_GREY_set(PyObject
*) {
20058 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
20063 static PyObject
*_wrap_LIGHT_GREY_get(void) {
20066 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
20071 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
20072 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
20077 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
20080 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20085 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
20086 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
20091 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
20094 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20099 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
20100 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
20105 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
20108 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20113 static int _wrap_NullBitmap_set(PyObject
*) {
20114 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
20119 static PyObject
*_wrap_NullBitmap_get(void) {
20122 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
20127 static int _wrap_NullIcon_set(PyObject
*) {
20128 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
20133 static PyObject
*_wrap_NullIcon_get(void) {
20136 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
20141 static int _wrap_NullCursor_set(PyObject
*) {
20142 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
20147 static PyObject
*_wrap_NullCursor_get(void) {
20150 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
20155 static int _wrap_NullPen_set(PyObject
*) {
20156 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
20161 static PyObject
*_wrap_NullPen_get(void) {
20164 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
20169 static int _wrap_NullBrush_set(PyObject
*) {
20170 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
20175 static PyObject
*_wrap_NullBrush_get(void) {
20178 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
20183 static int _wrap_NullPalette_set(PyObject
*) {
20184 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
20189 static PyObject
*_wrap_NullPalette_get(void) {
20192 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
20197 static int _wrap_NullFont_set(PyObject
*) {
20198 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
20203 static PyObject
*_wrap_NullFont_get(void) {
20206 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
20211 static int _wrap_NullColour_set(PyObject
*) {
20212 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
20217 static PyObject
*_wrap_NullColour_get(void) {
20220 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
20225 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20227 wxPenList
*arg1
= (wxPenList
*) 0 ;
20228 wxPen
*arg2
= (wxPen
*) 0 ;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self",(char *) "pen", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
20236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20237 if (SWIG_arg_fail(1)) SWIG_fail
;
20238 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
20239 if (SWIG_arg_fail(2)) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 (arg1
)->AddPen(arg2
);
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20247 Py_INCREF(Py_None
); resultobj
= Py_None
;
20254 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxPenList
*arg1
= (wxPenList
*) 0 ;
20257 wxColour
*arg2
= 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 PyObject
* obj2
= 0 ;
20265 PyObject
* obj3
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20272 if (SWIG_arg_fail(1)) SWIG_fail
;
20275 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20278 arg3
= (int)(SWIG_As_int(obj2
));
20279 if (SWIG_arg_fail(3)) SWIG_fail
;
20282 arg4
= (int)(SWIG_As_int(obj3
));
20283 if (SWIG_arg_fail(4)) SWIG_fail
;
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20299 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
;
20301 wxPenList
*arg1
= (wxPenList
*) 0 ;
20302 wxPen
*arg2
= (wxPen
*) 0 ;
20303 PyObject
* obj0
= 0 ;
20304 PyObject
* obj1
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "self",(char *) "pen", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20311 if (SWIG_arg_fail(1)) SWIG_fail
;
20312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
20313 if (SWIG_arg_fail(2)) SWIG_fail
;
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 (arg1
)->RemovePen(arg2
);
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20321 Py_INCREF(Py_None
); resultobj
= Py_None
;
20328 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
;
20330 wxPenList
*arg1
= (wxPenList
*) 0 ;
20332 PyObject
* obj0
= 0 ;
20333 char *kwnames
[] = {
20334 (char *) "self", NULL
20337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
20338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20339 if (SWIG_arg_fail(1)) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= (int)(arg1
)->GetCount();
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_From_int((int)(result
));
20356 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
20358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20359 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
20361 return Py_BuildValue((char *)"");
20363 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20366 wxBrush
*arg2
= (wxBrush
*) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 PyObject
* obj1
= 0 ;
20369 char *kwnames
[] = {
20370 (char *) "self",(char *) "brush", NULL
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
20374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20375 if (SWIG_arg_fail(1)) SWIG_fail
;
20376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
20377 if (SWIG_arg_fail(2)) SWIG_fail
;
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 (arg1
)->AddBrush(arg2
);
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 Py_INCREF(Py_None
); resultobj
= Py_None
;
20392 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
;
20394 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20395 wxColour
*arg2
= 0 ;
20396 int arg3
= (int) wxSOLID
;
20399 PyObject
* obj0
= 0 ;
20400 PyObject
* obj1
= 0 ;
20401 PyObject
* obj2
= 0 ;
20402 char *kwnames
[] = {
20403 (char *) "self",(char *) "colour",(char *) "style", NULL
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20408 if (SWIG_arg_fail(1)) SWIG_fail
;
20411 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20415 arg3
= (int)(SWIG_As_int(obj2
));
20416 if (SWIG_arg_fail(3)) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
20433 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20436 wxBrush
*arg2
= (wxBrush
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self",(char *) "brush", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
20444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail
;
20446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
20447 if (SWIG_arg_fail(2)) SWIG_fail
;
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 (arg1
)->RemoveBrush(arg2
);
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 Py_INCREF(Py_None
); resultobj
= Py_None
;
20462 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
;
20464 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20466 PyObject
* obj0
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
20472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 result
= (int)(arg1
)->GetCount();
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_From_int((int)(result
));
20490 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
20492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20493 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
20495 return Py_BuildValue((char *)"");
20497 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20499 wxColourDatabase
*result
;
20500 char *kwnames
[] = {
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
20506 if (!wxPyCheckForApp()) SWIG_fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 result
= (wxColourDatabase
*)new wxColourDatabase();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
20520 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
20529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 Py_INCREF(Py_None
); resultobj
= Py_None
;
20545 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20548 wxString
*arg2
= 0 ;
20550 bool temp2
= false ;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self",(char *) "name", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
20558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20559 if (SWIG_arg_fail(1)) SWIG_fail
;
20561 arg2
= wxString_in_helper(obj1
);
20562 if (arg2
== NULL
) SWIG_fail
;
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20573 wxColour
* resultptr
;
20574 resultptr
= new wxColour((wxColour
&)(result
));
20575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20591 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20594 wxColour
*arg2
= 0 ;
20597 PyObject
* obj0
= 0 ;
20598 PyObject
* obj1
= 0 ;
20599 char *kwnames
[] = {
20600 (char *) "self",(char *) "colour", NULL
20603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
20604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20605 if (SWIG_arg_fail(1)) SWIG_fail
;
20608 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20630 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20633 wxString
*arg2
= 0 ;
20634 wxColour
*arg3
= 0 ;
20635 bool temp2
= false ;
20637 PyObject
* obj0
= 0 ;
20638 PyObject
* obj1
= 0 ;
20639 PyObject
* obj2
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self",(char *) "name",(char *) "colour", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20646 if (SWIG_arg_fail(1)) SWIG_fail
;
20648 arg2
= wxString_in_helper(obj1
);
20649 if (arg2
== NULL
) SWIG_fail
;
20654 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20663 Py_INCREF(Py_None
); resultobj
= Py_None
;
20678 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20679 PyObject
*resultobj
;
20680 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20681 wxString
*arg2
= 0 ;
20685 bool temp2
= false ;
20686 PyObject
* obj0
= 0 ;
20687 PyObject
* obj1
= 0 ;
20688 PyObject
* obj2
= 0 ;
20689 PyObject
* obj3
= 0 ;
20690 PyObject
* obj4
= 0 ;
20691 char *kwnames
[] = {
20692 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
20695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20697 if (SWIG_arg_fail(1)) SWIG_fail
;
20699 arg2
= wxString_in_helper(obj1
);
20700 if (arg2
== NULL
) SWIG_fail
;
20704 arg3
= (int)(SWIG_As_int(obj2
));
20705 if (SWIG_arg_fail(3)) SWIG_fail
;
20708 arg4
= (int)(SWIG_As_int(obj3
));
20709 if (SWIG_arg_fail(4)) SWIG_fail
;
20712 arg5
= (int)(SWIG_As_int(obj4
));
20713 if (SWIG_arg_fail(5)) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 Py_INCREF(Py_None
); resultobj
= Py_None
;
20737 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
20739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20740 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
20742 return Py_BuildValue((char *)"");
20744 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxFontList
*arg1
= (wxFontList
*) 0 ;
20747 wxFont
*arg2
= (wxFont
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self",(char *) "font", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20756 if (SWIG_arg_fail(1)) SWIG_fail
;
20757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20758 if (SWIG_arg_fail(2)) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 (arg1
)->AddFont(arg2
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 Py_INCREF(Py_None
); resultobj
= Py_None
;
20773 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
;
20775 wxFontList
*arg1
= (wxFontList
*) 0 ;
20780 bool arg6
= (bool) false ;
20781 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20782 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20783 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
20785 bool temp7
= false ;
20786 PyObject
* obj0
= 0 ;
20787 PyObject
* obj1
= 0 ;
20788 PyObject
* obj2
= 0 ;
20789 PyObject
* obj3
= 0 ;
20790 PyObject
* obj4
= 0 ;
20791 PyObject
* obj5
= 0 ;
20792 PyObject
* obj6
= 0 ;
20793 PyObject
* obj7
= 0 ;
20794 char *kwnames
[] = {
20795 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20800 if (SWIG_arg_fail(1)) SWIG_fail
;
20802 arg2
= (int)(SWIG_As_int(obj1
));
20803 if (SWIG_arg_fail(2)) SWIG_fail
;
20806 arg3
= (int)(SWIG_As_int(obj2
));
20807 if (SWIG_arg_fail(3)) SWIG_fail
;
20810 arg4
= (int)(SWIG_As_int(obj3
));
20811 if (SWIG_arg_fail(4)) SWIG_fail
;
20814 arg5
= (int)(SWIG_As_int(obj4
));
20815 if (SWIG_arg_fail(5)) SWIG_fail
;
20819 arg6
= (bool)(SWIG_As_bool(obj5
));
20820 if (SWIG_arg_fail(6)) SWIG_fail
;
20825 arg7
= wxString_in_helper(obj6
);
20826 if (arg7
== NULL
) SWIG_fail
;
20832 arg8
= (wxFontEncoding
)(SWIG_As_int(obj7
));
20833 if (SWIG_arg_fail(8)) SWIG_fail
;
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
20858 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
;
20860 wxFontList
*arg1
= (wxFontList
*) 0 ;
20861 wxFont
*arg2
= (wxFont
*) 0 ;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self",(char *) "font", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20870 if (SWIG_arg_fail(1)) SWIG_fail
;
20871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20872 if (SWIG_arg_fail(2)) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 (arg1
)->RemoveFont(arg2
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 Py_INCREF(Py_None
); resultobj
= Py_None
;
20887 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
;
20889 wxFontList
*arg1
= (wxFontList
*) 0 ;
20891 PyObject
* obj0
= 0 ;
20892 char *kwnames
[] = {
20893 (char *) "self", NULL
20896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
20897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20898 if (SWIG_arg_fail(1)) SWIG_fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 result
= (int)(arg1
)->GetCount();
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20907 resultobj
= SWIG_From_int((int)(result
));
20915 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
20917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20918 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
20920 return Py_BuildValue((char *)"");
20922 static int _wrap_TheFontList_set(PyObject
*) {
20923 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
20928 static PyObject
*_wrap_TheFontList_get(void) {
20931 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
20936 static int _wrap_ThePenList_set(PyObject
*) {
20937 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
20942 static PyObject
*_wrap_ThePenList_get(void) {
20945 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
20950 static int _wrap_TheBrushList_set(PyObject
*) {
20951 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
20956 static PyObject
*_wrap_TheBrushList_get(void) {
20959 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
20964 static int _wrap_TheColourDatabase_set(PyObject
*) {
20965 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
20970 static PyObject
*_wrap_TheColourDatabase_get(void) {
20973 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
20978 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20981 char *kwnames
[] = {
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (wxEffects
*)new wxEffects();
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
21000 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxEffects
*arg1
= (wxEffects
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
21010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21011 if (SWIG_arg_fail(1)) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21020 wxColour
* resultptr
;
21021 resultptr
= new wxColour((wxColour
&)(result
));
21022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21030 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
;
21032 wxEffects
*arg1
= (wxEffects
*) 0 ;
21034 PyObject
* obj0
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
21040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21041 if (SWIG_arg_fail(1)) SWIG_fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21050 wxColour
* resultptr
;
21051 resultptr
= new wxColour((wxColour
&)(result
));
21052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21060 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21062 wxEffects
*arg1
= (wxEffects
*) 0 ;
21064 PyObject
* obj0
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
21070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21071 if (SWIG_arg_fail(1)) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21080 wxColour
* resultptr
;
21081 resultptr
= new wxColour((wxColour
&)(result
));
21082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21090 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxEffects
*arg1
= (wxEffects
*) 0 ;
21094 PyObject
* obj0
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "self", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
21100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21101 if (SWIG_arg_fail(1)) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21110 wxColour
* resultptr
;
21111 resultptr
= new wxColour((wxColour
&)(result
));
21112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21120 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxEffects
*arg1
= (wxEffects
*) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
21130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21131 if (SWIG_arg_fail(1)) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21140 wxColour
* resultptr
;
21141 resultptr
= new wxColour((wxColour
&)(result
));
21142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21150 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxEffects
*arg1
= (wxEffects
*) 0 ;
21153 wxColour
*arg2
= 0 ;
21155 PyObject
* obj0
= 0 ;
21156 PyObject
* obj1
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self",(char *) "c", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21163 if (SWIG_arg_fail(1)) SWIG_fail
;
21166 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 Py_INCREF(Py_None
); resultobj
= Py_None
;
21182 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
;
21184 wxEffects
*arg1
= (wxEffects
*) 0 ;
21185 wxColour
*arg2
= 0 ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 char *kwnames
[] = {
21190 (char *) "self",(char *) "c", NULL
21193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21195 if (SWIG_arg_fail(1)) SWIG_fail
;
21198 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 Py_INCREF(Py_None
); resultobj
= Py_None
;
21214 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21215 PyObject
*resultobj
;
21216 wxEffects
*arg1
= (wxEffects
*) 0 ;
21217 wxColour
*arg2
= 0 ;
21219 PyObject
* obj0
= 0 ;
21220 PyObject
* obj1
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "self",(char *) "c", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21227 if (SWIG_arg_fail(1)) SWIG_fail
;
21230 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 Py_INCREF(Py_None
); resultobj
= Py_None
;
21246 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21248 wxEffects
*arg1
= (wxEffects
*) 0 ;
21249 wxColour
*arg2
= 0 ;
21251 PyObject
* obj0
= 0 ;
21252 PyObject
* obj1
= 0 ;
21253 char *kwnames
[] = {
21254 (char *) "self",(char *) "c", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21259 if (SWIG_arg_fail(1)) SWIG_fail
;
21262 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 Py_INCREF(Py_None
); resultobj
= Py_None
;
21278 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21280 wxEffects
*arg1
= (wxEffects
*) 0 ;
21281 wxColour
*arg2
= 0 ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self",(char *) "c", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21291 if (SWIG_arg_fail(1)) SWIG_fail
;
21294 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 Py_INCREF(Py_None
); resultobj
= Py_None
;
21310 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxEffects
*arg1
= (wxEffects
*) 0 ;
21313 wxColour
*arg2
= 0 ;
21314 wxColour
*arg3
= 0 ;
21315 wxColour
*arg4
= 0 ;
21316 wxColour
*arg5
= 0 ;
21317 wxColour
*arg6
= 0 ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 PyObject
* obj2
= 0 ;
21326 PyObject
* obj3
= 0 ;
21327 PyObject
* obj4
= 0 ;
21328 PyObject
* obj5
= 0 ;
21329 char *kwnames
[] = {
21330 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
21333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21335 if (SWIG_arg_fail(1)) SWIG_fail
;
21338 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21342 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21346 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
21350 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
21354 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21363 Py_INCREF(Py_None
); resultobj
= Py_None
;
21370 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 wxEffects
*arg1
= (wxEffects
*) 0 ;
21375 int arg4
= (int) 1 ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 PyObject
* obj2
= 0 ;
21380 PyObject
* obj3
= 0 ;
21381 char *kwnames
[] = {
21382 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
21385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21387 if (SWIG_arg_fail(1)) SWIG_fail
;
21389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21390 if (SWIG_arg_fail(2)) SWIG_fail
;
21391 if (arg2
== NULL
) {
21392 SWIG_null_ref("wxDC");
21394 if (SWIG_arg_fail(2)) SWIG_fail
;
21398 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
21402 arg4
= (int)(SWIG_As_int(obj3
));
21403 if (SWIG_arg_fail(4)) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 Py_INCREF(Py_None
); resultobj
= Py_None
;
21420 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxEffects
*arg1
= (wxEffects
*) 0 ;
21425 wxBitmap
*arg4
= 0 ;
21428 PyObject
* obj0
= 0 ;
21429 PyObject
* obj1
= 0 ;
21430 PyObject
* obj2
= 0 ;
21431 PyObject
* obj3
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21438 if (SWIG_arg_fail(1)) SWIG_fail
;
21441 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21444 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21445 if (SWIG_arg_fail(3)) SWIG_fail
;
21446 if (arg3
== NULL
) {
21447 SWIG_null_ref("wxDC");
21449 if (SWIG_arg_fail(3)) SWIG_fail
;
21452 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
21453 if (SWIG_arg_fail(4)) SWIG_fail
;
21454 if (arg4
== NULL
) {
21455 SWIG_null_ref("wxBitmap");
21457 if (SWIG_arg_fail(4)) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21475 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
21477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21478 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
21480 return Py_BuildValue((char *)"");
21482 static PyObject
*_wrap_new_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21487 wxSplitterRenderParams
*result
;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 PyObject
* obj2
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21497 arg1
= (int)(SWIG_As_int(obj0
));
21498 if (SWIG_arg_fail(1)) SWIG_fail
;
21501 arg2
= (int)(SWIG_As_int(obj1
));
21502 if (SWIG_arg_fail(2)) SWIG_fail
;
21505 arg3
= (bool)(SWIG_As_bool(obj2
));
21506 if (SWIG_arg_fail(3)) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
21522 static PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SplitterRenderParams",kwnames
,&obj0
)) goto fail
;
21531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21532 if (SWIG_arg_fail(1)) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 Py_INCREF(Py_None
); resultobj
= Py_None
;
21547 static PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21548 PyObject
*resultobj
;
21549 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21551 PyObject
* obj0
= 0 ;
21552 char *kwnames
[] = {
21553 (char *) "self", NULL
21556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_widthSash_get",kwnames
,&obj0
)) goto fail
;
21557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21558 if (SWIG_arg_fail(1)) SWIG_fail
;
21559 result
= (int)(int) ((arg1
)->widthSash
);
21562 resultobj
= SWIG_From_int((int)(result
));
21570 static PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21574 PyObject
* obj0
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self", NULL
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_border_get",kwnames
,&obj0
)) goto fail
;
21580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21581 if (SWIG_arg_fail(1)) SWIG_fail
;
21582 result
= (int)(int) ((arg1
)->border
);
21585 resultobj
= SWIG_From_int((int)(result
));
21593 static PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21597 PyObject
* obj0
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames
,&obj0
)) goto fail
;
21603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21604 if (SWIG_arg_fail(1)) SWIG_fail
;
21605 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
21608 resultobj
= SWIG_From_bool((bool)(result
));
21616 static PyObject
* SplitterRenderParams_swigregister(PyObject
*, PyObject
*args
) {
21618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21619 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams
, obj
);
21621 return Py_BuildValue((char *)"");
21623 static PyObject
*_wrap_new_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21627 wxRendererVersion
*result
;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "version_",(char *) "age_", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) goto fail
;
21636 arg1
= (int)(SWIG_As_int(obj0
));
21637 if (SWIG_arg_fail(1)) SWIG_fail
;
21640 arg2
= (int)(SWIG_As_int(obj1
));
21641 if (SWIG_arg_fail(2)) SWIG_fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererVersion
, 1);
21657 static PyObject
*_wrap_delete_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RendererVersion",kwnames
,&obj0
)) goto fail
;
21666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21667 if (SWIG_arg_fail(1)) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 Py_INCREF(Py_None
); resultobj
= Py_None
;
21682 static PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxRendererVersion
*arg1
= 0 ;
21686 PyObject
* obj0
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "ver", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) goto fail
;
21693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail
;
21695 if (arg1
== NULL
) {
21696 SWIG_null_ref("wxRendererVersion");
21698 if (SWIG_arg_fail(1)) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21716 static PyObject
*_wrap_RendererVersion_version_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_version_get",kwnames
,&obj0
)) goto fail
;
21726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail
;
21728 result
= (int)(int) ((arg1
)->version
);
21731 resultobj
= SWIG_From_int((int)(result
));
21739 static PyObject
*_wrap_RendererVersion_age_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21743 PyObject
* obj0
= 0 ;
21744 char *kwnames
[] = {
21745 (char *) "self", NULL
21748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_age_get",kwnames
,&obj0
)) goto fail
;
21749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21750 if (SWIG_arg_fail(1)) SWIG_fail
;
21751 result
= (int)(int) ((arg1
)->age
);
21754 resultobj
= SWIG_From_int((int)(result
));
21762 static PyObject
* RendererVersion_swigregister(PyObject
*, PyObject
*args
) {
21764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21765 SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion
, obj
);
21767 return Py_BuildValue((char *)"");
21769 static PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21772 wxWindow
*arg2
= (wxWindow
*) 0 ;
21775 int arg5
= (int) 0 ;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 PyObject
* obj2
= 0 ;
21780 PyObject
* obj3
= 0 ;
21781 PyObject
* obj4
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21788 if (SWIG_arg_fail(1)) SWIG_fail
;
21789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21790 if (SWIG_arg_fail(2)) SWIG_fail
;
21792 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21793 if (SWIG_arg_fail(3)) SWIG_fail
;
21794 if (arg3
== NULL
) {
21795 SWIG_null_ref("wxDC");
21797 if (SWIG_arg_fail(3)) SWIG_fail
;
21801 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21805 arg5
= (int)(SWIG_As_int(obj4
));
21806 if (SWIG_arg_fail(5)) SWIG_fail
;
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 Py_INCREF(Py_None
); resultobj
= Py_None
;
21823 static PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
;
21825 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21826 wxWindow
*arg2
= (wxWindow
*) 0 ;
21829 int arg5
= (int) 0 ;
21831 PyObject
* obj0
= 0 ;
21832 PyObject
* obj1
= 0 ;
21833 PyObject
* obj2
= 0 ;
21834 PyObject
* obj3
= 0 ;
21835 PyObject
* obj4
= 0 ;
21836 char *kwnames
[] = {
21837 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21842 if (SWIG_arg_fail(1)) SWIG_fail
;
21843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21844 if (SWIG_arg_fail(2)) SWIG_fail
;
21846 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21847 if (SWIG_arg_fail(3)) SWIG_fail
;
21848 if (arg3
== NULL
) {
21849 SWIG_null_ref("wxDC");
21851 if (SWIG_arg_fail(3)) SWIG_fail
;
21855 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21859 arg5
= (int)(SWIG_As_int(obj4
));
21860 if (SWIG_arg_fail(5)) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 Py_INCREF(Py_None
); resultobj
= Py_None
;
21877 static PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21880 wxWindow
*arg2
= (wxWindow
*) 0 ;
21883 int arg5
= (int) 0 ;
21885 PyObject
* obj0
= 0 ;
21886 PyObject
* obj1
= 0 ;
21887 PyObject
* obj2
= 0 ;
21888 PyObject
* obj3
= 0 ;
21889 PyObject
* obj4
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21896 if (SWIG_arg_fail(1)) SWIG_fail
;
21897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21898 if (SWIG_arg_fail(2)) SWIG_fail
;
21900 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21901 if (SWIG_arg_fail(3)) SWIG_fail
;
21902 if (arg3
== NULL
) {
21903 SWIG_null_ref("wxDC");
21905 if (SWIG_arg_fail(3)) SWIG_fail
;
21909 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21913 arg5
= (int)(SWIG_As_int(obj4
));
21914 if (SWIG_arg_fail(5)) SWIG_fail
;
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21924 Py_INCREF(Py_None
); resultobj
= Py_None
;
21931 static PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
;
21933 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21934 wxWindow
*arg2
= (wxWindow
*) 0 ;
21938 wxOrientation arg6
;
21939 int arg7
= (int) 0 ;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 PyObject
* obj2
= 0 ;
21944 PyObject
* obj3
= 0 ;
21945 PyObject
* obj4
= 0 ;
21946 PyObject
* obj5
= 0 ;
21947 PyObject
* obj6
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21954 if (SWIG_arg_fail(1)) SWIG_fail
;
21955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21956 if (SWIG_arg_fail(2)) SWIG_fail
;
21958 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21959 if (SWIG_arg_fail(3)) SWIG_fail
;
21960 if (arg3
== NULL
) {
21961 SWIG_null_ref("wxDC");
21963 if (SWIG_arg_fail(3)) SWIG_fail
;
21967 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21970 arg5
= (int)(SWIG_As_int(obj4
));
21971 if (SWIG_arg_fail(5)) SWIG_fail
;
21974 arg6
= (wxOrientation
)(SWIG_As_int(obj5
));
21975 if (SWIG_arg_fail(6)) SWIG_fail
;
21979 arg7
= (int)(SWIG_As_int(obj6
));
21980 if (SWIG_arg_fail(7)) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,(wxOrientation
)arg6
,arg7
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 Py_INCREF(Py_None
); resultobj
= Py_None
;
21997 static PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
;
21999 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22000 wxWindow
*arg2
= (wxWindow
*) 0 ;
22003 int arg5
= (int) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 PyObject
* obj1
= 0 ;
22007 PyObject
* obj2
= 0 ;
22008 PyObject
* obj3
= 0 ;
22009 PyObject
* obj4
= 0 ;
22010 char *kwnames
[] = {
22011 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22016 if (SWIG_arg_fail(1)) SWIG_fail
;
22017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22018 if (SWIG_arg_fail(2)) SWIG_fail
;
22020 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22021 if (SWIG_arg_fail(3)) SWIG_fail
;
22022 if (arg3
== NULL
) {
22023 SWIG_null_ref("wxDC");
22025 if (SWIG_arg_fail(3)) SWIG_fail
;
22029 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22033 arg5
= (int)(SWIG_As_int(obj4
));
22034 if (SWIG_arg_fail(5)) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 Py_INCREF(Py_None
); resultobj
= Py_None
;
22051 static PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22054 wxWindow
*arg2
= (wxWindow
*) 0 ;
22057 int arg5
= (int) 0 ;
22059 PyObject
* obj0
= 0 ;
22060 PyObject
* obj1
= 0 ;
22061 PyObject
* obj2
= 0 ;
22062 PyObject
* obj3
= 0 ;
22063 PyObject
* obj4
= 0 ;
22064 char *kwnames
[] = {
22065 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22070 if (SWIG_arg_fail(1)) SWIG_fail
;
22071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22072 if (SWIG_arg_fail(2)) SWIG_fail
;
22074 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22075 if (SWIG_arg_fail(3)) SWIG_fail
;
22076 if (arg3
== NULL
) {
22077 SWIG_null_ref("wxDC");
22079 if (SWIG_arg_fail(3)) SWIG_fail
;
22083 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22087 arg5
= (int)(SWIG_As_int(obj4
));
22088 if (SWIG_arg_fail(5)) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 static PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22108 wxWindow
*arg2
= (wxWindow
*) 0 ;
22109 SwigValueWrapper
<wxSplitterRenderParams
> result
;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 char *kwnames
[] = {
22113 (char *) "self",(char *) "win", NULL
22116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) goto fail
;
22117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22118 if (SWIG_arg_fail(1)) SWIG_fail
;
22119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22120 if (SWIG_arg_fail(2)) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22129 wxSplitterRenderParams
* resultptr
;
22130 resultptr
= new wxSplitterRenderParams((wxSplitterRenderParams
&)(result
));
22131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
22139 static PyObject
*_wrap_RendererNative_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxRendererNative
*result
;
22142 char *kwnames
[] = {
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_Get",kwnames
)) goto fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 wxRendererNative
&_result_ref
= wxRendererNative::Get();
22151 result
= (wxRendererNative
*) &_result_ref
;
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22164 static PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22165 PyObject
*resultobj
;
22166 wxRendererNative
*result
;
22167 char *kwnames
[] = {
22171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetGeneric",kwnames
)) goto fail
;
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
22176 result
= (wxRendererNative
*) &_result_ref
;
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22189 static PyObject
*_wrap_RendererNative_GetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22191 wxRendererNative
*result
;
22192 char *kwnames
[] = {
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetDefault",kwnames
)) goto fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
22201 result
= (wxRendererNative
*) &_result_ref
;
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22214 static PyObject
*_wrap_RendererNative_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22217 wxRendererNative
*result
;
22218 PyObject
* obj0
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "renderer", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) goto fail
;
22224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22225 if (SWIG_arg_fail(1)) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22240 static PyObject
*_wrap_RendererNative_GetVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22243 SwigValueWrapper
<wxRendererVersion
> result
;
22244 PyObject
* obj0
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "self", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_GetVersion",kwnames
,&obj0
)) goto fail
;
22250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22251 if (SWIG_arg_fail(1)) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22260 wxRendererVersion
* resultptr
;
22261 resultptr
= new wxRendererVersion((wxRendererVersion
&)(result
));
22262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRendererVersion
, 1);
22270 static PyObject
* RendererNative_swigregister(PyObject
*, PyObject
*args
) {
22272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22273 SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative
, obj
);
22275 return Py_BuildValue((char *)"");
22277 static PyMethodDef SwigMethods
[] = {
22278 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22279 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22280 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22281 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22282 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22283 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
22284 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22285 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22286 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22287 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22288 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22289 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22290 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22291 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22292 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22293 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22294 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22295 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22296 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22297 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22298 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22299 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22300 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
22301 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22302 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22303 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22304 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22305 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22306 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22307 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
22308 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22309 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22310 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22311 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22312 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22313 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22314 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22315 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22316 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22317 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22318 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22319 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22320 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22321 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22322 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22323 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22324 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22325 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22326 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22327 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22328 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22329 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
22330 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22331 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22332 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22333 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22334 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22335 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22336 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22337 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22338 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22339 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22340 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22341 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
22342 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22343 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22344 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22345 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22346 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22347 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22348 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22349 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22350 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22351 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22352 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22353 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22354 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22355 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22356 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22357 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22358 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22359 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22360 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22361 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22362 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22363 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22364 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22365 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22366 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22367 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22368 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22369 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22370 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22371 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22372 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22373 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
22374 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22375 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
22376 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22377 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22378 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22379 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22380 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22381 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22382 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22383 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22384 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22385 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22386 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22387 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22388 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22389 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22390 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22391 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22392 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22393 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22394 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
22395 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22396 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22397 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22398 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22399 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22400 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22401 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22402 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
22403 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22404 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22405 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22406 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22407 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22408 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22409 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22410 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
22411 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22412 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22413 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22414 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22415 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22416 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22417 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22418 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22419 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22420 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22421 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22422 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22423 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22424 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22425 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
22426 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22427 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22428 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22429 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22430 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22431 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22432 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22433 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22434 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22435 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22436 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22437 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22438 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22439 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22440 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22441 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22442 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22443 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22444 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22445 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22446 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22447 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22448 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22449 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22450 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22451 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22452 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22453 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22454 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
22455 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22456 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22457 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22458 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22459 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22460 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22461 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22462 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22463 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22464 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22465 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22466 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22467 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22468 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
22469 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22470 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22471 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22472 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22473 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22474 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22475 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22476 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22477 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22478 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22479 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22480 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22481 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22482 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22483 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22484 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22485 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22486 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22487 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22488 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22489 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22490 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22491 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22492 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22493 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22494 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
22495 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22496 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22497 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22498 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22499 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22500 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22501 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22502 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22503 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
22504 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22505 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22506 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22507 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22508 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22509 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22510 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22511 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22512 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22513 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22514 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22515 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22516 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22517 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22518 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22519 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22520 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22521 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22522 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22523 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
22524 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22525 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22526 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22527 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22528 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22529 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22530 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22531 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22532 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22533 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22534 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22535 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22536 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22537 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22538 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22539 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22540 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22541 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22542 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22543 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22544 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22545 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22546 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22547 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22548 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22549 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22550 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22551 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22552 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22553 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22554 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22555 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22556 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22557 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22558 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22559 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22560 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22561 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22562 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22563 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22564 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22565 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
22566 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22567 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22568 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22569 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22570 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22571 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22572 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22573 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
22574 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22575 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22576 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22577 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22578 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22579 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22580 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
22581 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22582 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22583 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22584 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22585 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22586 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22587 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22588 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22589 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22590 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22591 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22592 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22593 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22594 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22595 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22596 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22597 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22598 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22599 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22600 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22601 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22602 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
22603 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22604 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
22605 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22606 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22607 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22608 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22609 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22610 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22611 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22612 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
22613 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22614 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22615 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22616 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22617 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22618 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22619 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22620 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22621 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22622 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22623 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22624 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22625 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22626 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22627 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22628 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22629 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22630 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22631 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22632 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22633 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22634 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22635 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22636 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22637 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22638 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22639 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22640 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22641 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22642 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22643 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22644 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22645 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22646 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22647 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22648 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22649 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22650 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22651 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22652 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22653 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22654 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22655 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22656 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22657 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22658 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22659 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22660 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22661 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22662 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22663 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22664 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22665 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22666 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22667 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22668 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22669 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22670 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22671 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22672 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22673 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22674 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22675 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22676 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22677 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22678 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22679 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22680 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22681 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22682 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22683 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22684 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22685 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22686 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22687 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22688 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22689 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22690 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22691 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22692 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22693 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22694 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22695 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22696 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22697 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22698 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22699 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22700 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22701 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22702 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22703 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22704 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22705 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22706 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22707 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22708 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22709 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22710 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22711 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22712 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22713 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22714 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22715 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22716 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22717 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22718 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22719 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22720 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22721 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22722 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22723 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22724 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22725 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22726 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22727 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22728 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22729 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22730 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22731 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22732 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22733 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22734 { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22735 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22736 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22737 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22738 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22739 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22740 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22741 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
22742 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22743 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22744 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22745 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
22746 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
22747 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22748 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22749 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
22750 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22751 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
22752 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22753 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22754 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22755 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22756 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
22757 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22758 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
22759 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22760 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
22761 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22762 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
22763 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22764 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
22765 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22766 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22767 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22768 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22769 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22770 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
22771 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22772 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22773 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22774 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22775 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22776 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22777 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22778 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22779 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
22780 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22781 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22782 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
22783 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22784 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
22785 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22786 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22787 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22788 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22789 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22790 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22791 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22792 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22793 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22794 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22795 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22796 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22797 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22798 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
22799 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22800 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22801 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22802 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22803 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
22804 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22805 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22806 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22807 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22808 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
22809 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22810 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22811 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22812 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22813 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22814 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22815 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
22816 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22817 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22818 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22819 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22820 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
22821 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22822 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22823 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22824 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22825 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22826 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22827 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22828 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22829 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22830 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22831 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22832 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22833 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22834 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22835 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
22836 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22837 { (char *)"delete_SplitterRenderParams", (PyCFunction
) _wrap_delete_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22838 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
) _wrap_SplitterRenderParams_widthSash_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22839 { (char *)"SplitterRenderParams_border_get", (PyCFunction
) _wrap_SplitterRenderParams_border_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22840 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
) _wrap_SplitterRenderParams_isHotSensitive_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22841 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
22842 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22843 { (char *)"delete_RendererVersion", (PyCFunction
) _wrap_delete_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22844 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22845 { (char *)"RendererVersion_version_get", (PyCFunction
) _wrap_RendererVersion_version_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22846 { (char *)"RendererVersion_age_get", (PyCFunction
) _wrap_RendererVersion_age_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22847 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
22848 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22849 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22850 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22851 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22852 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22853 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22854 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22855 { (char *)"RendererNative_Get", (PyCFunction
) _wrap_RendererNative_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22856 { (char *)"RendererNative_GetGeneric", (PyCFunction
) _wrap_RendererNative_GetGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22857 { (char *)"RendererNative_GetDefault", (PyCFunction
) _wrap_RendererNative_GetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22858 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22859 { (char *)"RendererNative_GetVersion", (PyCFunction
) _wrap_RendererNative_GetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22860 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
22861 { NULL
, NULL
, 0, NULL
}
22865 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
22867 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
22868 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
22870 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
22871 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22873 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
22874 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
22876 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
22877 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
22879 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
22880 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
22882 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
22883 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
22885 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
22886 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
22888 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
22889 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
22891 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
22892 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
22894 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
22895 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
22897 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
22898 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
22900 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
22901 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
22903 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
22904 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
22906 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
22907 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
22909 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
22910 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
22912 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
22913 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
22915 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
22916 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22918 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
22919 return (void *)((wxDC
*) ((wxClientDC
*) x
));
22921 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
22922 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
22924 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
22925 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
22927 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
22928 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
22930 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
22931 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22933 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
22934 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
22936 static void *_p_wxPenTo_p_wxObject(void *x
) {
22937 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
22939 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
22940 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
22942 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
22943 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
22945 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
22946 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
22948 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
22949 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
22951 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
22952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
22954 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
22955 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
22957 static void *_p_wxIconTo_p_wxObject(void *x
) {
22958 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
22960 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
22961 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
22963 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
22964 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
22966 static void *_p_wxSizerTo_p_wxObject(void *x
) {
22967 return (void *)((wxObject
*) ((wxSizer
*) x
));
22969 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
22970 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
22972 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
22973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22975 static void *_p_wxPenListTo_p_wxObject(void *x
) {
22976 return (void *)((wxObject
*) ((wxPenList
*) x
));
22978 static void *_p_wxEventTo_p_wxObject(void *x
) {
22979 return (void *)((wxObject
*) ((wxEvent
*) x
));
22981 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
22982 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
22984 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
22985 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
22987 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
22988 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
22990 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
22991 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
22993 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
22994 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
22996 static void *_p_wxDCTo_p_wxObject(void *x
) {
22997 return (void *)((wxObject
*) ((wxDC
*) x
));
22999 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23000 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23002 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23003 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23005 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23006 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23008 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23009 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23011 static void *_p_wxControlTo_p_wxObject(void *x
) {
23012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23014 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23015 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23017 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
23018 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
23020 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23021 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23023 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
23024 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
23026 static void *_p_wxRegionTo_p_wxObject(void *x
) {
23027 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
23029 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23030 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23032 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
23033 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
23035 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
23036 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
23038 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
23039 return (void *)((wxObject
*) ((wxEffects
*) x
));
23041 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23042 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23044 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23047 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
23048 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
23050 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23051 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23053 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23054 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23056 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
23057 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
23059 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23060 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23062 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23063 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23065 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23066 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23068 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23069 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23071 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23072 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23074 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23075 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23077 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23078 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23080 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23081 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23083 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23084 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23086 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23087 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23089 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23090 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23092 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23093 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23095 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23098 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23099 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23101 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23102 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23104 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23105 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23107 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23108 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23110 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23111 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23113 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23114 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23116 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23117 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23119 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23120 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23122 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
23123 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
23125 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
23126 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
23128 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
23129 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
23131 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
23132 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
23134 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
23135 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
23137 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23138 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23140 static void *_p_wxImageTo_p_wxObject(void *x
) {
23141 return (void *)((wxObject
*) ((wxImage
*) x
));
23143 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23144 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23146 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
23147 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
23149 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
23150 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
23152 static void *_p_wxImageListTo_p_wxObject(void *x
) {
23153 return (void *)((wxObject
*) ((wxImageList
*) x
));
23155 static void *_p_wxCursorTo_p_wxObject(void *x
) {
23156 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
23158 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
23159 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
23161 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
23162 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
23164 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23165 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23167 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23168 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23170 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23171 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23173 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23174 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23176 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23177 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23179 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23182 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
23183 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
23185 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
23186 return (void *)((wxObject
*) ((wxBrushList
*) x
));
23188 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
23189 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
23191 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
23192 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
23194 static void *_p_wxMaskTo_p_wxObject(void *x
) {
23195 return (void *)((wxObject
*) ((wxMask
*) x
));
23197 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
23198 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23200 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
23201 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
23203 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
23204 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
23206 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
23207 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
23209 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
23210 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
23212 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
23213 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
23215 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
23216 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23218 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
23219 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
23221 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
23222 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
23224 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
23225 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
23227 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
23228 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23230 static void *_p_wxFontTo_p_wxObject(void *x
) {
23231 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
23233 static void *_p_wxBrushTo_p_wxObject(void *x
) {
23234 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
23236 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
23237 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
23239 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
23240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23242 static void *_p_wxColourTo_p_wxObject(void *x
) {
23243 return (void *)((wxObject
*) ((wxColour
*) x
));
23245 static void *_p_wxFontListTo_p_wxObject(void *x
) {
23246 return (void *)((wxObject
*) ((wxFontList
*) x
));
23248 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
23249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
23251 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
23252 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
23254 static void *_p_wxControlTo_p_wxWindow(void *x
) {
23255 return (void *)((wxWindow
*) ((wxControl
*) x
));
23257 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
23258 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
23260 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
23261 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
23263 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}};
23264 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}};
23265 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}};
23266 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}};
23267 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}};
23268 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}};
23269 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}};
23270 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}};
23271 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}};
23272 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}};
23273 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}};
23274 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}};
23275 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}};
23276 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}};
23277 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}};
23278 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}};
23279 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}};
23280 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}};
23281 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}};
23282 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}};
23283 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}};
23284 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}};
23285 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}};
23286 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}};
23287 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPenList", _p_wxPenListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
23288 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}};
23289 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}};
23290 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}};
23291 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}};
23292 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}};
23293 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}};
23294 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}};
23295 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}};
23296 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}};
23297 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}};
23298 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}};
23299 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}};
23300 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}};
23301 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}};
23302 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}};
23303 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}};
23304 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}};
23305 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}};
23306 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}};
23307 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}};
23308 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}};
23309 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}};
23310 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
23311 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}};
23312 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}};
23313 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}};
23314 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}};
23315 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}};
23316 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}};
23317 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}};
23318 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}};
23319 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}};
23320 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}};
23321 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}};
23322 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}};
23323 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}};
23324 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}};
23325 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}};
23326 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}};
23327 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}};
23329 static swig_type_info
*swig_types_initial
[] = {
23330 _swigt__p_wxPostScriptDC
,
23332 _swigt__p_wxColour
,
23334 _swigt__p_wxMirrorDC
,
23335 _swigt__p_form_ops_t
,
23336 _swigt__p_wxRendererVersion
,
23337 _swigt__p_wxDuplexMode
,
23338 _swigt__p_wxPyFontEnumerator
,
23340 _swigt__p_wxIconLocation
,
23342 _swigt__p_wxMetaFileDC
,
23346 _swigt__p_wxWindow
,
23348 _swigt__p_wxMemoryDC
,
23349 _swigt__p_wxFontMapper
,
23350 _swigt__p_wxEffects
,
23351 _swigt__p_wxNativeEncodingInfo
,
23352 _swigt__p_wxPalette
,
23353 _swigt__p_wxBitmap
,
23354 _swigt__p_wxObject
,
23355 _swigt__p_wxRegionIterator
,
23357 _swigt__p_wxPaperSize
,
23358 _swigt__p_wxString
,
23359 _swigt__unsigned_int
,
23360 _swigt__p_unsigned_int
,
23361 _swigt__p_wxPrinterDC
,
23362 _swigt__p_wxIconBundle
,
23365 _swigt__p_wxScreenDC
,
23366 _swigt__p_wxCursor
,
23367 _swigt__p_wxClientDC
,
23368 _swigt__p_wxBufferedDC
,
23369 _swigt__p_wxImageList
,
23370 _swigt__p_unsigned_char
,
23371 _swigt__p_wxGDIObject
,
23373 _swigt__p_wxLocale
,
23375 _swigt__std__ptrdiff_t
,
23376 _swigt__p_wxRegion
,
23377 _swigt__p_wxConfigBase
,
23378 _swigt__p_wxLanguageInfo
,
23379 _swigt__p_wxWindowDC
,
23380 _swigt__p_wxPrintData
,
23381 _swigt__p_wxBrushList
,
23382 _swigt__p_wxFontList
,
23384 _swigt__p_wxBufferedPaintDC
,
23385 _swigt__p_wxPaintDC
,
23386 _swigt__p_wxPenList
,
23388 _swigt__p_wxMetaFile
,
23389 _swigt__p_wxRendererNative
,
23390 _swigt__p_unsigned_long
,
23391 _swigt__p_wxNativeFontInfo
,
23392 _swigt__p_wxEncodingConverter
,
23393 _swigt__p_wxSplitterRenderParams
,
23394 _swigt__p_wxColourDatabase
,
23399 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23401 static swig_const_info swig_const_table
[] = {
23402 {0, 0, 0, 0.0, 0, 0}};
23413 /* Python-specific SWIG API */
23414 #define SWIG_newvarlink() SWIG_Python_newvarlink()
23415 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
23416 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
23418 /* -----------------------------------------------------------------------------
23419 * global variable support code.
23420 * ----------------------------------------------------------------------------- */
23422 typedef struct swig_globalvar
{
23423 char *name
; /* Name of global variable */
23424 PyObject
*(*get_attr
)(); /* Return the current value */
23425 int (*set_attr
)(PyObject
*); /* Set the value */
23426 struct swig_globalvar
*next
;
23429 typedef struct swig_varlinkobject
{
23431 swig_globalvar
*vars
;
23432 } swig_varlinkobject
;
23435 swig_varlink_repr(swig_varlinkobject
*v
) {
23437 return PyString_FromString("<Swig global variables>");
23441 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
23442 swig_globalvar
*var
;
23444 fprintf(fp
,"Swig global variables { ");
23445 for (var
= v
->vars
; var
; var
=var
->next
) {
23446 fprintf(fp
,"%s", var
->name
);
23447 if (var
->next
) fprintf(fp
,", ");
23449 fprintf(fp
," }\n");
23454 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
23455 swig_globalvar
*var
= v
->vars
;
23457 if (strcmp(var
->name
,n
) == 0) {
23458 return (*var
->get_attr
)();
23462 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23467 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
23468 swig_globalvar
*var
= v
->vars
;
23470 if (strcmp(var
->name
,n
) == 0) {
23471 return (*var
->set_attr
)(p
);
23475 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23479 static PyTypeObject varlinktype
= {
23480 PyObject_HEAD_INIT(0)
23481 0, /* Number of items in variable part (ob_size) */
23482 (char *)"swigvarlink", /* Type name (tp_name) */
23483 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
23484 0, /* Itemsize (tp_itemsize) */
23485 0, /* Deallocator (tp_dealloc) */
23486 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
23487 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
23488 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
23489 0, /* tp_compare */
23490 (reprfunc
) swig_varlink_repr
, /* tp_repr */
23491 0, /* tp_as_number */
23492 0, /* tp_as_sequence */
23493 0, /* tp_as_mapping */
23497 0, /* tp_getattro */
23498 0, /* tp_setattro */
23499 0, /* tp_as_buffer */
23502 #if PY_VERSION_HEX >= 0x02000000
23503 0, /* tp_traverse */
23506 #if PY_VERSION_HEX >= 0x02010000
23507 0, /* tp_richcompare */
23508 0, /* tp_weaklistoffset */
23510 #if PY_VERSION_HEX >= 0x02020000
23511 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
23513 #if PY_VERSION_HEX >= 0x02030000
23516 #ifdef COUNT_ALLOCS
23517 0,0,0,0 /* tp_alloc -> tp_next */
23521 /* Create a variable linking object for use later */
23523 SWIG_Python_newvarlink(void) {
23524 swig_varlinkobject
*result
= 0;
23525 result
= PyMem_NEW(swig_varlinkobject
,1);
23526 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
23527 result
->ob_type
= &varlinktype
;
23529 result
->ob_refcnt
= 0;
23530 Py_XINCREF((PyObject
*) result
);
23531 return ((PyObject
*) result
);
23535 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
23536 swig_varlinkobject
*v
;
23537 swig_globalvar
*gv
;
23538 v
= (swig_varlinkobject
*) p
;
23539 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
23540 gv
->name
= (char *) malloc(strlen(name
)+1);
23541 strcpy(gv
->name
,name
);
23542 gv
->get_attr
= get_attr
;
23543 gv
->set_attr
= set_attr
;
23544 gv
->next
= v
->vars
;
23548 /* -----------------------------------------------------------------------------
23549 * constants/methods manipulation
23550 * ----------------------------------------------------------------------------- */
23552 /* Install Constants */
23554 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
23557 for (i
= 0; constants
[i
].type
; i
++) {
23558 switch(constants
[i
].type
) {
23560 obj
= PyInt_FromLong(constants
[i
].lvalue
);
23562 case SWIG_PY_FLOAT
:
23563 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
23565 case SWIG_PY_STRING
:
23566 if (constants
[i
].pvalue
) {
23567 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
23569 Py_INCREF(Py_None
);
23573 case SWIG_PY_POINTER
:
23574 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
23576 case SWIG_PY_BINARY
:
23577 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
23584 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
23590 /* -----------------------------------------------------------------------------*/
23591 /* Fix SwigMethods to carry the callback ptrs when needed */
23592 /* -----------------------------------------------------------------------------*/
23595 SWIG_Python_FixMethods(PyMethodDef
*methods
,
23596 swig_const_info
*const_table
,
23597 swig_type_info
**types
,
23598 swig_type_info
**types_initial
) {
23600 for (i
= 0; methods
[i
].ml_name
; ++i
) {
23601 char *c
= methods
[i
].ml_doc
;
23602 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
23604 swig_const_info
*ci
= 0;
23605 char *name
= c
+ 10;
23606 for (j
= 0; const_table
[j
].type
; j
++) {
23607 if (strncmp(const_table
[j
].name
, name
,
23608 strlen(const_table
[j
].name
)) == 0) {
23609 ci
= &(const_table
[j
]);
23614 size_t shift
= (ci
->ptype
) - types
;
23615 swig_type_info
*ty
= types_initial
[shift
];
23616 size_t ldoc
= (c
- methods
[i
].ml_doc
);
23617 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
23618 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
23620 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
23621 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
23623 strncpy(buff
, "swig_ptr: ", 10);
23625 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
23626 methods
[i
].ml_doc
= ndoc
;
23632 /* -----------------------------------------------------------------------------*
23633 * Initialize type list
23634 * -----------------------------------------------------------------------------*/
23636 #if PY_MAJOR_VERSION < 2
23637 /* PyModule_AddObject function was introduced in Python 2.0. The following function
23638 is copied out of Python/modsupport.c in python version 2.3.4 */
23640 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
23643 if (!PyModule_Check(m
)) {
23644 PyErr_SetString(PyExc_TypeError
,
23645 "PyModule_AddObject() needs module as first arg");
23649 PyErr_SetString(PyExc_TypeError
,
23650 "PyModule_AddObject() needs non-NULL value");
23654 dict
= PyModule_GetDict(m
);
23655 if (dict
== NULL
) {
23656 /* Internal error -- modules must have a dict! */
23657 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
23658 PyModule_GetName(m
));
23661 if (PyDict_SetItemString(dict
, name
, o
))
23668 static swig_type_info
**
23669 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
23670 static PyMethodDef swig_empty_runtime_method_table
[] = {
23672 NULL
, NULL
, 0, NULL
23676 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
23677 swig_empty_runtime_method_table
);
23678 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
23679 if (pointer
&& module) {
23680 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
23682 return type_list_handle
;
23685 static swig_type_info
**
23686 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
23687 swig_type_info
**type_pointer
;
23689 /* first check if module already created */
23690 type_pointer
= SWIG_Python_GetTypeListHandle();
23691 if (type_pointer
) {
23692 return type_pointer
;
23694 /* create a new module and variable */
23695 return SWIG_Python_SetTypeListHandle(type_list_handle
);
23703 /* -----------------------------------------------------------------------------*
23704 * Partial Init method
23705 * -----------------------------------------------------------------------------*/
23707 #ifdef SWIG_LINK_RUNTIME
23711 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
23717 SWIGEXPORT(void) SWIG_init(void) {
23718 static PyObject
*SWIG_globals
= 0;
23719 static int typeinit
= 0;
23722 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
23724 /* Fix SwigMethods to carry the callback ptrs when needed */
23725 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
23727 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23728 d
= PyModule_GetDict(m
);
23731 #ifdef SWIG_LINK_RUNTIME
23732 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
23734 # ifndef SWIG_STATIC_RUNTIME
23735 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
23738 for (i
= 0; swig_types_initial
[i
]; i
++) {
23739 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
23743 SWIG_InstallConstants(d
,swig_const_table
);
23746 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));
23749 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));
23752 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));
23755 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));
23758 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));
23761 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));
23764 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));
23767 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));
23770 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));
23773 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));
23776 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));
23779 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));
23782 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));
23785 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));
23788 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));
23791 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));
23794 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));
23797 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));
23800 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));
23803 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));
23806 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));
23809 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));
23812 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));
23815 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));
23818 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));
23821 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));
23824 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));
23827 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));
23830 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));
23833 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));
23836 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));
23839 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));
23842 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));
23845 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));
23848 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));
23851 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));
23854 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));
23857 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));
23860 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));
23863 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));
23866 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));
23869 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));
23872 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));
23875 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));
23878 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));
23881 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));
23884 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));
23887 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));
23890 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));
23893 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));
23896 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));
23899 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));
23902 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));
23905 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));
23908 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));
23911 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));
23914 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));
23917 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));
23920 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));
23923 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));
23926 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));
23929 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));
23932 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));
23935 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));
23938 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));
23941 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));
23944 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));
23947 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));
23950 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));
23953 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));
23956 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));
23959 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));
23962 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));
23965 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));
23968 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));
23971 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));
23974 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));
23977 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));
23980 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));
23983 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));
23986 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));
23989 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));
23992 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));
23995 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));
23998 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));
24001 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));
24004 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));
24007 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));
24010 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));
24013 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));
24016 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));
24019 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));
24022 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));
24025 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));
24028 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));
24031 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));
24034 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));
24037 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));
24040 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));
24043 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));
24046 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));
24049 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));
24052 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));
24055 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));
24058 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));
24061 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));
24064 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));
24067 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));
24070 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));
24073 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));
24076 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));
24079 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));
24082 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));
24085 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));
24088 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));
24091 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));
24094 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));
24097 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));
24100 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));
24103 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));
24106 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));
24109 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));
24112 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));
24115 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));
24118 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));
24121 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));
24124 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));
24127 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
24130 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));
24133 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));
24136 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));
24139 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));
24142 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));
24145 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));
24148 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));
24151 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));
24154 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));
24157 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));
24160 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));
24163 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));
24166 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));
24169 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));
24172 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));
24175 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));
24178 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));
24181 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));
24184 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));
24187 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
24190 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));
24193 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));
24196 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));
24199 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));
24202 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));
24205 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));
24208 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));
24211 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));
24214 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));
24217 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));
24220 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));
24223 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));
24226 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));
24229 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));
24232 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));
24235 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));
24238 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));
24241 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));
24244 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));
24247 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));
24250 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));
24253 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));
24256 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));
24259 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));
24262 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
24265 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));
24268 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));
24271 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));
24274 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));
24277 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));
24280 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));
24283 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));
24286 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));
24289 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));
24292 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));
24295 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));
24298 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));
24301 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));
24304 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));
24307 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
24310 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));
24313 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));
24316 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));
24319 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
24322 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));
24325 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));
24328 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));
24331 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
24334 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
24337 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
24340 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));
24343 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
24346 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));
24349 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));
24352 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));
24355 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));
24358 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));
24361 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));
24364 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));
24367 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));
24370 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));
24373 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
24376 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));
24379 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));
24382 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));
24385 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));
24388 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));
24391 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));
24394 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));
24397 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));
24400 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
24403 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
24406 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));
24409 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));
24412 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));
24415 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));
24418 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));
24421 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));
24424 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));
24427 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));
24430 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));
24433 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));
24436 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));
24439 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));
24442 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));
24445 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));
24448 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));
24451 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));
24454 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));
24457 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));
24460 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));
24463 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));
24466 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));
24469 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));
24472 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));
24475 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));
24478 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));
24481 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));
24484 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));
24487 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));
24490 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));
24493 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));
24496 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));
24499 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));
24502 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));
24505 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));
24508 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));
24511 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));
24514 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));
24517 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));
24520 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));
24523 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));
24526 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
24529 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));
24532 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));
24535 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));
24538 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));
24541 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));
24544 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));
24547 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));
24550 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));
24553 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));
24556 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));
24559 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
24562 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
24565 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));
24568 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));
24571 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));
24574 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));
24577 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));
24580 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));
24583 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
24586 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));
24589 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));
24592 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));
24595 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));
24598 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));
24601 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));
24604 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));
24607 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));
24610 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));
24613 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));
24616 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));
24619 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));
24622 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));
24625 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));
24628 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));
24631 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));
24634 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));
24637 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));
24640 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));
24643 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));
24646 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));
24649 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));
24652 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));
24655 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));
24658 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));
24661 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));
24664 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));
24667 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));
24670 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));
24673 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
24676 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));
24679 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
24682 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));
24685 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));
24688 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));
24691 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));
24694 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));
24697 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));
24700 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));
24703 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));
24706 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
24709 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));
24712 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));
24715 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));
24718 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));
24721 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));
24724 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));
24727 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));
24730 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));
24733 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));
24736 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));
24739 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));
24742 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));
24745 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));
24748 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));
24751 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));
24754 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));
24757 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));
24760 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));
24763 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));
24766 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));
24769 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));
24772 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));
24775 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));
24778 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));
24781 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));
24784 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));
24787 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));
24790 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));
24793 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));
24796 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));
24799 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));
24802 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));
24805 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));
24808 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));
24811 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));
24814 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));
24817 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));
24820 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));
24823 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));
24826 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));
24829 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));
24832 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));
24835 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));
24838 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));
24841 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));
24844 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));
24847 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));
24850 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));
24853 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));
24856 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));
24859 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));
24862 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));
24865 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));
24868 PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int((int)(wxBUFFER_VIRTUAL_AREA
)));
24871 PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int((int)(wxBUFFER_CLIENT_AREA
)));
24874 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));
24877 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));
24880 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));
24883 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));
24886 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));
24889 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));
24892 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));
24894 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24895 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
24896 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
24897 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
24898 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
24899 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
24900 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
24901 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
24902 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
24903 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
24904 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
24905 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
24906 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
24907 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
24908 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
24909 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
24910 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
24911 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
24912 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
24913 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
24914 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
24915 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
24916 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
24917 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
24918 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
24919 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
24920 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
24921 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
24922 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
24923 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
24924 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
24925 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
24926 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
24927 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
24928 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
24929 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
24930 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
24931 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
24932 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
24933 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
24934 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
24935 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
24936 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
24937 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
24938 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
24939 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
24940 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
24942 PyDict_SetItemString(d
,"CONTROL_DISABLED", SWIG_From_int((int)(wxCONTROL_DISABLED
)));
24945 PyDict_SetItemString(d
,"CONTROL_FOCUSED", SWIG_From_int((int)(wxCONTROL_FOCUSED
)));
24948 PyDict_SetItemString(d
,"CONTROL_PRESSED", SWIG_From_int((int)(wxCONTROL_PRESSED
)));
24951 PyDict_SetItemString(d
,"CONTROL_ISDEFAULT", SWIG_From_int((int)(wxCONTROL_ISDEFAULT
)));
24954 PyDict_SetItemString(d
,"CONTROL_ISSUBMENU", SWIG_From_int((int)(wxCONTROL_ISSUBMENU
)));
24957 PyDict_SetItemString(d
,"CONTROL_EXPANDED", SWIG_From_int((int)(wxCONTROL_EXPANDED
)));
24960 PyDict_SetItemString(d
,"CONTROL_CURRENT", SWIG_From_int((int)(wxCONTROL_CURRENT
)));
24963 PyDict_SetItemString(d
,"CONTROL_SELECTED", SWIG_From_int((int)(wxCONTROL_SELECTED
)));
24966 PyDict_SetItemString(d
,"CONTROL_CHECKED", SWIG_From_int((int)(wxCONTROL_CHECKED
)));
24969 PyDict_SetItemString(d
,"CONTROL_CHECKABLE", SWIG_From_int((int)(wxCONTROL_CHECKABLE
)));
24972 PyDict_SetItemString(d
,"CONTROL_UNDETERMINED", SWIG_From_int((int)(wxCONTROL_UNDETERMINED
)));
24975 PyDict_SetItemString(d
,"CONTROL_FLAGS_MASK", SWIG_From_int((int)(wxCONTROL_FLAGS_MASK
)));
24978 PyDict_SetItemString(d
,"CONTROL_DIRTY", SWIG_From_int((int)(wxCONTROL_DIRTY
)));
24981 PyDict_SetItemString(d
,"RendererVersion_Current_Version", SWIG_From_int((int)(wxRendererVersion::Current_Version
)));
24984 PyDict_SetItemString(d
,"RendererVersion_Current_Age", SWIG_From_int((int)(wxRendererVersion::Current_Age
)));
24987 // Work around a chicken/egg problem in drawlist.cpp
24988 wxPyDrawList_SetAPIPtr();