1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
1343 #define SWIGTYPE_p_wxBrush swig_types[1]
1344 #define SWIGTYPE_p_wxColour swig_types[2]
1345 #define SWIGTYPE_p_wxDC swig_types[3]
1346 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
1347 #define SWIGTYPE_p_form_ops_t swig_types[5]
1348 #define SWIGTYPE_p_wxRendererVersion swig_types[6]
1349 #define SWIGTYPE_p_wxDuplexMode swig_types[7]
1350 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[8]
1351 #define SWIGTYPE_p_char swig_types[9]
1352 #define SWIGTYPE_p_wxIconLocation swig_types[10]
1353 #define SWIGTYPE_p_wxImage swig_types[11]
1354 #define SWIGTYPE_p_wxMetaFileDC swig_types[12]
1355 #define SWIGTYPE_p_wxMask swig_types[13]
1356 #define SWIGTYPE_p_wxSize swig_types[14]
1357 #define SWIGTYPE_p_wxFont swig_types[15]
1358 #define SWIGTYPE_p_wxWindow swig_types[16]
1359 #define SWIGTYPE_p_double swig_types[17]
1360 #define SWIGTYPE_p_wxMemoryDC swig_types[18]
1361 #define SWIGTYPE_p_wxFontMapper swig_types[19]
1362 #define SWIGTYPE_p_wxEffects swig_types[20]
1363 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[21]
1364 #define SWIGTYPE_p_wxPalette swig_types[22]
1365 #define SWIGTYPE_p_wxBitmap swig_types[23]
1366 #define SWIGTYPE_p_wxObject swig_types[24]
1367 #define SWIGTYPE_p_wxRegionIterator swig_types[25]
1368 #define SWIGTYPE_p_wxRect swig_types[26]
1369 #define SWIGTYPE_p_wxPaperSize swig_types[27]
1370 #define SWIGTYPE_p_wxString swig_types[28]
1371 #define SWIGTYPE_unsigned_int swig_types[29]
1372 #define SWIGTYPE_p_unsigned_int swig_types[30]
1373 #define SWIGTYPE_p_wxPrinterDC swig_types[31]
1374 #define SWIGTYPE_p_wxIconBundle swig_types[32]
1375 #define SWIGTYPE_p_wxPoint swig_types[33]
1376 #define SWIGTYPE_p_wxDash swig_types[34]
1377 #define SWIGTYPE_p_wxScreenDC swig_types[35]
1378 #define SWIGTYPE_p_wxCursor swig_types[36]
1379 #define SWIGTYPE_p_wxClientDC swig_types[37]
1380 #define SWIGTYPE_p_wxBufferedDC swig_types[38]
1381 #define SWIGTYPE_p_wxImageList swig_types[39]
1382 #define SWIGTYPE_p_unsigned_char swig_types[40]
1383 #define SWIGTYPE_p_wxGDIObject swig_types[41]
1384 #define SWIGTYPE_p_wxIcon swig_types[42]
1385 #define SWIGTYPE_p_wxLocale swig_types[43]
1386 #define SWIGTYPE_ptrdiff_t swig_types[44]
1387 #define SWIGTYPE_std__ptrdiff_t swig_types[45]
1388 #define SWIGTYPE_p_wxRegion swig_types[46]
1389 #define SWIGTYPE_p_wxConfigBase swig_types[47]
1390 #define SWIGTYPE_p_wxLanguageInfo swig_types[48]
1391 #define SWIGTYPE_p_wxWindowDC swig_types[49]
1392 #define SWIGTYPE_p_wxPrintData swig_types[50]
1393 #define SWIGTYPE_p_wxBrushList swig_types[51]
1394 #define SWIGTYPE_p_wxFontList swig_types[52]
1395 #define SWIGTYPE_p_wxPen swig_types[53]
1396 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[54]
1397 #define SWIGTYPE_p_wxPaintDC swig_types[55]
1398 #define SWIGTYPE_p_wxPenList swig_types[56]
1399 #define SWIGTYPE_p_int swig_types[57]
1400 #define SWIGTYPE_p_wxMetaFile swig_types[58]
1401 #define SWIGTYPE_p_wxRendererNative swig_types[59]
1402 #define SWIGTYPE_p_unsigned_long swig_types[60]
1403 #define SWIGTYPE_p_wxNativeFontInfo swig_types[61]
1404 #define SWIGTYPE_p_wxEncodingConverter swig_types[62]
1405 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[63]
1406 #define SWIGTYPE_p_wxColourDatabase swig_types[64]
1407 static swig_type_info
*swig_types
[66];
1409 /* -------- TYPES TABLE (END) -------- */
1412 /*-----------------------------------------------
1413 @(target):= _gdi_.so
1414 ------------------------------------------------*/
1415 #define SWIG_init init_gdi_
1417 #define SWIG_name "_gdi_"
1419 #include "wx/wxPython/wxPython.h"
1420 #include "wx/wxPython/pyclasses.h"
1423 static const wxString
wxPyEmptyString(wxEmptyString
);
1429 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1432 if (value
< min_value
) {
1434 PyErr_Format(PyExc_OverflowError
,
1435 "value %ld is less than '%s' minimum %ld",
1436 value
, errmsg
, min_value
);
1439 } else if (value
> max_value
) {
1441 PyErr_Format(PyExc_OverflowError
,
1442 "value %ld is greater than '%s' maximum %ld",
1443 value
, errmsg
, max_value
);
1452 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1454 if (PyNumber_Check(obj
)) {
1455 if (val
) *val
= PyInt_AsLong(obj
);
1459 SWIG_type_error("number", obj
);
1465 #if INT_MAX != LONG_MAX
1467 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1469 const char* errmsg
= val
? "int" : (char*)0;
1471 if (SWIG_AsVal_long(obj
, &v
)) {
1472 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1473 if (val
) *val
= (int)(v
);
1482 SWIG_type_error(errmsg
, obj
);
1488 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1490 return SWIG_AsVal_long(obj
,(long*)val
);
1496 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1498 if (obj
== Py_True
) {
1499 if (val
) *val
= true;
1502 if (obj
== Py_False
) {
1503 if (val
) *val
= false;
1507 if (SWIG_AsVal_int(obj
, &res
)) {
1508 if (val
) *val
= res
? true : false;
1514 SWIG_type_error("bool", obj
);
1520 SWIGINTERNSHORT
bool
1521 SWIG_As_bool(PyObject
* obj
)
1524 if (!SWIG_AsVal_bool(obj
, &v
)) {
1526 this is needed to make valgrind/purify happier.
1528 memset((void*)&v
, 0, sizeof(bool));
1535 SWIG_Check_bool(PyObject
* obj
)
1537 return SWIG_AsVal_bool(obj
, (bool*)0);
1542 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1545 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1546 SWIG_type_error("unsigned number", obj
);
1549 *val
= (unsigned long)v
;
1555 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1556 unsigned long max_value
,
1559 if (value
> max_value
) {
1561 PyErr_Format(PyExc_OverflowError
,
1562 "value %lu is greater than '%s' minimum %lu",
1563 value
, errmsg
, max_value
);
1572 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1574 const char* errmsg
= val
? "unsigned char" : (char*)0;
1576 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1577 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1578 if (val
) *val
= (unsigned char)(v
);
1587 SWIG_type_error(errmsg
, obj
);
1593 SWIGINTERNSHORT
unsigned char
1594 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1597 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1599 this is needed to make valgrind/purify happier.
1601 memset((void*)&v
, 0, sizeof(unsigned char));
1608 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1610 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1614 SWIGINTERNSHORT
unsigned long
1615 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1618 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1620 this is needed to make valgrind/purify happier.
1622 memset((void*)&v
, 0, sizeof(unsigned long));
1629 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1631 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1635 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1636 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1640 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1641 #define SWIG_From_long PyInt_FromLong
1644 static PyObject
*wxColour_Get(wxColour
*self
){
1645 PyObject
* rv
= PyTuple_New(3);
1651 green
= self
->Green();
1652 blue
= self
->Blue();
1654 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
1655 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
1656 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
1659 static unsigned long wxColour_GetRGB(wxColour
*self
){
1660 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
1663 SWIGINTERNSHORT PyObject
*
1664 SWIG_From_unsigned_SS_long(unsigned long value
)
1666 return (value
> LONG_MAX
) ?
1667 PyLong_FromUnsignedLong(value
)
1668 : PyInt_FromLong((long)(value
));
1673 SWIG_As_int(PyObject
* obj
)
1676 if (!SWIG_AsVal_int(obj
, &v
)) {
1678 this is needed to make valgrind/purify happier.
1680 memset((void*)&v
, 0, sizeof(int));
1687 SWIG_Check_int(PyObject
* obj
)
1689 return SWIG_AsVal_int(obj
, (int*)0);
1693 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1694 #define SWIG_From_int PyInt_FromLong
1698 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1704 } else if (target
== Py_None
) {
1708 if (!PyTuple_Check(target
)) {
1710 target
= PyTuple_New(1);
1711 PyTuple_SetItem(target
, 0, o2
);
1713 o3
= PyTuple_New(1);
1714 PyTuple_SetItem(o3
, 0, o
);
1717 target
= PySequence_Concat(o2
, o3
);
1725 static PyObject
*wxPen_GetDashes(wxPen
*self
){
1727 int count
= self
->GetDashes(&dashes
);
1728 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1729 PyObject
* retval
= PyList_New(0);
1730 for (int x
=0; x
<count
; x
++) {
1731 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
1732 PyList_Append(retval
, pyint
);
1735 wxPyEndBlockThreads(blocked
);
1738 static void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
1739 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1740 int size
= PyList_Size(pyDashes
);
1741 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
1743 // black magic warning! The array of wxDashes needs to exist as
1744 // long as the pen does because wxPen does not copy the array. So
1745 // stick a copy in a Python string object and attach it to _self,
1746 // and then call SetDashes with a pointer to that array. Then
1747 // when the Python pen object is destroyed the array will be
1749 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
1750 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
1752 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
1754 Py_DECREF(strDashes
);
1755 wxPyEndBlockThreads(blocked
);
1757 static bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
1758 static bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
1760 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1761 #define SWIG_From_short PyInt_FromLong
1766 SWIG_AsVal_short(PyObject
*obj
, short *val
)
1768 const char* errmsg
= val
? "short" : (char*)0;
1770 if (SWIG_AsVal_long(obj
, &v
)) {
1771 if (SWIG_CheckLongInRange(v
, SHRT_MIN
, SHRT_MAX
, errmsg
)) {
1772 if (val
) *val
= (short)(v
);
1781 SWIG_type_error(errmsg
, obj
);
1787 SWIGINTERNSHORT
short
1788 SWIG_As_short(PyObject
* obj
)
1791 if (!SWIG_AsVal_short(obj
, &v
)) {
1793 this is needed to make valgrind/purify happier.
1795 memset((void*)&v
, 0, sizeof(short));
1802 SWIG_Check_short(PyObject
* obj
)
1804 return SWIG_AsVal_short(obj
, (short*)0);
1808 #include <wx/image.h>
1810 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1811 char** cArray
= NULL
;
1814 if (!PyList_Check(listOfStrings
)) {
1815 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1818 count
= PyList_Size(listOfStrings
);
1819 cArray
= new char*[count
];
1821 for(int x
=0; x
<count
; x
++) {
1822 // TODO: Need some validation and error checking here
1823 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1829 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1830 char** cArray
= NULL
;
1833 cArray
= ConvertListOfStrings(listOfStrings
);
1836 bmp
= new wxBitmap(cArray
);
1840 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1843 PyString_AsStringAndSize(bits
, &buf
, &length
);
1844 return new wxBitmap(buf
, width
, height
, depth
);
1846 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1847 wxSize
size(self
->GetWidth(), self
->GetHeight());
1850 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1851 wxMask
*mask
= new wxMask(*self
, colour
);
1852 self
->SetMask(mask
);
1854 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1855 self
->SetWidth(size
.x
);
1856 self
->SetHeight(size
.y
);
1858 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
1859 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
1860 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
1862 return new wxMask(bitmap
, *wxBLACK
);
1864 return new wxMask(bitmap
, colour
);
1867 #include <wx/iconbndl.h>
1869 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
1870 wxIcon
* icon
= new wxIcon();
1871 icon
->CopyFromBitmap(bmp
);
1874 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
1875 char** cArray
= NULL
;
1878 cArray
= ConvertListOfStrings(listOfStrings
);
1881 icon
= new wxIcon(cArray
);
1885 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
1889 return new wxIconLocation(*filename
);
1892 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
1899 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
1907 SWIGINTERNSHORT
long
1908 SWIG_As_long(PyObject
* obj
)
1911 if (!SWIG_AsVal_long(obj
, &v
)) {
1913 this is needed to make valgrind/purify happier.
1915 memset((void*)&v
, 0, sizeof(long));
1922 SWIG_Check_long(PyObject
* obj
)
1924 return SWIG_AsVal_long(obj
, (long*)0);
1927 static wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
1929 wxImage
img(cursorName
, type
);
1930 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
1931 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
1932 return new wxCursor(img
);
1934 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
1939 static void wxRegionIterator_Next(wxRegionIterator
*self
){
1942 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
1943 return self
->operator bool();
1946 #include <wx/fontutil.h>
1947 #include <wx/fontmap.h>
1948 #include <wx/fontenum.h>
1950 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
1951 return self
->ToString();
1954 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
1955 static wxNativeEncodingInfo info
;
1956 if ( wxGetNativeFontEncoding(encoding
, &info
) )
1962 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
1963 wxFontEncoding alt_enc
;
1964 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1965 return PyInt_FromLong(alt_enc
);
1971 static wxFont
*new_wxFont(wxString
const &info
){
1972 wxNativeFontInfo nfi
;
1973 nfi
.FromString(info
);
1974 return new wxFont(nfi
);
1976 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1977 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
1979 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1980 return wxFontBase::New(pixelSize
, family
,
1981 style
, weight
, underlined
,
1984 static wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1985 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
1987 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
1988 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
1990 class wxPyFontEnumerator
: public wxFontEnumerator
{
1992 wxPyFontEnumerator() {}
1993 ~wxPyFontEnumerator() {}
1995 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
1996 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
2001 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
2002 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
2005 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
2006 wxArrayString
* arr
= self
->GetEncodings();
2008 return wxArrayString2PyList_helper(*arr
);
2010 return PyList_New(0);
2012 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
2013 wxArrayString
* arr
= self
->GetFacenames();
2015 return wxArrayString2PyList_helper(*arr
);
2017 return PyList_New(0);
2022 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2025 loc
= new wxLocale();
2027 loc
= new wxLocale(language
, flags
);
2028 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2029 // for the floating point conversions and such to work right.
2030 #if PY_VERSION_HEX < 0x02040000
2031 setlocale(LC_NUMERIC
, "C");
2035 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
2036 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
2037 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2038 // for the floating point conversions and such to work right.
2039 #if PY_VERSION_HEX < 0x02040000
2040 setlocale(LC_NUMERIC
, "C");
2044 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2045 bool rc
= self
->Init(language
, flags
);
2046 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2047 // for the floating point conversions and such to work right.
2048 #if PY_VERSION_HEX < 0x02040000
2049 setlocale(LC_NUMERIC
, "C");
2054 #include "wx/wxPython/pydrawxxx.h"
2056 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2058 self
->GetPixel(x
, y
, &col
);
2061 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2063 self
->GetPixel(pt
, &col
);
2068 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2070 if (PyNumber_Check(obj
)) {
2071 if (val
) *val
= PyFloat_AsDouble(obj
);
2075 SWIG_type_error("number", obj
);
2081 SWIGINTERNSHORT
double
2082 SWIG_As_double(PyObject
* obj
)
2085 if (!SWIG_AsVal_double(obj
, &v
)) {
2087 this is needed to make valgrind/purify happier.
2089 memset((void*)&v
, 0, sizeof(double));
2096 SWIG_Check_double(PyObject
* obj
)
2098 return SWIG_AsVal_double(obj
, (double*)0);
2101 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2103 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2107 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2109 self
->GetClippingBox(rect
);
2112 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2114 self
->GetPartialTextExtents(text
, widths
);
2118 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2119 #define SWIG_From_double PyFloat_FromDouble
2123 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2124 self
->SetLogicalOrigin(point
.x
, point
.y
);
2126 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2127 self
->SetDeviceOrigin(point
.x
, point
.y
);
2129 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2130 self
->CalcBoundingBox(point
.x
, point
.y
);
2132 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2133 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2135 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2136 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2138 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2139 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2141 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2142 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2144 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2145 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2147 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2148 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2151 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2159 #include <wx/dcbuffer.h>
2162 #include <wx/dcps.h>
2165 #include <wx/metafile.h>
2169 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2170 self
->AddColour(name
, wxColour(red
, green
, blue
));
2173 #include <wx/effects.h>
2176 #include "wx/renderer.h"
2179 SWIGINTERNSHORT PyObject
*
2180 SWIG_From_bool(bool value
)
2182 PyObject
*obj
= value
? Py_True
: Py_False
;
2190 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxGDIObject
*result
;
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2199 if (!wxPyCheckForApp()) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 result
= (wxGDIObject
*)new wxGDIObject();
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2213 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
*resultobj
;
2215 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2216 PyObject
* obj0
= 0 ;
2218 (char *) "self", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2223 if (SWIG_arg_fail(1)) SWIG_fail
;
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 Py_INCREF(Py_None
); resultobj
= Py_None
;
2238 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
*resultobj
;
2240 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2242 PyObject
* obj0
= 0 ;
2244 (char *) "self", NULL
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2249 if (SWIG_arg_fail(1)) SWIG_fail
;
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 result
= (bool)(arg1
)->GetVisible();
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) SWIG_fail
;
2258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2266 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
*resultobj
;
2268 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2270 PyObject
* obj0
= 0 ;
2271 PyObject
* obj1
= 0 ;
2273 (char *) "self",(char *) "visible", NULL
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2278 if (SWIG_arg_fail(1)) SWIG_fail
;
2280 arg2
= (bool)(SWIG_As_bool(obj1
));
2281 if (SWIG_arg_fail(2)) SWIG_fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 (arg1
)->SetVisible(arg2
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2290 Py_INCREF(Py_None
); resultobj
= Py_None
;
2297 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2299 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2301 PyObject
* obj0
= 0 ;
2303 (char *) "self", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2308 if (SWIG_arg_fail(1)) SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 result
= (bool)(arg1
)->IsNull();
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2325 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2328 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2330 return Py_BuildValue((char *)"");
2332 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 byte arg1
= (byte
) 0 ;
2335 byte arg2
= (byte
) 0 ;
2336 byte arg3
= (byte
) 0 ;
2338 PyObject
* obj0
= 0 ;
2339 PyObject
* obj1
= 0 ;
2340 PyObject
* obj2
= 0 ;
2342 (char *) "red",(char *) "green",(char *) "blue", NULL
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2348 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
2349 if (SWIG_arg_fail(1)) SWIG_fail
;
2354 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2355 if (SWIG_arg_fail(2)) SWIG_fail
;
2360 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2361 if (SWIG_arg_fail(3)) SWIG_fail
;
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2378 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2380 wxString
*arg1
= 0 ;
2382 bool temp1
= false ;
2383 PyObject
* obj0
= 0 ;
2385 (char *) "colorName", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2390 arg1
= wxString_in_helper(obj0
);
2391 if (arg1
== NULL
) SWIG_fail
;
2395 if (!wxPyCheckForApp()) SWIG_fail
;
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2417 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
;
2419 unsigned long arg1
;
2421 PyObject
* obj0
= 0 ;
2423 (char *) "colRGB", NULL
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2428 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
2429 if (SWIG_arg_fail(1)) SWIG_fail
;
2432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2433 result
= (wxColour
*)new wxColour(arg1
);
2435 wxPyEndAllowThreads(__tstate
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2445 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
*resultobj
;
2447 wxColour
*arg1
= (wxColour
*) 0 ;
2448 PyObject
* obj0
= 0 ;
2450 (char *) "self", NULL
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2455 if (SWIG_arg_fail(1)) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2463 Py_INCREF(Py_None
); resultobj
= Py_None
;
2470 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
*resultobj
;
2472 wxColour
*arg1
= (wxColour
*) 0 ;
2474 PyObject
* obj0
= 0 ;
2476 (char *) "self", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2481 if (SWIG_arg_fail(1)) SWIG_fail
;
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 result
= (byte
)(arg1
)->Red();
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2490 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2498 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
*resultobj
;
2500 wxColour
*arg1
= (wxColour
*) 0 ;
2502 PyObject
* obj0
= 0 ;
2504 (char *) "self", NULL
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2509 if (SWIG_arg_fail(1)) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 result
= (byte
)(arg1
)->Green();
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2518 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2526 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxColour
*arg1
= (wxColour
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2532 (char *) "self", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2537 if (SWIG_arg_fail(1)) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 result
= (byte
)(arg1
)->Blue();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2546 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2554 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxColour
*arg1
= (wxColour
*) 0 ;
2558 PyObject
* obj0
= 0 ;
2560 (char *) "self", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2565 if (SWIG_arg_fail(1)) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 result
= (bool)(arg1
)->Ok();
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2582 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxColour
*arg1
= (wxColour
*) 0 ;
2588 PyObject
* obj0
= 0 ;
2589 PyObject
* obj1
= 0 ;
2590 PyObject
* obj2
= 0 ;
2591 PyObject
* obj3
= 0 ;
2593 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2598 if (SWIG_arg_fail(1)) SWIG_fail
;
2600 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2601 if (SWIG_arg_fail(2)) SWIG_fail
;
2604 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2605 if (SWIG_arg_fail(3)) SWIG_fail
;
2608 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2609 if (SWIG_arg_fail(4)) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 (arg1
)->Set(arg2
,arg3
,arg4
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 Py_INCREF(Py_None
); resultobj
= Py_None
;
2625 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxColour
*arg1
= (wxColour
*) 0 ;
2628 unsigned long arg2
;
2629 PyObject
* obj0
= 0 ;
2630 PyObject
* obj1
= 0 ;
2632 (char *) "self",(char *) "colRGB", NULL
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2637 if (SWIG_arg_fail(1)) SWIG_fail
;
2639 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
2640 if (SWIG_arg_fail(2)) SWIG_fail
;
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2649 Py_INCREF(Py_None
); resultobj
= Py_None
;
2656 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2657 PyObject
*resultobj
;
2658 wxColour
*arg1
= (wxColour
*) 0 ;
2659 wxString
*arg2
= 0 ;
2660 bool temp2
= false ;
2661 PyObject
* obj0
= 0 ;
2662 PyObject
* obj1
= 0 ;
2664 (char *) "self",(char *) "colourName", NULL
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2669 if (SWIG_arg_fail(1)) SWIG_fail
;
2671 arg2
= wxString_in_helper(obj1
);
2672 if (arg2
== NULL
) SWIG_fail
;
2676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 (arg1
)->InitFromName((wxString
const &)*arg2
);
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2682 Py_INCREF(Py_None
); resultobj
= Py_None
;
2697 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2699 wxColour
*arg1
= (wxColour
*) 0 ;
2701 PyObject
* obj0
= 0 ;
2703 (char *) "self", NULL
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2708 if (SWIG_arg_fail(1)) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2717 resultobj
= SWIG_From_long((long)(result
));
2725 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
*resultobj
;
2727 wxColour
*arg1
= (wxColour
*) 0 ;
2728 wxColour
*arg2
= 0 ;
2731 PyObject
* obj0
= 0 ;
2732 PyObject
* obj1
= 0 ;
2734 (char *) "self",(char *) "colour", NULL
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2739 if (SWIG_arg_fail(1)) SWIG_fail
;
2742 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2760 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxColour
*arg1
= (wxColour
*) 0 ;
2763 wxColour
*arg2
= 0 ;
2766 PyObject
* obj0
= 0 ;
2767 PyObject
* obj1
= 0 ;
2769 (char *) "self",(char *) "colour", NULL
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2774 if (SWIG_arg_fail(1)) SWIG_fail
;
2777 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2795 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxColour
*arg1
= (wxColour
*) 0 ;
2799 PyObject
* obj0
= 0 ;
2801 (char *) "self", NULL
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2806 if (SWIG_arg_fail(1)) SWIG_fail
;
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 result
= (PyObject
*)wxColour_Get(arg1
);
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2821 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
*resultobj
;
2823 wxColour
*arg1
= (wxColour
*) 0 ;
2824 unsigned long result
;
2825 PyObject
* obj0
= 0 ;
2827 (char *) "self", NULL
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2832 if (SWIG_arg_fail(1)) SWIG_fail
;
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 result
= (unsigned long)wxColour_GetRGB(arg1
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2841 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
2849 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2852 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2854 return Py_BuildValue((char *)"");
2856 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
*resultobj
;
2859 unsigned char *arg2
= (unsigned char *) 0 ;
2860 unsigned char *arg3
= (unsigned char *) 0 ;
2861 unsigned char *arg4
= (unsigned char *) 0 ;
2863 PyObject
* obj0
= 0 ;
2864 PyObject
* obj1
= 0 ;
2865 PyObject
* obj2
= 0 ;
2866 PyObject
* obj3
= 0 ;
2868 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2873 arg1
= (int)(SWIG_As_int(obj0
));
2874 if (SWIG_arg_fail(1)) SWIG_fail
;
2876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2877 if (SWIG_arg_fail(2)) SWIG_fail
;
2878 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2879 if (SWIG_arg_fail(3)) SWIG_fail
;
2880 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2881 if (SWIG_arg_fail(4)) SWIG_fail
;
2883 if (!wxPyCheckForApp()) SWIG_fail
;
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
2897 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
*resultobj
;
2899 wxPalette
*arg1
= (wxPalette
*) 0 ;
2900 PyObject
* obj0
= 0 ;
2902 (char *) "self", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
2906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2907 if (SWIG_arg_fail(1)) SWIG_fail
;
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2915 Py_INCREF(Py_None
); resultobj
= Py_None
;
2922 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2924 wxPalette
*arg1
= (wxPalette
*) 0 ;
2929 PyObject
* obj0
= 0 ;
2930 PyObject
* obj1
= 0 ;
2931 PyObject
* obj2
= 0 ;
2932 PyObject
* obj3
= 0 ;
2934 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2939 if (SWIG_arg_fail(1)) SWIG_fail
;
2941 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2942 if (SWIG_arg_fail(2)) SWIG_fail
;
2945 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2946 if (SWIG_arg_fail(3)) SWIG_fail
;
2949 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2950 if (SWIG_arg_fail(4)) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2960 resultobj
= SWIG_From_int((int)(result
));
2968 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxPalette
*arg1
= (wxPalette
*) 0 ;
2972 byte
*arg3
= (byte
*) 0 ;
2973 byte
*arg4
= (byte
*) 0 ;
2974 byte
*arg5
= (byte
*) 0 ;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2985 (char *) "self",(char *) "pixel", NULL
2988 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2989 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2990 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2993 if (SWIG_arg_fail(1)) SWIG_fail
;
2995 arg2
= (int)(SWIG_As_int(obj1
));
2996 if (SWIG_arg_fail(2)) SWIG_fail
;
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3008 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3009 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
3010 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3011 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
3012 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3013 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
3020 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
*resultobj
;
3022 wxPalette
*arg1
= (wxPalette
*) 0 ;
3024 PyObject
* obj0
= 0 ;
3026 (char *) "self", NULL
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
3030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3031 if (SWIG_arg_fail(1)) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3040 resultobj
= SWIG_From_int((int)(result
));
3048 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxPalette
*arg1
= (wxPalette
*) 0 ;
3052 PyObject
* obj0
= 0 ;
3054 (char *) "self", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3059 if (SWIG_arg_fail(1)) SWIG_fail
;
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 result
= (bool)(arg1
)->Ok();
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3076 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3079 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3081 return Py_BuildValue((char *)"");
3083 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxColour
*arg1
= 0 ;
3086 int arg2
= (int) 1 ;
3087 int arg3
= (int) wxSOLID
;
3090 PyObject
* obj0
= 0 ;
3091 PyObject
* obj1
= 0 ;
3092 PyObject
* obj2
= 0 ;
3094 (char *) "colour",(char *) "width",(char *) "style", NULL
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3100 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3104 arg2
= (int)(SWIG_As_int(obj1
));
3105 if (SWIG_arg_fail(2)) SWIG_fail
;
3110 arg3
= (int)(SWIG_As_int(obj2
));
3111 if (SWIG_arg_fail(3)) SWIG_fail
;
3115 if (!wxPyCheckForApp()) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3129 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxPen
*arg1
= (wxPen
*) 0 ;
3132 PyObject
* obj0
= 0 ;
3134 (char *) "self", NULL
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3139 if (SWIG_arg_fail(1)) SWIG_fail
;
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3147 Py_INCREF(Py_None
); resultobj
= Py_None
;
3154 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
*resultobj
;
3156 wxPen
*arg1
= (wxPen
*) 0 ;
3158 PyObject
* obj0
= 0 ;
3160 (char *) "self", NULL
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3165 if (SWIG_arg_fail(1)) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 result
= (int)(arg1
)->GetCap();
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3174 resultobj
= SWIG_From_int((int)(result
));
3182 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxPen
*arg1
= (wxPen
*) 0 ;
3186 PyObject
* obj0
= 0 ;
3188 (char *) "self", NULL
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3193 if (SWIG_arg_fail(1)) SWIG_fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 result
= (arg1
)->GetColour();
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3202 wxColour
* resultptr
;
3203 resultptr
= new wxColour((wxColour
&)(result
));
3204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3212 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
;
3214 wxPen
*arg1
= (wxPen
*) 0 ;
3216 PyObject
* obj0
= 0 ;
3218 (char *) "self", NULL
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3223 if (SWIG_arg_fail(1)) SWIG_fail
;
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 result
= (int)(arg1
)->GetJoin();
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3232 resultobj
= SWIG_From_int((int)(result
));
3240 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxPen
*arg1
= (wxPen
*) 0 ;
3244 PyObject
* obj0
= 0 ;
3246 (char *) "self", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3251 if (SWIG_arg_fail(1)) SWIG_fail
;
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 result
= (int)(arg1
)->GetStyle();
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3260 resultobj
= SWIG_From_int((int)(result
));
3268 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxPen
*arg1
= (wxPen
*) 0 ;
3272 PyObject
* obj0
= 0 ;
3274 (char *) "self", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (int)(arg1
)->GetWidth();
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3288 resultobj
= SWIG_From_int((int)(result
));
3296 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxPen
*arg1
= (wxPen
*) 0 ;
3300 PyObject
* obj0
= 0 ;
3302 (char *) "self", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3307 if (SWIG_arg_fail(1)) SWIG_fail
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 result
= (bool)(arg1
)->Ok();
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3324 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxPen
*arg1
= (wxPen
*) 0 ;
3328 PyObject
* obj0
= 0 ;
3329 PyObject
* obj1
= 0 ;
3331 (char *) "self",(char *) "cap_style", NULL
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3336 if (SWIG_arg_fail(1)) SWIG_fail
;
3338 arg2
= (int)(SWIG_As_int(obj1
));
3339 if (SWIG_arg_fail(2)) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 (arg1
)->SetCap(arg2
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 Py_INCREF(Py_None
); resultobj
= Py_None
;
3355 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
*resultobj
;
3357 wxPen
*arg1
= (wxPen
*) 0 ;
3358 wxColour
*arg2
= 0 ;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3363 (char *) "self",(char *) "colour", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3368 if (SWIG_arg_fail(1)) SWIG_fail
;
3371 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 (arg1
)->SetColour(*arg2
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 Py_INCREF(Py_None
); resultobj
= Py_None
;
3387 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
*resultobj
;
3389 wxPen
*arg1
= (wxPen
*) 0 ;
3391 PyObject
* obj0
= 0 ;
3392 PyObject
* obj1
= 0 ;
3394 (char *) "self",(char *) "join_style", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3399 if (SWIG_arg_fail(1)) SWIG_fail
;
3401 arg2
= (int)(SWIG_As_int(obj1
));
3402 if (SWIG_arg_fail(2)) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 (arg1
)->SetJoin(arg2
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3411 Py_INCREF(Py_None
); resultobj
= Py_None
;
3418 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
*resultobj
;
3420 wxPen
*arg1
= (wxPen
*) 0 ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3425 (char *) "self",(char *) "style", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3430 if (SWIG_arg_fail(1)) SWIG_fail
;
3432 arg2
= (int)(SWIG_As_int(obj1
));
3433 if (SWIG_arg_fail(2)) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 (arg1
)->SetStyle(arg2
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 Py_INCREF(Py_None
); resultobj
= Py_None
;
3449 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxPen
*arg1
= (wxPen
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3454 PyObject
* obj1
= 0 ;
3456 (char *) "self",(char *) "width", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3461 if (SWIG_arg_fail(1)) SWIG_fail
;
3463 arg2
= (int)(SWIG_As_int(obj1
));
3464 if (SWIG_arg_fail(2)) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 (arg1
)->SetWidth(arg2
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 Py_INCREF(Py_None
); resultobj
= Py_None
;
3480 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxPen
*arg1
= (wxPen
*) 0 ;
3484 wxDash
*arg3
= (wxDash
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3488 (char *) "self",(char *) "dashes", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3493 if (SWIG_arg_fail(1)) SWIG_fail
;
3495 arg2
= PyList_Size(obj1
);
3496 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3497 if (arg3
== NULL
) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 (arg1
)->SetDashes(arg2
,arg3
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 Py_INCREF(Py_None
); resultobj
= Py_None
;
3508 if (arg3
) delete [] arg3
;
3513 if (arg3
) delete [] arg3
;
3519 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxPen
*arg1
= (wxPen
*) 0 ;
3523 PyObject
* obj0
= 0 ;
3525 (char *) "self", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3530 if (SWIG_arg_fail(1)) SWIG_fail
;
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3545 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 wxPen
*arg1
= (wxPen
*) 0 ;
3548 PyObject
*arg2
= (PyObject
*) 0 ;
3549 PyObject
*arg3
= (PyObject
*) 0 ;
3550 PyObject
* obj0
= 0 ;
3551 PyObject
* obj1
= 0 ;
3552 PyObject
* obj2
= 0 ;
3554 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3559 if (SWIG_arg_fail(1)) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 wxPen__SetDashes(arg1
,arg2
,arg3
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 Py_INCREF(Py_None
); resultobj
= Py_None
;
3576 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
*resultobj
;
3578 wxPen
*arg1
= (wxPen
*) 0 ;
3579 wxPen
*arg2
= (wxPen
*) 0 ;
3581 PyObject
* obj0
= 0 ;
3582 PyObject
* obj1
= 0 ;
3584 (char *) "self",(char *) "other", NULL
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3589 if (SWIG_arg_fail(1)) SWIG_fail
;
3590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3591 if (SWIG_arg_fail(2)) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3608 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxPen
*arg1
= (wxPen
*) 0 ;
3611 wxPen
*arg2
= (wxPen
*) 0 ;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3616 (char *) "self",(char *) "other", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3621 if (SWIG_arg_fail(1)) SWIG_fail
;
3622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3623 if (SWIG_arg_fail(2)) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3640 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3643 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3645 return Py_BuildValue((char *)"");
3647 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxColour
*arg1
= 0 ;
3650 int arg2
= (int) wxSOLID
;
3653 PyObject
* obj0
= 0 ;
3654 PyObject
* obj1
= 0 ;
3656 (char *) "colour",(char *) "style", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3662 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3666 arg2
= (int)(SWIG_As_int(obj1
));
3667 if (SWIG_arg_fail(2)) SWIG_fail
;
3671 if (!wxPyCheckForApp()) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3685 static PyObject
*_wrap_new_BrushFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
*resultobj
;
3687 wxBitmap
*arg1
= 0 ;
3689 PyObject
* obj0
= 0 ;
3691 (char *) "stippleBitmap", NULL
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) goto fail
;
3696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3697 if (SWIG_arg_fail(1)) SWIG_fail
;
3699 SWIG_null_ref("wxBitmap");
3701 if (SWIG_arg_fail(1)) SWIG_fail
;
3704 if (!wxPyCheckForApp()) SWIG_fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3718 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
;
3720 wxBrush
*arg1
= (wxBrush
*) 0 ;
3721 PyObject
* obj0
= 0 ;
3723 (char *) "self", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3728 if (SWIG_arg_fail(1)) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3736 Py_INCREF(Py_None
); resultobj
= Py_None
;
3743 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxBrush
*arg1
= (wxBrush
*) 0 ;
3746 wxColour
*arg2
= 0 ;
3748 PyObject
* obj0
= 0 ;
3749 PyObject
* obj1
= 0 ;
3751 (char *) "self",(char *) "col", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3756 if (SWIG_arg_fail(1)) SWIG_fail
;
3759 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 (arg1
)->SetColour((wxColour
const &)*arg2
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 Py_INCREF(Py_None
); resultobj
= Py_None
;
3775 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxBrush
*arg1
= (wxBrush
*) 0 ;
3779 PyObject
* obj0
= 0 ;
3780 PyObject
* obj1
= 0 ;
3782 (char *) "self",(char *) "style", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3787 if (SWIG_arg_fail(1)) SWIG_fail
;
3789 arg2
= (int)(SWIG_As_int(obj1
));
3790 if (SWIG_arg_fail(2)) SWIG_fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 (arg1
)->SetStyle(arg2
);
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3799 Py_INCREF(Py_None
); resultobj
= Py_None
;
3806 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
*resultobj
;
3808 wxBrush
*arg1
= (wxBrush
*) 0 ;
3809 wxBitmap
*arg2
= 0 ;
3810 PyObject
* obj0
= 0 ;
3811 PyObject
* obj1
= 0 ;
3813 (char *) "self",(char *) "stipple", NULL
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3818 if (SWIG_arg_fail(1)) SWIG_fail
;
3820 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3821 if (SWIG_arg_fail(2)) SWIG_fail
;
3823 SWIG_null_ref("wxBitmap");
3825 if (SWIG_arg_fail(2)) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 Py_INCREF(Py_None
); resultobj
= Py_None
;
3841 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxBrush
*arg1
= (wxBrush
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
3851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= ((wxBrush
const *)arg1
)->GetColour();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3861 wxColour
* resultptr
;
3862 resultptr
= new wxColour((wxColour
&)(result
));
3863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3871 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxBrush
*arg1
= (wxBrush
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3877 (char *) "self", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
3881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= SWIG_From_int((int)(result
));
3899 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxBrush
*arg1
= (wxBrush
*) 0 ;
3903 PyObject
* obj0
= 0 ;
3905 (char *) "self", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
3909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3910 if (SWIG_arg_fail(1)) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3925 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxBrush
*arg1
= (wxBrush
*) 0 ;
3929 PyObject
* obj0
= 0 ;
3931 (char *) "self", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
3935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3936 if (SWIG_arg_fail(1)) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3953 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3955 wxBrush
*arg1
= (wxBrush
*) 0 ;
3957 PyObject
* obj0
= 0 ;
3959 (char *) "self", NULL
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
3963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3964 if (SWIG_arg_fail(1)) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 result
= (bool)(arg1
)->Ok();
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3981 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
;
3983 wxBrush
*arg1
= (wxBrush
*) 0 ;
3985 PyObject
* obj0
= 0 ;
3987 (char *) "self", NULL
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
3991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3992 if (SWIG_arg_fail(1)) SWIG_fail
;
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 result
= (short)(arg1
)->MacGetTheme();
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4001 resultobj
= SWIG_From_short((short)(result
));
4009 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
;
4011 wxBrush
*arg1
= (wxBrush
*) 0 ;
4013 PyObject
* obj0
= 0 ;
4014 PyObject
* obj1
= 0 ;
4016 (char *) "self",(char *) "macThemeBrush", NULL
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
4020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4021 if (SWIG_arg_fail(1)) SWIG_fail
;
4023 arg2
= (short)(SWIG_As_short(obj1
));
4024 if (SWIG_arg_fail(2)) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 (arg1
)->MacSetTheme(arg2
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 Py_INCREF(Py_None
); resultobj
= Py_None
;
4040 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
4042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4043 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
4045 return Py_BuildValue((char *)"");
4047 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxString
*arg1
= 0 ;
4050 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
4052 bool temp1
= false ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4056 (char *) "name",(char *) "type", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4061 arg1
= wxString_in_helper(obj0
);
4062 if (arg1
== NULL
) SWIG_fail
;
4067 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4068 if (SWIG_arg_fail(2)) SWIG_fail
;
4072 if (!wxPyCheckForApp()) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4094 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4097 PyObject
* obj0
= 0 ;
4099 (char *) "self", NULL
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4104 if (SWIG_arg_fail(1)) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 Py_INCREF(Py_None
); resultobj
= Py_None
;
4119 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
;
4123 int arg3
= (int) -1 ;
4125 PyObject
* obj0
= 0 ;
4126 PyObject
* obj1
= 0 ;
4127 PyObject
* obj2
= 0 ;
4129 (char *) "width",(char *) "height",(char *) "depth", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4134 arg1
= (int)(SWIG_As_int(obj0
));
4135 if (SWIG_arg_fail(1)) SWIG_fail
;
4138 arg2
= (int)(SWIG_As_int(obj1
));
4139 if (SWIG_arg_fail(2)) SWIG_fail
;
4143 arg3
= (int)(SWIG_As_int(obj2
));
4144 if (SWIG_arg_fail(3)) SWIG_fail
;
4148 if (!wxPyCheckForApp()) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4162 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4166 PyObject
* obj0
= 0 ;
4168 (char *) "icon", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4174 if (SWIG_arg_fail(1)) SWIG_fail
;
4176 SWIG_null_ref("wxIcon");
4178 if (SWIG_arg_fail(1)) SWIG_fail
;
4181 if (!wxPyCheckForApp()) SWIG_fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4195 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4198 int arg2
= (int) -1 ;
4200 PyObject
* obj0
= 0 ;
4201 PyObject
* obj1
= 0 ;
4203 (char *) "image",(char *) "depth", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4209 if (SWIG_arg_fail(1)) SWIG_fail
;
4211 SWIG_null_ref("wxImage");
4213 if (SWIG_arg_fail(1)) SWIG_fail
;
4217 arg2
= (int)(SWIG_As_int(obj1
));
4218 if (SWIG_arg_fail(2)) SWIG_fail
;
4222 if (!wxPyCheckForApp()) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4236 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 PyObject
*arg1
= (PyObject
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4242 (char *) "listOfStrings", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4248 if (!wxPyCheckForApp()) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4262 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 PyObject
*arg1
= (PyObject
*) 0 ;
4267 int arg4
= (int) 1 ;
4269 PyObject
* obj0
= 0 ;
4270 PyObject
* obj1
= 0 ;
4271 PyObject
* obj2
= 0 ;
4272 PyObject
* obj3
= 0 ;
4274 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4280 arg2
= (int)(SWIG_As_int(obj1
));
4281 if (SWIG_arg_fail(2)) SWIG_fail
;
4284 arg3
= (int)(SWIG_As_int(obj2
));
4285 if (SWIG_arg_fail(3)) SWIG_fail
;
4289 arg4
= (int)(SWIG_As_int(obj3
));
4290 if (SWIG_arg_fail(4)) SWIG_fail
;
4294 if (!wxPyCheckForApp()) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4308 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4314 (char *) "self", NULL
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 result
= (bool)(arg1
)->Ok();
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4336 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4340 PyObject
* obj0
= 0 ;
4342 (char *) "self", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 result
= (int)(arg1
)->GetWidth();
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_From_int((int)(result
));
4364 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
;
4366 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4368 PyObject
* obj0
= 0 ;
4370 (char *) "self", NULL
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4375 if (SWIG_arg_fail(1)) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 result
= (int)(arg1
)->GetHeight();
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= SWIG_From_int((int)(result
));
4392 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4396 PyObject
* obj0
= 0 ;
4398 (char *) "self", NULL
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4403 if (SWIG_arg_fail(1)) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 result
= (int)(arg1
)->GetDepth();
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= SWIG_From_int((int)(result
));
4420 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4422 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4424 PyObject
* obj0
= 0 ;
4426 (char *) "self", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4431 if (SWIG_arg_fail(1)) SWIG_fail
;
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 result
= wxBitmap_GetSize(arg1
);
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4441 resultptr
= new wxSize((wxSize
&)(result
));
4442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4450 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4453 SwigValueWrapper
<wxImage
> result
;
4454 PyObject
* obj0
= 0 ;
4456 (char *) "self", NULL
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4461 if (SWIG_arg_fail(1)) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4470 wxImage
* resultptr
;
4471 resultptr
= new wxImage((wxImage
&)(result
));
4472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4480 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4486 (char *) "self", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail
;
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4506 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4509 wxMask
*arg2
= (wxMask
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4511 PyObject
* obj1
= 0 ;
4513 (char *) "self",(char *) "mask", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4518 if (SWIG_arg_fail(1)) SWIG_fail
;
4519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4520 if (SWIG_arg_fail(2)) SWIG_fail
;
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 (arg1
)->SetMask(arg2
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4528 Py_INCREF(Py_None
); resultobj
= Py_None
;
4535 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
;
4537 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4538 wxColour
*arg2
= 0 ;
4540 PyObject
* obj0
= 0 ;
4541 PyObject
* obj1
= 0 ;
4543 (char *) "self",(char *) "colour", NULL
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4548 if (SWIG_arg_fail(1)) SWIG_fail
;
4551 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) SWIG_fail
;
4560 Py_INCREF(Py_None
); resultobj
= Py_None
;
4567 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
*resultobj
;
4569 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4571 SwigValueWrapper
<wxBitmap
> result
;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4576 (char *) "self",(char *) "rect", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4581 if (SWIG_arg_fail(1)) SWIG_fail
;
4584 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4594 wxBitmap
* resultptr
;
4595 resultptr
= new wxBitmap((wxBitmap
&)(result
));
4596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4604 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4607 wxString
*arg2
= 0 ;
4609 wxPalette
*arg4
= (wxPalette
*) NULL
;
4611 bool temp2
= false ;
4612 PyObject
* obj0
= 0 ;
4613 PyObject
* obj1
= 0 ;
4614 PyObject
* obj2
= 0 ;
4615 PyObject
* obj3
= 0 ;
4617 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4622 if (SWIG_arg_fail(1)) SWIG_fail
;
4624 arg2
= wxString_in_helper(obj1
);
4625 if (arg2
== NULL
) SWIG_fail
;
4629 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4630 if (SWIG_arg_fail(3)) SWIG_fail
;
4633 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4634 if (SWIG_arg_fail(4)) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4660 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4663 wxString
*arg2
= 0 ;
4666 bool temp2
= false ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4671 (char *) "self",(char *) "name",(char *) "type", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4676 if (SWIG_arg_fail(1)) SWIG_fail
;
4678 arg2
= wxString_in_helper(obj1
);
4679 if (arg2
== NULL
) SWIG_fail
;
4683 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4684 if (SWIG_arg_fail(3)) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4710 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4714 PyObject
* obj0
= 0 ;
4716 (char *) "self", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4721 if (SWIG_arg_fail(1)) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4736 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4741 PyObject
* obj0
= 0 ;
4742 PyObject
* obj1
= 0 ;
4744 (char *) "self",(char *) "icon", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4749 if (SWIG_arg_fail(1)) SWIG_fail
;
4751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4752 if (SWIG_arg_fail(2)) SWIG_fail
;
4754 SWIG_null_ref("wxIcon");
4756 if (SWIG_arg_fail(2)) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4774 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4781 (char *) "self",(char *) "height", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4786 if (SWIG_arg_fail(1)) SWIG_fail
;
4788 arg2
= (int)(SWIG_As_int(obj1
));
4789 if (SWIG_arg_fail(2)) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 (arg1
)->SetHeight(arg2
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 Py_INCREF(Py_None
); resultobj
= Py_None
;
4805 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4807 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4809 PyObject
* obj0
= 0 ;
4810 PyObject
* obj1
= 0 ;
4812 (char *) "self",(char *) "width", NULL
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4817 if (SWIG_arg_fail(1)) SWIG_fail
;
4819 arg2
= (int)(SWIG_As_int(obj1
));
4820 if (SWIG_arg_fail(2)) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 (arg1
)->SetWidth(arg2
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 Py_INCREF(Py_None
); resultobj
= Py_None
;
4836 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
*resultobj
;
4838 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4840 PyObject
* obj0
= 0 ;
4841 PyObject
* obj1
= 0 ;
4843 (char *) "self",(char *) "depth", NULL
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4848 if (SWIG_arg_fail(1)) SWIG_fail
;
4850 arg2
= (int)(SWIG_As_int(obj1
));
4851 if (SWIG_arg_fail(2)) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 (arg1
)->SetDepth(arg2
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 Py_INCREF(Py_None
); resultobj
= Py_None
;
4867 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4869 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4875 (char *) "self",(char *) "size", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4880 if (SWIG_arg_fail(1)) SWIG_fail
;
4883 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 Py_INCREF(Py_None
); resultobj
= Py_None
;
4899 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
;
4901 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4902 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4907 (char *) "self",(char *) "other", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4912 if (SWIG_arg_fail(1)) SWIG_fail
;
4913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4914 if (SWIG_arg_fail(2)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4931 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4933 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4934 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4939 (char *) "self",(char *) "other", NULL
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4944 if (SWIG_arg_fail(1)) SWIG_fail
;
4945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4946 if (SWIG_arg_fail(2)) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4963 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
4965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4966 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
4968 return Py_BuildValue((char *)"");
4970 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxBitmap
*arg1
= 0 ;
4973 wxColour
const &arg2_defvalue
= wxNullColour
;
4974 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4977 PyObject
* obj0
= 0 ;
4978 PyObject
* obj1
= 0 ;
4980 (char *) "bitmap",(char *) "colour", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
4985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4986 if (SWIG_arg_fail(1)) SWIG_fail
;
4988 SWIG_null_ref("wxBitmap");
4990 if (SWIG_arg_fail(1)) SWIG_fail
;
4995 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4999 if (!wxPyCheckForApp()) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
5013 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
5015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5016 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
5018 return Py_BuildValue((char *)"");
5020 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxString
*arg1
= 0 ;
5024 int arg3
= (int) -1 ;
5025 int arg4
= (int) -1 ;
5027 bool temp1
= false ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5030 PyObject
* obj2
= 0 ;
5031 PyObject
* obj3
= 0 ;
5033 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5038 arg1
= wxString_in_helper(obj0
);
5039 if (arg1
== NULL
) SWIG_fail
;
5043 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
5044 if (SWIG_arg_fail(2)) SWIG_fail
;
5048 arg3
= (int)(SWIG_As_int(obj2
));
5049 if (SWIG_arg_fail(3)) SWIG_fail
;
5054 arg4
= (int)(SWIG_As_int(obj3
));
5055 if (SWIG_arg_fail(4)) SWIG_fail
;
5059 if (!wxPyCheckForApp()) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5081 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 wxIcon
*arg1
= (wxIcon
*) 0 ;
5084 PyObject
* obj0
= 0 ;
5086 (char *) "self", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5091 if (SWIG_arg_fail(1)) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 Py_INCREF(Py_None
); resultobj
= Py_None
;
5106 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5115 if (!wxPyCheckForApp()) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxIcon
*)new wxIcon();
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5129 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxIconLocation
*arg1
= 0 ;
5133 PyObject
* obj0
= 0 ;
5135 (char *) "loc", NULL
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5141 if (SWIG_arg_fail(1)) SWIG_fail
;
5143 SWIG_null_ref("wxIconLocation");
5145 if (SWIG_arg_fail(1)) SWIG_fail
;
5148 if (!wxPyCheckForApp()) SWIG_fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5162 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5163 PyObject
*resultobj
;
5164 wxBitmap
*arg1
= 0 ;
5166 PyObject
* obj0
= 0 ;
5168 (char *) "bmp", NULL
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5174 if (SWIG_arg_fail(1)) SWIG_fail
;
5176 SWIG_null_ref("wxBitmap");
5178 if (SWIG_arg_fail(1)) SWIG_fail
;
5181 if (!wxPyCheckForApp()) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5195 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 PyObject
*arg1
= (PyObject
*) 0 ;
5199 PyObject
* obj0
= 0 ;
5201 (char *) "listOfStrings", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5207 if (!wxPyCheckForApp()) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (wxIcon
*)new_wxIcon(arg1
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5221 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5223 wxIcon
*arg1
= (wxIcon
*) 0 ;
5225 PyObject
* obj0
= 0 ;
5227 (char *) "self", NULL
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5232 if (SWIG_arg_fail(1)) SWIG_fail
;
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 result
= (bool)(arg1
)->Ok();
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5249 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxIcon
*arg1
= (wxIcon
*) 0 ;
5253 PyObject
* obj0
= 0 ;
5255 (char *) "self", NULL
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5260 if (SWIG_arg_fail(1)) SWIG_fail
;
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= (int)(arg1
)->GetWidth();
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_From_int((int)(result
));
5277 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
;
5279 wxIcon
*arg1
= (wxIcon
*) 0 ;
5281 PyObject
* obj0
= 0 ;
5283 (char *) "self", NULL
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5288 if (SWIG_arg_fail(1)) SWIG_fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 result
= (int)(arg1
)->GetHeight();
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5297 resultobj
= SWIG_From_int((int)(result
));
5305 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxIcon
*arg1
= (wxIcon
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5311 (char *) "self", NULL
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5316 if (SWIG_arg_fail(1)) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (int)(arg1
)->GetDepth();
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= SWIG_From_int((int)(result
));
5333 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxIcon
*arg1
= (wxIcon
*) 0 ;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5340 (char *) "self",(char *) "w", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5345 if (SWIG_arg_fail(1)) SWIG_fail
;
5347 arg2
= (int)(SWIG_As_int(obj1
));
5348 if (SWIG_arg_fail(2)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 (arg1
)->SetWidth(arg2
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 Py_INCREF(Py_None
); resultobj
= Py_None
;
5364 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxIcon
*arg1
= (wxIcon
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5371 (char *) "self",(char *) "h", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5376 if (SWIG_arg_fail(1)) SWIG_fail
;
5378 arg2
= (int)(SWIG_As_int(obj1
));
5379 if (SWIG_arg_fail(2)) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 (arg1
)->SetHeight(arg2
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 Py_INCREF(Py_None
); resultobj
= Py_None
;
5395 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
;
5397 wxIcon
*arg1
= (wxIcon
*) 0 ;
5399 PyObject
* obj0
= 0 ;
5400 PyObject
* obj1
= 0 ;
5402 (char *) "self",(char *) "d", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5407 if (SWIG_arg_fail(1)) SWIG_fail
;
5409 arg2
= (int)(SWIG_As_int(obj1
));
5410 if (SWIG_arg_fail(2)) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 (arg1
)->SetDepth(arg2
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 Py_INCREF(Py_None
); resultobj
= Py_None
;
5426 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
;
5428 wxIcon
*arg1
= (wxIcon
*) 0 ;
5429 wxBitmap
*arg2
= 0 ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5433 (char *) "self",(char *) "bmp", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5438 if (SWIG_arg_fail(1)) SWIG_fail
;
5440 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5441 if (SWIG_arg_fail(2)) SWIG_fail
;
5443 SWIG_null_ref("wxBitmap");
5445 if (SWIG_arg_fail(2)) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 Py_INCREF(Py_None
); resultobj
= Py_None
;
5461 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5464 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5466 return Py_BuildValue((char *)"");
5468 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5471 int arg2
= (int) 0 ;
5472 wxIconLocation
*result
;
5473 bool temp1
= false ;
5474 PyObject
* obj0
= 0 ;
5475 PyObject
* obj1
= 0 ;
5477 (char *) "filename",(char *) "num", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5483 arg1
= wxString_in_helper(obj0
);
5484 if (arg1
== NULL
) SWIG_fail
;
5490 arg2
= (int)(SWIG_As_int(obj1
));
5491 if (SWIG_arg_fail(2)) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5516 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5521 (char *) "self", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5526 if (SWIG_arg_fail(1)) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 Py_INCREF(Py_None
); resultobj
= Py_None
;
5541 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5547 (char *) "self", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5552 if (SWIG_arg_fail(1)) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5569 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5572 wxString
*arg2
= 0 ;
5573 bool temp2
= false ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5577 (char *) "self",(char *) "filename", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5582 if (SWIG_arg_fail(1)) SWIG_fail
;
5584 arg2
= wxString_in_helper(obj1
);
5585 if (arg2
== NULL
) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 (arg1
)->SetFileName((wxString
const &)*arg2
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 Py_INCREF(Py_None
); resultobj
= Py_None
;
5610 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
;
5612 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5616 (char *) "self", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5621 if (SWIG_arg_fail(1)) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5626 result
= (wxString
*) &_result_ref
;
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5636 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5645 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5649 PyObject
* obj0
= 0 ;
5650 PyObject
* obj1
= 0 ;
5652 (char *) "self",(char *) "num", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5657 if (SWIG_arg_fail(1)) SWIG_fail
;
5659 arg2
= (int)(SWIG_As_int(obj1
));
5660 if (SWIG_arg_fail(2)) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 wxIconLocation_SetIndex(arg1
,arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5676 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
;
5678 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5680 PyObject
* obj0
= 0 ;
5682 (char *) "self", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5687 if (SWIG_arg_fail(1)) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 result
= (int)wxIconLocation_GetIndex(arg1
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5696 resultobj
= SWIG_From_int((int)(result
));
5704 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5707 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5709 return Py_BuildValue((char *)"");
5711 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxIconBundle
*result
;
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= (wxIconBundle
*)new wxIconBundle();
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5733 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxString
*arg1
= 0 ;
5737 wxIconBundle
*result
;
5738 bool temp1
= false ;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5742 (char *) "file",(char *) "type", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5747 arg1
= wxString_in_helper(obj0
);
5748 if (arg1
== NULL
) SWIG_fail
;
5752 arg2
= (long)(SWIG_As_long(obj1
));
5753 if (SWIG_arg_fail(2)) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5777 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5780 wxIconBundle
*result
;
5781 PyObject
* obj0
= 0 ;
5783 (char *) "icon", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
5788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5789 if (SWIG_arg_fail(1)) SWIG_fail
;
5791 SWIG_null_ref("wxIcon");
5793 if (SWIG_arg_fail(1)) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5809 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5814 (char *) "self", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
5818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5819 if (SWIG_arg_fail(1)) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 Py_INCREF(Py_None
); resultobj
= Py_None
;
5834 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5841 (char *) "self",(char *) "icon", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5846 if (SWIG_arg_fail(1)) SWIG_fail
;
5848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5849 if (SWIG_arg_fail(2)) SWIG_fail
;
5851 SWIG_null_ref("wxIcon");
5853 if (SWIG_arg_fail(2)) SWIG_fail
;
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5862 Py_INCREF(Py_None
); resultobj
= Py_None
;
5869 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5872 wxString
*arg2
= 0 ;
5874 bool temp2
= false ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5877 PyObject
* obj2
= 0 ;
5879 (char *) "self",(char *) "file",(char *) "type", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5884 if (SWIG_arg_fail(1)) SWIG_fail
;
5886 arg2
= wxString_in_helper(obj1
);
5887 if (arg2
== NULL
) SWIG_fail
;
5891 arg3
= (long)(SWIG_As_long(obj2
));
5892 if (SWIG_arg_fail(3)) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 Py_INCREF(Py_None
); resultobj
= Py_None
;
5916 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5925 (char *) "self",(char *) "size", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail
;
5933 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
5939 result
= (wxIcon
*) &_result_ref
;
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5946 wxIcon
* resultptr
= new wxIcon(*result
);
5947 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
5955 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
5957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5958 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
5960 return Py_BuildValue((char *)"");
5962 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxString
*arg1
= 0 ;
5966 int arg3
= (int) 0 ;
5967 int arg4
= (int) 0 ;
5969 bool temp1
= false ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5972 PyObject
* obj2
= 0 ;
5973 PyObject
* obj3
= 0 ;
5975 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5980 arg1
= wxString_in_helper(obj0
);
5981 if (arg1
== NULL
) SWIG_fail
;
5985 arg2
= (long)(SWIG_As_long(obj1
));
5986 if (SWIG_arg_fail(2)) SWIG_fail
;
5990 arg3
= (int)(SWIG_As_int(obj2
));
5991 if (SWIG_arg_fail(3)) SWIG_fail
;
5996 arg4
= (int)(SWIG_As_int(obj3
));
5997 if (SWIG_arg_fail(4)) SWIG_fail
;
6001 if (!wxPyCheckForApp()) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6023 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxCursor
*arg1
= (wxCursor
*) 0 ;
6026 PyObject
* obj0
= 0 ;
6028 (char *) "self", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
6032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6033 if (SWIG_arg_fail(1)) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 Py_INCREF(Py_None
); resultobj
= Py_None
;
6048 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6052 PyObject
* obj0
= 0 ;
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6059 arg1
= (int)(SWIG_As_int(obj0
));
6060 if (SWIG_arg_fail(1)) SWIG_fail
;
6063 if (!wxPyCheckForApp()) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 result
= (wxCursor
*)new wxCursor(arg1
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6077 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
*resultobj
;
6081 PyObject
* obj0
= 0 ;
6083 (char *) "image", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6089 if (SWIG_arg_fail(1)) SWIG_fail
;
6091 SWIG_null_ref("wxImage");
6093 if (SWIG_arg_fail(1)) SWIG_fail
;
6096 if (!wxPyCheckForApp()) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6110 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxCursor
*arg1
= (wxCursor
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6116 (char *) "self", NULL
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6121 if (SWIG_arg_fail(1)) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (bool)(arg1
)->Ok();
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6138 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6141 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6143 return Py_BuildValue((char *)"");
6145 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 int arg1
= (int) 0 ;
6148 int arg2
= (int) 0 ;
6149 int arg3
= (int) 0 ;
6150 int arg4
= (int) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 PyObject
* obj2
= 0 ;
6155 PyObject
* obj3
= 0 ;
6157 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6163 arg1
= (int)(SWIG_As_int(obj0
));
6164 if (SWIG_arg_fail(1)) SWIG_fail
;
6169 arg2
= (int)(SWIG_As_int(obj1
));
6170 if (SWIG_arg_fail(2)) SWIG_fail
;
6175 arg3
= (int)(SWIG_As_int(obj2
));
6176 if (SWIG_arg_fail(3)) SWIG_fail
;
6181 arg4
= (int)(SWIG_As_int(obj3
));
6182 if (SWIG_arg_fail(4)) SWIG_fail
;
6186 if (!wxPyCheckForApp()) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6200 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxBitmap
*arg1
= 0 ;
6204 PyObject
* obj0
= 0 ;
6206 (char *) "bmp", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6212 if (SWIG_arg_fail(1)) SWIG_fail
;
6214 SWIG_null_ref("wxBitmap");
6216 if (SWIG_arg_fail(1)) SWIG_fail
;
6219 if (!wxPyCheckForApp()) SWIG_fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6233 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxBitmap
*arg1
= 0 ;
6236 wxColour
*arg2
= 0 ;
6237 int arg3
= (int) 0 ;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6242 PyObject
* obj2
= 0 ;
6244 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6250 if (SWIG_arg_fail(1)) SWIG_fail
;
6252 SWIG_null_ref("wxBitmap");
6254 if (SWIG_arg_fail(1)) SWIG_fail
;
6258 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6262 arg3
= (int)(SWIG_As_int(obj2
));
6263 if (SWIG_arg_fail(3)) SWIG_fail
;
6267 if (!wxPyCheckForApp()) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6281 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6284 wxPoint
*arg2
= (wxPoint
*) 0 ;
6285 int arg3
= (int) wxWINDING_RULE
;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6290 (char *) "points",(char *) "fillStyle", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6295 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6296 if (arg2
== NULL
) SWIG_fail
;
6300 arg3
= (int)(SWIG_As_int(obj1
));
6301 if (SWIG_arg_fail(3)) SWIG_fail
;
6305 if (!wxPyCheckForApp()) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6314 if (arg2
) delete [] arg2
;
6319 if (arg2
) delete [] arg2
;
6325 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxRegion
*arg1
= (wxRegion
*) 0 ;
6328 PyObject
* obj0
= 0 ;
6330 (char *) "self", NULL
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6335 if (SWIG_arg_fail(1)) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 Py_INCREF(Py_None
); resultobj
= Py_None
;
6350 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxRegion
*arg1
= (wxRegion
*) 0 ;
6353 PyObject
* obj0
= 0 ;
6355 (char *) "self", NULL
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6360 if (SWIG_arg_fail(1)) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 Py_INCREF(Py_None
); resultobj
= Py_None
;
6375 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxRegion
*arg1
= (wxRegion
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6383 PyObject
* obj2
= 0 ;
6385 (char *) "self",(char *) "x",(char *) "y", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6390 if (SWIG_arg_fail(1)) SWIG_fail
;
6392 arg2
= (int)(SWIG_As_int(obj1
));
6393 if (SWIG_arg_fail(2)) SWIG_fail
;
6396 arg3
= (int)(SWIG_As_int(obj2
));
6397 if (SWIG_arg_fail(3)) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6415 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxRegion
*arg1
= (wxRegion
*) 0 ;
6420 wxRegionContain result
;
6421 PyObject
* obj0
= 0 ;
6422 PyObject
* obj1
= 0 ;
6423 PyObject
* obj2
= 0 ;
6425 (char *) "self",(char *) "x",(char *) "y", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6430 if (SWIG_arg_fail(1)) SWIG_fail
;
6432 arg2
= (int)(SWIG_As_int(obj1
));
6433 if (SWIG_arg_fail(2)) SWIG_fail
;
6436 arg3
= (int)(SWIG_As_int(obj2
));
6437 if (SWIG_arg_fail(3)) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= SWIG_From_int((result
));
6453 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
;
6455 wxRegion
*arg1
= (wxRegion
*) 0 ;
6457 wxRegionContain result
;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6462 (char *) "self",(char *) "pt", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6467 if (SWIG_arg_fail(1)) SWIG_fail
;
6470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_From_int((result
));
6486 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxRegion
*arg1
= (wxRegion
*) 0 ;
6490 wxRegionContain result
;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6495 (char *) "self",(char *) "rect", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6500 if (SWIG_arg_fail(1)) SWIG_fail
;
6503 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= SWIG_From_int((result
));
6519 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxRegion
*arg1
= (wxRegion
*) 0 ;
6526 wxRegionContain result
;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6529 PyObject
* obj2
= 0 ;
6530 PyObject
* obj3
= 0 ;
6531 PyObject
* obj4
= 0 ;
6533 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6538 if (SWIG_arg_fail(1)) SWIG_fail
;
6540 arg2
= (int)(SWIG_As_int(obj1
));
6541 if (SWIG_arg_fail(2)) SWIG_fail
;
6544 arg3
= (int)(SWIG_As_int(obj2
));
6545 if (SWIG_arg_fail(3)) SWIG_fail
;
6548 arg4
= (int)(SWIG_As_int(obj3
));
6549 if (SWIG_arg_fail(4)) SWIG_fail
;
6552 arg5
= (int)(SWIG_As_int(obj4
));
6553 if (SWIG_arg_fail(5)) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_From_int((result
));
6569 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxRegion
*arg1
= (wxRegion
*) 0 ;
6573 PyObject
* obj0
= 0 ;
6575 (char *) "self", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
6579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6580 if (SWIG_arg_fail(1)) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= (arg1
)->GetBox();
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6590 resultptr
= new wxRect((wxRect
&)(result
));
6591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6599 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxRegion
*arg1
= (wxRegion
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6609 PyObject
* obj2
= 0 ;
6610 PyObject
* obj3
= 0 ;
6611 PyObject
* obj4
= 0 ;
6613 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6618 if (SWIG_arg_fail(1)) SWIG_fail
;
6620 arg2
= (int)(SWIG_As_int(obj1
));
6621 if (SWIG_arg_fail(2)) SWIG_fail
;
6624 arg3
= (int)(SWIG_As_int(obj2
));
6625 if (SWIG_arg_fail(3)) SWIG_fail
;
6628 arg4
= (int)(SWIG_As_int(obj3
));
6629 if (SWIG_arg_fail(4)) SWIG_fail
;
6632 arg5
= (int)(SWIG_As_int(obj4
));
6633 if (SWIG_arg_fail(5)) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6651 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxRegion
*arg1
= (wxRegion
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6660 (char *) "self",(char *) "rect", NULL
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6665 if (SWIG_arg_fail(1)) SWIG_fail
;
6668 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6686 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxRegion
*arg1
= (wxRegion
*) 0 ;
6689 wxRegion
*arg2
= 0 ;
6691 PyObject
* obj0
= 0 ;
6692 PyObject
* obj1
= 0 ;
6694 (char *) "self",(char *) "region", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6699 if (SWIG_arg_fail(1)) SWIG_fail
;
6701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6702 if (SWIG_arg_fail(2)) SWIG_fail
;
6704 SWIG_null_ref("wxRegion");
6706 if (SWIG_arg_fail(2)) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6724 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxRegion
*arg1
= (wxRegion
*) 0 ;
6728 PyObject
* obj0
= 0 ;
6730 (char *) "self", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
6734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6735 if (SWIG_arg_fail(1)) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (bool)(arg1
)->IsEmpty();
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6752 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxRegion
*arg1
= (wxRegion
*) 0 ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6762 PyObject
* obj2
= 0 ;
6763 PyObject
* obj3
= 0 ;
6764 PyObject
* obj4
= 0 ;
6766 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6771 if (SWIG_arg_fail(1)) SWIG_fail
;
6773 arg2
= (int)(SWIG_As_int(obj1
));
6774 if (SWIG_arg_fail(2)) SWIG_fail
;
6777 arg3
= (int)(SWIG_As_int(obj2
));
6778 if (SWIG_arg_fail(3)) SWIG_fail
;
6781 arg4
= (int)(SWIG_As_int(obj3
));
6782 if (SWIG_arg_fail(4)) SWIG_fail
;
6785 arg5
= (int)(SWIG_As_int(obj4
));
6786 if (SWIG_arg_fail(5)) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6804 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxRegion
*arg1
= (wxRegion
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6813 (char *) "self",(char *) "rect", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6818 if (SWIG_arg_fail(1)) SWIG_fail
;
6821 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6839 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxRegion
*arg1
= (wxRegion
*) 0 ;
6842 wxRegion
*arg2
= 0 ;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6847 (char *) "self",(char *) "region", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6852 if (SWIG_arg_fail(1)) SWIG_fail
;
6854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6855 if (SWIG_arg_fail(2)) SWIG_fail
;
6857 SWIG_null_ref("wxRegion");
6859 if (SWIG_arg_fail(2)) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6877 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6879 wxRegion
*arg1
= (wxRegion
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6887 PyObject
* obj2
= 0 ;
6888 PyObject
* obj3
= 0 ;
6889 PyObject
* obj4
= 0 ;
6891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6896 if (SWIG_arg_fail(1)) SWIG_fail
;
6898 arg2
= (int)(SWIG_As_int(obj1
));
6899 if (SWIG_arg_fail(2)) SWIG_fail
;
6902 arg3
= (int)(SWIG_As_int(obj2
));
6903 if (SWIG_arg_fail(3)) SWIG_fail
;
6906 arg4
= (int)(SWIG_As_int(obj3
));
6907 if (SWIG_arg_fail(4)) SWIG_fail
;
6910 arg5
= (int)(SWIG_As_int(obj4
));
6911 if (SWIG_arg_fail(5)) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6929 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxRegion
*arg1
= (wxRegion
*) 0 ;
6935 PyObject
* obj0
= 0 ;
6936 PyObject
* obj1
= 0 ;
6938 (char *) "self",(char *) "rect", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6943 if (SWIG_arg_fail(1)) SWIG_fail
;
6946 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6964 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxRegion
*arg1
= (wxRegion
*) 0 ;
6967 wxRegion
*arg2
= 0 ;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6972 (char *) "self",(char *) "region", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6977 if (SWIG_arg_fail(1)) SWIG_fail
;
6979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6980 if (SWIG_arg_fail(2)) SWIG_fail
;
6982 SWIG_null_ref("wxRegion");
6984 if (SWIG_arg_fail(2)) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7002 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxRegion
*arg1
= (wxRegion
*) 0 ;
7010 PyObject
* obj0
= 0 ;
7011 PyObject
* obj1
= 0 ;
7012 PyObject
* obj2
= 0 ;
7013 PyObject
* obj3
= 0 ;
7014 PyObject
* obj4
= 0 ;
7016 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail
;
7023 arg2
= (int)(SWIG_As_int(obj1
));
7024 if (SWIG_arg_fail(2)) SWIG_fail
;
7027 arg3
= (int)(SWIG_As_int(obj2
));
7028 if (SWIG_arg_fail(3)) SWIG_fail
;
7031 arg4
= (int)(SWIG_As_int(obj3
));
7032 if (SWIG_arg_fail(4)) SWIG_fail
;
7035 arg5
= (int)(SWIG_As_int(obj4
));
7036 if (SWIG_arg_fail(5)) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7054 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxRegion
*arg1
= (wxRegion
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7063 (char *) "self",(char *) "rect", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7068 if (SWIG_arg_fail(1)) SWIG_fail
;
7071 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7089 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxRegion
*arg1
= (wxRegion
*) 0 ;
7092 wxRegion
*arg2
= 0 ;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7097 (char *) "self",(char *) "region", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7102 if (SWIG_arg_fail(1)) SWIG_fail
;
7104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7105 if (SWIG_arg_fail(2)) SWIG_fail
;
7107 SWIG_null_ref("wxRegion");
7109 if (SWIG_arg_fail(2)) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7127 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxRegion
*arg1
= (wxRegion
*) 0 ;
7130 SwigValueWrapper
<wxBitmap
> result
;
7131 PyObject
* obj0
= 0 ;
7133 (char *) "self", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7138 if (SWIG_arg_fail(1)) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (arg1
)->ConvertToBitmap();
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7147 wxBitmap
* resultptr
;
7148 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7157 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxRegion
*arg1
= (wxRegion
*) 0 ;
7160 wxBitmap
*arg2
= 0 ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7165 (char *) "self",(char *) "bmp", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7170 if (SWIG_arg_fail(1)) SWIG_fail
;
7172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7173 if (SWIG_arg_fail(2)) SWIG_fail
;
7175 SWIG_null_ref("wxBitmap");
7177 if (SWIG_arg_fail(2)) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7195 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxRegion
*arg1
= (wxRegion
*) 0 ;
7198 wxBitmap
*arg2
= 0 ;
7199 wxColour
*arg3
= 0 ;
7200 int arg4
= (int) 0 ;
7203 PyObject
* obj0
= 0 ;
7204 PyObject
* obj1
= 0 ;
7205 PyObject
* obj2
= 0 ;
7206 PyObject
* obj3
= 0 ;
7208 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7213 if (SWIG_arg_fail(1)) SWIG_fail
;
7215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7216 if (SWIG_arg_fail(2)) SWIG_fail
;
7218 SWIG_null_ref("wxBitmap");
7220 if (SWIG_arg_fail(2)) SWIG_fail
;
7224 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7228 arg4
= (int)(SWIG_As_int(obj3
));
7229 if (SWIG_arg_fail(4)) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7248 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7251 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7253 return Py_BuildValue((char *)"");
7255 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 wxRegion
*arg1
= 0 ;
7258 wxRegionIterator
*result
;
7259 PyObject
* obj0
= 0 ;
7261 (char *) "region", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7267 if (SWIG_arg_fail(1)) SWIG_fail
;
7269 SWIG_null_ref("wxRegion");
7271 if (SWIG_arg_fail(1)) SWIG_fail
;
7274 if (!wxPyCheckForApp()) SWIG_fail
;
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7288 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7291 PyObject
* obj0
= 0 ;
7293 (char *) "self", NULL
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7298 if (SWIG_arg_fail(1)) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 Py_INCREF(Py_None
); resultobj
= Py_None
;
7313 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7315 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7317 PyObject
* obj0
= 0 ;
7319 (char *) "self", NULL
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7324 if (SWIG_arg_fail(1)) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (int)(arg1
)->GetX();
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= SWIG_From_int((int)(result
));
7341 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7343 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7345 PyObject
* obj0
= 0 ;
7347 (char *) "self", NULL
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7352 if (SWIG_arg_fail(1)) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (int)(arg1
)->GetY();
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_From_int((int)(result
));
7369 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7373 PyObject
* obj0
= 0 ;
7375 (char *) "self", NULL
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7380 if (SWIG_arg_fail(1)) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (int)(arg1
)->GetW();
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_From_int((int)(result
));
7397 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7401 PyObject
* obj0
= 0 ;
7403 (char *) "self", NULL
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7408 if (SWIG_arg_fail(1)) SWIG_fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (int)(arg1
)->GetWidth();
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_From_int((int)(result
));
7425 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7429 PyObject
* obj0
= 0 ;
7431 (char *) "self", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7436 if (SWIG_arg_fail(1)) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (int)(arg1
)->GetH();
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= SWIG_From_int((int)(result
));
7453 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7459 (char *) "self", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7464 if (SWIG_arg_fail(1)) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 result
= (int)(arg1
)->GetHeight();
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7473 resultobj
= SWIG_From_int((int)(result
));
7481 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7485 PyObject
* obj0
= 0 ;
7487 (char *) "self", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
7491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7492 if (SWIG_arg_fail(1)) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= (arg1
)->GetRect();
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7502 resultptr
= new wxRect((wxRect
&)(result
));
7503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7511 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7517 (char *) "self", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
7521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7522 if (SWIG_arg_fail(1)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (bool)(arg1
)->HaveRects();
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7539 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7542 PyObject
* obj0
= 0 ;
7544 (char *) "self", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
7548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7549 if (SWIG_arg_fail(1)) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 Py_INCREF(Py_None
); resultobj
= Py_None
;
7564 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7567 PyObject
* obj0
= 0 ;
7569 (char *) "self", NULL
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
7573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7574 if (SWIG_arg_fail(1)) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 wxRegionIterator_Next(arg1
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 Py_INCREF(Py_None
); resultobj
= Py_None
;
7589 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7593 PyObject
* obj0
= 0 ;
7595 (char *) "self", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
7599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7600 if (SWIG_arg_fail(1)) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (bool)wxRegionIterator___nonzero__(arg1
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7617 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
7619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7620 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
7622 return Py_BuildValue((char *)"");
7624 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxNativeFontInfo
*result
;
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
7646 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7651 (char *) "self", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
7655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7656 if (SWIG_arg_fail(1)) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7664 Py_INCREF(Py_None
); resultobj
= Py_None
;
7671 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7673 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "self", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
7680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7681 if (SWIG_arg_fail(1)) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 Py_INCREF(Py_None
); resultobj
= Py_None
;
7696 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7703 (char *) "self",(char *) "font", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
7707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7708 if (SWIG_arg_fail(1)) SWIG_fail
;
7710 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7711 if (SWIG_arg_fail(2)) SWIG_fail
;
7713 SWIG_null_ref("wxFont");
7715 if (SWIG_arg_fail(2)) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 Py_INCREF(Py_None
); resultobj
= Py_None
;
7731 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7735 PyObject
* obj0
= 0 ;
7737 (char *) "self", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
7741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_From_int((int)(result
));
7759 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
;
7761 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7763 PyObject
* obj0
= 0 ;
7765 (char *) "self", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
7769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7770 if (SWIG_arg_fail(1)) SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= SWIG_From_int((result
));
7785 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7788 wxFontWeight result
;
7789 PyObject
* obj0
= 0 ;
7791 (char *) "self", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
7795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7796 if (SWIG_arg_fail(1)) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= SWIG_From_int((result
));
7811 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7815 PyObject
* obj0
= 0 ;
7817 (char *) "self", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7822 if (SWIG_arg_fail(1)) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7839 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
7849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7850 if (SWIG_arg_fail(1)) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7871 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7874 wxFontFamily result
;
7875 PyObject
* obj0
= 0 ;
7877 (char *) "self", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
7881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7882 if (SWIG_arg_fail(1)) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7890 resultobj
= SWIG_From_int((result
));
7897 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7900 wxFontEncoding result
;
7901 PyObject
* obj0
= 0 ;
7903 (char *) "self", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
7907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7908 if (SWIG_arg_fail(1)) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= SWIG_From_int((result
));
7923 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7928 PyObject
* obj1
= 0 ;
7930 (char *) "self",(char *) "pointsize", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7935 if (SWIG_arg_fail(1)) SWIG_fail
;
7937 arg2
= (int)(SWIG_As_int(obj1
));
7938 if (SWIG_arg_fail(2)) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 (arg1
)->SetPointSize(arg2
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 Py_INCREF(Py_None
); resultobj
= Py_None
;
7954 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7959 PyObject
* obj1
= 0 ;
7961 (char *) "self",(char *) "style", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7966 if (SWIG_arg_fail(1)) SWIG_fail
;
7968 arg2
= (wxFontStyle
)(SWIG_As_int(obj1
));
7969 if (SWIG_arg_fail(2)) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 (arg1
)->SetStyle((wxFontStyle
)arg2
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 Py_INCREF(Py_None
); resultobj
= Py_None
;
7985 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7992 (char *) "self",(char *) "weight", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7997 if (SWIG_arg_fail(1)) SWIG_fail
;
7999 arg2
= (wxFontWeight
)(SWIG_As_int(obj1
));
8000 if (SWIG_arg_fail(2)) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 (arg1
)->SetWeight((wxFontWeight
)arg2
);
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 Py_INCREF(Py_None
); resultobj
= Py_None
;
8016 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8020 PyObject
* obj0
= 0 ;
8021 PyObject
* obj1
= 0 ;
8023 (char *) "self",(char *) "underlined", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8028 if (SWIG_arg_fail(1)) SWIG_fail
;
8030 arg2
= (bool)(SWIG_As_bool(obj1
));
8031 if (SWIG_arg_fail(2)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 (arg1
)->SetUnderlined(arg2
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 Py_INCREF(Py_None
); resultobj
= Py_None
;
8047 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8054 (char *) "self",(char *) "facename", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail
;
8061 wxString
* sptr
= wxString_in_helper(obj1
);
8062 if (sptr
== NULL
) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 (arg1
)->SetFaceName(arg2
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 Py_INCREF(Py_None
); resultobj
= Py_None
;
8080 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8087 (char *) "self",(char *) "family", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail
;
8094 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
8095 if (SWIG_arg_fail(2)) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 (arg1
)->SetFamily((wxFontFamily
)arg2
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8111 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8114 wxFontEncoding arg2
;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj1
= 0 ;
8118 (char *) "self",(char *) "encoding", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8123 if (SWIG_arg_fail(1)) SWIG_fail
;
8125 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8126 if (SWIG_arg_fail(2)) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 Py_INCREF(Py_None
); resultobj
= Py_None
;
8142 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
;
8144 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8145 wxString
*arg2
= 0 ;
8147 bool temp2
= false ;
8148 PyObject
* obj0
= 0 ;
8149 PyObject
* obj1
= 0 ;
8151 (char *) "self",(char *) "s", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8156 if (SWIG_arg_fail(1)) SWIG_fail
;
8158 arg2
= wxString_in_helper(obj1
);
8159 if (arg2
== NULL
) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8186 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8190 PyObject
* obj0
= 0 ;
8192 (char *) "self", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8197 if (SWIG_arg_fail(1)) SWIG_fail
;
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8218 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
;
8220 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8222 PyObject
* obj0
= 0 ;
8224 (char *) "self", NULL
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8229 if (SWIG_arg_fail(1)) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= wxNativeFontInfo___str__(arg1
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8250 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8253 wxString
*arg2
= 0 ;
8255 bool temp2
= false ;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8259 (char *) "self",(char *) "s", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
8263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8264 if (SWIG_arg_fail(1)) SWIG_fail
;
8266 arg2
= wxString_in_helper(obj1
);
8267 if (arg2
== NULL
) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8294 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8298 PyObject
* obj0
= 0 ;
8300 (char *) "self", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8326 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8329 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8331 return Py_BuildValue((char *)"");
8333 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8335 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8336 wxString
*arg2
= (wxString
*) 0 ;
8337 bool temp2
= false ;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8341 (char *) "self",(char *) "facename", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8346 if (SWIG_arg_fail(1)) SWIG_fail
;
8348 arg2
= wxString_in_helper(obj1
);
8349 if (arg2
== NULL
) SWIG_fail
;
8352 if (arg1
) (arg1
)->facename
= *arg2
;
8354 Py_INCREF(Py_None
); resultobj
= Py_None
;
8369 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8371 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8373 PyObject
* obj0
= 0 ;
8375 (char *) "self", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8380 if (SWIG_arg_fail(1)) SWIG_fail
;
8381 result
= (wxString
*)& ((arg1
)->facename
);
8385 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8387 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8396 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
*resultobj
;
8398 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8399 wxFontEncoding arg2
;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8403 (char *) "self",(char *) "encoding", NULL
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8408 if (SWIG_arg_fail(1)) SWIG_fail
;
8410 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8411 if (SWIG_arg_fail(2)) SWIG_fail
;
8413 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
8415 Py_INCREF(Py_None
); resultobj
= Py_None
;
8422 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8425 wxFontEncoding result
;
8426 PyObject
* obj0
= 0 ;
8428 (char *) "self", NULL
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
8432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8433 if (SWIG_arg_fail(1)) SWIG_fail
;
8434 result
= (wxFontEncoding
) ((arg1
)->encoding
);
8436 resultobj
= SWIG_From_int((result
));
8443 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
;
8445 wxNativeEncodingInfo
*result
;
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
8465 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8468 PyObject
* obj0
= 0 ;
8470 (char *) "self", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
8474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8475 if (SWIG_arg_fail(1)) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 Py_INCREF(Py_None
); resultobj
= Py_None
;
8490 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8493 wxString
*arg2
= 0 ;
8495 bool temp2
= false ;
8496 PyObject
* obj0
= 0 ;
8497 PyObject
* obj1
= 0 ;
8499 (char *) "self",(char *) "s", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8504 if (SWIG_arg_fail(1)) SWIG_fail
;
8506 arg2
= wxString_in_helper(obj1
);
8507 if (arg2
== NULL
) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8534 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8538 PyObject
* obj0
= 0 ;
8540 (char *) "self", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
8544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8545 if (SWIG_arg_fail(1)) SWIG_fail
;
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8566 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
8568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8569 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
8571 return Py_BuildValue((char *)"");
8573 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 wxFontEncoding arg1
;
8576 wxNativeEncodingInfo
*result
;
8577 PyObject
* obj0
= 0 ;
8579 (char *) "encoding", NULL
8582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
8584 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8585 if (SWIG_arg_fail(1)) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
8601 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 wxNativeEncodingInfo
*arg1
= 0 ;
8605 PyObject
* obj0
= 0 ;
8607 (char *) "info", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
8612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8613 if (SWIG_arg_fail(1)) SWIG_fail
;
8615 SWIG_null_ref("wxNativeEncodingInfo");
8617 if (SWIG_arg_fail(1)) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8635 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
;
8637 wxFontMapper
*result
;
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 result
= (wxFontMapper
*)new wxFontMapper();
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
8657 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
;
8659 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8660 PyObject
* obj0
= 0 ;
8662 (char *) "self", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
8666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8667 if (SWIG_arg_fail(1)) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 Py_INCREF(Py_None
); resultobj
= Py_None
;
8682 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxFontMapper
*result
;
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (wxFontMapper
*)wxFontMapper::Get();
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8704 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8707 wxFontMapper
*result
;
8708 PyObject
* obj0
= 0 ;
8710 (char *) "mapper", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
8714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8730 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8733 wxString
*arg2
= 0 ;
8734 bool arg3
= (bool) true ;
8735 wxFontEncoding result
;
8736 bool temp2
= false ;
8737 PyObject
* obj0
= 0 ;
8738 PyObject
* obj1
= 0 ;
8739 PyObject
* obj2
= 0 ;
8741 (char *) "self",(char *) "charset",(char *) "interactive", NULL
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8746 if (SWIG_arg_fail(1)) SWIG_fail
;
8748 arg2
= wxString_in_helper(obj1
);
8749 if (arg2
== NULL
) SWIG_fail
;
8754 arg3
= (bool)(SWIG_As_bool(obj2
));
8755 if (SWIG_arg_fail(3)) SWIG_fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8765 resultobj
= SWIG_From_int((result
));
8780 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8804 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8807 wxFontEncoding result
;
8808 PyObject
* obj0
= 0 ;
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
8815 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8816 if (SWIG_arg_fail(1)) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_From_int((result
));
8832 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxFontEncoding arg1
;
8836 PyObject
* obj0
= 0 ;
8838 (char *) "encoding", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
8843 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8844 if (SWIG_arg_fail(1)) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8866 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxFontEncoding arg1
;
8870 PyObject
* obj0
= 0 ;
8872 (char *) "encoding", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
8877 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
8878 if (SWIG_arg_fail(1)) SWIG_fail
;
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8900 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
*resultobj
;
8902 wxString
*arg1
= 0 ;
8903 wxFontEncoding result
;
8904 bool temp1
= false ;
8905 PyObject
* obj0
= 0 ;
8907 (char *) "name", NULL
8910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
8912 arg1
= wxString_in_helper(obj0
);
8913 if (arg1
== NULL
) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_From_int((result
));
8938 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8940 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8941 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8945 (char *) "self",(char *) "config", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
8949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8950 if (SWIG_arg_fail(1)) SWIG_fail
;
8951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8952 if (SWIG_arg_fail(2)) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 (arg1
)->SetConfig(arg2
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 Py_INCREF(Py_None
); resultobj
= Py_None
;
8967 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8970 wxString
*arg2
= 0 ;
8971 bool temp2
= false ;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8975 (char *) "self",(char *) "prefix", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
8979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8980 if (SWIG_arg_fail(1)) SWIG_fail
;
8982 arg2
= wxString_in_helper(obj1
);
8983 if (arg2
== NULL
) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 Py_INCREF(Py_None
); resultobj
= Py_None
;
9008 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= wxFontMapper::GetDefaultConfigPath();
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9036 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9039 wxFontEncoding arg2
;
9040 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9041 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9042 bool arg4
= (bool) true ;
9044 bool temp3
= false ;
9045 PyObject
* obj0
= 0 ;
9046 PyObject
* obj1
= 0 ;
9047 PyObject
* obj2
= 0 ;
9048 PyObject
* obj3
= 0 ;
9050 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9055 if (SWIG_arg_fail(1)) SWIG_fail
;
9057 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9058 if (SWIG_arg_fail(2)) SWIG_fail
;
9062 arg3
= wxString_in_helper(obj2
);
9063 if (arg3
== NULL
) SWIG_fail
;
9069 arg4
= (bool)(SWIG_As_bool(obj3
));
9070 if (SWIG_arg_fail(4)) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9095 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9098 wxFontEncoding arg2
;
9099 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9100 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9102 bool temp3
= false ;
9103 PyObject
* obj0
= 0 ;
9104 PyObject
* obj1
= 0 ;
9105 PyObject
* obj2
= 0 ;
9107 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9112 if (SWIG_arg_fail(1)) SWIG_fail
;
9114 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9115 if (SWIG_arg_fail(2)) SWIG_fail
;
9119 arg3
= wxString_in_helper(obj2
);
9120 if (arg3
== NULL
) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9148 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9151 wxWindow
*arg2
= (wxWindow
*) 0 ;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9155 (char *) "self",(char *) "parent", NULL
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9160 if (SWIG_arg_fail(1)) SWIG_fail
;
9161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9162 if (SWIG_arg_fail(2)) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 (arg1
)->SetDialogParent(arg2
);
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 Py_INCREF(Py_None
); resultobj
= Py_None
;
9177 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
;
9179 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9180 wxString
*arg2
= 0 ;
9181 bool temp2
= false ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9185 (char *) "self",(char *) "title", NULL
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9190 if (SWIG_arg_fail(1)) SWIG_fail
;
9192 arg2
= wxString_in_helper(obj1
);
9193 if (arg2
== NULL
) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 Py_INCREF(Py_None
); resultobj
= Py_None
;
9218 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9221 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9223 return Py_BuildValue((char *)"");
9225 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9231 bool arg5
= (bool) false ;
9232 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9233 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9234 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9236 bool temp6
= false ;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9239 PyObject
* obj2
= 0 ;
9240 PyObject
* obj3
= 0 ;
9241 PyObject
* obj4
= 0 ;
9242 PyObject
* obj5
= 0 ;
9243 PyObject
* obj6
= 0 ;
9245 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9250 arg1
= (int)(SWIG_As_int(obj0
));
9251 if (SWIG_arg_fail(1)) SWIG_fail
;
9254 arg2
= (int)(SWIG_As_int(obj1
));
9255 if (SWIG_arg_fail(2)) SWIG_fail
;
9258 arg3
= (int)(SWIG_As_int(obj2
));
9259 if (SWIG_arg_fail(3)) SWIG_fail
;
9262 arg4
= (int)(SWIG_As_int(obj3
));
9263 if (SWIG_arg_fail(4)) SWIG_fail
;
9267 arg5
= (bool)(SWIG_As_bool(obj4
));
9268 if (SWIG_arg_fail(5)) SWIG_fail
;
9273 arg6
= wxString_in_helper(obj5
);
9274 if (arg6
== NULL
) SWIG_fail
;
9280 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9281 if (SWIG_arg_fail(7)) SWIG_fail
;
9285 if (!wxPyCheckForApp()) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9307 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxFont
*arg1
= (wxFont
*) 0 ;
9310 PyObject
* obj0
= 0 ;
9312 (char *) "self", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
9316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9317 if (SWIG_arg_fail(1)) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 Py_INCREF(Py_None
); resultobj
= Py_None
;
9332 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9334 wxNativeFontInfo
*arg1
= 0 ;
9336 PyObject
* obj0
= 0 ;
9338 (char *) "info", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9344 if (SWIG_arg_fail(1)) SWIG_fail
;
9346 SWIG_null_ref("wxNativeFontInfo");
9348 if (SWIG_arg_fail(1)) SWIG_fail
;
9351 if (!wxPyCheckForApp()) SWIG_fail
;
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9365 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
;
9367 wxString
*arg1
= 0 ;
9369 bool temp1
= false ;
9370 PyObject
* obj0
= 0 ;
9372 (char *) "info", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9377 arg1
= wxString_in_helper(obj0
);
9378 if (arg1
== NULL
) SWIG_fail
;
9382 if (!wxPyCheckForApp()) SWIG_fail
;
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9404 static PyObject
*_wrap_new_FFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9408 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9409 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9410 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9411 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9413 bool temp4
= false ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9416 PyObject
* obj2
= 0 ;
9417 PyObject
* obj3
= 0 ;
9418 PyObject
* obj4
= 0 ;
9420 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9425 arg1
= (int)(SWIG_As_int(obj0
));
9426 if (SWIG_arg_fail(1)) SWIG_fail
;
9429 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9430 if (SWIG_arg_fail(2)) SWIG_fail
;
9434 arg3
= (int)(SWIG_As_int(obj2
));
9435 if (SWIG_arg_fail(3)) SWIG_fail
;
9440 arg4
= wxString_in_helper(obj3
);
9441 if (arg4
== NULL
) SWIG_fail
;
9447 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
9448 if (SWIG_arg_fail(5)) SWIG_fail
;
9452 if (!wxPyCheckForApp()) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9474 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9480 bool arg5
= (bool) false ;
9481 wxString
const &arg6_defvalue
= wxEmptyString
;
9482 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9483 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9486 bool temp6
= false ;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj1
= 0 ;
9489 PyObject
* obj2
= 0 ;
9490 PyObject
* obj3
= 0 ;
9491 PyObject
* obj4
= 0 ;
9492 PyObject
* obj5
= 0 ;
9493 PyObject
* obj6
= 0 ;
9495 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9501 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9504 arg2
= (int)(SWIG_As_int(obj1
));
9505 if (SWIG_arg_fail(2)) SWIG_fail
;
9508 arg3
= (int)(SWIG_As_int(obj2
));
9509 if (SWIG_arg_fail(3)) SWIG_fail
;
9512 arg4
= (int)(SWIG_As_int(obj3
));
9513 if (SWIG_arg_fail(4)) SWIG_fail
;
9517 arg5
= (bool)(SWIG_As_bool(obj4
));
9518 if (SWIG_arg_fail(5)) SWIG_fail
;
9523 arg6
= wxString_in_helper(obj5
);
9524 if (arg6
== NULL
) SWIG_fail
;
9530 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9531 if (SWIG_arg_fail(7)) SWIG_fail
;
9535 if (!wxPyCheckForApp()) SWIG_fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9557 static PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9561 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9562 wxString
const &arg4_defvalue
= wxEmptyString
;
9563 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9564 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9567 bool temp4
= false ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9570 PyObject
* obj2
= 0 ;
9571 PyObject
* obj3
= 0 ;
9572 PyObject
* obj4
= 0 ;
9574 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9580 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9583 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9584 if (SWIG_arg_fail(2)) SWIG_fail
;
9588 arg3
= (int)(SWIG_As_int(obj2
));
9589 if (SWIG_arg_fail(3)) SWIG_fail
;
9594 arg4
= wxString_in_helper(obj3
);
9595 if (arg4
== NULL
) SWIG_fail
;
9601 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
9602 if (SWIG_arg_fail(5)) SWIG_fail
;
9606 if (!wxPyCheckForApp()) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9628 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxFont
*arg1
= (wxFont
*) 0 ;
9632 PyObject
* obj0
= 0 ;
9634 (char *) "self", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
9638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9639 if (SWIG_arg_fail(1)) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (bool)((wxFont
const *)arg1
)->Ok();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9656 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxFont
*arg1
= (wxFont
*) 0 ;
9659 wxFont
*arg2
= (wxFont
*) 0 ;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9664 (char *) "self",(char *) "other", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9669 if (SWIG_arg_fail(1)) SWIG_fail
;
9670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9671 if (SWIG_arg_fail(2)) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxFont
*arg1
= (wxFont
*) 0 ;
9691 wxFont
*arg2
= (wxFont
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9696 (char *) "self",(char *) "other", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9701 if (SWIG_arg_fail(1)) SWIG_fail
;
9702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9703 if (SWIG_arg_fail(2)) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9720 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxFont
*arg1
= (wxFont
*) 0 ;
9724 PyObject
* obj0
= 0 ;
9726 (char *) "self", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
9730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9731 if (SWIG_arg_fail(1)) SWIG_fail
;
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_From_int((int)(result
));
9748 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxFont
*arg1
= (wxFont
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9754 (char *) "self", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
9758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9759 if (SWIG_arg_fail(1)) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= ((wxFont
const *)arg1
)->GetPixelSize();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9769 resultptr
= new wxSize((wxSize
&)(result
));
9770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9778 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxFont
*arg1
= (wxFont
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9784 (char *) "self", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
9788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9789 if (SWIG_arg_fail(1)) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9806 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
;
9808 wxFont
*arg1
= (wxFont
*) 0 ;
9810 PyObject
* obj0
= 0 ;
9812 (char *) "self", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
9816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9817 if (SWIG_arg_fail(1)) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (int)((wxFont
const *)arg1
)->GetFamily();
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_From_int((int)(result
));
9834 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxFont
*arg1
= (wxFont
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9840 (char *) "self", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
9844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9845 if (SWIG_arg_fail(1)) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (int)((wxFont
const *)arg1
)->GetStyle();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_From_int((int)(result
));
9862 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxFont
*arg1
= (wxFont
*) 0 ;
9866 PyObject
* obj0
= 0 ;
9868 (char *) "self", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
9872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9873 if (SWIG_arg_fail(1)) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 result
= (int)((wxFont
const *)arg1
)->GetWeight();
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_From_int((int)(result
));
9890 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxFont
*arg1
= (wxFont
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9896 (char *) "self", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
9900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9901 if (SWIG_arg_fail(1)) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9918 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxFont
*arg1
= (wxFont
*) 0 ;
9922 PyObject
* obj0
= 0 ;
9924 (char *) "self", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
9928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= ((wxFont
const *)arg1
)->GetFaceName();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9950 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxFont
*arg1
= (wxFont
*) 0 ;
9953 wxFontEncoding result
;
9954 PyObject
* obj0
= 0 ;
9956 (char *) "self", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
9960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9961 if (SWIG_arg_fail(1)) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_From_int((result
));
9976 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxFont
*arg1
= (wxFont
*) 0 ;
9979 wxNativeFontInfo
*result
;
9980 PyObject
* obj0
= 0 ;
9982 (char *) "self", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
9986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9987 if (SWIG_arg_fail(1)) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
10002 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxFont
*arg1
= (wxFont
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
10012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10013 if (SWIG_arg_fail(1)) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10030 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxFont
*arg1
= (wxFont
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
10040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10041 if (SWIG_arg_fail(1)) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10062 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 wxFont
*arg1
= (wxFont
*) 0 ;
10066 PyObject
* obj0
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "self", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
10072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10073 if (SWIG_arg_fail(1)) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10094 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
;
10096 wxFont
*arg1
= (wxFont
*) 0 ;
10098 PyObject
* obj0
= 0 ;
10099 PyObject
* obj1
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "self",(char *) "pointSize", NULL
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10106 if (SWIG_arg_fail(1)) SWIG_fail
;
10108 arg2
= (int)(SWIG_As_int(obj1
));
10109 if (SWIG_arg_fail(2)) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 (arg1
)->SetPointSize(arg2
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 Py_INCREF(Py_None
); resultobj
= Py_None
;
10125 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10127 wxFont
*arg1
= (wxFont
*) 0 ;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self",(char *) "pixelSize", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10138 if (SWIG_arg_fail(1)) SWIG_fail
;
10141 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 Py_INCREF(Py_None
); resultobj
= Py_None
;
10157 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxFont
*arg1
= (wxFont
*) 0 ;
10161 PyObject
* obj0
= 0 ;
10162 PyObject
* obj1
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self",(char *) "family", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10169 if (SWIG_arg_fail(1)) SWIG_fail
;
10171 arg2
= (int)(SWIG_As_int(obj1
));
10172 if (SWIG_arg_fail(2)) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 (arg1
)->SetFamily(arg2
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 Py_INCREF(Py_None
); resultobj
= Py_None
;
10188 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxFont
*arg1
= (wxFont
*) 0 ;
10192 PyObject
* obj0
= 0 ;
10193 PyObject
* obj1
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self",(char *) "style", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10200 if (SWIG_arg_fail(1)) SWIG_fail
;
10202 arg2
= (int)(SWIG_As_int(obj1
));
10203 if (SWIG_arg_fail(2)) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 (arg1
)->SetStyle(arg2
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 Py_INCREF(Py_None
); resultobj
= Py_None
;
10219 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxFont
*arg1
= (wxFont
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self",(char *) "weight", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10231 if (SWIG_arg_fail(1)) SWIG_fail
;
10233 arg2
= (int)(SWIG_As_int(obj1
));
10234 if (SWIG_arg_fail(2)) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 (arg1
)->SetWeight(arg2
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 Py_INCREF(Py_None
); resultobj
= Py_None
;
10250 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxFont
*arg1
= (wxFont
*) 0 ;
10253 wxString
*arg2
= 0 ;
10254 bool temp2
= false ;
10255 PyObject
* obj0
= 0 ;
10256 PyObject
* obj1
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "self",(char *) "faceName", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10263 if (SWIG_arg_fail(1)) SWIG_fail
;
10265 arg2
= wxString_in_helper(obj1
);
10266 if (arg2
== NULL
) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 Py_INCREF(Py_None
); resultobj
= Py_None
;
10291 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxFont
*arg1
= (wxFont
*) 0 ;
10295 PyObject
* obj0
= 0 ;
10296 PyObject
* obj1
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self",(char *) "underlined", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10303 if (SWIG_arg_fail(1)) SWIG_fail
;
10305 arg2
= (bool)(SWIG_As_bool(obj1
));
10306 if (SWIG_arg_fail(2)) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 (arg1
)->SetUnderlined(arg2
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 Py_INCREF(Py_None
); resultobj
= Py_None
;
10322 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxFont
*arg1
= (wxFont
*) 0 ;
10325 wxFontEncoding arg2
;
10326 PyObject
* obj0
= 0 ;
10327 PyObject
* obj1
= 0 ;
10328 char *kwnames
[] = {
10329 (char *) "self",(char *) "encoding", NULL
10332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10334 if (SWIG_arg_fail(1)) SWIG_fail
;
10336 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10337 if (SWIG_arg_fail(2)) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 Py_INCREF(Py_None
); resultobj
= Py_None
;
10353 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxFont
*arg1
= (wxFont
*) 0 ;
10356 wxNativeFontInfo
*arg2
= 0 ;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self",(char *) "info", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10365 if (SWIG_arg_fail(1)) SWIG_fail
;
10367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10368 if (SWIG_arg_fail(2)) SWIG_fail
;
10369 if (arg2
== NULL
) {
10370 SWIG_null_ref("wxNativeFontInfo");
10372 if (SWIG_arg_fail(2)) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 Py_INCREF(Py_None
); resultobj
= Py_None
;
10388 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxFont
*arg1
= (wxFont
*) 0 ;
10391 wxString
*arg2
= 0 ;
10392 bool temp2
= false ;
10393 PyObject
* obj0
= 0 ;
10394 PyObject
* obj1
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self",(char *) "info", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10401 if (SWIG_arg_fail(1)) SWIG_fail
;
10403 arg2
= wxString_in_helper(obj1
);
10404 if (arg2
== NULL
) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 Py_INCREF(Py_None
); resultobj
= Py_None
;
10429 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
*resultobj
;
10431 wxFont
*arg1
= (wxFont
*) 0 ;
10432 wxString
*arg2
= 0 ;
10433 bool temp2
= false ;
10434 PyObject
* obj0
= 0 ;
10435 PyObject
* obj1
= 0 ;
10436 char *kwnames
[] = {
10437 (char *) "self",(char *) "info", NULL
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10442 if (SWIG_arg_fail(1)) SWIG_fail
;
10444 arg2
= wxString_in_helper(obj1
);
10445 if (arg2
== NULL
) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 Py_INCREF(Py_None
); resultobj
= Py_None
;
10470 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxFont
*arg1
= (wxFont
*) 0 ;
10474 PyObject
* obj0
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
10480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10481 if (SWIG_arg_fail(1)) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 result
= ((wxFont
const *)arg1
)->GetFamilyString();
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10502 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxFont
*arg1
= (wxFont
*) 0 ;
10506 PyObject
* obj0
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
10512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= ((wxFont
const *)arg1
)->GetStyleString();
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10534 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxFont
*arg1
= (wxFont
*) 0 ;
10538 PyObject
* obj0
= 0 ;
10539 char *kwnames
[] = {
10540 (char *) "self", NULL
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
10544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10545 if (SWIG_arg_fail(1)) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= ((wxFont
const *)arg1
)->GetWeightString();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10566 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxFont
*arg1
= (wxFont
*) 0 ;
10569 bool arg2
= (bool) true ;
10570 PyObject
* obj0
= 0 ;
10571 PyObject
* obj1
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self",(char *) "no", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
10577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10578 if (SWIG_arg_fail(1)) SWIG_fail
;
10581 arg2
= (bool)(SWIG_As_bool(obj1
));
10582 if (SWIG_arg_fail(2)) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 (arg1
)->SetNoAntiAliasing(arg2
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 Py_INCREF(Py_None
); resultobj
= Py_None
;
10599 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxFont
*arg1
= (wxFont
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
10609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10610 if (SWIG_arg_fail(1)) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10627 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
;
10629 wxFontEncoding result
;
10630 char *kwnames
[] = {
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
10636 if (!wxPyCheckForApp()) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= SWIG_From_int((result
));
10650 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxFontEncoding arg1
;
10653 PyObject
* obj0
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "encoding", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
10660 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
10661 if (SWIG_arg_fail(1)) SWIG_fail
;
10664 if (!wxPyCheckForApp()) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 Py_INCREF(Py_None
); resultobj
= Py_None
;
10678 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
10680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10681 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
10683 return Py_BuildValue((char *)"");
10685 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxPyFontEnumerator
*result
;
10688 char *kwnames
[] = {
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
10694 if (!wxPyCheckForApp()) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
10708 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10711 PyObject
* obj0
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "self", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
10717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10718 if (SWIG_arg_fail(1)) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 Py_INCREF(Py_None
); resultobj
= Py_None
;
10733 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10736 PyObject
*arg2
= (PyObject
*) 0 ;
10737 PyObject
*arg3
= (PyObject
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 PyObject
* obj2
= 0 ;
10742 PyObject
* obj3
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10749 if (SWIG_arg_fail(1)) SWIG_fail
;
10753 arg4
= (bool)(SWIG_As_bool(obj3
));
10754 if (SWIG_arg_fail(4)) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 Py_INCREF(Py_None
); resultobj
= Py_None
;
10770 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10773 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
10774 bool arg3
= (bool) false ;
10776 PyObject
* obj0
= 0 ;
10777 PyObject
* obj1
= 0 ;
10778 PyObject
* obj2
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10785 if (SWIG_arg_fail(1)) SWIG_fail
;
10788 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10789 if (SWIG_arg_fail(2)) SWIG_fail
;
10794 arg3
= (bool)(SWIG_As_bool(obj2
));
10795 if (SWIG_arg_fail(3)) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10814 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10817 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10818 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10820 bool temp2
= false ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self",(char *) "facename", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
10828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10829 if (SWIG_arg_fail(1)) SWIG_fail
;
10832 arg2
= wxString_in_helper(obj1
);
10833 if (arg2
== NULL
) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10861 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "self", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
10871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10872 if (SWIG_arg_fail(1)) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= result
;
10887 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
10897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10898 if (SWIG_arg_fail(1)) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 resultobj
= result
;
10913 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
10915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10916 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
10918 return Py_BuildValue((char *)"");
10920 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10924 PyObject
* obj0
= 0 ;
10925 PyObject
* obj1
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "self",(char *) "Language", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10932 if (SWIG_arg_fail(1)) SWIG_fail
;
10934 arg2
= (int)(SWIG_As_int(obj1
));
10935 if (SWIG_arg_fail(2)) SWIG_fail
;
10937 if (arg1
) (arg1
)->Language
= arg2
;
10939 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
10956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10957 if (SWIG_arg_fail(1)) SWIG_fail
;
10958 result
= (int) ((arg1
)->Language
);
10961 resultobj
= SWIG_From_int((int)(result
));
10969 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
;
10971 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
10972 wxString
*arg2
= (wxString
*) 0 ;
10973 bool temp2
= false ;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self",(char *) "CanonicalName", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
10982 if (SWIG_arg_fail(1)) SWIG_fail
;
10984 arg2
= wxString_in_helper(obj1
);
10985 if (arg2
== NULL
) SWIG_fail
;
10988 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
10990 Py_INCREF(Py_None
); resultobj
= Py_None
;
11005 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
;
11007 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11009 PyObject
* obj0
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
11015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11016 if (SWIG_arg_fail(1)) SWIG_fail
;
11017 result
= (wxString
*)& ((arg1
)->CanonicalName
);
11021 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11023 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11032 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11035 wxString
*arg2
= (wxString
*) 0 ;
11036 bool temp2
= false ;
11037 PyObject
* obj0
= 0 ;
11038 PyObject
* obj1
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self",(char *) "Description", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11045 if (SWIG_arg_fail(1)) SWIG_fail
;
11047 arg2
= wxString_in_helper(obj1
);
11048 if (arg2
== NULL
) SWIG_fail
;
11051 if (arg1
) (arg1
)->Description
= *arg2
;
11053 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
11078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11079 if (SWIG_arg_fail(1)) SWIG_fail
;
11080 result
= (wxString
*)& ((arg1
)->Description
);
11084 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11086 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11095 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
11097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11098 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
11100 return Py_BuildValue((char *)"");
11102 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 int arg1
= (int) -1 ;
11105 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11107 PyObject
* obj0
= 0 ;
11108 PyObject
* obj1
= 0 ;
11109 char *kwnames
[] = {
11110 (char *) "language",(char *) "flags", NULL
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
11116 arg1
= (int)(SWIG_As_int(obj0
));
11117 if (SWIG_arg_fail(1)) SWIG_fail
;
11122 arg2
= (int)(SWIG_As_int(obj1
));
11123 if (SWIG_arg_fail(2)) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11140 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxLocale
*arg1
= (wxLocale
*) 0 ;
11143 PyObject
* obj0
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "self", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11150 if (SWIG_arg_fail(1)) SWIG_fail
;
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 Py_INCREF(Py_None
); resultobj
= Py_None
;
11165 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
;
11167 wxLocale
*arg1
= (wxLocale
*) 0 ;
11168 wxString
*arg2
= 0 ;
11169 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11170 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11171 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11172 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11173 bool arg5
= (bool) true ;
11174 bool arg6
= (bool) false ;
11176 bool temp2
= false ;
11177 bool temp3
= false ;
11178 bool temp4
= false ;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 PyObject
* obj2
= 0 ;
11182 PyObject
* obj3
= 0 ;
11183 PyObject
* obj4
= 0 ;
11184 PyObject
* obj5
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11191 if (SWIG_arg_fail(1)) SWIG_fail
;
11193 arg2
= wxString_in_helper(obj1
);
11194 if (arg2
== NULL
) SWIG_fail
;
11199 arg3
= wxString_in_helper(obj2
);
11200 if (arg3
== NULL
) SWIG_fail
;
11206 arg4
= wxString_in_helper(obj3
);
11207 if (arg4
== NULL
) SWIG_fail
;
11213 arg5
= (bool)(SWIG_As_bool(obj4
));
11214 if (SWIG_arg_fail(5)) SWIG_fail
;
11219 arg6
= (bool)(SWIG_As_bool(obj5
));
11220 if (SWIG_arg_fail(6)) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11263 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
;
11265 wxLocale
*arg1
= (wxLocale
*) 0 ;
11266 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11267 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11269 PyObject
* obj0
= 0 ;
11270 PyObject
* obj1
= 0 ;
11271 PyObject
* obj2
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "self",(char *) "language",(char *) "flags", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11278 if (SWIG_arg_fail(1)) SWIG_fail
;
11281 arg2
= (int)(SWIG_As_int(obj1
));
11282 if (SWIG_arg_fail(2)) SWIG_fail
;
11287 arg3
= (int)(SWIG_As_int(obj2
));
11288 if (SWIG_arg_fail(3)) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11307 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11310 char *kwnames
[] = {
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 result
= (int)wxLocale::GetSystemLanguage();
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_From_int((int)(result
));
11331 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxFontEncoding result
;
11334 char *kwnames
[] = {
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_int((result
));
11353 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
;
11356 char *kwnames
[] = {
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= wxLocale::GetSystemEncodingName();
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11381 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxLocale
*arg1
= (wxLocale
*) 0 ;
11385 PyObject
* obj0
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
11391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11392 if (SWIG_arg_fail(1)) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11409 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxLocale
*arg1
= (wxLocale
*) 0 ;
11413 PyObject
* obj0
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
11419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11420 if (SWIG_arg_fail(1)) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= ((wxLocale
const *)arg1
)->GetLocale();
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11441 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
;
11443 wxLocale
*arg1
= (wxLocale
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
11451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11452 if (SWIG_arg_fail(1)) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= SWIG_From_int((int)(result
));
11469 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxLocale
*arg1
= (wxLocale
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
11479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11480 if (SWIG_arg_fail(1)) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= ((wxLocale
const *)arg1
)->GetSysName();
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11501 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxLocale
*arg1
= (wxLocale
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
11511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11512 if (SWIG_arg_fail(1)) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11533 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 wxString
*arg1
= 0 ;
11536 bool temp1
= false ;
11537 PyObject
* obj0
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "prefix", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
11544 arg1
= wxString_in_helper(obj0
);
11545 if (arg1
== NULL
) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 Py_INCREF(Py_None
); resultobj
= Py_None
;
11570 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxLocale
*arg1
= (wxLocale
*) 0 ;
11573 wxString
*arg2
= 0 ;
11575 bool temp2
= false ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self",(char *) "szDomain", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
11583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11584 if (SWIG_arg_fail(1)) SWIG_fail
;
11586 arg2
= wxString_in_helper(obj1
);
11587 if (arg2
== NULL
) SWIG_fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11614 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxLocale
*arg1
= (wxLocale
*) 0 ;
11617 wxString
*arg2
= 0 ;
11619 bool temp2
= false ;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self",(char *) "szDomain", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
11627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11628 if (SWIG_arg_fail(1)) SWIG_fail
;
11630 arg2
= wxString_in_helper(obj1
);
11631 if (arg2
== NULL
) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11658 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
*resultobj
;
11661 wxLanguageInfo
*result
;
11662 PyObject
* obj0
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "lang", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
11669 arg1
= (int)(SWIG_As_int(obj0
));
11670 if (SWIG_arg_fail(1)) SWIG_fail
;
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11686 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
;
11690 PyObject
* obj0
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "lang", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
11697 arg1
= (int)(SWIG_As_int(obj0
));
11698 if (SWIG_arg_fail(1)) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 result
= wxLocale::GetLanguageName(arg1
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11720 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11721 PyObject
*resultobj
;
11722 wxString
*arg1
= 0 ;
11723 wxLanguageInfo
*result
;
11724 bool temp1
= false ;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "locale", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
11732 arg1
= wxString_in_helper(obj0
);
11733 if (arg1
== NULL
) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11758 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxLanguageInfo
*arg1
= 0 ;
11761 PyObject
* obj0
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "info", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
11768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11769 if (SWIG_arg_fail(1)) SWIG_fail
;
11770 if (arg1
== NULL
) {
11771 SWIG_null_ref("wxLanguageInfo");
11773 if (SWIG_arg_fail(1)) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 Py_INCREF(Py_None
); resultobj
= Py_None
;
11789 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxLocale
*arg1
= (wxLocale
*) 0 ;
11792 wxString
*arg2
= 0 ;
11793 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11794 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11796 bool temp2
= false ;
11797 bool temp3
= false ;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 PyObject
* obj2
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11807 if (SWIG_arg_fail(1)) SWIG_fail
;
11809 arg2
= wxString_in_helper(obj1
);
11810 if (arg2
== NULL
) SWIG_fail
;
11815 arg3
= wxString_in_helper(obj2
);
11816 if (arg3
== NULL
) SWIG_fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11856 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxLocale
*arg1
= (wxLocale
*) 0 ;
11860 PyObject
* obj0
= 0 ;
11861 char *kwnames
[] = {
11862 (char *) "self", NULL
11865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
11866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11867 if (SWIG_arg_fail(1)) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
11872 result
= (wxString
*) &_result_ref
;
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11882 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11891 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
11893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11894 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
11896 return Py_BuildValue((char *)"");
11898 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11901 char *kwnames
[] = {
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (wxLocale
*)wxGetLocale();
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
11920 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
11921 PyObject
*resultobj
;
11922 wxString
*arg1
= 0 ;
11924 bool temp1
= false ;
11925 PyObject
* obj0
= 0 ;
11927 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
11929 arg1
= wxString_in_helper(obj0
);
11930 if (arg1
== NULL
) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= wxGetTranslation((wxString
const &)*arg1
);
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11961 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
11962 PyObject
*resultobj
;
11963 wxString
*arg1
= 0 ;
11964 wxString
*arg2
= 0 ;
11967 bool temp1
= false ;
11968 bool temp2
= false ;
11969 PyObject
* obj0
= 0 ;
11970 PyObject
* obj1
= 0 ;
11971 PyObject
* obj2
= 0 ;
11973 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
11975 arg1
= wxString_in_helper(obj0
);
11976 if (arg1
== NULL
) SWIG_fail
;
11980 arg2
= wxString_in_helper(obj1
);
11981 if (arg2
== NULL
) SWIG_fail
;
11985 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11986 if (SWIG_arg_fail(3)) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12024 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
12029 argc
= PyObject_Length(args
);
12030 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
12031 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12036 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12039 return _wrap_GetTranslation__SWIG_0(self
,args
);
12045 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12049 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
12052 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
12054 return _wrap_GetTranslation__SWIG_1(self
,args
);
12060 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
12065 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxEncodingConverter
*result
;
12068 char *kwnames
[] = {
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (wxEncodingConverter
*)new wxEncodingConverter();
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
12087 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12090 PyObject
* obj0
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
12096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12097 if (SWIG_arg_fail(1)) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 Py_INCREF(Py_None
); resultobj
= Py_None
;
12112 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12115 wxFontEncoding arg2
;
12116 wxFontEncoding arg3
;
12117 int arg4
= (int) wxCONVERT_STRICT
;
12119 PyObject
* obj0
= 0 ;
12120 PyObject
* obj1
= 0 ;
12121 PyObject
* obj2
= 0 ;
12122 PyObject
* obj3
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12129 if (SWIG_arg_fail(1)) SWIG_fail
;
12131 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12132 if (SWIG_arg_fail(2)) SWIG_fail
;
12135 arg3
= (wxFontEncoding
)(SWIG_As_int(obj2
));
12136 if (SWIG_arg_fail(3)) SWIG_fail
;
12140 arg4
= (int)(SWIG_As_int(obj3
));
12141 if (SWIG_arg_fail(4)) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12160 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12163 wxString
*arg2
= 0 ;
12165 bool temp2
= false ;
12166 PyObject
* obj0
= 0 ;
12167 PyObject
* obj1
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self",(char *) "input", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12176 arg2
= wxString_in_helper(obj1
);
12177 if (arg2
== NULL
) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12208 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxFontEncoding arg1
;
12211 int arg2
= (int) wxPLATFORM_CURRENT
;
12212 wxFontEncodingArray result
;
12213 PyObject
* obj0
= 0 ;
12214 PyObject
* obj1
= 0 ;
12215 char *kwnames
[] = {
12216 (char *) "enc",(char *) "platform", NULL
12219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12221 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12222 if (SWIG_arg_fail(1)) SWIG_fail
;
12226 arg2
= (int)(SWIG_As_int(obj1
));
12227 if (SWIG_arg_fail(2)) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= PyList_New(0);
12239 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12240 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12241 PyList_Append(resultobj
, number
);
12251 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxFontEncoding arg1
;
12254 wxFontEncodingArray result
;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "enc", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12262 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12263 if (SWIG_arg_fail(1)) SWIG_fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= PyList_New(0);
12274 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12275 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12276 PyList_Append(resultobj
, number
);
12286 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
;
12288 wxFontEncoding arg1
;
12289 wxFontEncoding arg2
;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "encIn",(char *) "encOut", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12299 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12300 if (SWIG_arg_fail(1)) SWIG_fail
;
12303 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12304 if (SWIG_arg_fail(2)) SWIG_fail
;
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12322 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12325 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12327 return Py_BuildValue((char *)"");
12329 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxDC
*arg1
= (wxDC
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
12338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12339 if (SWIG_arg_fail(1)) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 Py_INCREF(Py_None
); resultobj
= Py_None
;
12354 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxDC
*arg1
= (wxDC
*) 0 ;
12357 PyObject
* obj0
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12364 if (SWIG_arg_fail(1)) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 (arg1
)->BeginDrawing();
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 Py_INCREF(Py_None
); resultobj
= Py_None
;
12379 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxDC
*arg1
= (wxDC
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 (arg1
)->EndDrawing();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 Py_INCREF(Py_None
); resultobj
= Py_None
;
12404 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
;
12406 wxDC
*arg1
= (wxDC
*) 0 ;
12409 wxColour
*arg4
= 0 ;
12410 int arg5
= (int) wxFLOOD_SURFACE
;
12413 PyObject
* obj0
= 0 ;
12414 PyObject
* obj1
= 0 ;
12415 PyObject
* obj2
= 0 ;
12416 PyObject
* obj3
= 0 ;
12417 PyObject
* obj4
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12424 if (SWIG_arg_fail(1)) SWIG_fail
;
12426 arg2
= (int)(SWIG_As_int(obj1
));
12427 if (SWIG_arg_fail(2)) SWIG_fail
;
12430 arg3
= (int)(SWIG_As_int(obj2
));
12431 if (SWIG_arg_fail(3)) SWIG_fail
;
12435 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12439 arg5
= (int)(SWIG_As_int(obj4
));
12440 if (SWIG_arg_fail(5)) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12459 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxDC
*arg1
= (wxDC
*) 0 ;
12462 wxPoint
*arg2
= 0 ;
12463 wxColour
*arg3
= 0 ;
12464 int arg4
= (int) wxFLOOD_SURFACE
;
12468 PyObject
* obj0
= 0 ;
12469 PyObject
* obj1
= 0 ;
12470 PyObject
* obj2
= 0 ;
12471 PyObject
* obj3
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12478 if (SWIG_arg_fail(1)) SWIG_fail
;
12481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12485 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12489 arg4
= (int)(SWIG_As_int(obj3
));
12490 if (SWIG_arg_fail(4)) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12509 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxDC
*arg1
= (wxDC
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 PyObject
* obj1
= 0 ;
12517 PyObject
* obj2
= 0 ;
12518 char *kwnames
[] = {
12519 (char *) "self",(char *) "x",(char *) "y", NULL
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12524 if (SWIG_arg_fail(1)) SWIG_fail
;
12526 arg2
= (int)(SWIG_As_int(obj1
));
12527 if (SWIG_arg_fail(2)) SWIG_fail
;
12530 arg3
= (int)(SWIG_As_int(obj2
));
12531 if (SWIG_arg_fail(3)) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12541 wxColour
* resultptr
;
12542 resultptr
= new wxColour((wxColour
&)(result
));
12543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12551 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxDC
*arg1
= (wxDC
*) 0 ;
12554 wxPoint
*arg2
= 0 ;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self",(char *) "pt", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12565 if (SWIG_arg_fail(1)) SWIG_fail
;
12568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12578 wxColour
* resultptr
;
12579 resultptr
= new wxColour((wxColour
&)(result
));
12580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12588 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxDC
*arg1
= (wxDC
*) 0 ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 PyObject
* obj2
= 0 ;
12598 PyObject
* obj3
= 0 ;
12599 PyObject
* obj4
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12606 if (SWIG_arg_fail(1)) SWIG_fail
;
12608 arg2
= (int)(SWIG_As_int(obj1
));
12609 if (SWIG_arg_fail(2)) SWIG_fail
;
12612 arg3
= (int)(SWIG_As_int(obj2
));
12613 if (SWIG_arg_fail(3)) SWIG_fail
;
12616 arg4
= (int)(SWIG_As_int(obj3
));
12617 if (SWIG_arg_fail(4)) SWIG_fail
;
12620 arg5
= (int)(SWIG_As_int(obj4
));
12621 if (SWIG_arg_fail(5)) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 Py_INCREF(Py_None
); resultobj
= Py_None
;
12637 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxDC
*arg1
= (wxDC
*) 0 ;
12640 wxPoint
*arg2
= 0 ;
12641 wxPoint
*arg3
= 0 ;
12644 PyObject
* obj0
= 0 ;
12645 PyObject
* obj1
= 0 ;
12646 PyObject
* obj2
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail
;
12656 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12660 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 Py_INCREF(Py_None
); resultobj
= Py_None
;
12676 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxDC
*arg1
= (wxDC
*) 0 ;
12681 PyObject
* obj0
= 0 ;
12682 PyObject
* obj1
= 0 ;
12683 PyObject
* obj2
= 0 ;
12684 char *kwnames
[] = {
12685 (char *) "self",(char *) "x",(char *) "y", NULL
12688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12690 if (SWIG_arg_fail(1)) SWIG_fail
;
12692 arg2
= (int)(SWIG_As_int(obj1
));
12693 if (SWIG_arg_fail(2)) SWIG_fail
;
12696 arg3
= (int)(SWIG_As_int(obj2
));
12697 if (SWIG_arg_fail(3)) SWIG_fail
;
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 (arg1
)->CrossHair(arg2
,arg3
);
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12706 Py_INCREF(Py_None
); resultobj
= Py_None
;
12713 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12714 PyObject
*resultobj
;
12715 wxDC
*arg1
= (wxDC
*) 0 ;
12716 wxPoint
*arg2
= 0 ;
12718 PyObject
* obj0
= 0 ;
12719 PyObject
* obj1
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self",(char *) "pt", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12726 if (SWIG_arg_fail(1)) SWIG_fail
;
12729 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 Py_INCREF(Py_None
); resultobj
= Py_None
;
12745 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
;
12747 wxDC
*arg1
= (wxDC
*) 0 ;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 PyObject
* obj2
= 0 ;
12757 PyObject
* obj3
= 0 ;
12758 PyObject
* obj4
= 0 ;
12759 PyObject
* obj5
= 0 ;
12760 PyObject
* obj6
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12767 if (SWIG_arg_fail(1)) SWIG_fail
;
12769 arg2
= (int)(SWIG_As_int(obj1
));
12770 if (SWIG_arg_fail(2)) SWIG_fail
;
12773 arg3
= (int)(SWIG_As_int(obj2
));
12774 if (SWIG_arg_fail(3)) SWIG_fail
;
12777 arg4
= (int)(SWIG_As_int(obj3
));
12778 if (SWIG_arg_fail(4)) SWIG_fail
;
12781 arg5
= (int)(SWIG_As_int(obj4
));
12782 if (SWIG_arg_fail(5)) SWIG_fail
;
12785 arg6
= (int)(SWIG_As_int(obj5
));
12786 if (SWIG_arg_fail(6)) SWIG_fail
;
12789 arg7
= (int)(SWIG_As_int(obj6
));
12790 if (SWIG_arg_fail(7)) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 Py_INCREF(Py_None
); resultobj
= Py_None
;
12806 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxDC
*arg1
= (wxDC
*) 0 ;
12809 wxPoint
*arg2
= 0 ;
12810 wxPoint
*arg3
= 0 ;
12811 wxPoint
*arg4
= 0 ;
12815 PyObject
* obj0
= 0 ;
12816 PyObject
* obj1
= 0 ;
12817 PyObject
* obj2
= 0 ;
12818 PyObject
* obj3
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12825 if (SWIG_arg_fail(1)) SWIG_fail
;
12828 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12832 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12836 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 Py_INCREF(Py_None
); resultobj
= Py_None
;
12852 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxDC
*arg1
= (wxDC
*) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 PyObject
* obj1
= 0 ;
12861 PyObject
* obj2
= 0 ;
12862 PyObject
* obj3
= 0 ;
12863 PyObject
* obj4
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12870 if (SWIG_arg_fail(1)) SWIG_fail
;
12872 arg2
= (int)(SWIG_As_int(obj1
));
12873 if (SWIG_arg_fail(2)) SWIG_fail
;
12876 arg3
= (int)(SWIG_As_int(obj2
));
12877 if (SWIG_arg_fail(3)) SWIG_fail
;
12880 arg4
= (int)(SWIG_As_int(obj3
));
12881 if (SWIG_arg_fail(4)) SWIG_fail
;
12884 arg5
= (int)(SWIG_As_int(obj4
));
12885 if (SWIG_arg_fail(5)) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 Py_INCREF(Py_None
); resultobj
= Py_None
;
12901 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxDC
*arg1
= (wxDC
*) 0 ;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self",(char *) "rect", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12914 if (SWIG_arg_fail(1)) SWIG_fail
;
12917 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 Py_INCREF(Py_None
); resultobj
= Py_None
;
12933 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxDC
*arg1
= (wxDC
*) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 PyObject
* obj1
= 0 ;
12944 PyObject
* obj2
= 0 ;
12945 PyObject
* obj3
= 0 ;
12946 PyObject
* obj4
= 0 ;
12947 PyObject
* obj5
= 0 ;
12948 PyObject
* obj6
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12955 if (SWIG_arg_fail(1)) SWIG_fail
;
12957 arg2
= (int)(SWIG_As_int(obj1
));
12958 if (SWIG_arg_fail(2)) SWIG_fail
;
12961 arg3
= (int)(SWIG_As_int(obj2
));
12962 if (SWIG_arg_fail(3)) SWIG_fail
;
12965 arg4
= (int)(SWIG_As_int(obj3
));
12966 if (SWIG_arg_fail(4)) SWIG_fail
;
12969 arg5
= (int)(SWIG_As_int(obj4
));
12970 if (SWIG_arg_fail(5)) SWIG_fail
;
12973 arg6
= (double)(SWIG_As_double(obj5
));
12974 if (SWIG_arg_fail(6)) SWIG_fail
;
12977 arg7
= (double)(SWIG_As_double(obj6
));
12978 if (SWIG_arg_fail(7)) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 Py_INCREF(Py_None
); resultobj
= Py_None
;
12994 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxDC
*arg1
= (wxDC
*) 0 ;
12997 wxPoint
*arg2
= 0 ;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 PyObject
* obj2
= 0 ;
13006 PyObject
* obj3
= 0 ;
13007 PyObject
* obj4
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13014 if (SWIG_arg_fail(1)) SWIG_fail
;
13017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13021 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13024 arg4
= (double)(SWIG_As_double(obj3
));
13025 if (SWIG_arg_fail(4)) SWIG_fail
;
13028 arg5
= (double)(SWIG_As_double(obj4
));
13029 if (SWIG_arg_fail(5)) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 Py_INCREF(Py_None
); resultobj
= Py_None
;
13045 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxDC
*arg1
= (wxDC
*) 0 ;
13050 PyObject
* obj0
= 0 ;
13051 PyObject
* obj1
= 0 ;
13052 PyObject
* obj2
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self",(char *) "x",(char *) "y", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13059 if (SWIG_arg_fail(1)) SWIG_fail
;
13061 arg2
= (int)(SWIG_As_int(obj1
));
13062 if (SWIG_arg_fail(2)) SWIG_fail
;
13065 arg3
= (int)(SWIG_As_int(obj2
));
13066 if (SWIG_arg_fail(3)) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 (arg1
)->DrawPoint(arg2
,arg3
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 Py_INCREF(Py_None
); resultobj
= Py_None
;
13082 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxDC
*arg1
= (wxDC
*) 0 ;
13085 wxPoint
*arg2
= 0 ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self",(char *) "pt", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13095 if (SWIG_arg_fail(1)) SWIG_fail
;
13098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 Py_INCREF(Py_None
); resultobj
= Py_None
;
13114 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxDC
*arg1
= (wxDC
*) 0 ;
13121 PyObject
* obj0
= 0 ;
13122 PyObject
* obj1
= 0 ;
13123 PyObject
* obj2
= 0 ;
13124 PyObject
* obj3
= 0 ;
13125 PyObject
* obj4
= 0 ;
13126 char *kwnames
[] = {
13127 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13132 if (SWIG_arg_fail(1)) SWIG_fail
;
13134 arg2
= (int)(SWIG_As_int(obj1
));
13135 if (SWIG_arg_fail(2)) SWIG_fail
;
13138 arg3
= (int)(SWIG_As_int(obj2
));
13139 if (SWIG_arg_fail(3)) SWIG_fail
;
13142 arg4
= (int)(SWIG_As_int(obj3
));
13143 if (SWIG_arg_fail(4)) SWIG_fail
;
13146 arg5
= (int)(SWIG_As_int(obj4
));
13147 if (SWIG_arg_fail(5)) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 Py_INCREF(Py_None
); resultobj
= Py_None
;
13163 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
;
13165 wxDC
*arg1
= (wxDC
*) 0 ;
13168 PyObject
* obj0
= 0 ;
13169 PyObject
* obj1
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self",(char *) "rect", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13176 if (SWIG_arg_fail(1)) SWIG_fail
;
13179 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 Py_INCREF(Py_None
); resultobj
= Py_None
;
13195 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxDC
*arg1
= (wxDC
*) 0 ;
13198 wxPoint
*arg2
= 0 ;
13202 PyObject
* obj0
= 0 ;
13203 PyObject
* obj1
= 0 ;
13204 PyObject
* obj2
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self",(char *) "pt",(char *) "sz", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13211 if (SWIG_arg_fail(1)) SWIG_fail
;
13214 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13218 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 Py_INCREF(Py_None
); resultobj
= Py_None
;
13234 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxDC
*arg1
= (wxDC
*) 0 ;
13242 PyObject
* obj0
= 0 ;
13243 PyObject
* obj1
= 0 ;
13244 PyObject
* obj2
= 0 ;
13245 PyObject
* obj3
= 0 ;
13246 PyObject
* obj4
= 0 ;
13247 PyObject
* obj5
= 0 ;
13248 char *kwnames
[] = {
13249 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13254 if (SWIG_arg_fail(1)) SWIG_fail
;
13256 arg2
= (int)(SWIG_As_int(obj1
));
13257 if (SWIG_arg_fail(2)) SWIG_fail
;
13260 arg3
= (int)(SWIG_As_int(obj2
));
13261 if (SWIG_arg_fail(3)) SWIG_fail
;
13264 arg4
= (int)(SWIG_As_int(obj3
));
13265 if (SWIG_arg_fail(4)) SWIG_fail
;
13268 arg5
= (int)(SWIG_As_int(obj4
));
13269 if (SWIG_arg_fail(5)) SWIG_fail
;
13272 arg6
= (double)(SWIG_As_double(obj5
));
13273 if (SWIG_arg_fail(6)) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 Py_INCREF(Py_None
); resultobj
= Py_None
;
13289 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxDC
*arg1
= (wxDC
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 PyObject
* obj2
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "self",(char *) "r",(char *) "radius", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13304 if (SWIG_arg_fail(1)) SWIG_fail
;
13307 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13310 arg3
= (double)(SWIG_As_double(obj2
));
13311 if (SWIG_arg_fail(3)) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 Py_INCREF(Py_None
); resultobj
= Py_None
;
13327 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxDC
*arg1
= (wxDC
*) 0 ;
13330 wxPoint
*arg2
= 0 ;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 PyObject
* obj2
= 0 ;
13338 PyObject
* obj3
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13345 if (SWIG_arg_fail(1)) SWIG_fail
;
13348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13352 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13355 arg4
= (double)(SWIG_As_double(obj3
));
13356 if (SWIG_arg_fail(4)) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 Py_INCREF(Py_None
); resultobj
= Py_None
;
13372 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
;
13374 wxDC
*arg1
= (wxDC
*) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 PyObject
* obj1
= 0 ;
13380 PyObject
* obj2
= 0 ;
13381 PyObject
* obj3
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13388 if (SWIG_arg_fail(1)) SWIG_fail
;
13390 arg2
= (int)(SWIG_As_int(obj1
));
13391 if (SWIG_arg_fail(2)) SWIG_fail
;
13394 arg3
= (int)(SWIG_As_int(obj2
));
13395 if (SWIG_arg_fail(3)) SWIG_fail
;
13398 arg4
= (int)(SWIG_As_int(obj3
));
13399 if (SWIG_arg_fail(4)) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 Py_INCREF(Py_None
); resultobj
= Py_None
;
13415 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
;
13417 wxDC
*arg1
= (wxDC
*) 0 ;
13418 wxPoint
*arg2
= 0 ;
13421 PyObject
* obj0
= 0 ;
13422 PyObject
* obj1
= 0 ;
13423 PyObject
* obj2
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self",(char *) "pt",(char *) "radius", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13430 if (SWIG_arg_fail(1)) SWIG_fail
;
13433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13436 arg3
= (int)(SWIG_As_int(obj2
));
13437 if (SWIG_arg_fail(3)) SWIG_fail
;
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 Py_INCREF(Py_None
); resultobj
= Py_None
;
13453 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxDC
*arg1
= (wxDC
*) 0 ;
13460 PyObject
* obj0
= 0 ;
13461 PyObject
* obj1
= 0 ;
13462 PyObject
* obj2
= 0 ;
13463 PyObject
* obj3
= 0 ;
13464 PyObject
* obj4
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13471 if (SWIG_arg_fail(1)) SWIG_fail
;
13473 arg2
= (int)(SWIG_As_int(obj1
));
13474 if (SWIG_arg_fail(2)) SWIG_fail
;
13477 arg3
= (int)(SWIG_As_int(obj2
));
13478 if (SWIG_arg_fail(3)) SWIG_fail
;
13481 arg4
= (int)(SWIG_As_int(obj3
));
13482 if (SWIG_arg_fail(4)) SWIG_fail
;
13485 arg5
= (int)(SWIG_As_int(obj4
));
13486 if (SWIG_arg_fail(5)) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 Py_INCREF(Py_None
); resultobj
= Py_None
;
13502 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxDC
*arg1
= (wxDC
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self",(char *) "rect", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13515 if (SWIG_arg_fail(1)) SWIG_fail
;
13518 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 Py_INCREF(Py_None
); resultobj
= Py_None
;
13534 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxDC
*arg1
= (wxDC
*) 0 ;
13537 wxPoint
*arg2
= 0 ;
13541 PyObject
* obj0
= 0 ;
13542 PyObject
* obj1
= 0 ;
13543 PyObject
* obj2
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self",(char *) "pt",(char *) "sz", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13550 if (SWIG_arg_fail(1)) SWIG_fail
;
13553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13557 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13566 Py_INCREF(Py_None
); resultobj
= Py_None
;
13573 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxDC
*arg1
= (wxDC
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 PyObject
* obj1
= 0 ;
13581 PyObject
* obj2
= 0 ;
13582 PyObject
* obj3
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13589 if (SWIG_arg_fail(1)) SWIG_fail
;
13591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13592 if (SWIG_arg_fail(2)) SWIG_fail
;
13593 if (arg2
== NULL
) {
13594 SWIG_null_ref("wxIcon");
13596 if (SWIG_arg_fail(2)) SWIG_fail
;
13599 arg3
= (int)(SWIG_As_int(obj2
));
13600 if (SWIG_arg_fail(3)) SWIG_fail
;
13603 arg4
= (int)(SWIG_As_int(obj3
));
13604 if (SWIG_arg_fail(4)) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 Py_INCREF(Py_None
); resultobj
= Py_None
;
13620 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxDC
*arg1
= (wxDC
*) 0 ;
13624 wxPoint
*arg3
= 0 ;
13626 PyObject
* obj0
= 0 ;
13627 PyObject
* obj1
= 0 ;
13628 PyObject
* obj2
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self",(char *) "icon",(char *) "pt", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13635 if (SWIG_arg_fail(1)) SWIG_fail
;
13637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13638 if (SWIG_arg_fail(2)) SWIG_fail
;
13639 if (arg2
== NULL
) {
13640 SWIG_null_ref("wxIcon");
13642 if (SWIG_arg_fail(2)) SWIG_fail
;
13646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 Py_INCREF(Py_None
); resultobj
= Py_None
;
13662 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxDC
*arg1
= (wxDC
*) 0 ;
13665 wxBitmap
*arg2
= 0 ;
13668 bool arg5
= (bool) false ;
13669 PyObject
* obj0
= 0 ;
13670 PyObject
* obj1
= 0 ;
13671 PyObject
* obj2
= 0 ;
13672 PyObject
* obj3
= 0 ;
13673 PyObject
* obj4
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13680 if (SWIG_arg_fail(1)) SWIG_fail
;
13682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13683 if (SWIG_arg_fail(2)) SWIG_fail
;
13684 if (arg2
== NULL
) {
13685 SWIG_null_ref("wxBitmap");
13687 if (SWIG_arg_fail(2)) SWIG_fail
;
13690 arg3
= (int)(SWIG_As_int(obj2
));
13691 if (SWIG_arg_fail(3)) SWIG_fail
;
13694 arg4
= (int)(SWIG_As_int(obj3
));
13695 if (SWIG_arg_fail(4)) SWIG_fail
;
13699 arg5
= (bool)(SWIG_As_bool(obj4
));
13700 if (SWIG_arg_fail(5)) SWIG_fail
;
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13710 Py_INCREF(Py_None
); resultobj
= Py_None
;
13717 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxDC
*arg1
= (wxDC
*) 0 ;
13720 wxBitmap
*arg2
= 0 ;
13721 wxPoint
*arg3
= 0 ;
13722 bool arg4
= (bool) false ;
13724 PyObject
* obj0
= 0 ;
13725 PyObject
* obj1
= 0 ;
13726 PyObject
* obj2
= 0 ;
13727 PyObject
* obj3
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
13732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13734 if (SWIG_arg_fail(1)) SWIG_fail
;
13736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13737 if (SWIG_arg_fail(2)) SWIG_fail
;
13738 if (arg2
== NULL
) {
13739 SWIG_null_ref("wxBitmap");
13741 if (SWIG_arg_fail(2)) SWIG_fail
;
13745 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13749 arg4
= (bool)(SWIG_As_bool(obj3
));
13750 if (SWIG_arg_fail(4)) SWIG_fail
;
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 Py_INCREF(Py_None
); resultobj
= Py_None
;
13767 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxDC
*arg1
= (wxDC
*) 0 ;
13770 wxString
*arg2
= 0 ;
13773 bool temp2
= false ;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 PyObject
* obj2
= 0 ;
13777 PyObject
* obj3
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13784 if (SWIG_arg_fail(1)) SWIG_fail
;
13786 arg2
= wxString_in_helper(obj1
);
13787 if (arg2
== NULL
) SWIG_fail
;
13791 arg3
= (int)(SWIG_As_int(obj2
));
13792 if (SWIG_arg_fail(3)) SWIG_fail
;
13795 arg4
= (int)(SWIG_As_int(obj3
));
13796 if (SWIG_arg_fail(4)) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 Py_INCREF(Py_None
); resultobj
= Py_None
;
13820 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxDC
*arg1
= (wxDC
*) 0 ;
13823 wxString
*arg2
= 0 ;
13824 wxPoint
*arg3
= 0 ;
13825 bool temp2
= false ;
13827 PyObject
* obj0
= 0 ;
13828 PyObject
* obj1
= 0 ;
13829 PyObject
* obj2
= 0 ;
13830 char *kwnames
[] = {
13831 (char *) "self",(char *) "text",(char *) "pt", NULL
13834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13836 if (SWIG_arg_fail(1)) SWIG_fail
;
13838 arg2
= wxString_in_helper(obj1
);
13839 if (arg2
== NULL
) SWIG_fail
;
13844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 Py_INCREF(Py_None
); resultobj
= Py_None
;
13868 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxDC
*arg1
= (wxDC
*) 0 ;
13871 wxString
*arg2
= 0 ;
13875 bool temp2
= false ;
13876 PyObject
* obj0
= 0 ;
13877 PyObject
* obj1
= 0 ;
13878 PyObject
* obj2
= 0 ;
13879 PyObject
* obj3
= 0 ;
13880 PyObject
* obj4
= 0 ;
13881 char *kwnames
[] = {
13882 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13887 if (SWIG_arg_fail(1)) SWIG_fail
;
13889 arg2
= wxString_in_helper(obj1
);
13890 if (arg2
== NULL
) SWIG_fail
;
13894 arg3
= (int)(SWIG_As_int(obj2
));
13895 if (SWIG_arg_fail(3)) SWIG_fail
;
13898 arg4
= (int)(SWIG_As_int(obj3
));
13899 if (SWIG_arg_fail(4)) SWIG_fail
;
13902 arg5
= (double)(SWIG_As_double(obj4
));
13903 if (SWIG_arg_fail(5)) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 Py_INCREF(Py_None
); resultobj
= Py_None
;
13927 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxDC
*arg1
= (wxDC
*) 0 ;
13930 wxString
*arg2
= 0 ;
13931 wxPoint
*arg3
= 0 ;
13933 bool temp2
= false ;
13935 PyObject
* obj0
= 0 ;
13936 PyObject
* obj1
= 0 ;
13937 PyObject
* obj2
= 0 ;
13938 PyObject
* obj3
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13945 if (SWIG_arg_fail(1)) SWIG_fail
;
13947 arg2
= wxString_in_helper(obj1
);
13948 if (arg2
== NULL
) SWIG_fail
;
13953 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13956 arg4
= (double)(SWIG_As_double(obj3
));
13957 if (SWIG_arg_fail(4)) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 Py_INCREF(Py_None
); resultobj
= Py_None
;
13981 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13982 PyObject
*resultobj
;
13983 wxDC
*arg1
= (wxDC
*) 0 ;
13988 wxDC
*arg6
= (wxDC
*) 0 ;
13991 int arg9
= (int) wxCOPY
;
13992 bool arg10
= (bool) false ;
13993 int arg11
= (int) -1 ;
13994 int arg12
= (int) -1 ;
13996 PyObject
* obj0
= 0 ;
13997 PyObject
* obj1
= 0 ;
13998 PyObject
* obj2
= 0 ;
13999 PyObject
* obj3
= 0 ;
14000 PyObject
* obj4
= 0 ;
14001 PyObject
* obj5
= 0 ;
14002 PyObject
* obj6
= 0 ;
14003 PyObject
* obj7
= 0 ;
14004 PyObject
* obj8
= 0 ;
14005 PyObject
* obj9
= 0 ;
14006 PyObject
* obj10
= 0 ;
14007 PyObject
* obj11
= 0 ;
14008 char *kwnames
[] = {
14009 (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
14012 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
;
14013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14014 if (SWIG_arg_fail(1)) SWIG_fail
;
14016 arg2
= (int)(SWIG_As_int(obj1
));
14017 if (SWIG_arg_fail(2)) SWIG_fail
;
14020 arg3
= (int)(SWIG_As_int(obj2
));
14021 if (SWIG_arg_fail(3)) SWIG_fail
;
14024 arg4
= (int)(SWIG_As_int(obj3
));
14025 if (SWIG_arg_fail(4)) SWIG_fail
;
14028 arg5
= (int)(SWIG_As_int(obj4
));
14029 if (SWIG_arg_fail(5)) SWIG_fail
;
14031 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14032 if (SWIG_arg_fail(6)) SWIG_fail
;
14034 arg7
= (int)(SWIG_As_int(obj6
));
14035 if (SWIG_arg_fail(7)) SWIG_fail
;
14038 arg8
= (int)(SWIG_As_int(obj7
));
14039 if (SWIG_arg_fail(8)) SWIG_fail
;
14043 arg9
= (int)(SWIG_As_int(obj8
));
14044 if (SWIG_arg_fail(9)) SWIG_fail
;
14049 arg10
= (bool)(SWIG_As_bool(obj9
));
14050 if (SWIG_arg_fail(10)) SWIG_fail
;
14055 arg11
= (int)(SWIG_As_int(obj10
));
14056 if (SWIG_arg_fail(11)) SWIG_fail
;
14061 arg12
= (int)(SWIG_As_int(obj11
));
14062 if (SWIG_arg_fail(12)) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14081 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14082 PyObject
*resultobj
;
14083 wxDC
*arg1
= (wxDC
*) 0 ;
14084 wxPoint
*arg2
= 0 ;
14086 wxDC
*arg4
= (wxDC
*) 0 ;
14087 wxPoint
*arg5
= 0 ;
14088 int arg6
= (int) wxCOPY
;
14089 bool arg7
= (bool) false ;
14090 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
14091 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
14097 PyObject
* obj0
= 0 ;
14098 PyObject
* obj1
= 0 ;
14099 PyObject
* obj2
= 0 ;
14100 PyObject
* obj3
= 0 ;
14101 PyObject
* obj4
= 0 ;
14102 PyObject
* obj5
= 0 ;
14103 PyObject
* obj6
= 0 ;
14104 PyObject
* obj7
= 0 ;
14105 char *kwnames
[] = {
14106 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
14109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14111 if (SWIG_arg_fail(1)) SWIG_fail
;
14114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14118 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14120 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14121 if (SWIG_arg_fail(4)) SWIG_fail
;
14124 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14128 arg6
= (int)(SWIG_As_int(obj5
));
14129 if (SWIG_arg_fail(6)) SWIG_fail
;
14134 arg7
= (bool)(SWIG_As_bool(obj6
));
14135 if (SWIG_arg_fail(7)) SWIG_fail
;
14141 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14160 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxDC
*arg1
= (wxDC
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 PyObject
* obj1
= 0 ;
14169 PyObject
* obj2
= 0 ;
14170 PyObject
* obj3
= 0 ;
14171 PyObject
* obj4
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14178 if (SWIG_arg_fail(1)) SWIG_fail
;
14180 arg2
= (int)(SWIG_As_int(obj1
));
14181 if (SWIG_arg_fail(2)) SWIG_fail
;
14184 arg3
= (int)(SWIG_As_int(obj2
));
14185 if (SWIG_arg_fail(3)) SWIG_fail
;
14188 arg4
= (int)(SWIG_As_int(obj3
));
14189 if (SWIG_arg_fail(4)) SWIG_fail
;
14192 arg5
= (int)(SWIG_As_int(obj4
));
14193 if (SWIG_arg_fail(5)) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 Py_INCREF(Py_None
); resultobj
= Py_None
;
14209 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxDC
*arg1
= (wxDC
*) 0 ;
14212 wxPoint
*arg2
= 0 ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 PyObject
* obj2
= 0 ;
14219 char *kwnames
[] = {
14220 (char *) "self",(char *) "pt",(char *) "sz", NULL
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14225 if (SWIG_arg_fail(1)) SWIG_fail
;
14228 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14232 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14241 Py_INCREF(Py_None
); resultobj
= Py_None
;
14248 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxDC
*arg1
= (wxDC
*) 0 ;
14251 wxRegion
*arg2
= 0 ;
14252 PyObject
* obj0
= 0 ;
14253 PyObject
* obj1
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self",(char *) "region", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14260 if (SWIG_arg_fail(1)) SWIG_fail
;
14262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14263 if (SWIG_arg_fail(2)) SWIG_fail
;
14264 if (arg2
== NULL
) {
14265 SWIG_null_ref("wxRegion");
14267 if (SWIG_arg_fail(2)) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 Py_INCREF(Py_None
); resultobj
= Py_None
;
14283 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxDC
*arg1
= (wxDC
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 PyObject
* obj1
= 0 ;
14290 char *kwnames
[] = {
14291 (char *) "self",(char *) "rect", NULL
14294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14296 if (SWIG_arg_fail(1)) SWIG_fail
;
14299 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 Py_INCREF(Py_None
); resultobj
= Py_None
;
14315 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxDC
*arg1
= (wxDC
*) 0 ;
14319 wxPoint
*arg3
= (wxPoint
*) 0 ;
14320 int arg4
= (int) 0 ;
14321 int arg5
= (int) 0 ;
14322 PyObject
* obj0
= 0 ;
14323 PyObject
* obj1
= 0 ;
14324 PyObject
* obj2
= 0 ;
14325 PyObject
* obj3
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14332 if (SWIG_arg_fail(1)) SWIG_fail
;
14334 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14335 if (arg3
== NULL
) SWIG_fail
;
14339 arg4
= (int)(SWIG_As_int(obj2
));
14340 if (SWIG_arg_fail(4)) SWIG_fail
;
14345 arg5
= (int)(SWIG_As_int(obj3
));
14346 if (SWIG_arg_fail(5)) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 Py_INCREF(Py_None
); resultobj
= Py_None
;
14358 if (arg3
) delete [] arg3
;
14363 if (arg3
) delete [] arg3
;
14369 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
;
14371 wxDC
*arg1
= (wxDC
*) 0 ;
14373 wxPoint
*arg3
= (wxPoint
*) 0 ;
14374 int arg4
= (int) 0 ;
14375 int arg5
= (int) 0 ;
14376 int arg6
= (int) wxODDEVEN_RULE
;
14377 PyObject
* obj0
= 0 ;
14378 PyObject
* obj1
= 0 ;
14379 PyObject
* obj2
= 0 ;
14380 PyObject
* obj3
= 0 ;
14381 PyObject
* obj4
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14388 if (SWIG_arg_fail(1)) SWIG_fail
;
14390 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14391 if (arg3
== NULL
) SWIG_fail
;
14395 arg4
= (int)(SWIG_As_int(obj2
));
14396 if (SWIG_arg_fail(4)) SWIG_fail
;
14401 arg5
= (int)(SWIG_As_int(obj3
));
14402 if (SWIG_arg_fail(5)) SWIG_fail
;
14407 arg6
= (int)(SWIG_As_int(obj4
));
14408 if (SWIG_arg_fail(6)) SWIG_fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 Py_INCREF(Py_None
); resultobj
= Py_None
;
14420 if (arg3
) delete [] arg3
;
14425 if (arg3
) delete [] arg3
;
14431 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxDC
*arg1
= (wxDC
*) 0 ;
14434 wxString
*arg2
= 0 ;
14436 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14437 int arg5
= (int) -1 ;
14438 bool temp2
= false ;
14440 PyObject
* obj0
= 0 ;
14441 PyObject
* obj1
= 0 ;
14442 PyObject
* obj2
= 0 ;
14443 PyObject
* obj3
= 0 ;
14444 PyObject
* obj4
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail
;
14453 arg2
= wxString_in_helper(obj1
);
14454 if (arg2
== NULL
) SWIG_fail
;
14459 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
14463 arg4
= (int)(SWIG_As_int(obj3
));
14464 if (SWIG_arg_fail(4)) SWIG_fail
;
14469 arg5
= (int)(SWIG_As_int(obj4
));
14470 if (SWIG_arg_fail(5)) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 Py_INCREF(Py_None
); resultobj
= Py_None
;
14495 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxDC
*arg1
= (wxDC
*) 0 ;
14498 wxString
*arg2
= 0 ;
14499 wxBitmap
*arg3
= 0 ;
14501 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14502 int arg6
= (int) -1 ;
14504 bool temp2
= false ;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 PyObject
* obj2
= 0 ;
14509 PyObject
* obj3
= 0 ;
14510 PyObject
* obj4
= 0 ;
14511 PyObject
* obj5
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14518 if (SWIG_arg_fail(1)) SWIG_fail
;
14520 arg2
= wxString_in_helper(obj1
);
14521 if (arg2
== NULL
) SWIG_fail
;
14525 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14526 if (SWIG_arg_fail(3)) SWIG_fail
;
14527 if (arg3
== NULL
) {
14528 SWIG_null_ref("wxBitmap");
14530 if (SWIG_arg_fail(3)) SWIG_fail
;
14534 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
14538 arg5
= (int)(SWIG_As_int(obj4
));
14539 if (SWIG_arg_fail(5)) SWIG_fail
;
14544 arg6
= (int)(SWIG_As_int(obj5
));
14545 if (SWIG_arg_fail(6)) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14556 wxRect
* resultptr
;
14557 resultptr
= new wxRect((wxRect
&)(result
));
14558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14574 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxDC
*arg1
= (wxDC
*) 0 ;
14578 wxPoint
*arg3
= (wxPoint
*) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 PyObject
* obj1
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self",(char *) "points", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
14586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14587 if (SWIG_arg_fail(1)) SWIG_fail
;
14589 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14590 if (arg3
== NULL
) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 (arg1
)->DrawSpline(arg2
,arg3
);
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14599 Py_INCREF(Py_None
); resultobj
= Py_None
;
14601 if (arg3
) delete [] arg3
;
14606 if (arg3
) delete [] arg3
;
14612 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxDC
*arg1
= (wxDC
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
14621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14622 if (SWIG_arg_fail(1)) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 Py_INCREF(Py_None
); resultobj
= Py_None
;
14637 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxDC
*arg1
= (wxDC
*) 0 ;
14640 wxString
*arg2
= 0 ;
14642 bool temp2
= false ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self",(char *) "message", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
14650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14651 if (SWIG_arg_fail(1)) SWIG_fail
;
14653 arg2
= wxString_in_helper(obj1
);
14654 if (arg2
== NULL
) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14681 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14682 PyObject
*resultobj
;
14683 wxDC
*arg1
= (wxDC
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
14690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14691 if (SWIG_arg_fail(1)) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 Py_INCREF(Py_None
); resultobj
= Py_None
;
14706 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxDC
*arg1
= (wxDC
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "self", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
14715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14716 if (SWIG_arg_fail(1)) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 (arg1
)->StartPage();
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 Py_INCREF(Py_None
); resultobj
= Py_None
;
14731 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxDC
*arg1
= (wxDC
*) 0 ;
14734 PyObject
* obj0
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "self", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
14740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14741 if (SWIG_arg_fail(1)) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 Py_INCREF(Py_None
); resultobj
= Py_None
;
14756 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxDC
*arg1
= (wxDC
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self",(char *) "font", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14768 if (SWIG_arg_fail(1)) SWIG_fail
;
14770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14771 if (SWIG_arg_fail(2)) SWIG_fail
;
14772 if (arg2
== NULL
) {
14773 SWIG_null_ref("wxFont");
14775 if (SWIG_arg_fail(2)) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->SetFont((wxFont
const &)*arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 Py_INCREF(Py_None
); resultobj
= Py_None
;
14791 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxDC
*arg1
= (wxDC
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self",(char *) "pen", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14803 if (SWIG_arg_fail(1)) SWIG_fail
;
14805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
14806 if (SWIG_arg_fail(2)) SWIG_fail
;
14807 if (arg2
== NULL
) {
14808 SWIG_null_ref("wxPen");
14810 if (SWIG_arg_fail(2)) SWIG_fail
;
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 (arg1
)->SetPen((wxPen
const &)*arg2
);
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 Py_INCREF(Py_None
); resultobj
= Py_None
;
14826 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxDC
*arg1
= (wxDC
*) 0 ;
14829 wxBrush
*arg2
= 0 ;
14830 PyObject
* obj0
= 0 ;
14831 PyObject
* obj1
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "self",(char *) "brush", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14838 if (SWIG_arg_fail(1)) SWIG_fail
;
14840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14841 if (SWIG_arg_fail(2)) SWIG_fail
;
14842 if (arg2
== NULL
) {
14843 SWIG_null_ref("wxBrush");
14845 if (SWIG_arg_fail(2)) SWIG_fail
;
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 Py_INCREF(Py_None
); resultobj
= Py_None
;
14861 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxDC
*arg1
= (wxDC
*) 0 ;
14864 wxBrush
*arg2
= 0 ;
14865 PyObject
* obj0
= 0 ;
14866 PyObject
* obj1
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self",(char *) "brush", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14873 if (SWIG_arg_fail(1)) SWIG_fail
;
14875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14876 if (SWIG_arg_fail(2)) SWIG_fail
;
14877 if (arg2
== NULL
) {
14878 SWIG_null_ref("wxBrush");
14880 if (SWIG_arg_fail(2)) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 Py_INCREF(Py_None
); resultobj
= Py_None
;
14896 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
;
14898 wxDC
*arg1
= (wxDC
*) 0 ;
14900 PyObject
* obj0
= 0 ;
14901 PyObject
* obj1
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self",(char *) "mode", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14908 if (SWIG_arg_fail(1)) SWIG_fail
;
14910 arg2
= (int)(SWIG_As_int(obj1
));
14911 if (SWIG_arg_fail(2)) SWIG_fail
;
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 (arg1
)->SetBackgroundMode(arg2
);
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14920 Py_INCREF(Py_None
); resultobj
= Py_None
;
14927 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxDC
*arg1
= (wxDC
*) 0 ;
14930 wxPalette
*arg2
= 0 ;
14931 PyObject
* obj0
= 0 ;
14932 PyObject
* obj1
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self",(char *) "palette", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
14938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14939 if (SWIG_arg_fail(1)) SWIG_fail
;
14941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
14942 if (SWIG_arg_fail(2)) SWIG_fail
;
14943 if (arg2
== NULL
) {
14944 SWIG_null_ref("wxPalette");
14946 if (SWIG_arg_fail(2)) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 Py_INCREF(Py_None
); resultobj
= Py_None
;
14962 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxDC
*arg1
= (wxDC
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
14971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14972 if (SWIG_arg_fail(1)) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 (arg1
)->DestroyClippingRegion();
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 Py_INCREF(Py_None
); resultobj
= Py_None
;
14987 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxDC
*arg1
= (wxDC
*) 0 ;
14990 int *arg2
= (int *) 0 ;
14991 int *arg3
= (int *) 0 ;
14992 int *arg4
= (int *) 0 ;
14993 int *arg5
= (int *) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self", NULL
15007 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15008 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15009 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15010 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
15012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15013 if (SWIG_arg_fail(1)) SWIG_fail
;
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 Py_INCREF(Py_None
); resultobj
= Py_None
;
15022 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15023 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15024 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15025 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15026 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15027 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15028 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15029 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15036 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxDC
*arg1
= (wxDC
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
15046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15047 if (SWIG_arg_fail(1)) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= wxDC_GetClippingRect(arg1
);
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15056 wxRect
* resultptr
;
15057 resultptr
= new wxRect((wxRect
&)(result
));
15058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15066 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxDC
*arg1
= (wxDC
*) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
15076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15077 if (SWIG_arg_fail(1)) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15086 resultobj
= SWIG_From_int((int)(result
));
15094 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxDC
*arg1
= (wxDC
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self", NULL
15103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
15104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15105 if (SWIG_arg_fail(1)) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_From_int((int)(result
));
15122 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxDC
*arg1
= (wxDC
*) 0 ;
15125 wxString
*arg2
= 0 ;
15126 int *arg3
= (int *) 0 ;
15127 int *arg4
= (int *) 0 ;
15128 bool temp2
= false ;
15133 PyObject
* obj0
= 0 ;
15134 PyObject
* obj1
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self",(char *) "string", NULL
15139 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15140 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15143 if (SWIG_arg_fail(1)) SWIG_fail
;
15145 arg2
= wxString_in_helper(obj1
);
15146 if (arg2
== NULL
) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 Py_INCREF(Py_None
); resultobj
= Py_None
;
15157 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15158 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15159 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15160 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15175 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxDC
*arg1
= (wxDC
*) 0 ;
15178 wxString
*arg2
= 0 ;
15179 int *arg3
= (int *) 0 ;
15180 int *arg4
= (int *) 0 ;
15181 int *arg5
= (int *) 0 ;
15182 int *arg6
= (int *) 0 ;
15183 wxFont
*arg7
= (wxFont
*) NULL
;
15184 bool temp2
= false ;
15193 PyObject
* obj0
= 0 ;
15194 PyObject
* obj1
= 0 ;
15195 PyObject
* obj2
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self",(char *) "string",(char *) "font", NULL
15200 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15201 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15202 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15203 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15206 if (SWIG_arg_fail(1)) SWIG_fail
;
15208 arg2
= wxString_in_helper(obj1
);
15209 if (arg2
== NULL
) SWIG_fail
;
15213 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15214 if (SWIG_arg_fail(7)) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 Py_INCREF(Py_None
); resultobj
= Py_None
;
15224 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15225 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15226 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15227 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15228 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15229 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15230 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15231 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15246 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxDC
*arg1
= (wxDC
*) 0 ;
15249 wxString
*arg2
= 0 ;
15250 int *arg3
= (int *) 0 ;
15251 int *arg4
= (int *) 0 ;
15252 int *arg5
= (int *) 0 ;
15253 wxFont
*arg6
= (wxFont
*) NULL
;
15254 bool temp2
= false ;
15261 PyObject
* obj0
= 0 ;
15262 PyObject
* obj1
= 0 ;
15263 PyObject
* obj2
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self",(char *) "text",(char *) "font", NULL
15268 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15269 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15270 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15273 if (SWIG_arg_fail(1)) SWIG_fail
;
15275 arg2
= wxString_in_helper(obj1
);
15276 if (arg2
== NULL
) SWIG_fail
;
15280 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15281 if (SWIG_arg_fail(6)) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 Py_INCREF(Py_None
); resultobj
= Py_None
;
15291 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15292 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15293 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15294 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15295 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15296 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15311 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
;
15313 wxDC
*arg1
= (wxDC
*) 0 ;
15314 wxString
*arg2
= 0 ;
15316 bool temp2
= false ;
15317 PyObject
* obj0
= 0 ;
15318 PyObject
* obj1
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self",(char *) "text", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15325 if (SWIG_arg_fail(1)) SWIG_fail
;
15327 arg2
= wxString_in_helper(obj1
);
15328 if (arg2
== NULL
) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= PyList_New(0);
15341 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15342 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15343 PyList_Append(resultobj
, val
);
15361 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxDC
*arg1
= (wxDC
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15372 if (SWIG_arg_fail(1)) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= (arg1
)->GetSize();
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15381 wxSize
* resultptr
;
15382 resultptr
= new wxSize((wxSize
&)(result
));
15383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15391 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
;
15393 wxDC
*arg1
= (wxDC
*) 0 ;
15394 int *arg2
= (int *) 0 ;
15395 int *arg3
= (int *) 0 ;
15400 PyObject
* obj0
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self", NULL
15405 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15406 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15409 if (SWIG_arg_fail(1)) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 (arg1
)->GetSize(arg2
,arg3
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 Py_INCREF(Py_None
); resultobj
= Py_None
;
15418 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15419 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15420 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15421 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15428 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxDC
*arg1
= (wxDC
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
15438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15439 if (SWIG_arg_fail(1)) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= ((wxDC
const *)arg1
)->GetSizeMM();
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15448 wxSize
* resultptr
;
15449 resultptr
= new wxSize((wxSize
&)(result
));
15450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15458 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxDC
*arg1
= (wxDC
*) 0 ;
15461 int *arg2
= (int *) 0 ;
15462 int *arg3
= (int *) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self", NULL
15472 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15473 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
15475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15476 if (SWIG_arg_fail(1)) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 Py_INCREF(Py_None
); resultobj
= Py_None
;
15485 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15486 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15487 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15488 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15495 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxDC
*arg1
= (wxDC
*) 0 ;
15500 PyObject
* obj0
= 0 ;
15501 PyObject
* obj1
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self",(char *) "x", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
15507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15508 if (SWIG_arg_fail(1)) SWIG_fail
;
15510 arg2
= (int)(SWIG_As_int(obj1
));
15511 if (SWIG_arg_fail(2)) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= SWIG_From_int((int)(result
));
15529 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxDC
*arg1
= (wxDC
*) 0 ;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self",(char *) "y", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
15541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15542 if (SWIG_arg_fail(1)) SWIG_fail
;
15544 arg2
= (int)(SWIG_As_int(obj1
));
15545 if (SWIG_arg_fail(2)) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= SWIG_From_int((int)(result
));
15563 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxDC
*arg1
= (wxDC
*) 0 ;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 char *kwnames
[] = {
15571 (char *) "self",(char *) "x", NULL
15574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15576 if (SWIG_arg_fail(1)) SWIG_fail
;
15578 arg2
= (int)(SWIG_As_int(obj1
));
15579 if (SWIG_arg_fail(2)) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= SWIG_From_int((int)(result
));
15597 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxDC
*arg1
= (wxDC
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 PyObject
* obj1
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self",(char *) "y", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15610 if (SWIG_arg_fail(1)) SWIG_fail
;
15612 arg2
= (int)(SWIG_As_int(obj1
));
15613 if (SWIG_arg_fail(2)) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= SWIG_From_int((int)(result
));
15631 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxDC
*arg1
= (wxDC
*) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 PyObject
* obj1
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "self",(char *) "x", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
15643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15644 if (SWIG_arg_fail(1)) SWIG_fail
;
15646 arg2
= (int)(SWIG_As_int(obj1
));
15647 if (SWIG_arg_fail(2)) SWIG_fail
;
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_From_int((int)(result
));
15665 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxDC
*arg1
= (wxDC
*) 0 ;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self",(char *) "y", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
15677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15678 if (SWIG_arg_fail(1)) SWIG_fail
;
15680 arg2
= (int)(SWIG_As_int(obj1
));
15681 if (SWIG_arg_fail(2)) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= SWIG_From_int((int)(result
));
15699 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxDC
*arg1
= (wxDC
*) 0 ;
15704 PyObject
* obj0
= 0 ;
15705 PyObject
* obj1
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "self",(char *) "x", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15712 if (SWIG_arg_fail(1)) SWIG_fail
;
15714 arg2
= (int)(SWIG_As_int(obj1
));
15715 if (SWIG_arg_fail(2)) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= SWIG_From_int((int)(result
));
15733 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxDC
*arg1
= (wxDC
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 PyObject
* obj1
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self",(char *) "y", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15746 if (SWIG_arg_fail(1)) SWIG_fail
;
15748 arg2
= (int)(SWIG_As_int(obj1
));
15749 if (SWIG_arg_fail(2)) SWIG_fail
;
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= SWIG_From_int((int)(result
));
15767 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxDC
*arg1
= (wxDC
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
15777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15778 if (SWIG_arg_fail(1)) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15795 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
;
15797 wxDC
*arg1
= (wxDC
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
15805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15806 if (SWIG_arg_fail(1)) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15823 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxDC
*arg1
= (wxDC
*) 0 ;
15827 PyObject
* obj0
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
15833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15834 if (SWIG_arg_fail(1)) SWIG_fail
;
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (int)((wxDC
const *)arg1
)->GetDepth();
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= SWIG_From_int((int)(result
));
15851 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxDC
*arg1
= (wxDC
*) 0 ;
15855 PyObject
* obj0
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
15861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15862 if (SWIG_arg_fail(1)) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= ((wxDC
const *)arg1
)->GetPPI();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15871 wxSize
* resultptr
;
15872 resultptr
= new wxSize((wxSize
&)(result
));
15873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15881 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
;
15883 wxDC
*arg1
= (wxDC
*) 0 ;
15885 PyObject
* obj0
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "self", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
15891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15892 if (SWIG_arg_fail(1)) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (bool)((wxDC
const *)arg1
)->Ok();
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15909 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxDC
*arg1
= (wxDC
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
15919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15920 if (SWIG_arg_fail(1)) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= SWIG_From_int((int)(result
));
15937 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxDC
*arg1
= (wxDC
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
15947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15948 if (SWIG_arg_fail(1)) SWIG_fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
15953 result
= (wxBrush
*) &_result_ref
;
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15960 wxBrush
* resultptr
= new wxBrush(*result
);
15961 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
15969 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
;
15971 wxDC
*arg1
= (wxDC
*) 0 ;
15973 PyObject
* obj0
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
15979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15980 if (SWIG_arg_fail(1)) SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
15985 result
= (wxBrush
*) &_result_ref
;
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15992 wxBrush
* resultptr
= new wxBrush(*result
);
15993 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16001 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxDC
*arg1
= (wxDC
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
16011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16012 if (SWIG_arg_fail(1)) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
16017 result
= (wxFont
*) &_result_ref
;
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16024 wxFont
* resultptr
= new wxFont(*result
);
16025 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16033 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxDC
*arg1
= (wxDC
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
16043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16044 if (SWIG_arg_fail(1)) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
16049 result
= (wxPen
*) &_result_ref
;
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 wxPen
* resultptr
= new wxPen(*result
);
16057 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
16065 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
;
16067 wxDC
*arg1
= (wxDC
*) 0 ;
16069 PyObject
* obj0
= 0 ;
16070 char *kwnames
[] = {
16071 (char *) "self", NULL
16074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
16075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16076 if (SWIG_arg_fail(1)) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
16081 result
= (wxColour
*) &_result_ref
;
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16094 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxDC
*arg1
= (wxDC
*) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
16104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16105 if (SWIG_arg_fail(1)) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
16110 result
= (wxColour
*) &_result_ref
;
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16123 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxDC
*arg1
= (wxDC
*) 0 ;
16126 wxColour
*arg2
= 0 ;
16128 PyObject
* obj0
= 0 ;
16129 PyObject
* obj1
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self",(char *) "colour", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16136 if (SWIG_arg_fail(1)) SWIG_fail
;
16139 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 Py_INCREF(Py_None
); resultobj
= Py_None
;
16155 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxDC
*arg1
= (wxDC
*) 0 ;
16158 wxColour
*arg2
= 0 ;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self",(char *) "colour", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16168 if (SWIG_arg_fail(1)) SWIG_fail
;
16171 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 Py_INCREF(Py_None
); resultobj
= Py_None
;
16187 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxDC
*arg1
= (wxDC
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16198 if (SWIG_arg_fail(1)) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= SWIG_From_int((int)(result
));
16215 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 wxDC
*arg1
= (wxDC
*) 0 ;
16219 PyObject
* obj0
= 0 ;
16220 PyObject
* obj1
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "self",(char *) "mode", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16227 if (SWIG_arg_fail(1)) SWIG_fail
;
16229 arg2
= (int)(SWIG_As_int(obj1
));
16230 if (SWIG_arg_fail(2)) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 (arg1
)->SetMapMode(arg2
);
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16239 Py_INCREF(Py_None
); resultobj
= Py_None
;
16246 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxDC
*arg1
= (wxDC
*) 0 ;
16249 double *arg2
= (double *) 0 ;
16250 double *arg3
= (double *) 0 ;
16255 PyObject
* obj0
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self", NULL
16260 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16261 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16272 Py_INCREF(Py_None
); resultobj
= Py_None
;
16273 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16274 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16275 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16276 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16283 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxDC
*arg1
= (wxDC
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 PyObject
* obj1
= 0 ;
16290 PyObject
* obj2
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self",(char *) "x",(char *) "y", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16297 if (SWIG_arg_fail(1)) SWIG_fail
;
16299 arg2
= (double)(SWIG_As_double(obj1
));
16300 if (SWIG_arg_fail(2)) SWIG_fail
;
16303 arg3
= (double)(SWIG_As_double(obj2
));
16304 if (SWIG_arg_fail(3)) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 (arg1
)->SetUserScale(arg2
,arg3
);
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16313 Py_INCREF(Py_None
); resultobj
= Py_None
;
16320 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxDC
*arg1
= (wxDC
*) 0 ;
16323 double *arg2
= (double *) 0 ;
16324 double *arg3
= (double *) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self", NULL
16334 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16335 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16338 if (SWIG_arg_fail(1)) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 (arg1
)->GetLogicalScale(arg2
,arg3
);
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 Py_INCREF(Py_None
); resultobj
= Py_None
;
16347 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16348 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16349 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16350 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16357 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxDC
*arg1
= (wxDC
*) 0 ;
16362 PyObject
* obj0
= 0 ;
16363 PyObject
* obj1
= 0 ;
16364 PyObject
* obj2
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self",(char *) "x",(char *) "y", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16371 if (SWIG_arg_fail(1)) SWIG_fail
;
16373 arg2
= (double)(SWIG_As_double(obj1
));
16374 if (SWIG_arg_fail(2)) SWIG_fail
;
16377 arg3
= (double)(SWIG_As_double(obj2
));
16378 if (SWIG_arg_fail(3)) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 (arg1
)->SetLogicalScale(arg2
,arg3
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 Py_INCREF(Py_None
); resultobj
= Py_None
;
16394 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxDC
*arg1
= (wxDC
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16405 if (SWIG_arg_fail(1)) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16414 wxPoint
* resultptr
;
16415 resultptr
= new wxPoint((wxPoint
&)(result
));
16416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16424 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxDC
*arg1
= (wxDC
*) 0 ;
16427 int *arg2
= (int *) 0 ;
16428 int *arg3
= (int *) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self", NULL
16438 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16439 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
16441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16442 if (SWIG_arg_fail(1)) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 Py_INCREF(Py_None
); resultobj
= Py_None
;
16451 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16452 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16453 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16454 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16461 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
;
16463 wxDC
*arg1
= (wxDC
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 PyObject
* obj2
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self",(char *) "x",(char *) "y", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16475 if (SWIG_arg_fail(1)) SWIG_fail
;
16477 arg2
= (int)(SWIG_As_int(obj1
));
16478 if (SWIG_arg_fail(2)) SWIG_fail
;
16481 arg3
= (int)(SWIG_As_int(obj2
));
16482 if (SWIG_arg_fail(3)) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16491 Py_INCREF(Py_None
); resultobj
= Py_None
;
16498 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxDC
*arg1
= (wxDC
*) 0 ;
16501 wxPoint
*arg2
= 0 ;
16503 PyObject
* obj0
= 0 ;
16504 PyObject
* obj1
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self",(char *) "point", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16511 if (SWIG_arg_fail(1)) SWIG_fail
;
16514 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16523 Py_INCREF(Py_None
); resultobj
= Py_None
;
16530 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16532 wxDC
*arg1
= (wxDC
*) 0 ;
16534 PyObject
* obj0
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
16540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16541 if (SWIG_arg_fail(1)) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16550 wxPoint
* resultptr
;
16551 resultptr
= new wxPoint((wxPoint
&)(result
));
16552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16560 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxDC
*arg1
= (wxDC
*) 0 ;
16563 int *arg2
= (int *) 0 ;
16564 int *arg3
= (int *) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 char *kwnames
[] = {
16571 (char *) "self", NULL
16574 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16575 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
16577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16578 if (SWIG_arg_fail(1)) SWIG_fail
;
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 Py_INCREF(Py_None
); resultobj
= Py_None
;
16587 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16588 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16589 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16590 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16597 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxDC
*arg1
= (wxDC
*) 0 ;
16602 PyObject
* obj0
= 0 ;
16603 PyObject
* obj1
= 0 ;
16604 PyObject
* obj2
= 0 ;
16605 char *kwnames
[] = {
16606 (char *) "self",(char *) "x",(char *) "y", NULL
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16611 if (SWIG_arg_fail(1)) SWIG_fail
;
16613 arg2
= (int)(SWIG_As_int(obj1
));
16614 if (SWIG_arg_fail(2)) SWIG_fail
;
16617 arg3
= (int)(SWIG_As_int(obj2
));
16618 if (SWIG_arg_fail(3)) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 Py_INCREF(Py_None
); resultobj
= Py_None
;
16634 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
;
16636 wxDC
*arg1
= (wxDC
*) 0 ;
16637 wxPoint
*arg2
= 0 ;
16639 PyObject
* obj0
= 0 ;
16640 PyObject
* obj1
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self",(char *) "point", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16647 if (SWIG_arg_fail(1)) SWIG_fail
;
16650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 Py_INCREF(Py_None
); resultobj
= Py_None
;
16666 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxDC
*arg1
= (wxDC
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 PyObject
* obj1
= 0 ;
16673 PyObject
* obj2
= 0 ;
16674 char *kwnames
[] = {
16675 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
16678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16680 if (SWIG_arg_fail(1)) SWIG_fail
;
16682 arg2
= (bool)(SWIG_As_bool(obj1
));
16683 if (SWIG_arg_fail(2)) SWIG_fail
;
16686 arg3
= (bool)(SWIG_As_bool(obj2
));
16687 if (SWIG_arg_fail(3)) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 (arg1
)->SetAxisOrientation(arg2
,arg3
);
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16696 Py_INCREF(Py_None
); resultobj
= Py_None
;
16703 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16705 wxDC
*arg1
= (wxDC
*) 0 ;
16707 PyObject
* obj0
= 0 ;
16708 char *kwnames
[] = {
16709 (char *) "self", NULL
16712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
16713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16714 if (SWIG_arg_fail(1)) SWIG_fail
;
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= SWIG_From_int((int)(result
));
16731 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxDC
*arg1
= (wxDC
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self",(char *) "function", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
16742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16743 if (SWIG_arg_fail(1)) SWIG_fail
;
16745 arg2
= (int)(SWIG_As_int(obj1
));
16746 if (SWIG_arg_fail(2)) SWIG_fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 (arg1
)->SetLogicalFunction(arg2
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 Py_INCREF(Py_None
); resultobj
= Py_None
;
16762 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
;
16764 wxDC
*arg1
= (wxDC
*) 0 ;
16765 PyObject
* obj0
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "self", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
16771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16772 if (SWIG_arg_fail(1)) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 (arg1
)->ComputeScaleAndOrigin();
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 Py_INCREF(Py_None
); resultobj
= Py_None
;
16787 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
;
16789 wxDC
*arg1
= (wxDC
*) 0 ;
16792 PyObject
* obj0
= 0 ;
16793 PyObject
* obj1
= 0 ;
16794 PyObject
* obj2
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "self",(char *) "x",(char *) "y", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16801 if (SWIG_arg_fail(1)) SWIG_fail
;
16803 arg2
= (int)(SWIG_As_int(obj1
));
16804 if (SWIG_arg_fail(2)) SWIG_fail
;
16807 arg3
= (int)(SWIG_As_int(obj2
));
16808 if (SWIG_arg_fail(3)) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 (arg1
)->CalcBoundingBox(arg2
,arg3
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 Py_INCREF(Py_None
); resultobj
= Py_None
;
16824 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxDC
*arg1
= (wxDC
*) 0 ;
16827 wxPoint
*arg2
= 0 ;
16829 PyObject
* obj0
= 0 ;
16830 PyObject
* obj1
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "self",(char *) "point", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16837 if (SWIG_arg_fail(1)) SWIG_fail
;
16840 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 Py_INCREF(Py_None
); resultobj
= Py_None
;
16856 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxDC
*arg1
= (wxDC
*) 0 ;
16859 PyObject
* obj0
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "self", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
16865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16866 if (SWIG_arg_fail(1)) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 (arg1
)->ResetBoundingBox();
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 Py_INCREF(Py_None
); resultobj
= Py_None
;
16881 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxDC
*arg1
= (wxDC
*) 0 ;
16885 PyObject
* obj0
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "self", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
16891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16892 if (SWIG_arg_fail(1)) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (int)((wxDC
const *)arg1
)->MinX();
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= SWIG_From_int((int)(result
));
16909 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxDC
*arg1
= (wxDC
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
16919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16920 if (SWIG_arg_fail(1)) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (int)((wxDC
const *)arg1
)->MaxX();
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= SWIG_From_int((int)(result
));
16937 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxDC
*arg1
= (wxDC
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
16947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16948 if (SWIG_arg_fail(1)) SWIG_fail
;
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 result
= (int)((wxDC
const *)arg1
)->MinY();
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16957 resultobj
= SWIG_From_int((int)(result
));
16965 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16966 PyObject
*resultobj
;
16967 wxDC
*arg1
= (wxDC
*) 0 ;
16969 PyObject
* obj0
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
16975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16976 if (SWIG_arg_fail(1)) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= (int)((wxDC
const *)arg1
)->MaxY();
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16985 resultobj
= SWIG_From_int((int)(result
));
16993 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxDC
*arg1
= (wxDC
*) 0 ;
16996 int *arg2
= (int *) 0 ;
16997 int *arg3
= (int *) 0 ;
16998 int *arg4
= (int *) 0 ;
16999 int *arg5
= (int *) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "self", NULL
17013 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17014 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17015 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17016 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
17018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17019 if (SWIG_arg_fail(1)) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 Py_INCREF(Py_None
); resultobj
= Py_None
;
17028 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17029 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17030 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17031 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17032 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17033 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17034 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
17035 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
17042 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxDC
*arg1
= (wxDC
*) 0 ;
17045 PyObject
*arg2
= (PyObject
*) 0 ;
17046 PyObject
*arg3
= (PyObject
*) 0 ;
17047 PyObject
*arg4
= (PyObject
*) 0 ;
17049 PyObject
* obj0
= 0 ;
17050 PyObject
* obj1
= 0 ;
17051 PyObject
* obj2
= 0 ;
17052 PyObject
* obj3
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17059 if (SWIG_arg_fail(1)) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= result
;
17077 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxDC
*arg1
= (wxDC
*) 0 ;
17080 PyObject
*arg2
= (PyObject
*) 0 ;
17081 PyObject
*arg3
= (PyObject
*) 0 ;
17082 PyObject
*arg4
= (PyObject
*) 0 ;
17084 PyObject
* obj0
= 0 ;
17085 PyObject
* obj1
= 0 ;
17086 PyObject
* obj2
= 0 ;
17087 PyObject
* obj3
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17094 if (SWIG_arg_fail(1)) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= result
;
17112 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxDC
*arg1
= (wxDC
*) 0 ;
17115 PyObject
*arg2
= (PyObject
*) 0 ;
17116 PyObject
*arg3
= (PyObject
*) 0 ;
17117 PyObject
*arg4
= (PyObject
*) 0 ;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 PyObject
* obj2
= 0 ;
17122 PyObject
* obj3
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17129 if (SWIG_arg_fail(1)) SWIG_fail
;
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= result
;
17147 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 wxDC
*arg1
= (wxDC
*) 0 ;
17150 PyObject
*arg2
= (PyObject
*) 0 ;
17151 PyObject
*arg3
= (PyObject
*) 0 ;
17152 PyObject
*arg4
= (PyObject
*) 0 ;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 PyObject
* obj2
= 0 ;
17157 PyObject
* obj3
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17164 if (SWIG_arg_fail(1)) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17175 resultobj
= result
;
17182 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxDC
*arg1
= (wxDC
*) 0 ;
17185 PyObject
*arg2
= (PyObject
*) 0 ;
17186 PyObject
*arg3
= (PyObject
*) 0 ;
17187 PyObject
*arg4
= (PyObject
*) 0 ;
17189 PyObject
* obj0
= 0 ;
17190 PyObject
* obj1
= 0 ;
17191 PyObject
* obj2
= 0 ;
17192 PyObject
* obj3
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17199 if (SWIG_arg_fail(1)) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= result
;
17217 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxDC
*arg1
= (wxDC
*) 0 ;
17220 PyObject
*arg2
= (PyObject
*) 0 ;
17221 PyObject
*arg3
= (PyObject
*) 0 ;
17222 PyObject
*arg4
= (PyObject
*) 0 ;
17223 PyObject
*arg5
= (PyObject
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 PyObject
* obj1
= 0 ;
17227 PyObject
* obj2
= 0 ;
17228 PyObject
* obj3
= 0 ;
17229 PyObject
* obj4
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17236 if (SWIG_arg_fail(1)) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= result
;
17255 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17258 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17260 return Py_BuildValue((char *)"");
17262 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
;
17264 wxMemoryDC
*result
;
17265 char *kwnames
[] = {
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17271 if (!wxPyCheckForApp()) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= (wxMemoryDC
*)new wxMemoryDC();
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17285 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxDC
*arg1
= (wxDC
*) 0 ;
17288 wxMemoryDC
*result
;
17289 PyObject
* obj0
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "oldDC", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17296 if (SWIG_arg_fail(1)) SWIG_fail
;
17298 if (!wxPyCheckForApp()) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17312 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17315 wxBitmap
*arg2
= 0 ;
17316 PyObject
* obj0
= 0 ;
17317 PyObject
* obj1
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self",(char *) "bitmap", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17324 if (SWIG_arg_fail(1)) SWIG_fail
;
17326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17327 if (SWIG_arg_fail(2)) SWIG_fail
;
17328 if (arg2
== NULL
) {
17329 SWIG_null_ref("wxBitmap");
17331 if (SWIG_arg_fail(2)) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 Py_INCREF(Py_None
); resultobj
= Py_None
;
17347 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17350 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17352 return Py_BuildValue((char *)"");
17354 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17355 PyObject
*resultobj
;
17356 wxDC
*arg1
= (wxDC
*) 0 ;
17357 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17358 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17359 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17360 wxBufferedDC
*result
;
17361 PyObject
* obj0
= 0 ;
17362 PyObject
* obj1
= 0 ;
17363 PyObject
* obj2
= 0 ;
17365 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17367 if (SWIG_arg_fail(1)) SWIG_fail
;
17370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17371 if (SWIG_arg_fail(2)) SWIG_fail
;
17372 if (arg2
== NULL
) {
17373 SWIG_null_ref("wxBitmap");
17375 if (SWIG_arg_fail(2)) SWIG_fail
;
17380 arg3
= (int)(SWIG_As_int(obj2
));
17381 if (SWIG_arg_fail(3)) SWIG_fail
;
17385 if (!wxPyCheckForApp()) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17399 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
17400 PyObject
*resultobj
;
17401 wxDC
*arg1
= (wxDC
*) 0 ;
17403 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17404 wxBufferedDC
*result
;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 PyObject
* obj2
= 0 ;
17410 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17412 if (SWIG_arg_fail(1)) SWIG_fail
;
17415 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17419 arg3
= (int)(SWIG_As_int(obj2
));
17420 if (SWIG_arg_fail(3)) SWIG_fail
;
17424 if (!wxPyCheckForApp()) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17438 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
17443 argc
= PyObject_Length(args
);
17444 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
17445 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17447 if ((argc
>= 1) && (argc
<= 3)) {
17451 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17460 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17464 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
17473 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17475 _v
= SWIG_Check_int(argv
[2]);
17477 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17482 if ((argc
>= 2) && (argc
<= 3)) {
17486 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17495 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
17499 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17501 _v
= SWIG_Check_int(argv
[2]);
17503 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17509 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
17514 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17517 PyObject
* obj0
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
17523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17524 if (SWIG_arg_fail(1)) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 Py_INCREF(Py_None
); resultobj
= Py_None
;
17539 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "self", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
17548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17549 if (SWIG_arg_fail(1)) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 Py_INCREF(Py_None
); resultobj
= Py_None
;
17564 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
17566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17567 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
17569 return Py_BuildValue((char *)"");
17571 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxWindow
*arg1
= (wxWindow
*) 0 ;
17574 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17575 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17576 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17577 wxBufferedPaintDC
*result
;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 PyObject
* obj2
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "window",(char *) "buffer",(char *) "style", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17587 if (SWIG_arg_fail(1)) SWIG_fail
;
17590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17591 if (SWIG_arg_fail(2)) SWIG_fail
;
17592 if (arg2
== NULL
) {
17593 SWIG_null_ref("wxBitmap");
17595 if (SWIG_arg_fail(2)) SWIG_fail
;
17600 arg3
= (int)(SWIG_As_int(obj2
));
17601 if (SWIG_arg_fail(3)) SWIG_fail
;
17605 if (!wxPyCheckForApp()) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
17619 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
17621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17622 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
17624 return Py_BuildValue((char *)"");
17626 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17628 wxScreenDC
*result
;
17629 char *kwnames
[] = {
17633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
17635 if (!wxPyCheckForApp()) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 result
= (wxScreenDC
*)new wxScreenDC();
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
17649 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17652 wxWindow
*arg2
= (wxWindow
*) 0 ;
17654 PyObject
* obj0
= 0 ;
17655 PyObject
* obj1
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "self",(char *) "window", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
17661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17662 if (SWIG_arg_fail(1)) SWIG_fail
;
17663 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17664 if (SWIG_arg_fail(2)) SWIG_fail
;
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17681 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17684 wxRect
*arg2
= (wxRect
*) NULL
;
17686 PyObject
* obj0
= 0 ;
17687 PyObject
* obj1
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self",(char *) "rect", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
17693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17694 if (SWIG_arg_fail(1)) SWIG_fail
;
17696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
17697 if (SWIG_arg_fail(2)) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17715 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17719 PyObject
* obj0
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "self", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
17725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17726 if (SWIG_arg_fail(1)) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (bool)(arg1
)->EndDrawingOnTop();
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17743 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
17745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17746 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
17748 return Py_BuildValue((char *)"");
17750 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxWindow
*arg1
= (wxWindow
*) 0 ;
17753 wxClientDC
*result
;
17754 PyObject
* obj0
= 0 ;
17755 char *kwnames
[] = {
17756 (char *) "win", NULL
17759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
17760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17761 if (SWIG_arg_fail(1)) SWIG_fail
;
17763 if (!wxPyCheckForApp()) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (wxClientDC
*)new wxClientDC(arg1
);
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
17777 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
17779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17780 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
17782 return Py_BuildValue((char *)"");
17784 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxWindow
*arg1
= (wxWindow
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "win", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
17794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17795 if (SWIG_arg_fail(1)) SWIG_fail
;
17797 if (!wxPyCheckForApp()) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
17811 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
17813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17814 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
17816 return Py_BuildValue((char *)"");
17818 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxWindow
*arg1
= (wxWindow
*) 0 ;
17821 wxWindowDC
*result
;
17822 PyObject
* obj0
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "win", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
17828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17829 if (SWIG_arg_fail(1)) SWIG_fail
;
17831 if (!wxPyCheckForApp()) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
17845 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
17847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17848 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
17850 return Py_BuildValue((char *)"");
17852 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
;
17856 wxMirrorDC
*result
;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 char *kwnames
[] = {
17860 (char *) "dc",(char *) "mirror", NULL
17863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17866 if (SWIG_arg_fail(1)) SWIG_fail
;
17867 if (arg1
== NULL
) {
17868 SWIG_null_ref("wxDC");
17870 if (SWIG_arg_fail(1)) SWIG_fail
;
17873 arg2
= (bool)(SWIG_As_bool(obj1
));
17874 if (SWIG_arg_fail(2)) SWIG_fail
;
17877 if (!wxPyCheckForApp()) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
17891 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
17893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17894 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
17896 return Py_BuildValue((char *)"");
17898 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxPrintData
*arg1
= 0 ;
17901 wxPostScriptDC
*result
;
17902 PyObject
* obj0
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "printData", NULL
17907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
17909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17910 if (SWIG_arg_fail(1)) SWIG_fail
;
17911 if (arg1
== NULL
) {
17912 SWIG_null_ref("wxPrintData");
17914 if (SWIG_arg_fail(1)) SWIG_fail
;
17917 if (!wxPyCheckForApp()) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
17931 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17934 wxPrintData
*result
;
17935 PyObject
* obj0
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
17941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17942 if (SWIG_arg_fail(1)) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17947 result
= (wxPrintData
*) &_result_ref
;
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
17960 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
;
17962 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
17963 wxPrintData
*arg2
= 0 ;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 char *kwnames
[] = {
17967 (char *) "self",(char *) "data", NULL
17970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
17972 if (SWIG_arg_fail(1)) SWIG_fail
;
17974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
17975 if (SWIG_arg_fail(2)) SWIG_fail
;
17976 if (arg2
== NULL
) {
17977 SWIG_null_ref("wxPrintData");
17979 if (SWIG_arg_fail(2)) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 Py_INCREF(Py_None
); resultobj
= Py_None
;
17995 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "ppi", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
18005 arg1
= (int)(SWIG_As_int(obj0
));
18006 if (SWIG_arg_fail(1)) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 wxPostScriptDC::SetResolution(arg1
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 Py_INCREF(Py_None
); resultobj
= Py_None
;
18022 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18025 char *kwnames
[] = {
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 result
= (int)wxPostScriptDC::GetResolution();
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18038 resultobj
= SWIG_From_int((int)(result
));
18046 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
18048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18049 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
18051 return Py_BuildValue((char *)"");
18053 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18056 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18057 wxMetaFile
*result
;
18058 bool temp1
= false ;
18059 PyObject
* obj0
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "filename", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
18067 arg1
= wxString_in_helper(obj0
);
18068 if (arg1
== NULL
) SWIG_fail
;
18073 if (!wxPyCheckForApp()) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
18095 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18096 PyObject
*resultobj
;
18097 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18098 PyObject
* obj0
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "self", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
18104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18105 if (SWIG_arg_fail(1)) SWIG_fail
;
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 Py_INCREF(Py_None
); resultobj
= Py_None
;
18120 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
18130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18131 if (SWIG_arg_fail(1)) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (bool)(arg1
)->Ok();
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18148 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18151 int arg2
= (int) 0 ;
18152 int arg3
= (int) 0 ;
18154 PyObject
* obj0
= 0 ;
18155 PyObject
* obj1
= 0 ;
18156 PyObject
* obj2
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self",(char *) "width",(char *) "height", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18163 if (SWIG_arg_fail(1)) SWIG_fail
;
18166 arg2
= (int)(SWIG_As_int(obj1
));
18167 if (SWIG_arg_fail(2)) SWIG_fail
;
18172 arg3
= (int)(SWIG_As_int(obj2
));
18173 if (SWIG_arg_fail(3)) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18192 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
18202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18203 if (SWIG_arg_fail(1)) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= (arg1
)->GetSize();
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18212 wxSize
* resultptr
;
18213 resultptr
= new wxSize((wxSize
&)(result
));
18214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18222 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
18232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18233 if (SWIG_arg_fail(1)) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 result
= (int)(arg1
)->GetWidth();
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= SWIG_From_int((int)(result
));
18250 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
18260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18261 if (SWIG_arg_fail(1)) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (int)(arg1
)->GetHeight();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= SWIG_From_int((int)(result
));
18278 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
18280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18281 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
18283 return Py_BuildValue((char *)"");
18285 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18288 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18289 int arg2
= (int) 0 ;
18290 int arg3
= (int) 0 ;
18291 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18292 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18293 wxMetaFileDC
*result
;
18294 bool temp1
= false ;
18295 bool temp4
= false ;
18296 PyObject
* obj0
= 0 ;
18297 PyObject
* obj1
= 0 ;
18298 PyObject
* obj2
= 0 ;
18299 PyObject
* obj3
= 0 ;
18300 char *kwnames
[] = {
18301 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18307 arg1
= wxString_in_helper(obj0
);
18308 if (arg1
== NULL
) SWIG_fail
;
18314 arg2
= (int)(SWIG_As_int(obj1
));
18315 if (SWIG_arg_fail(2)) SWIG_fail
;
18320 arg3
= (int)(SWIG_As_int(obj2
));
18321 if (SWIG_arg_fail(3)) SWIG_fail
;
18326 arg4
= wxString_in_helper(obj3
);
18327 if (arg4
== NULL
) SWIG_fail
;
18332 if (!wxPyCheckForApp()) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
18362 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
18365 wxMetaFile
*result
;
18366 PyObject
* obj0
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
18372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION
| 0);
18373 if (SWIG_arg_fail(1)) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (wxMetaFile
*)(arg1
)->Close();
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
18388 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
18390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18391 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
18393 return Py_BuildValue((char *)"");
18395 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxPrintData
*arg1
= 0 ;
18398 wxPrinterDC
*result
;
18399 PyObject
* obj0
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "printData", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
18406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18407 if (SWIG_arg_fail(1)) SWIG_fail
;
18408 if (arg1
== NULL
) {
18409 SWIG_null_ref("wxPrintData");
18411 if (SWIG_arg_fail(1)) SWIG_fail
;
18414 if (!wxPyCheckForApp()) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
18428 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
18430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18431 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
18433 return Py_BuildValue((char *)"");
18435 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18439 int arg3
= (int) true ;
18440 int arg4
= (int) 1 ;
18441 wxImageList
*result
;
18442 PyObject
* obj0
= 0 ;
18443 PyObject
* obj1
= 0 ;
18444 PyObject
* obj2
= 0 ;
18445 PyObject
* obj3
= 0 ;
18446 char *kwnames
[] = {
18447 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
18450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18452 arg1
= (int)(SWIG_As_int(obj0
));
18453 if (SWIG_arg_fail(1)) SWIG_fail
;
18456 arg2
= (int)(SWIG_As_int(obj1
));
18457 if (SWIG_arg_fail(2)) SWIG_fail
;
18461 arg3
= (int)(SWIG_As_int(obj2
));
18462 if (SWIG_arg_fail(3)) SWIG_fail
;
18467 arg4
= (int)(SWIG_As_int(obj3
));
18468 if (SWIG_arg_fail(4)) SWIG_fail
;
18472 if (!wxPyCheckForApp()) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= wxPyMake_wxObject(result
, 1);
18488 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxImageList
*arg1
= (wxImageList
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
18497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 Py_INCREF(Py_None
); resultobj
= Py_None
;
18513 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxImageList
*arg1
= (wxImageList
*) 0 ;
18516 wxBitmap
*arg2
= 0 ;
18517 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
18518 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
18520 PyObject
* obj0
= 0 ;
18521 PyObject
* obj1
= 0 ;
18522 PyObject
* obj2
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18529 if (SWIG_arg_fail(1)) SWIG_fail
;
18531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18532 if (SWIG_arg_fail(2)) SWIG_fail
;
18533 if (arg2
== NULL
) {
18534 SWIG_null_ref("wxBitmap");
18536 if (SWIG_arg_fail(2)) SWIG_fail
;
18540 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18541 if (SWIG_arg_fail(3)) SWIG_fail
;
18542 if (arg3
== NULL
) {
18543 SWIG_null_ref("wxBitmap");
18545 if (SWIG_arg_fail(3)) SWIG_fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18550 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= SWIG_From_int((int)(result
));
18564 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxImageList
*arg1
= (wxImageList
*) 0 ;
18567 wxBitmap
*arg2
= 0 ;
18568 wxColour
*arg3
= 0 ;
18571 PyObject
* obj0
= 0 ;
18572 PyObject
* obj1
= 0 ;
18573 PyObject
* obj2
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18580 if (SWIG_arg_fail(1)) SWIG_fail
;
18582 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18583 if (SWIG_arg_fail(2)) SWIG_fail
;
18584 if (arg2
== NULL
) {
18585 SWIG_null_ref("wxBitmap");
18587 if (SWIG_arg_fail(2)) SWIG_fail
;
18591 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= SWIG_From_int((int)(result
));
18609 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxImageList
*arg1
= (wxImageList
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self",(char *) "icon", NULL
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18622 if (SWIG_arg_fail(1)) SWIG_fail
;
18624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
18625 if (SWIG_arg_fail(2)) SWIG_fail
;
18626 if (arg2
== NULL
) {
18627 SWIG_null_ref("wxIcon");
18629 if (SWIG_arg_fail(2)) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18639 resultobj
= SWIG_From_int((int)(result
));
18647 static PyObject
*_wrap_ImageList_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxImageList
*arg1
= (wxImageList
*) 0 ;
18651 SwigValueWrapper
<wxBitmap
> result
;
18652 PyObject
* obj0
= 0 ;
18653 PyObject
* obj1
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self",(char *) "index", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
18659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18660 if (SWIG_arg_fail(1)) SWIG_fail
;
18662 arg2
= (int)(SWIG_As_int(obj1
));
18663 if (SWIG_arg_fail(2)) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18673 wxBitmap
* resultptr
;
18674 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18683 static PyObject
*_wrap_ImageList_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxImageList
*arg1
= (wxImageList
*) 0 ;
18688 PyObject
* obj0
= 0 ;
18689 PyObject
* obj1
= 0 ;
18690 char *kwnames
[] = {
18691 (char *) "self",(char *) "index", NULL
18694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18696 if (SWIG_arg_fail(1)) SWIG_fail
;
18698 arg2
= (int)(SWIG_As_int(obj1
));
18699 if (SWIG_arg_fail(2)) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18709 wxIcon
* resultptr
;
18710 resultptr
= new wxIcon((wxIcon
&)(result
));
18711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
18719 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxImageList
*arg1
= (wxImageList
*) 0 ;
18723 wxBitmap
*arg3
= 0 ;
18725 PyObject
* obj0
= 0 ;
18726 PyObject
* obj1
= 0 ;
18727 PyObject
* obj2
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "self",(char *) "index",(char *) "bitmap", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18734 if (SWIG_arg_fail(1)) SWIG_fail
;
18736 arg2
= (int)(SWIG_As_int(obj1
));
18737 if (SWIG_arg_fail(2)) SWIG_fail
;
18740 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18741 if (SWIG_arg_fail(3)) SWIG_fail
;
18742 if (arg3
== NULL
) {
18743 SWIG_null_ref("wxBitmap");
18745 if (SWIG_arg_fail(3)) SWIG_fail
;
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18763 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
;
18765 wxImageList
*arg1
= (wxImageList
*) 0 ;
18770 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
18771 bool arg7
= (bool) (bool)false ;
18773 PyObject
* obj0
= 0 ;
18774 PyObject
* obj1
= 0 ;
18775 PyObject
* obj2
= 0 ;
18776 PyObject
* obj3
= 0 ;
18777 PyObject
* obj4
= 0 ;
18778 PyObject
* obj5
= 0 ;
18779 PyObject
* obj6
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18786 if (SWIG_arg_fail(1)) SWIG_fail
;
18788 arg2
= (int)(SWIG_As_int(obj1
));
18789 if (SWIG_arg_fail(2)) SWIG_fail
;
18792 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18793 if (SWIG_arg_fail(3)) SWIG_fail
;
18794 if (arg3
== NULL
) {
18795 SWIG_null_ref("wxDC");
18797 if (SWIG_arg_fail(3)) SWIG_fail
;
18800 arg4
= (int)(SWIG_As_int(obj3
));
18801 if (SWIG_arg_fail(4)) SWIG_fail
;
18804 arg5
= (int)(SWIG_As_int(obj4
));
18805 if (SWIG_arg_fail(5)) SWIG_fail
;
18809 arg6
= (int)(SWIG_As_int(obj5
));
18810 if (SWIG_arg_fail(6)) SWIG_fail
;
18815 arg7
= (bool const)(SWIG_As_bool(obj6
));
18816 if (SWIG_arg_fail(7)) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18835 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxImageList
*arg1
= (wxImageList
*) 0 ;
18839 PyObject
* obj0
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
18845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail
;
18848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18849 result
= (int)(arg1
)->GetImageCount();
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= SWIG_From_int((int)(result
));
18863 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxImageList
*arg1
= (wxImageList
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 PyObject
* obj1
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self",(char *) "index", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
18875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18876 if (SWIG_arg_fail(1)) SWIG_fail
;
18878 arg2
= (int)(SWIG_As_int(obj1
));
18879 if (SWIG_arg_fail(2)) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (bool)(arg1
)->Remove(arg2
);
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18897 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxImageList
*arg1
= (wxImageList
*) 0 ;
18901 PyObject
* obj0
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "self", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
18907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18908 if (SWIG_arg_fail(1)) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 result
= (bool)(arg1
)->RemoveAll();
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18925 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxImageList
*arg1
= (wxImageList
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "index", NULL
18941 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18942 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail
;
18947 arg2
= (int)(SWIG_As_int(obj1
));
18948 if (SWIG_arg_fail(2)) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18959 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18960 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
18961 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
18968 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
18970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18971 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
18973 return Py_BuildValue((char *)"");
18975 static int _wrap_NORMAL_FONT_set(PyObject
*) {
18976 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
18981 static PyObject
*_wrap_NORMAL_FONT_get(void) {
18984 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
18989 static int _wrap_SMALL_FONT_set(PyObject
*) {
18990 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
18995 static PyObject
*_wrap_SMALL_FONT_get(void) {
18998 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
19003 static int _wrap_ITALIC_FONT_set(PyObject
*) {
19004 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
19009 static PyObject
*_wrap_ITALIC_FONT_get(void) {
19012 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
19017 static int _wrap_SWISS_FONT_set(PyObject
*) {
19018 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
19023 static PyObject
*_wrap_SWISS_FONT_get(void) {
19026 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
19031 static int _wrap_RED_PEN_set(PyObject
*) {
19032 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
19037 static PyObject
*_wrap_RED_PEN_get(void) {
19040 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
19045 static int _wrap_CYAN_PEN_set(PyObject
*) {
19046 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
19051 static PyObject
*_wrap_CYAN_PEN_get(void) {
19054 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
19059 static int _wrap_GREEN_PEN_set(PyObject
*) {
19060 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
19065 static PyObject
*_wrap_GREEN_PEN_get(void) {
19068 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
19073 static int _wrap_BLACK_PEN_set(PyObject
*) {
19074 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
19079 static PyObject
*_wrap_BLACK_PEN_get(void) {
19082 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
19087 static int _wrap_WHITE_PEN_set(PyObject
*) {
19088 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
19093 static PyObject
*_wrap_WHITE_PEN_get(void) {
19096 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
19101 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
19102 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
19107 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
19110 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
19115 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
19116 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
19121 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
19124 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
19129 static int _wrap_GREY_PEN_set(PyObject
*) {
19130 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
19135 static PyObject
*_wrap_GREY_PEN_get(void) {
19138 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19143 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
19144 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
19149 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
19152 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19157 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
19158 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
19163 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
19166 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19171 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
19172 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
19177 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
19180 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19185 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
19186 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
19191 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
19194 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19199 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
19200 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
19205 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
19208 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19213 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
19214 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
19219 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
19222 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19227 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
19228 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
19233 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
19236 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19241 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19242 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19247 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19250 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19255 static int _wrap_RED_BRUSH_set(PyObject
*) {
19256 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
19261 static PyObject
*_wrap_RED_BRUSH_get(void) {
19264 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19269 static int _wrap_GREY_BRUSH_set(PyObject
*) {
19270 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
19275 static PyObject
*_wrap_GREY_BRUSH_get(void) {
19278 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19283 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
19284 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
19289 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
19292 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19297 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
19298 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
19303 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
19306 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19311 static int _wrap_BLACK_set(PyObject
*) {
19312 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
19317 static PyObject
*_wrap_BLACK_get(void) {
19320 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
19325 static int _wrap_WHITE_set(PyObject
*) {
19326 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
19331 static PyObject
*_wrap_WHITE_get(void) {
19334 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
19339 static int _wrap_RED_set(PyObject
*) {
19340 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
19345 static PyObject
*_wrap_RED_get(void) {
19348 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
19353 static int _wrap_BLUE_set(PyObject
*) {
19354 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
19359 static PyObject
*_wrap_BLUE_get(void) {
19362 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
19367 static int _wrap_GREEN_set(PyObject
*) {
19368 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
19373 static PyObject
*_wrap_GREEN_get(void) {
19376 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
19381 static int _wrap_CYAN_set(PyObject
*) {
19382 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
19387 static PyObject
*_wrap_CYAN_get(void) {
19390 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
19395 static int _wrap_LIGHT_GREY_set(PyObject
*) {
19396 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
19401 static PyObject
*_wrap_LIGHT_GREY_get(void) {
19404 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
19409 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
19410 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
19415 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
19418 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19423 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
19424 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
19429 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
19432 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19437 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
19438 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
19443 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
19446 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19451 static int _wrap_NullBitmap_set(PyObject
*) {
19452 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
19457 static PyObject
*_wrap_NullBitmap_get(void) {
19460 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
19465 static int _wrap_NullIcon_set(PyObject
*) {
19466 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
19471 static PyObject
*_wrap_NullIcon_get(void) {
19474 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
19479 static int _wrap_NullCursor_set(PyObject
*) {
19480 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
19485 static PyObject
*_wrap_NullCursor_get(void) {
19488 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
19493 static int _wrap_NullPen_set(PyObject
*) {
19494 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
19499 static PyObject
*_wrap_NullPen_get(void) {
19502 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
19507 static int _wrap_NullBrush_set(PyObject
*) {
19508 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
19513 static PyObject
*_wrap_NullBrush_get(void) {
19516 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
19521 static int _wrap_NullPalette_set(PyObject
*) {
19522 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
19527 static PyObject
*_wrap_NullPalette_get(void) {
19530 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
19535 static int _wrap_NullFont_set(PyObject
*) {
19536 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
19541 static PyObject
*_wrap_NullFont_get(void) {
19544 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
19549 static int _wrap_NullColour_set(PyObject
*) {
19550 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
19555 static PyObject
*_wrap_NullColour_get(void) {
19558 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
19563 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxPenList
*arg1
= (wxPenList
*) 0 ;
19566 wxPen
*arg2
= (wxPen
*) 0 ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "pen", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
19574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19575 if (SWIG_arg_fail(1)) SWIG_fail
;
19576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19577 if (SWIG_arg_fail(2)) SWIG_fail
;
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 (arg1
)->AddPen(arg2
);
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19585 Py_INCREF(Py_None
); resultobj
= Py_None
;
19592 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
;
19594 wxPenList
*arg1
= (wxPenList
*) 0 ;
19595 wxColour
*arg2
= 0 ;
19600 PyObject
* obj0
= 0 ;
19601 PyObject
* obj1
= 0 ;
19602 PyObject
* obj2
= 0 ;
19603 PyObject
* obj3
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19610 if (SWIG_arg_fail(1)) SWIG_fail
;
19613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19616 arg3
= (int)(SWIG_As_int(obj2
));
19617 if (SWIG_arg_fail(3)) SWIG_fail
;
19620 arg4
= (int)(SWIG_As_int(obj3
));
19621 if (SWIG_arg_fail(4)) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
19637 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19639 wxPenList
*arg1
= (wxPenList
*) 0 ;
19640 wxPen
*arg2
= (wxPen
*) 0 ;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self",(char *) "pen", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
19648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19649 if (SWIG_arg_fail(1)) SWIG_fail
;
19650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19651 if (SWIG_arg_fail(2)) SWIG_fail
;
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 (arg1
)->RemovePen(arg2
);
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 Py_INCREF(Py_None
); resultobj
= Py_None
;
19666 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19668 wxPenList
*arg1
= (wxPenList
*) 0 ;
19670 PyObject
* obj0
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
19676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19677 if (SWIG_arg_fail(1)) SWIG_fail
;
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 result
= (int)(arg1
)->GetCount();
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= SWIG_From_int((int)(result
));
19694 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
19696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19697 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
19699 return Py_BuildValue((char *)"");
19701 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19704 wxBrush
*arg2
= (wxBrush
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 char *kwnames
[] = {
19708 (char *) "self",(char *) "brush", NULL
19711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19713 if (SWIG_arg_fail(1)) SWIG_fail
;
19714 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19715 if (SWIG_arg_fail(2)) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 (arg1
)->AddBrush(arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 Py_INCREF(Py_None
); resultobj
= Py_None
;
19730 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19733 wxColour
*arg2
= 0 ;
19734 int arg3
= (int) wxSOLID
;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 PyObject
* obj2
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self",(char *) "colour",(char *) "style", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19746 if (SWIG_arg_fail(1)) SWIG_fail
;
19749 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19753 arg3
= (int)(SWIG_As_int(obj2
));
19754 if (SWIG_arg_fail(3)) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
19771 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19773 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19774 wxBrush
*arg2
= (wxBrush
*) 0 ;
19775 PyObject
* obj0
= 0 ;
19776 PyObject
* obj1
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self",(char *) "brush", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19783 if (SWIG_arg_fail(1)) SWIG_fail
;
19784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19785 if (SWIG_arg_fail(2)) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 (arg1
)->RemoveBrush(arg2
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 Py_INCREF(Py_None
); resultobj
= Py_None
;
19800 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19804 PyObject
* obj0
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
19810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19811 if (SWIG_arg_fail(1)) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 result
= (int)(arg1
)->GetCount();
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_From_int((int)(result
));
19828 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
19830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19831 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
19833 return Py_BuildValue((char *)"");
19835 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19837 wxColourDatabase
*result
;
19838 char *kwnames
[] = {
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
19844 if (!wxPyCheckForApp()) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 result
= (wxColourDatabase
*)new wxColourDatabase();
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
19858 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19861 PyObject
* obj0
= 0 ;
19862 char *kwnames
[] = {
19863 (char *) "self", NULL
19866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
19867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19868 if (SWIG_arg_fail(1)) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 Py_INCREF(Py_None
); resultobj
= Py_None
;
19883 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19886 wxString
*arg2
= 0 ;
19888 bool temp2
= false ;
19889 PyObject
* obj0
= 0 ;
19890 PyObject
* obj1
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self",(char *) "name", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
19896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail
;
19899 arg2
= wxString_in_helper(obj1
);
19900 if (arg2
== NULL
) SWIG_fail
;
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19911 wxColour
* resultptr
;
19912 resultptr
= new wxColour((wxColour
&)(result
));
19913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19929 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19932 wxColour
*arg2
= 0 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "colour", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
19942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19943 if (SWIG_arg_fail(1)) SWIG_fail
;
19946 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19968 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19971 wxString
*arg2
= 0 ;
19972 wxColour
*arg3
= 0 ;
19973 bool temp2
= false ;
19975 PyObject
* obj0
= 0 ;
19976 PyObject
* obj1
= 0 ;
19977 PyObject
* obj2
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "self",(char *) "name",(char *) "colour", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19984 if (SWIG_arg_fail(1)) SWIG_fail
;
19986 arg2
= wxString_in_helper(obj1
);
19987 if (arg2
== NULL
) SWIG_fail
;
19992 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20001 Py_INCREF(Py_None
); resultobj
= Py_None
;
20016 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20018 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20019 wxString
*arg2
= 0 ;
20023 bool temp2
= false ;
20024 PyObject
* obj0
= 0 ;
20025 PyObject
* obj1
= 0 ;
20026 PyObject
* obj2
= 0 ;
20027 PyObject
* obj3
= 0 ;
20028 PyObject
* obj4
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20035 if (SWIG_arg_fail(1)) SWIG_fail
;
20037 arg2
= wxString_in_helper(obj1
);
20038 if (arg2
== NULL
) SWIG_fail
;
20042 arg3
= (int)(SWIG_As_int(obj2
));
20043 if (SWIG_arg_fail(3)) SWIG_fail
;
20046 arg4
= (int)(SWIG_As_int(obj3
));
20047 if (SWIG_arg_fail(4)) SWIG_fail
;
20050 arg5
= (int)(SWIG_As_int(obj4
));
20051 if (SWIG_arg_fail(5)) SWIG_fail
;
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20057 wxPyEndAllowThreads(__tstate
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20060 Py_INCREF(Py_None
); resultobj
= Py_None
;
20075 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
20077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20078 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
20080 return Py_BuildValue((char *)"");
20082 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxFontList
*arg1
= (wxFontList
*) 0 ;
20085 wxFont
*arg2
= (wxFont
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 PyObject
* obj1
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "self",(char *) "font", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20094 if (SWIG_arg_fail(1)) SWIG_fail
;
20095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20096 if (SWIG_arg_fail(2)) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 (arg1
)->AddFont(arg2
);
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 Py_INCREF(Py_None
); resultobj
= Py_None
;
20111 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxFontList
*arg1
= (wxFontList
*) 0 ;
20118 bool arg6
= (bool) false ;
20119 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20121 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
20123 bool temp7
= false ;
20124 PyObject
* obj0
= 0 ;
20125 PyObject
* obj1
= 0 ;
20126 PyObject
* obj2
= 0 ;
20127 PyObject
* obj3
= 0 ;
20128 PyObject
* obj4
= 0 ;
20129 PyObject
* obj5
= 0 ;
20130 PyObject
* obj6
= 0 ;
20131 PyObject
* obj7
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20138 if (SWIG_arg_fail(1)) SWIG_fail
;
20140 arg2
= (int)(SWIG_As_int(obj1
));
20141 if (SWIG_arg_fail(2)) SWIG_fail
;
20144 arg3
= (int)(SWIG_As_int(obj2
));
20145 if (SWIG_arg_fail(3)) SWIG_fail
;
20148 arg4
= (int)(SWIG_As_int(obj3
));
20149 if (SWIG_arg_fail(4)) SWIG_fail
;
20152 arg5
= (int)(SWIG_As_int(obj4
));
20153 if (SWIG_arg_fail(5)) SWIG_fail
;
20157 arg6
= (bool)(SWIG_As_bool(obj5
));
20158 if (SWIG_arg_fail(6)) SWIG_fail
;
20163 arg7
= wxString_in_helper(obj6
);
20164 if (arg7
== NULL
) SWIG_fail
;
20170 arg8
= (wxFontEncoding
)(SWIG_As_int(obj7
));
20171 if (SWIG_arg_fail(8)) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
20196 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxFontList
*arg1
= (wxFontList
*) 0 ;
20199 wxFont
*arg2
= (wxFont
*) 0 ;
20200 PyObject
* obj0
= 0 ;
20201 PyObject
* obj1
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self",(char *) "font", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20208 if (SWIG_arg_fail(1)) SWIG_fail
;
20209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20210 if (SWIG_arg_fail(2)) SWIG_fail
;
20212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 (arg1
)->RemoveFont(arg2
);
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 Py_INCREF(Py_None
); resultobj
= Py_None
;
20225 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20227 wxFontList
*arg1
= (wxFontList
*) 0 ;
20229 PyObject
* obj0
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
20235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20236 if (SWIG_arg_fail(1)) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 result
= (int)(arg1
)->GetCount();
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= SWIG_From_int((int)(result
));
20253 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
20255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20256 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
20258 return Py_BuildValue((char *)"");
20260 static int _wrap_TheFontList_set(PyObject
*) {
20261 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
20266 static PyObject
*_wrap_TheFontList_get(void) {
20269 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
20274 static int _wrap_ThePenList_set(PyObject
*) {
20275 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
20280 static PyObject
*_wrap_ThePenList_get(void) {
20283 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
20288 static int _wrap_TheBrushList_set(PyObject
*) {
20289 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
20294 static PyObject
*_wrap_TheBrushList_get(void) {
20297 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
20302 static int _wrap_TheColourDatabase_set(PyObject
*) {
20303 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
20308 static PyObject
*_wrap_TheColourDatabase_get(void) {
20311 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
20316 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20319 char *kwnames
[] = {
20323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= (wxEffects
*)new wxEffects();
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
20338 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxEffects
*arg1
= (wxEffects
*) 0 ;
20342 PyObject
* obj0
= 0 ;
20343 char *kwnames
[] = {
20344 (char *) "self", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
20348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20349 if (SWIG_arg_fail(1)) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20358 wxColour
* resultptr
;
20359 resultptr
= new wxColour((wxColour
&)(result
));
20360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20368 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
;
20370 wxEffects
*arg1
= (wxEffects
*) 0 ;
20372 PyObject
* obj0
= 0 ;
20373 char *kwnames
[] = {
20374 (char *) "self", NULL
20377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
20378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20379 if (SWIG_arg_fail(1)) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20388 wxColour
* resultptr
;
20389 resultptr
= new wxColour((wxColour
&)(result
));
20390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20398 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxEffects
*arg1
= (wxEffects
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
20408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20409 if (SWIG_arg_fail(1)) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20418 wxColour
* resultptr
;
20419 resultptr
= new wxColour((wxColour
&)(result
));
20420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20428 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxEffects
*arg1
= (wxEffects
*) 0 ;
20432 PyObject
* obj0
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
20438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20448 wxColour
* resultptr
;
20449 resultptr
= new wxColour((wxColour
&)(result
));
20450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20458 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxEffects
*arg1
= (wxEffects
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "self", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
20468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20469 if (SWIG_arg_fail(1)) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20478 wxColour
* resultptr
;
20479 resultptr
= new wxColour((wxColour
&)(result
));
20480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20488 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxEffects
*arg1
= (wxEffects
*) 0 ;
20491 wxColour
*arg2
= 0 ;
20493 PyObject
* obj0
= 0 ;
20494 PyObject
* obj1
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self",(char *) "c", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20501 if (SWIG_arg_fail(1)) SWIG_fail
;
20504 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 Py_INCREF(Py_None
); resultobj
= Py_None
;
20520 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxEffects
*arg1
= (wxEffects
*) 0 ;
20523 wxColour
*arg2
= 0 ;
20525 PyObject
* obj0
= 0 ;
20526 PyObject
* obj1
= 0 ;
20527 char *kwnames
[] = {
20528 (char *) "self",(char *) "c", NULL
20531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20533 if (SWIG_arg_fail(1)) SWIG_fail
;
20536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20545 Py_INCREF(Py_None
); resultobj
= Py_None
;
20552 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20553 PyObject
*resultobj
;
20554 wxEffects
*arg1
= (wxEffects
*) 0 ;
20555 wxColour
*arg2
= 0 ;
20557 PyObject
* obj0
= 0 ;
20558 PyObject
* obj1
= 0 ;
20559 char *kwnames
[] = {
20560 (char *) "self",(char *) "c", NULL
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20565 if (SWIG_arg_fail(1)) SWIG_fail
;
20568 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 Py_INCREF(Py_None
); resultobj
= Py_None
;
20584 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxEffects
*arg1
= (wxEffects
*) 0 ;
20587 wxColour
*arg2
= 0 ;
20589 PyObject
* obj0
= 0 ;
20590 PyObject
* obj1
= 0 ;
20591 char *kwnames
[] = {
20592 (char *) "self",(char *) "c", NULL
20595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20597 if (SWIG_arg_fail(1)) SWIG_fail
;
20600 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 Py_INCREF(Py_None
); resultobj
= Py_None
;
20616 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20618 wxEffects
*arg1
= (wxEffects
*) 0 ;
20619 wxColour
*arg2
= 0 ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 char *kwnames
[] = {
20624 (char *) "self",(char *) "c", NULL
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20629 if (SWIG_arg_fail(1)) SWIG_fail
;
20632 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20636 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20641 Py_INCREF(Py_None
); resultobj
= Py_None
;
20648 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
;
20650 wxEffects
*arg1
= (wxEffects
*) 0 ;
20651 wxColour
*arg2
= 0 ;
20652 wxColour
*arg3
= 0 ;
20653 wxColour
*arg4
= 0 ;
20654 wxColour
*arg5
= 0 ;
20655 wxColour
*arg6
= 0 ;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20663 PyObject
* obj2
= 0 ;
20664 PyObject
* obj3
= 0 ;
20665 PyObject
* obj4
= 0 ;
20666 PyObject
* obj5
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20673 if (SWIG_arg_fail(1)) SWIG_fail
;
20676 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20680 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20684 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
20688 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
20692 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 Py_INCREF(Py_None
); resultobj
= Py_None
;
20708 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 wxEffects
*arg1
= (wxEffects
*) 0 ;
20713 int arg4
= (int) 1 ;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20717 PyObject
* obj2
= 0 ;
20718 PyObject
* obj3
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20725 if (SWIG_arg_fail(1)) SWIG_fail
;
20727 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20728 if (SWIG_arg_fail(2)) SWIG_fail
;
20729 if (arg2
== NULL
) {
20730 SWIG_null_ref("wxDC");
20732 if (SWIG_arg_fail(2)) SWIG_fail
;
20736 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20740 arg4
= (int)(SWIG_As_int(obj3
));
20741 if (SWIG_arg_fail(4)) SWIG_fail
;
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 Py_INCREF(Py_None
); resultobj
= Py_None
;
20758 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxEffects
*arg1
= (wxEffects
*) 0 ;
20763 wxBitmap
*arg4
= 0 ;
20766 PyObject
* obj0
= 0 ;
20767 PyObject
* obj1
= 0 ;
20768 PyObject
* obj2
= 0 ;
20769 PyObject
* obj3
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20776 if (SWIG_arg_fail(1)) SWIG_fail
;
20779 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20782 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20783 if (SWIG_arg_fail(3)) SWIG_fail
;
20784 if (arg3
== NULL
) {
20785 SWIG_null_ref("wxDC");
20787 if (SWIG_arg_fail(3)) SWIG_fail
;
20790 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20791 if (SWIG_arg_fail(4)) SWIG_fail
;
20792 if (arg4
== NULL
) {
20793 SWIG_null_ref("wxBitmap");
20795 if (SWIG_arg_fail(4)) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20813 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
20815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20816 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
20818 return Py_BuildValue((char *)"");
20820 static PyObject
*_wrap_new_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20825 wxSplitterRenderParams
*result
;
20826 PyObject
* obj0
= 0 ;
20827 PyObject
* obj1
= 0 ;
20828 PyObject
* obj2
= 0 ;
20829 char *kwnames
[] = {
20830 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
20833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20835 arg1
= (int)(SWIG_As_int(obj0
));
20836 if (SWIG_arg_fail(1)) SWIG_fail
;
20839 arg2
= (int)(SWIG_As_int(obj1
));
20840 if (SWIG_arg_fail(2)) SWIG_fail
;
20843 arg3
= (bool)(SWIG_As_bool(obj2
));
20844 if (SWIG_arg_fail(3)) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
20860 static PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SplitterRenderParams",kwnames
,&obj0
)) goto fail
;
20869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20870 if (SWIG_arg_fail(1)) SWIG_fail
;
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20878 Py_INCREF(Py_None
); resultobj
= Py_None
;
20885 static PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20886 PyObject
*resultobj
;
20887 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20889 PyObject
* obj0
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_widthSash_get",kwnames
,&obj0
)) goto fail
;
20895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20896 if (SWIG_arg_fail(1)) SWIG_fail
;
20897 result
= (int)(int) ((arg1
)->widthSash
);
20900 resultobj
= SWIG_From_int((int)(result
));
20908 static PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_border_get",kwnames
,&obj0
)) goto fail
;
20918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20919 if (SWIG_arg_fail(1)) SWIG_fail
;
20920 result
= (int)(int) ((arg1
)->border
);
20923 resultobj
= SWIG_From_int((int)(result
));
20931 static PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 char *kwnames
[] = {
20937 (char *) "self", NULL
20940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames
,&obj0
)) goto fail
;
20941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20942 if (SWIG_arg_fail(1)) SWIG_fail
;
20943 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
20946 resultobj
= SWIG_From_bool((bool)(result
));
20954 static PyObject
* SplitterRenderParams_swigregister(PyObject
*, PyObject
*args
) {
20956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20957 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams
, obj
);
20959 return Py_BuildValue((char *)"");
20961 static PyObject
*_wrap_new_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20965 wxRendererVersion
*result
;
20966 PyObject
* obj0
= 0 ;
20967 PyObject
* obj1
= 0 ;
20968 char *kwnames
[] = {
20969 (char *) "version_",(char *) "age_", NULL
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) goto fail
;
20974 arg1
= (int)(SWIG_As_int(obj0
));
20975 if (SWIG_arg_fail(1)) SWIG_fail
;
20978 arg2
= (int)(SWIG_As_int(obj1
));
20979 if (SWIG_arg_fail(2)) SWIG_fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererVersion
, 1);
20995 static PyObject
*_wrap_delete_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RendererVersion",kwnames
,&obj0
)) goto fail
;
21004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21005 if (SWIG_arg_fail(1)) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 Py_INCREF(Py_None
); resultobj
= Py_None
;
21020 static PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
;
21022 wxRendererVersion
*arg1
= 0 ;
21024 PyObject
* obj0
= 0 ;
21025 char *kwnames
[] = {
21026 (char *) "ver", NULL
21029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) goto fail
;
21031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21032 if (SWIG_arg_fail(1)) SWIG_fail
;
21033 if (arg1
== NULL
) {
21034 SWIG_null_ref("wxRendererVersion");
21036 if (SWIG_arg_fail(1)) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21054 static PyObject
*_wrap_RendererVersion_version_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_version_get",kwnames
,&obj0
)) goto fail
;
21064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21065 if (SWIG_arg_fail(1)) SWIG_fail
;
21066 result
= (int)(int) ((arg1
)->version
);
21069 resultobj
= SWIG_From_int((int)(result
));
21077 static PyObject
*_wrap_RendererVersion_age_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
;
21079 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21081 PyObject
* obj0
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_age_get",kwnames
,&obj0
)) goto fail
;
21087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21088 if (SWIG_arg_fail(1)) SWIG_fail
;
21089 result
= (int)(int) ((arg1
)->age
);
21092 resultobj
= SWIG_From_int((int)(result
));
21100 static PyObject
* RendererVersion_swigregister(PyObject
*, PyObject
*args
) {
21102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21103 SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion
, obj
);
21105 return Py_BuildValue((char *)"");
21107 static PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21110 wxWindow
*arg2
= (wxWindow
*) 0 ;
21113 int arg5
= (int) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 PyObject
* obj1
= 0 ;
21117 PyObject
* obj2
= 0 ;
21118 PyObject
* obj3
= 0 ;
21119 PyObject
* obj4
= 0 ;
21120 char *kwnames
[] = {
21121 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21126 if (SWIG_arg_fail(1)) SWIG_fail
;
21127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21128 if (SWIG_arg_fail(2)) SWIG_fail
;
21130 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21131 if (SWIG_arg_fail(3)) SWIG_fail
;
21132 if (arg3
== NULL
) {
21133 SWIG_null_ref("wxDC");
21135 if (SWIG_arg_fail(3)) SWIG_fail
;
21139 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21143 arg5
= (int)(SWIG_As_int(obj4
));
21144 if (SWIG_arg_fail(5)) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 Py_INCREF(Py_None
); resultobj
= Py_None
;
21161 static PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
;
21163 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21164 wxWindow
*arg2
= (wxWindow
*) 0 ;
21167 int arg5
= (int) 0 ;
21169 PyObject
* obj0
= 0 ;
21170 PyObject
* obj1
= 0 ;
21171 PyObject
* obj2
= 0 ;
21172 PyObject
* obj3
= 0 ;
21173 PyObject
* obj4
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21180 if (SWIG_arg_fail(1)) SWIG_fail
;
21181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21182 if (SWIG_arg_fail(2)) SWIG_fail
;
21184 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21185 if (SWIG_arg_fail(3)) SWIG_fail
;
21186 if (arg3
== NULL
) {
21187 SWIG_null_ref("wxDC");
21189 if (SWIG_arg_fail(3)) SWIG_fail
;
21193 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21197 arg5
= (int)(SWIG_As_int(obj4
));
21198 if (SWIG_arg_fail(5)) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 Py_INCREF(Py_None
); resultobj
= Py_None
;
21215 static PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21218 wxWindow
*arg2
= (wxWindow
*) 0 ;
21221 int arg5
= (int) 0 ;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 PyObject
* obj2
= 0 ;
21226 PyObject
* obj3
= 0 ;
21227 PyObject
* obj4
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21234 if (SWIG_arg_fail(1)) SWIG_fail
;
21235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21236 if (SWIG_arg_fail(2)) SWIG_fail
;
21238 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21239 if (SWIG_arg_fail(3)) SWIG_fail
;
21240 if (arg3
== NULL
) {
21241 SWIG_null_ref("wxDC");
21243 if (SWIG_arg_fail(3)) SWIG_fail
;
21247 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21251 arg5
= (int)(SWIG_As_int(obj4
));
21252 if (SWIG_arg_fail(5)) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 Py_INCREF(Py_None
); resultobj
= Py_None
;
21269 static PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21272 wxWindow
*arg2
= (wxWindow
*) 0 ;
21276 wxOrientation arg6
;
21277 int arg7
= (int) 0 ;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 PyObject
* obj2
= 0 ;
21282 PyObject
* obj3
= 0 ;
21283 PyObject
* obj4
= 0 ;
21284 PyObject
* obj5
= 0 ;
21285 PyObject
* obj6
= 0 ;
21286 char *kwnames
[] = {
21287 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21292 if (SWIG_arg_fail(1)) SWIG_fail
;
21293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21294 if (SWIG_arg_fail(2)) SWIG_fail
;
21296 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21297 if (SWIG_arg_fail(3)) SWIG_fail
;
21298 if (arg3
== NULL
) {
21299 SWIG_null_ref("wxDC");
21301 if (SWIG_arg_fail(3)) SWIG_fail
;
21305 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21308 arg5
= (int)(SWIG_As_int(obj4
));
21309 if (SWIG_arg_fail(5)) SWIG_fail
;
21312 arg6
= (wxOrientation
)(SWIG_As_int(obj5
));
21313 if (SWIG_arg_fail(6)) SWIG_fail
;
21317 arg7
= (int)(SWIG_As_int(obj6
));
21318 if (SWIG_arg_fail(7)) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,(wxOrientation
)arg6
,arg7
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 Py_INCREF(Py_None
); resultobj
= Py_None
;
21335 static PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21336 PyObject
*resultobj
;
21337 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21338 wxWindow
*arg2
= (wxWindow
*) 0 ;
21341 int arg5
= (int) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 PyObject
* obj1
= 0 ;
21345 PyObject
* obj2
= 0 ;
21346 PyObject
* obj3
= 0 ;
21347 PyObject
* obj4
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21354 if (SWIG_arg_fail(1)) SWIG_fail
;
21355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21356 if (SWIG_arg_fail(2)) SWIG_fail
;
21358 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21359 if (SWIG_arg_fail(3)) SWIG_fail
;
21360 if (arg3
== NULL
) {
21361 SWIG_null_ref("wxDC");
21363 if (SWIG_arg_fail(3)) SWIG_fail
;
21367 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21371 arg5
= (int)(SWIG_As_int(obj4
));
21372 if (SWIG_arg_fail(5)) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 Py_INCREF(Py_None
); resultobj
= Py_None
;
21389 static PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21392 wxWindow
*arg2
= (wxWindow
*) 0 ;
21395 int arg5
= (int) 0 ;
21397 PyObject
* obj0
= 0 ;
21398 PyObject
* obj1
= 0 ;
21399 PyObject
* obj2
= 0 ;
21400 PyObject
* obj3
= 0 ;
21401 PyObject
* obj4
= 0 ;
21402 char *kwnames
[] = {
21403 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21408 if (SWIG_arg_fail(1)) SWIG_fail
;
21409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21410 if (SWIG_arg_fail(2)) SWIG_fail
;
21412 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21413 if (SWIG_arg_fail(3)) SWIG_fail
;
21414 if (arg3
== NULL
) {
21415 SWIG_null_ref("wxDC");
21417 if (SWIG_arg_fail(3)) SWIG_fail
;
21421 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21425 arg5
= (int)(SWIG_As_int(obj4
));
21426 if (SWIG_arg_fail(5)) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 Py_INCREF(Py_None
); resultobj
= Py_None
;
21443 static PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
;
21445 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21446 wxWindow
*arg2
= (wxWindow
*) 0 ;
21447 SwigValueWrapper
<wxSplitterRenderParams
> result
;
21448 PyObject
* obj0
= 0 ;
21449 PyObject
* obj1
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self",(char *) "win", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) goto fail
;
21455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail
;
21457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21458 if (SWIG_arg_fail(2)) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 wxSplitterRenderParams
* resultptr
;
21468 resultptr
= new wxSplitterRenderParams((wxSplitterRenderParams
&)(result
));
21469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
21477 static PyObject
*_wrap_RendererNative_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxRendererNative
*result
;
21480 char *kwnames
[] = {
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_Get",kwnames
)) goto fail
;
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 wxRendererNative
&_result_ref
= wxRendererNative::Get();
21489 result
= (wxRendererNative
*) &_result_ref
;
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21502 static PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxRendererNative
*result
;
21505 char *kwnames
[] = {
21509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetGeneric",kwnames
)) goto fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
21514 result
= (wxRendererNative
*) &_result_ref
;
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21527 static PyObject
*_wrap_RendererNative_GetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
;
21529 wxRendererNative
*result
;
21530 char *kwnames
[] = {
21534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetDefault",kwnames
)) goto fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
21539 result
= (wxRendererNative
*) &_result_ref
;
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21552 static PyObject
*_wrap_RendererNative_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
;
21554 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21555 wxRendererNative
*result
;
21556 PyObject
* obj0
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "renderer", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) goto fail
;
21562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21563 if (SWIG_arg_fail(1)) SWIG_fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21578 static PyObject
*_wrap_RendererNative_GetVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21581 SwigValueWrapper
<wxRendererVersion
> result
;
21582 PyObject
* obj0
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_GetVersion",kwnames
,&obj0
)) goto fail
;
21588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21589 if (SWIG_arg_fail(1)) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21598 wxRendererVersion
* resultptr
;
21599 resultptr
= new wxRendererVersion((wxRendererVersion
&)(result
));
21600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRendererVersion
, 1);
21608 static PyObject
* RendererNative_swigregister(PyObject
*, PyObject
*args
) {
21610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21611 SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative
, obj
);
21613 return Py_BuildValue((char *)"");
21615 static PyMethodDef SwigMethods
[] = {
21616 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21617 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21618 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21619 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21620 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21621 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
21622 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21623 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21624 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21625 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21626 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21627 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21628 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21629 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21630 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21631 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21632 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21633 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21634 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21635 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21636 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21637 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21638 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
21639 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21640 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21641 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21642 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21643 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21644 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21645 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
21646 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21647 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21648 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21649 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21650 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21651 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21652 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21653 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21654 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21655 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21656 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21657 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21658 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21659 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21660 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21661 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21662 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21663 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21664 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
21665 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21666 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21667 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21668 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21669 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21670 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21671 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21672 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21673 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21674 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21675 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21676 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21677 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21678 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
21679 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21680 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21681 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21682 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21683 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21684 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21685 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21686 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21687 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21688 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21689 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21690 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21691 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21692 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21693 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21694 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21695 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21696 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21697 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21698 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21699 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21700 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21701 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21702 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21703 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21704 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21705 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21706 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
21707 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21708 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
21709 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21710 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21711 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21712 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21713 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21714 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21715 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21716 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21717 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21718 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21719 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21720 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21721 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21722 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21723 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
21724 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21725 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21726 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21727 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21728 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21729 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21730 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21731 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
21732 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21733 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21734 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21735 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21736 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21737 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21738 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21739 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
21740 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21741 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21742 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21743 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21744 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21745 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
21746 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21747 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21748 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21749 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21750 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21751 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21752 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21753 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21754 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21755 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21756 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21757 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21758 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21759 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21760 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21761 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21762 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21763 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21764 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21765 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21766 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21767 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21768 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21769 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21770 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21771 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21772 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21773 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21774 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
21775 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21776 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21777 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21778 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21779 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21780 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21781 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21782 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21783 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21784 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21785 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21786 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21787 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21788 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
21789 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21790 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21791 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21792 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21793 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21794 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21795 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21796 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21797 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21798 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21799 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21800 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21801 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21802 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21803 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21804 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21805 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21806 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21807 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21808 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21809 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21810 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21811 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21812 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
21813 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21814 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21815 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21816 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21817 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21818 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21819 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21820 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21821 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
21822 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21823 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21824 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21825 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21826 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21827 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21828 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21829 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21830 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21831 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21832 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21833 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21834 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21835 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21836 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21837 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21838 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21839 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21840 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21841 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
21842 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21843 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21844 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21845 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21846 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21847 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21848 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21849 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21850 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21851 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21852 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21853 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21854 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21855 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21856 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21857 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21858 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21859 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21860 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21861 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21862 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21863 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21864 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21865 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21866 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21867 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21868 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21869 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21870 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21871 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21872 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21873 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21874 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21875 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21876 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21877 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21878 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21879 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21880 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21881 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21882 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21883 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
21884 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21885 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21886 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21887 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21888 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21889 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21890 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21891 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
21892 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21893 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21894 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21895 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21896 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21897 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21898 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
21899 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21900 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21901 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21902 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21903 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21904 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21905 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21906 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21907 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21908 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21909 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21910 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21911 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21912 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21913 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21914 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21915 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21916 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21917 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21918 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21919 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21920 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
21921 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21922 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
21923 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21924 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21925 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21926 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21927 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21928 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21929 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21930 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
21931 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21932 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21933 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21934 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21935 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21936 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21937 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21938 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21939 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21940 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21941 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21942 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21943 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21944 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21945 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21946 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21947 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21948 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21949 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21950 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21951 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21952 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21953 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21954 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21955 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21956 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21957 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21958 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21959 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21960 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21961 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21962 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21963 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21964 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21965 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21966 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21967 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21968 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21969 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21970 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21971 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21972 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21973 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21974 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21975 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21976 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21977 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21978 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21979 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21980 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21981 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21982 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21983 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21984 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21985 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21986 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21987 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21988 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21989 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21990 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21991 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21992 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21993 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21994 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21995 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21996 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21997 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21998 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21999 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22000 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22001 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22002 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22003 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22004 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22005 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22006 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22007 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22008 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22009 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22010 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22011 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22012 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22013 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22014 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22015 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22016 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22017 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22018 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22019 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22020 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22021 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22022 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22023 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22024 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22025 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22026 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22027 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22028 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22029 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22030 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22031 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22032 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22033 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22034 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22035 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22036 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22037 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22038 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22039 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22040 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22041 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22042 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22043 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22044 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22045 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22046 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22047 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22048 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22049 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22050 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22051 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22052 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22053 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22054 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22055 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22056 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22057 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22058 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
22059 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22060 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22061 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22062 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
22063 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
22064 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22065 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22066 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
22067 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22068 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
22069 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22070 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22071 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22072 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22073 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
22074 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22075 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
22076 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22077 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
22078 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22079 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
22080 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22081 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
22082 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22083 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22084 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22085 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22086 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22087 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
22088 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22089 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22090 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22091 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22092 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22093 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22094 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22095 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
22096 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22097 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22098 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
22099 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22100 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
22101 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22102 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22103 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22104 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22105 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22106 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22107 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22108 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22109 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22110 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22111 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22112 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22113 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22114 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
22115 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22116 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22117 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22118 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22119 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
22120 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22121 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22122 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22123 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22124 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
22125 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22126 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22127 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22128 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22129 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22130 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22131 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
22132 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22133 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22134 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22135 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22136 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
22137 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22138 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22139 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22140 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22141 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22142 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22143 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22144 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22145 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22146 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22147 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22148 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22149 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22150 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22151 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
22152 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22153 { (char *)"delete_SplitterRenderParams", (PyCFunction
) _wrap_delete_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22154 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
) _wrap_SplitterRenderParams_widthSash_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22155 { (char *)"SplitterRenderParams_border_get", (PyCFunction
) _wrap_SplitterRenderParams_border_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22156 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
) _wrap_SplitterRenderParams_isHotSensitive_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22157 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
22158 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22159 { (char *)"delete_RendererVersion", (PyCFunction
) _wrap_delete_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22160 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22161 { (char *)"RendererVersion_version_get", (PyCFunction
) _wrap_RendererVersion_version_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22162 { (char *)"RendererVersion_age_get", (PyCFunction
) _wrap_RendererVersion_age_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22163 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
22164 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22165 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22166 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22167 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22168 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22169 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22170 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22171 { (char *)"RendererNative_Get", (PyCFunction
) _wrap_RendererNative_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22172 { (char *)"RendererNative_GetGeneric", (PyCFunction
) _wrap_RendererNative_GetGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22173 { (char *)"RendererNative_GetDefault", (PyCFunction
) _wrap_RendererNative_GetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22174 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22175 { (char *)"RendererNative_GetVersion", (PyCFunction
) _wrap_RendererNative_GetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22176 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
22177 { NULL
, NULL
, 0, NULL
}
22181 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
22183 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
22184 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
22186 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
22187 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22189 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
22190 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
22192 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
22193 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
22195 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
22196 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
22198 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
22199 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
22201 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
22202 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
22204 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
22205 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
22207 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
22208 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
22210 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
22211 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
22213 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
22214 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
22216 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
22217 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
22219 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
22220 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
22222 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
22223 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
22225 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
22226 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
22228 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
22229 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
22231 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
22232 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22234 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
22235 return (void *)((wxDC
*) ((wxClientDC
*) x
));
22237 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
22238 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
22240 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
22241 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
22243 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
22244 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
22246 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
22247 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22249 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
22250 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
22252 static void *_p_wxPenTo_p_wxObject(void *x
) {
22253 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
22255 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
22256 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
22258 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
22259 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
22261 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
22262 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
22264 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
22265 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
22267 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
22268 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
22270 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
22271 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
22273 static void *_p_wxIconTo_p_wxObject(void *x
) {
22274 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
22276 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
22277 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
22279 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
22280 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
22282 static void *_p_wxSizerTo_p_wxObject(void *x
) {
22283 return (void *)((wxObject
*) ((wxSizer
*) x
));
22285 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
22286 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
22288 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
22289 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22291 static void *_p_wxPenListTo_p_wxObject(void *x
) {
22292 return (void *)((wxObject
*) ((wxPenList
*) x
));
22294 static void *_p_wxEventTo_p_wxObject(void *x
) {
22295 return (void *)((wxObject
*) ((wxEvent
*) x
));
22297 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
22298 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
22300 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
22301 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
22303 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
22304 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
22306 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
22307 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
22309 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
22310 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
22312 static void *_p_wxDCTo_p_wxObject(void *x
) {
22313 return (void *)((wxObject
*) ((wxDC
*) x
));
22315 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
22316 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
22318 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
22319 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22321 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22322 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22324 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22325 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22327 static void *_p_wxControlTo_p_wxObject(void *x
) {
22328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22330 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22331 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22333 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
22334 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
22336 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22337 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22339 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
22340 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
22342 static void *_p_wxRegionTo_p_wxObject(void *x
) {
22343 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
22345 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22346 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22348 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
22349 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
22351 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
22352 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
22354 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
22355 return (void *)((wxObject
*) ((wxEffects
*) x
));
22357 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22358 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22360 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22361 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22363 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
22364 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
22366 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22367 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22369 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22370 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22372 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
22373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
22375 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22376 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22378 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22381 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22382 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22384 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22385 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22387 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22388 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22390 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22391 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22393 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22394 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22396 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22397 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22399 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22400 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22402 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22403 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22405 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22406 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22408 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22409 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22411 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22412 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22414 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22415 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22417 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22418 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22420 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22421 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22423 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22424 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22426 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22429 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22430 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22432 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22435 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22436 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22438 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
22439 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22441 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
22442 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
22444 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
22445 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
22447 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
22448 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
22450 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
22451 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
22453 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22454 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22456 static void *_p_wxImageTo_p_wxObject(void *x
) {
22457 return (void *)((wxObject
*) ((wxImage
*) x
));
22459 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22460 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22462 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
22463 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
22465 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
22466 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
22468 static void *_p_wxImageListTo_p_wxObject(void *x
) {
22469 return (void *)((wxObject
*) ((wxImageList
*) x
));
22471 static void *_p_wxCursorTo_p_wxObject(void *x
) {
22472 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
22474 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
22475 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
22477 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
22478 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
22480 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22483 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22484 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22486 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22487 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22489 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22490 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22492 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22493 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22495 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22498 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
22499 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
22501 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
22502 return (void *)((wxObject
*) ((wxBrushList
*) x
));
22504 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22505 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22507 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
22508 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
22510 static void *_p_wxMaskTo_p_wxObject(void *x
) {
22511 return (void *)((wxObject
*) ((wxMask
*) x
));
22513 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22516 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22517 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22519 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22520 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22522 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22523 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22525 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22526 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22528 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22529 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22531 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22534 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22535 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22537 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22538 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22540 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22541 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22543 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22544 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22546 static void *_p_wxFontTo_p_wxObject(void *x
) {
22547 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
22549 static void *_p_wxBrushTo_p_wxObject(void *x
) {
22550 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
22552 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
22553 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
22555 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22558 static void *_p_wxColourTo_p_wxObject(void *x
) {
22559 return (void *)((wxObject
*) ((wxColour
*) x
));
22561 static void *_p_wxFontListTo_p_wxObject(void *x
) {
22562 return (void *)((wxObject
*) ((wxFontList
*) x
));
22564 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22567 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22568 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22570 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22571 return (void *)((wxWindow
*) ((wxControl
*) x
));
22573 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22574 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22576 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22577 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22579 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}};
22580 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}};
22581 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}};
22582 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}};
22583 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}};
22584 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}};
22585 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}};
22586 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}};
22587 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}};
22588 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}};
22589 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}};
22590 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}};
22591 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}};
22592 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}};
22593 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}};
22594 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}};
22595 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}};
22596 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}};
22597 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}};
22598 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}};
22599 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}};
22600 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}};
22601 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}};
22602 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}};
22603 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}};
22604 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}};
22605 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}};
22606 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}};
22607 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}};
22608 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}};
22609 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}};
22610 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}};
22611 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}};
22612 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}};
22613 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}};
22614 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}};
22615 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}};
22616 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}};
22617 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}};
22618 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}};
22619 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}};
22620 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}};
22621 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}};
22622 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}};
22623 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}};
22624 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}};
22625 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}};
22626 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}};
22627 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}};
22628 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}};
22629 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}};
22630 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}};
22631 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}};
22632 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}};
22633 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}};
22634 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}};
22635 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}};
22636 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}};
22637 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}};
22638 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}};
22639 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}};
22640 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}};
22641 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}};
22642 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}};
22643 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}};
22645 static swig_type_info
*swig_types_initial
[] = {
22646 _swigt__p_wxPostScriptDC
,
22648 _swigt__p_wxColour
,
22650 _swigt__p_wxMirrorDC
,
22651 _swigt__p_form_ops_t
,
22652 _swigt__p_wxRendererVersion
,
22653 _swigt__p_wxDuplexMode
,
22654 _swigt__p_wxPyFontEnumerator
,
22656 _swigt__p_wxIconLocation
,
22658 _swigt__p_wxMetaFileDC
,
22662 _swigt__p_wxWindow
,
22664 _swigt__p_wxMemoryDC
,
22665 _swigt__p_wxFontMapper
,
22666 _swigt__p_wxEffects
,
22667 _swigt__p_wxNativeEncodingInfo
,
22668 _swigt__p_wxPalette
,
22669 _swigt__p_wxBitmap
,
22670 _swigt__p_wxObject
,
22671 _swigt__p_wxRegionIterator
,
22673 _swigt__p_wxPaperSize
,
22674 _swigt__p_wxString
,
22675 _swigt__unsigned_int
,
22676 _swigt__p_unsigned_int
,
22677 _swigt__p_wxPrinterDC
,
22678 _swigt__p_wxIconBundle
,
22681 _swigt__p_wxScreenDC
,
22682 _swigt__p_wxCursor
,
22683 _swigt__p_wxClientDC
,
22684 _swigt__p_wxBufferedDC
,
22685 _swigt__p_wxImageList
,
22686 _swigt__p_unsigned_char
,
22687 _swigt__p_wxGDIObject
,
22689 _swigt__p_wxLocale
,
22691 _swigt__std__ptrdiff_t
,
22692 _swigt__p_wxRegion
,
22693 _swigt__p_wxConfigBase
,
22694 _swigt__p_wxLanguageInfo
,
22695 _swigt__p_wxWindowDC
,
22696 _swigt__p_wxPrintData
,
22697 _swigt__p_wxBrushList
,
22698 _swigt__p_wxFontList
,
22700 _swigt__p_wxBufferedPaintDC
,
22701 _swigt__p_wxPaintDC
,
22702 _swigt__p_wxPenList
,
22704 _swigt__p_wxMetaFile
,
22705 _swigt__p_wxRendererNative
,
22706 _swigt__p_unsigned_long
,
22707 _swigt__p_wxNativeFontInfo
,
22708 _swigt__p_wxEncodingConverter
,
22709 _swigt__p_wxSplitterRenderParams
,
22710 _swigt__p_wxColourDatabase
,
22715 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22717 static swig_const_info swig_const_table
[] = {
22718 {0, 0, 0, 0.0, 0, 0}};
22729 /* Python-specific SWIG API */
22730 #define SWIG_newvarlink() SWIG_Python_newvarlink()
22731 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
22732 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
22734 /* -----------------------------------------------------------------------------
22735 * global variable support code.
22736 * ----------------------------------------------------------------------------- */
22738 typedef struct swig_globalvar
{
22739 char *name
; /* Name of global variable */
22740 PyObject
*(*get_attr
)(); /* Return the current value */
22741 int (*set_attr
)(PyObject
*); /* Set the value */
22742 struct swig_globalvar
*next
;
22745 typedef struct swig_varlinkobject
{
22747 swig_globalvar
*vars
;
22748 } swig_varlinkobject
;
22751 swig_varlink_repr(swig_varlinkobject
*v
) {
22753 return PyString_FromString("<Swig global variables>");
22757 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
22758 swig_globalvar
*var
;
22760 fprintf(fp
,"Swig global variables { ");
22761 for (var
= v
->vars
; var
; var
=var
->next
) {
22762 fprintf(fp
,"%s", var
->name
);
22763 if (var
->next
) fprintf(fp
,", ");
22765 fprintf(fp
," }\n");
22770 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
22771 swig_globalvar
*var
= v
->vars
;
22773 if (strcmp(var
->name
,n
) == 0) {
22774 return (*var
->get_attr
)();
22778 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22783 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
22784 swig_globalvar
*var
= v
->vars
;
22786 if (strcmp(var
->name
,n
) == 0) {
22787 return (*var
->set_attr
)(p
);
22791 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
22795 static PyTypeObject varlinktype
= {
22796 PyObject_HEAD_INIT(0)
22797 0, /* Number of items in variable part (ob_size) */
22798 (char *)"swigvarlink", /* Type name (tp_name) */
22799 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
22800 0, /* Itemsize (tp_itemsize) */
22801 0, /* Deallocator (tp_dealloc) */
22802 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
22803 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
22804 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
22805 0, /* tp_compare */
22806 (reprfunc
) swig_varlink_repr
, /* tp_repr */
22807 0, /* tp_as_number */
22808 0, /* tp_as_sequence */
22809 0, /* tp_as_mapping */
22813 0, /* tp_getattro */
22814 0, /* tp_setattro */
22815 0, /* tp_as_buffer */
22818 #if PY_VERSION_HEX >= 0x02000000
22819 0, /* tp_traverse */
22822 #if PY_VERSION_HEX >= 0x02010000
22823 0, /* tp_richcompare */
22824 0, /* tp_weaklistoffset */
22826 #if PY_VERSION_HEX >= 0x02020000
22827 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
22829 #if PY_VERSION_HEX >= 0x02030000
22832 #ifdef COUNT_ALLOCS
22833 0,0,0,0 /* tp_alloc -> tp_next */
22837 /* Create a variable linking object for use later */
22839 SWIG_Python_newvarlink(void) {
22840 swig_varlinkobject
*result
= 0;
22841 result
= PyMem_NEW(swig_varlinkobject
,1);
22842 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
22843 result
->ob_type
= &varlinktype
;
22845 result
->ob_refcnt
= 0;
22846 Py_XINCREF((PyObject
*) result
);
22847 return ((PyObject
*) result
);
22851 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
22852 swig_varlinkobject
*v
;
22853 swig_globalvar
*gv
;
22854 v
= (swig_varlinkobject
*) p
;
22855 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
22856 gv
->name
= (char *) malloc(strlen(name
)+1);
22857 strcpy(gv
->name
,name
);
22858 gv
->get_attr
= get_attr
;
22859 gv
->set_attr
= set_attr
;
22860 gv
->next
= v
->vars
;
22864 /* -----------------------------------------------------------------------------
22865 * constants/methods manipulation
22866 * ----------------------------------------------------------------------------- */
22868 /* Install Constants */
22870 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
22873 for (i
= 0; constants
[i
].type
; i
++) {
22874 switch(constants
[i
].type
) {
22876 obj
= PyInt_FromLong(constants
[i
].lvalue
);
22878 case SWIG_PY_FLOAT
:
22879 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
22881 case SWIG_PY_STRING
:
22882 if (constants
[i
].pvalue
) {
22883 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
22885 Py_INCREF(Py_None
);
22889 case SWIG_PY_POINTER
:
22890 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
22892 case SWIG_PY_BINARY
:
22893 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
22900 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
22906 /* -----------------------------------------------------------------------------*/
22907 /* Fix SwigMethods to carry the callback ptrs when needed */
22908 /* -----------------------------------------------------------------------------*/
22911 SWIG_Python_FixMethods(PyMethodDef
*methods
,
22912 swig_const_info
*const_table
,
22913 swig_type_info
**types
,
22914 swig_type_info
**types_initial
) {
22916 for (i
= 0; methods
[i
].ml_name
; ++i
) {
22917 char *c
= methods
[i
].ml_doc
;
22918 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
22920 swig_const_info
*ci
= 0;
22921 char *name
= c
+ 10;
22922 for (j
= 0; const_table
[j
].type
; j
++) {
22923 if (strncmp(const_table
[j
].name
, name
,
22924 strlen(const_table
[j
].name
)) == 0) {
22925 ci
= &(const_table
[j
]);
22930 size_t shift
= (ci
->ptype
) - types
;
22931 swig_type_info
*ty
= types_initial
[shift
];
22932 size_t ldoc
= (c
- methods
[i
].ml_doc
);
22933 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
22934 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
22936 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
22937 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
22939 strncpy(buff
, "swig_ptr: ", 10);
22941 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
22942 methods
[i
].ml_doc
= ndoc
;
22948 /* -----------------------------------------------------------------------------*
22949 * Initialize type list
22950 * -----------------------------------------------------------------------------*/
22952 #if PY_MAJOR_VERSION < 2
22953 /* PyModule_AddObject function was introduced in Python 2.0. The following function
22954 is copied out of Python/modsupport.c in python version 2.3.4 */
22956 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
22959 if (!PyModule_Check(m
)) {
22960 PyErr_SetString(PyExc_TypeError
,
22961 "PyModule_AddObject() needs module as first arg");
22965 PyErr_SetString(PyExc_TypeError
,
22966 "PyModule_AddObject() needs non-NULL value");
22970 dict
= PyModule_GetDict(m
);
22971 if (dict
== NULL
) {
22972 /* Internal error -- modules must have a dict! */
22973 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
22974 PyModule_GetName(m
));
22977 if (PyDict_SetItemString(dict
, name
, o
))
22984 static swig_type_info
**
22985 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
22986 static PyMethodDef swig_empty_runtime_method_table
[] = {
22988 NULL
, NULL
, 0, NULL
22992 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
22993 swig_empty_runtime_method_table
);
22994 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
22995 if (pointer
&& module) {
22996 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
22998 return type_list_handle
;
23001 static swig_type_info
**
23002 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
23003 swig_type_info
**type_pointer
;
23005 /* first check if module already created */
23006 type_pointer
= SWIG_Python_GetTypeListHandle();
23007 if (type_pointer
) {
23008 return type_pointer
;
23010 /* create a new module and variable */
23011 return SWIG_Python_SetTypeListHandle(type_list_handle
);
23019 /* -----------------------------------------------------------------------------*
23020 * Partial Init method
23021 * -----------------------------------------------------------------------------*/
23023 #ifdef SWIG_LINK_RUNTIME
23027 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
23033 SWIGEXPORT(void) SWIG_init(void) {
23034 static PyObject
*SWIG_globals
= 0;
23035 static int typeinit
= 0;
23038 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
23040 /* Fix SwigMethods to carry the callback ptrs when needed */
23041 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
23043 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23044 d
= PyModule_GetDict(m
);
23047 #ifdef SWIG_LINK_RUNTIME
23048 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
23050 # ifndef SWIG_STATIC_RUNTIME
23051 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
23054 for (i
= 0; swig_types_initial
[i
]; i
++) {
23055 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
23059 SWIG_InstallConstants(d
,swig_const_table
);
23062 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));
23065 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));
23068 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));
23071 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));
23074 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));
23077 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));
23080 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));
23083 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));
23086 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));
23089 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));
23092 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));
23095 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));
23098 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));
23101 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));
23104 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));
23107 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));
23110 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));
23113 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));
23116 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));
23119 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));
23122 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));
23125 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));
23128 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));
23131 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));
23134 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));
23137 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));
23140 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));
23143 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));
23146 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));
23149 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));
23152 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));
23155 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));
23158 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));
23161 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));
23164 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));
23167 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));
23170 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));
23173 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));
23176 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));
23179 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));
23182 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));
23185 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));
23188 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));
23191 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));
23194 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));
23197 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));
23200 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));
23203 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));
23206 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));
23209 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));
23212 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));
23215 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));
23218 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));
23221 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));
23224 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));
23227 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));
23230 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));
23233 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));
23236 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));
23239 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));
23242 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));
23245 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));
23248 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));
23251 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));
23254 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));
23257 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));
23260 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));
23263 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));
23266 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));
23269 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));
23272 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));
23275 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));
23278 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));
23281 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));
23284 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));
23287 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));
23290 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));
23293 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));
23296 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));
23299 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));
23302 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));
23305 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));
23308 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));
23311 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));
23314 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));
23317 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));
23320 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));
23323 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));
23326 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));
23329 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));
23332 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));
23335 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));
23338 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));
23341 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));
23344 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));
23347 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));
23350 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));
23353 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));
23356 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));
23359 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));
23362 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));
23365 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));
23368 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));
23371 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));
23374 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));
23377 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));
23380 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));
23383 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));
23386 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));
23389 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));
23392 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));
23395 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));
23398 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));
23401 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));
23404 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));
23407 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));
23410 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));
23413 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));
23416 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));
23419 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));
23422 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));
23425 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));
23428 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));
23431 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));
23434 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));
23437 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));
23440 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));
23443 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
23446 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));
23449 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));
23452 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));
23455 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));
23458 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));
23461 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));
23464 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));
23467 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));
23470 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));
23473 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));
23476 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));
23479 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));
23482 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));
23485 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));
23488 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));
23491 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));
23494 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));
23497 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));
23500 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));
23503 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
23506 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));
23509 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));
23512 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));
23515 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));
23518 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));
23521 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));
23524 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));
23527 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));
23530 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));
23533 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));
23536 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));
23539 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));
23542 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));
23545 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));
23548 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));
23551 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));
23554 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));
23557 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));
23560 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));
23563 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));
23566 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));
23569 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));
23572 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));
23575 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));
23578 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
23581 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));
23584 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));
23587 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));
23590 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));
23593 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));
23596 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));
23599 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));
23602 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));
23605 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));
23608 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));
23611 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));
23614 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));
23617 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));
23620 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));
23623 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
23626 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));
23629 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));
23632 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));
23635 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
23638 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));
23641 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));
23644 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));
23647 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
23650 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
23653 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
23656 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));
23659 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
23662 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));
23665 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));
23668 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));
23671 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));
23674 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));
23677 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));
23680 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));
23683 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));
23686 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));
23689 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
23692 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));
23695 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));
23698 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));
23701 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));
23704 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));
23707 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));
23710 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));
23713 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));
23716 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
23719 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
23722 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));
23725 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));
23728 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));
23731 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));
23734 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));
23737 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));
23740 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));
23743 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));
23746 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));
23749 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));
23752 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));
23755 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));
23758 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));
23761 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));
23764 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));
23767 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));
23770 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));
23773 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));
23776 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));
23779 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));
23782 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));
23785 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));
23788 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));
23791 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));
23794 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));
23797 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));
23800 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));
23803 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));
23806 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));
23809 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));
23812 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));
23815 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));
23818 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));
23821 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));
23824 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));
23827 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));
23830 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));
23833 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));
23836 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));
23839 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));
23842 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
23845 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));
23848 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));
23851 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));
23854 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));
23857 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));
23860 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));
23863 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));
23866 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));
23869 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));
23872 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));
23875 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
23878 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
23881 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));
23884 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));
23887 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));
23890 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));
23893 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));
23896 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));
23899 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
23902 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));
23905 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));
23908 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));
23911 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));
23914 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));
23917 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));
23920 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));
23923 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));
23926 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));
23929 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));
23932 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));
23935 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));
23938 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));
23941 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));
23944 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));
23947 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));
23950 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));
23953 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));
23956 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));
23959 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));
23962 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));
23965 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));
23968 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));
23971 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));
23974 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));
23977 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));
23980 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));
23983 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));
23986 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));
23989 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
23992 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));
23995 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
23998 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));
24001 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));
24004 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));
24007 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));
24010 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));
24013 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));
24016 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));
24019 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));
24022 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
24025 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));
24028 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));
24031 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));
24034 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));
24037 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));
24040 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));
24043 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));
24046 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));
24049 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));
24052 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));
24055 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));
24058 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));
24061 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));
24064 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));
24067 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));
24070 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));
24073 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));
24076 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));
24079 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));
24082 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));
24085 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));
24088 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));
24091 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));
24094 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));
24097 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));
24100 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));
24103 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));
24106 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));
24109 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));
24112 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));
24115 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));
24118 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));
24121 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));
24124 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));
24127 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));
24130 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));
24133 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));
24136 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));
24139 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));
24142 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));
24145 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));
24148 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));
24151 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));
24154 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));
24157 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));
24160 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));
24163 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));
24166 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));
24169 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));
24172 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));
24175 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));
24178 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));
24181 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));
24184 PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int((int)(wxBUFFER_VIRTUAL_AREA
)));
24187 PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int((int)(wxBUFFER_CLIENT_AREA
)));
24190 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));
24193 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));
24196 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));
24199 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));
24202 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));
24205 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));
24208 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));
24210 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24211 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
24212 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
24213 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
24214 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
24215 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
24216 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
24217 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
24218 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
24219 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
24220 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
24221 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
24222 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
24223 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
24224 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
24225 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
24226 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
24227 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
24228 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
24229 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
24230 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
24231 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
24232 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
24233 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
24234 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
24235 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
24236 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
24237 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
24238 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
24239 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
24240 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
24241 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
24242 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
24243 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
24244 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
24245 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
24246 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
24247 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
24248 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
24249 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
24250 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
24251 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
24252 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
24253 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
24254 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
24255 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
24256 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
24258 PyDict_SetItemString(d
,"CONTROL_DISABLED", SWIG_From_int((int)(wxCONTROL_DISABLED
)));
24261 PyDict_SetItemString(d
,"CONTROL_FOCUSED", SWIG_From_int((int)(wxCONTROL_FOCUSED
)));
24264 PyDict_SetItemString(d
,"CONTROL_PRESSED", SWIG_From_int((int)(wxCONTROL_PRESSED
)));
24267 PyDict_SetItemString(d
,"CONTROL_ISDEFAULT", SWIG_From_int((int)(wxCONTROL_ISDEFAULT
)));
24270 PyDict_SetItemString(d
,"CONTROL_ISSUBMENU", SWIG_From_int((int)(wxCONTROL_ISSUBMENU
)));
24273 PyDict_SetItemString(d
,"CONTROL_EXPANDED", SWIG_From_int((int)(wxCONTROL_EXPANDED
)));
24276 PyDict_SetItemString(d
,"CONTROL_CURRENT", SWIG_From_int((int)(wxCONTROL_CURRENT
)));
24279 PyDict_SetItemString(d
,"CONTROL_SELECTED", SWIG_From_int((int)(wxCONTROL_SELECTED
)));
24282 PyDict_SetItemString(d
,"CONTROL_CHECKED", SWIG_From_int((int)(wxCONTROL_CHECKED
)));
24285 PyDict_SetItemString(d
,"CONTROL_CHECKABLE", SWIG_From_int((int)(wxCONTROL_CHECKABLE
)));
24288 PyDict_SetItemString(d
,"CONTROL_UNDETERMINED", SWIG_From_int((int)(wxCONTROL_UNDETERMINED
)));
24291 PyDict_SetItemString(d
,"CONTROL_FLAGS_MASK", SWIG_From_int((int)(wxCONTROL_FLAGS_MASK
)));
24294 PyDict_SetItemString(d
,"CONTROL_DIRTY", SWIG_From_int((int)(wxCONTROL_DIRTY
)));
24297 PyDict_SetItemString(d
,"RendererVersion_Current_Version", SWIG_From_int((int)(wxRendererVersion::Current_Version
)));
24300 PyDict_SetItemString(d
,"RendererVersion_Current_Age", SWIG_From_int((int)(wxRendererVersion::Current_Age
)));
24303 // Work around a chicken/egg problem in drawlist.cpp
24304 wxPyDrawList_SetAPIPtr();