1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
1343 #define SWIGTYPE_p_wxBrush swig_types[1]
1344 #define SWIGTYPE_p_wxColour swig_types[2]
1345 #define SWIGTYPE_p_wxDC swig_types[3]
1346 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
1347 #define SWIGTYPE_p_form_ops_t swig_types[5]
1348 #define SWIGTYPE_p_wxRendererVersion swig_types[6]
1349 #define SWIGTYPE_p_wxDuplexMode swig_types[7]
1350 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[8]
1351 #define SWIGTYPE_p_char swig_types[9]
1352 #define SWIGTYPE_p_wxIconLocation swig_types[10]
1353 #define SWIGTYPE_p_wxImage swig_types[11]
1354 #define SWIGTYPE_p_wxMetaFileDC swig_types[12]
1355 #define SWIGTYPE_p_wxMask swig_types[13]
1356 #define SWIGTYPE_p_wxSize swig_types[14]
1357 #define SWIGTYPE_p_wxFont swig_types[15]
1358 #define SWIGTYPE_p_wxWindow swig_types[16]
1359 #define SWIGTYPE_p_double swig_types[17]
1360 #define SWIGTYPE_p_wxMemoryDC swig_types[18]
1361 #define SWIGTYPE_p_wxFontMapper swig_types[19]
1362 #define SWIGTYPE_p_wxEffects swig_types[20]
1363 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[21]
1364 #define SWIGTYPE_p_wxPalette swig_types[22]
1365 #define SWIGTYPE_p_wxBitmap swig_types[23]
1366 #define SWIGTYPE_p_wxObject swig_types[24]
1367 #define SWIGTYPE_p_wxRegionIterator swig_types[25]
1368 #define SWIGTYPE_p_wxRect swig_types[26]
1369 #define SWIGTYPE_p_wxPaperSize swig_types[27]
1370 #define SWIGTYPE_p_wxString swig_types[28]
1371 #define SWIGTYPE_unsigned_int swig_types[29]
1372 #define SWIGTYPE_p_unsigned_int swig_types[30]
1373 #define SWIGTYPE_p_wxPrinterDC swig_types[31]
1374 #define SWIGTYPE_p_wxIconBundle swig_types[32]
1375 #define SWIGTYPE_p_wxPoint swig_types[33]
1376 #define SWIGTYPE_p_wxDash swig_types[34]
1377 #define SWIGTYPE_p_wxScreenDC swig_types[35]
1378 #define SWIGTYPE_p_wxCursor swig_types[36]
1379 #define SWIGTYPE_p_wxClientDC swig_types[37]
1380 #define SWIGTYPE_p_wxBufferedDC swig_types[38]
1381 #define SWIGTYPE_p_wxImageList swig_types[39]
1382 #define SWIGTYPE_p_unsigned_char swig_types[40]
1383 #define SWIGTYPE_p_wxGDIObject swig_types[41]
1384 #define SWIGTYPE_p_wxIcon swig_types[42]
1385 #define SWIGTYPE_p_wxLocale swig_types[43]
1386 #define SWIGTYPE_ptrdiff_t swig_types[44]
1387 #define SWIGTYPE_std__ptrdiff_t swig_types[45]
1388 #define SWIGTYPE_p_wxRegion swig_types[46]
1389 #define SWIGTYPE_p_wxLanguageInfo swig_types[47]
1390 #define SWIGTYPE_p_wxWindowDC swig_types[48]
1391 #define SWIGTYPE_p_wxPrintData swig_types[49]
1392 #define SWIGTYPE_p_wxBrushList swig_types[50]
1393 #define SWIGTYPE_p_wxFontList swig_types[51]
1394 #define SWIGTYPE_p_wxPen swig_types[52]
1395 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[53]
1396 #define SWIGTYPE_p_wxPaintDC swig_types[54]
1397 #define SWIGTYPE_p_wxPenList swig_types[55]
1398 #define SWIGTYPE_p_int swig_types[56]
1399 #define SWIGTYPE_p_wxMetaFile swig_types[57]
1400 #define SWIGTYPE_p_wxRendererNative swig_types[58]
1401 #define SWIGTYPE_p_unsigned_long swig_types[59]
1402 #define SWIGTYPE_p_wxNativeFontInfo swig_types[60]
1403 #define SWIGTYPE_p_wxEncodingConverter swig_types[61]
1404 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[62]
1405 #define SWIGTYPE_p_wxColourDatabase swig_types[63]
1406 static swig_type_info
*swig_types
[65];
1408 /* -------- TYPES TABLE (END) -------- */
1411 /*-----------------------------------------------
1412 @(target):= _gdi_.so
1413 ------------------------------------------------*/
1414 #define SWIG_init init_gdi_
1416 #define SWIG_name "_gdi_"
1418 #include "wx/wxPython/wxPython.h"
1419 #include "wx/wxPython/pyclasses.h"
1422 static const wxString
wxPyEmptyString(wxEmptyString
);
1428 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1431 if (value
< min_value
) {
1433 PyErr_Format(PyExc_OverflowError
,
1434 "value %ld is less than '%s' minimum %ld",
1435 value
, errmsg
, min_value
);
1438 } else if (value
> max_value
) {
1440 PyErr_Format(PyExc_OverflowError
,
1441 "value %ld is greater than '%s' maximum %ld",
1442 value
, errmsg
, max_value
);
1451 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1453 if (PyNumber_Check(obj
)) {
1454 if (val
) *val
= PyInt_AsLong(obj
);
1458 SWIG_type_error("number", obj
);
1464 #if INT_MAX != LONG_MAX
1466 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1468 const char* errmsg
= val
? "int" : (char*)0;
1470 if (SWIG_AsVal_long(obj
, &v
)) {
1471 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1472 if (val
) *val
= (int)(v
);
1481 SWIG_type_error(errmsg
, obj
);
1487 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1489 return SWIG_AsVal_long(obj
,(long*)val
);
1495 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1497 if (obj
== Py_True
) {
1498 if (val
) *val
= true;
1501 if (obj
== Py_False
) {
1502 if (val
) *val
= false;
1506 if (SWIG_AsVal_int(obj
, &res
)) {
1507 if (val
) *val
= res
? true : false;
1513 SWIG_type_error("bool", obj
);
1519 SWIGINTERNSHORT
bool
1520 SWIG_As_bool(PyObject
* obj
)
1523 if (!SWIG_AsVal_bool(obj
, &v
)) {
1525 this is needed to make valgrind/purify happier.
1527 memset((void*)&v
, 0, sizeof(bool));
1534 SWIG_Check_bool(PyObject
* obj
)
1536 return SWIG_AsVal_bool(obj
, (bool*)0);
1541 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1544 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1545 SWIG_type_error("unsigned number", obj
);
1548 *val
= (unsigned long)v
;
1554 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1555 unsigned long max_value
,
1558 if (value
> max_value
) {
1560 PyErr_Format(PyExc_OverflowError
,
1561 "value %lu is greater than '%s' minimum %lu",
1562 value
, errmsg
, max_value
);
1571 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1573 const char* errmsg
= val
? "unsigned char" : (char*)0;
1575 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1576 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1577 if (val
) *val
= (unsigned char)(v
);
1586 SWIG_type_error(errmsg
, obj
);
1592 SWIGINTERNSHORT
unsigned char
1593 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1596 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1598 this is needed to make valgrind/purify happier.
1600 memset((void*)&v
, 0, sizeof(unsigned char));
1607 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1609 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1613 SWIGINTERNSHORT
unsigned long
1614 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1617 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1619 this is needed to make valgrind/purify happier.
1621 memset((void*)&v
, 0, sizeof(unsigned long));
1628 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1630 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1634 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1635 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1639 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1640 #define SWIG_From_long PyInt_FromLong
1643 static PyObject
*wxColour_Get(wxColour
*self
){
1644 PyObject
* rv
= PyTuple_New(3);
1650 green
= self
->Green();
1651 blue
= self
->Blue();
1653 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
1654 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
1655 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
1658 static unsigned long wxColour_GetRGB(wxColour
*self
){
1659 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
1662 SWIGINTERNSHORT PyObject
*
1663 SWIG_From_unsigned_SS_long(unsigned long value
)
1665 return (value
> LONG_MAX
) ?
1666 PyLong_FromUnsignedLong(value
)
1667 : PyInt_FromLong((long)(value
));
1672 SWIG_As_int(PyObject
* obj
)
1675 if (!SWIG_AsVal_int(obj
, &v
)) {
1677 this is needed to make valgrind/purify happier.
1679 memset((void*)&v
, 0, sizeof(int));
1686 SWIG_Check_int(PyObject
* obj
)
1688 return SWIG_AsVal_int(obj
, (int*)0);
1692 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1693 #define SWIG_From_int PyInt_FromLong
1697 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1703 } else if (target
== Py_None
) {
1707 if (!PyTuple_Check(target
)) {
1709 target
= PyTuple_New(1);
1710 PyTuple_SetItem(target
, 0, o2
);
1712 o3
= PyTuple_New(1);
1713 PyTuple_SetItem(o3
, 0, o
);
1716 target
= PySequence_Concat(o2
, o3
);
1724 static PyObject
*wxPen_GetDashes(wxPen
*self
){
1726 int count
= self
->GetDashes(&dashes
);
1727 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1728 PyObject
* retval
= PyList_New(0);
1729 for (int x
=0; x
<count
; x
++) {
1730 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
1731 PyList_Append(retval
, pyint
);
1734 wxPyEndBlockThreads(blocked
);
1737 static void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
1738 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1739 int size
= PyList_Size(pyDashes
);
1740 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
1742 // black magic warning! The array of wxDashes needs to exist as
1743 // long as the pen does because wxPen does not copy the array. So
1744 // stick a copy in a Python string object and attach it to _self,
1745 // and then call SetDashes with a pointer to that array. Then
1746 // when the Python pen object is destroyed the array will be
1748 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
1749 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
1751 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
1753 Py_DECREF(strDashes
);
1754 wxPyEndBlockThreads(blocked
);
1756 static bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
1757 static bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
1759 #include <wx/image.h>
1761 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1762 char** cArray
= NULL
;
1765 if (!PyList_Check(listOfStrings
)) {
1766 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1769 count
= PyList_Size(listOfStrings
);
1770 cArray
= new char*[count
];
1772 for(int x
=0; x
<count
; x
++) {
1773 // TODO: Need some validation and error checking here
1774 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1780 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1781 char** cArray
= NULL
;
1784 cArray
= ConvertListOfStrings(listOfStrings
);
1787 bmp
= new wxBitmap(cArray
);
1791 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1794 PyString_AsStringAndSize(bits
, &buf
, &length
);
1795 return new wxBitmap(buf
, width
, height
, depth
);
1798 SWIGINTERNSHORT
long
1799 SWIG_As_long(PyObject
* obj
)
1802 if (!SWIG_AsVal_long(obj
, &v
)) {
1804 this is needed to make valgrind/purify happier.
1806 memset((void*)&v
, 0, sizeof(long));
1813 SWIG_Check_long(PyObject
* obj
)
1815 return SWIG_AsVal_long(obj
, (long*)0);
1818 static void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
1819 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1820 wxSize
size(self
->GetWidth(), self
->GetHeight());
1823 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1824 wxMask
*mask
= new wxMask(*self
, colour
);
1825 self
->SetMask(mask
);
1827 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1828 self
->SetWidth(size
.x
);
1829 self
->SetHeight(size
.y
);
1831 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
1832 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
1833 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
1835 return new wxMask(bitmap
, *wxBLACK
);
1837 return new wxMask(bitmap
, colour
);
1840 #include <wx/iconbndl.h>
1842 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
1843 wxIcon
* icon
= new wxIcon();
1844 icon
->CopyFromBitmap(bmp
);
1847 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
1848 char** cArray
= NULL
;
1851 cArray
= ConvertListOfStrings(listOfStrings
);
1854 icon
= new wxIcon(cArray
);
1858 static void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
1859 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
1861 return new wxIconLocation(*filename
, num
);
1866 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
1868 self
->SetIndex(num
);
1873 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
1875 return self
->GetIndex();
1880 static wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
1882 wxImage
img(cursorName
, type
);
1883 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
1884 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
1885 return new wxCursor(img
);
1887 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
1890 static void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
1893 static void wxRegionIterator_Next(wxRegionIterator
*self
){
1896 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
1897 return self
->operator bool();
1900 #include <wx/fontutil.h>
1901 #include <wx/fontmap.h>
1902 #include <wx/fontenum.h>
1904 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
1905 return self
->ToString();
1908 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
1909 { wxPyRaiseNotImplemented(); return NULL
; }
1911 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
1912 { wxPyRaiseNotImplemented(); return false; }
1914 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
1915 wxFontEncoding alt_enc
;
1916 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1917 return PyInt_FromLong(alt_enc
);
1923 static wxFont
*new_wxFont(wxString
const &info
){
1924 wxNativeFontInfo nfi
;
1925 nfi
.FromString(info
);
1926 return new wxFont(nfi
);
1928 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1929 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
1931 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1932 return wxFontBase::New(pixelSize
, family
,
1933 style
, weight
, underlined
,
1936 static wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
1937 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
1939 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
1940 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
1942 class wxPyFontEnumerator
: public wxFontEnumerator
{
1944 wxPyFontEnumerator() {}
1945 ~wxPyFontEnumerator() {}
1947 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
1948 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
1953 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
1954 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
1957 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
1958 wxArrayString
* arr
= self
->GetEncodings();
1960 return wxArrayString2PyList_helper(*arr
);
1962 return PyList_New(0);
1964 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
1965 wxArrayString
* arr
= self
->GetFacenames();
1967 return wxArrayString2PyList_helper(*arr
);
1969 return PyList_New(0);
1974 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
1977 loc
= new wxLocale();
1979 loc
= new wxLocale(language
, flags
);
1980 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1981 // for the floating point conversions and such to work right.
1982 #if PY_VERSION_HEX < 0x02040000
1983 setlocale(LC_NUMERIC
, "C");
1987 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
1988 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
1989 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1990 // for the floating point conversions and such to work right.
1991 #if PY_VERSION_HEX < 0x02040000
1992 setlocale(LC_NUMERIC
, "C");
1996 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
1997 bool rc
= self
->Init(language
, flags
);
1998 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
1999 // for the floating point conversions and such to work right.
2000 #if PY_VERSION_HEX < 0x02040000
2001 setlocale(LC_NUMERIC
, "C");
2006 #include "wx/wxPython/pydrawxxx.h"
2008 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2010 self
->GetPixel(x
, y
, &col
);
2013 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2015 self
->GetPixel(pt
, &col
);
2020 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2022 if (PyNumber_Check(obj
)) {
2023 if (val
) *val
= PyFloat_AsDouble(obj
);
2027 SWIG_type_error("number", obj
);
2033 SWIGINTERNSHORT
double
2034 SWIG_As_double(PyObject
* obj
)
2037 if (!SWIG_AsVal_double(obj
, &v
)) {
2039 this is needed to make valgrind/purify happier.
2041 memset((void*)&v
, 0, sizeof(double));
2048 SWIG_Check_double(PyObject
* obj
)
2050 return SWIG_AsVal_double(obj
, (double*)0);
2053 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2055 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2059 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2061 self
->GetClippingBox(rect
);
2064 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2066 self
->GetPartialTextExtents(text
, widths
);
2070 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2071 #define SWIG_From_double PyFloat_FromDouble
2075 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2076 self
->SetLogicalOrigin(point
.x
, point
.y
);
2078 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2079 self
->SetDeviceOrigin(point
.x
, point
.y
);
2081 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2082 self
->CalcBoundingBox(point
.x
, point
.y
);
2084 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2085 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2087 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2088 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2090 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2091 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2093 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2094 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2096 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2097 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2099 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2100 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2103 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2111 #include <wx/dcbuffer.h>
2114 #include <wx/dcps.h>
2117 #include <wx/metafile.h>
2121 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2122 self
->AddColour(name
, wxColour(red
, green
, blue
));
2125 #include <wx/effects.h>
2128 #include "wx/renderer.h"
2131 SWIGINTERNSHORT PyObject
*
2132 SWIG_From_bool(bool value
)
2134 PyObject
*obj
= value
? Py_True
: Py_False
;
2142 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2144 wxGDIObject
*result
;
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2151 if (!wxPyCheckForApp()) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 result
= (wxGDIObject
*)new wxGDIObject();
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2165 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2167 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2168 PyObject
* obj0
= 0 ;
2170 (char *) "self", NULL
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2175 if (SWIG_arg_fail(1)) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 Py_INCREF(Py_None
); resultobj
= Py_None
;
2190 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2194 PyObject
* obj0
= 0 ;
2196 (char *) "self", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2201 if (SWIG_arg_fail(1)) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 result
= (bool)(arg1
)->GetVisible();
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2218 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
*resultobj
;
2220 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2222 PyObject
* obj0
= 0 ;
2223 PyObject
* obj1
= 0 ;
2225 (char *) "self",(char *) "visible", NULL
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2230 if (SWIG_arg_fail(1)) SWIG_fail
;
2232 arg2
= (bool)(SWIG_As_bool(obj1
));
2233 if (SWIG_arg_fail(2)) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 (arg1
)->SetVisible(arg2
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 Py_INCREF(Py_None
); resultobj
= Py_None
;
2249 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
*resultobj
;
2251 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2253 PyObject
* obj0
= 0 ;
2255 (char *) "self", NULL
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2260 if (SWIG_arg_fail(1)) SWIG_fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 result
= (bool)(arg1
)->IsNull();
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2277 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2280 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2282 return Py_BuildValue((char *)"");
2284 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 byte arg1
= (byte
) 0 ;
2287 byte arg2
= (byte
) 0 ;
2288 byte arg3
= (byte
) 0 ;
2290 PyObject
* obj0
= 0 ;
2291 PyObject
* obj1
= 0 ;
2292 PyObject
* obj2
= 0 ;
2294 (char *) "red",(char *) "green",(char *) "blue", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2300 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
2301 if (SWIG_arg_fail(1)) SWIG_fail
;
2306 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2307 if (SWIG_arg_fail(2)) SWIG_fail
;
2312 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2313 if (SWIG_arg_fail(3)) SWIG_fail
;
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2330 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
*resultobj
;
2332 wxString
*arg1
= 0 ;
2334 bool temp1
= false ;
2335 PyObject
* obj0
= 0 ;
2337 (char *) "colorName", NULL
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2342 arg1
= wxString_in_helper(obj0
);
2343 if (arg1
== NULL
) SWIG_fail
;
2347 if (!wxPyCheckForApp()) SWIG_fail
;
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) SWIG_fail
;
2354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2369 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2371 unsigned long arg1
;
2373 PyObject
* obj0
= 0 ;
2375 (char *) "colRGB", NULL
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2380 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
2381 if (SWIG_arg_fail(1)) SWIG_fail
;
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 result
= (wxColour
*)new wxColour(arg1
);
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2397 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
*resultobj
;
2399 wxColour
*arg1
= (wxColour
*) 0 ;
2400 PyObject
* obj0
= 0 ;
2402 (char *) "self", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2407 if (SWIG_arg_fail(1)) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2415 Py_INCREF(Py_None
); resultobj
= Py_None
;
2422 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxColour
*arg1
= (wxColour
*) 0 ;
2426 PyObject
* obj0
= 0 ;
2428 (char *) "self", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2433 if (SWIG_arg_fail(1)) SWIG_fail
;
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 result
= (byte
)(arg1
)->Red();
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2442 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2450 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2452 wxColour
*arg1
= (wxColour
*) 0 ;
2454 PyObject
* obj0
= 0 ;
2456 (char *) "self", NULL
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2461 if (SWIG_arg_fail(1)) SWIG_fail
;
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 result
= (byte
)(arg1
)->Green();
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) SWIG_fail
;
2470 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2478 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2480 wxColour
*arg1
= (wxColour
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2484 (char *) "self", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2489 if (SWIG_arg_fail(1)) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 result
= (byte
)(arg1
)->Blue();
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2498 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
2506 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2508 wxColour
*arg1
= (wxColour
*) 0 ;
2510 PyObject
* obj0
= 0 ;
2512 (char *) "self", NULL
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2517 if (SWIG_arg_fail(1)) SWIG_fail
;
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 result
= (bool)(arg1
)->Ok();
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2534 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
*resultobj
;
2536 wxColour
*arg1
= (wxColour
*) 0 ;
2540 PyObject
* obj0
= 0 ;
2541 PyObject
* obj1
= 0 ;
2542 PyObject
* obj2
= 0 ;
2543 PyObject
* obj3
= 0 ;
2545 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2550 if (SWIG_arg_fail(1)) SWIG_fail
;
2552 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2553 if (SWIG_arg_fail(2)) SWIG_fail
;
2556 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2557 if (SWIG_arg_fail(3)) SWIG_fail
;
2560 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2561 if (SWIG_arg_fail(4)) SWIG_fail
;
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 (arg1
)->Set(arg2
,arg3
,arg4
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2570 Py_INCREF(Py_None
); resultobj
= Py_None
;
2577 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2579 wxColour
*arg1
= (wxColour
*) 0 ;
2580 unsigned long arg2
;
2581 PyObject
* obj0
= 0 ;
2582 PyObject
* obj1
= 0 ;
2584 (char *) "self",(char *) "colRGB", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2589 if (SWIG_arg_fail(1)) SWIG_fail
;
2591 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
2592 if (SWIG_arg_fail(2)) SWIG_fail
;
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2601 Py_INCREF(Py_None
); resultobj
= Py_None
;
2608 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2610 wxColour
*arg1
= (wxColour
*) 0 ;
2611 wxString
*arg2
= 0 ;
2612 bool temp2
= false ;
2613 PyObject
* obj0
= 0 ;
2614 PyObject
* obj1
= 0 ;
2616 (char *) "self",(char *) "colourName", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2621 if (SWIG_arg_fail(1)) SWIG_fail
;
2623 arg2
= wxString_in_helper(obj1
);
2624 if (arg2
== NULL
) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 (arg1
)->InitFromName((wxString
const &)*arg2
);
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2634 Py_INCREF(Py_None
); resultobj
= Py_None
;
2649 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2651 wxColour
*arg1
= (wxColour
*) 0 ;
2653 PyObject
* obj0
= 0 ;
2655 (char *) "self", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2660 if (SWIG_arg_fail(1)) SWIG_fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2669 resultobj
= SWIG_From_long((long)(result
));
2677 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
*resultobj
;
2679 wxColour
*arg1
= (wxColour
*) 0 ;
2680 wxColour
*arg2
= 0 ;
2683 PyObject
* obj0
= 0 ;
2684 PyObject
* obj1
= 0 ;
2686 (char *) "self",(char *) "colour", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2691 if (SWIG_arg_fail(1)) SWIG_fail
;
2694 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2700 wxPyEndAllowThreads(__tstate
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2712 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2714 wxColour
*arg1
= (wxColour
*) 0 ;
2715 wxColour
*arg2
= 0 ;
2718 PyObject
* obj0
= 0 ;
2719 PyObject
* obj1
= 0 ;
2721 (char *) "self",(char *) "colour", NULL
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2726 if (SWIG_arg_fail(1)) SWIG_fail
;
2729 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2747 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
*resultobj
;
2749 wxColour
*arg1
= (wxColour
*) 0 ;
2751 PyObject
* obj0
= 0 ;
2753 (char *) "self", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2758 if (SWIG_arg_fail(1)) SWIG_fail
;
2760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2761 result
= (PyObject
*)wxColour_Get(arg1
);
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) SWIG_fail
;
2773 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
*resultobj
;
2775 wxColour
*arg1
= (wxColour
*) 0 ;
2776 unsigned long result
;
2777 PyObject
* obj0
= 0 ;
2779 (char *) "self", NULL
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2784 if (SWIG_arg_fail(1)) SWIG_fail
;
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 result
= (unsigned long)wxColour_GetRGB(arg1
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2793 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
2801 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2804 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2806 return Py_BuildValue((char *)"");
2808 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2811 unsigned char *arg2
= (unsigned char *) 0 ;
2812 unsigned char *arg3
= (unsigned char *) 0 ;
2813 unsigned char *arg4
= (unsigned char *) 0 ;
2815 PyObject
* obj0
= 0 ;
2816 PyObject
* obj1
= 0 ;
2817 PyObject
* obj2
= 0 ;
2818 PyObject
* obj3
= 0 ;
2820 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2825 arg1
= (int)(SWIG_As_int(obj0
));
2826 if (SWIG_arg_fail(1)) SWIG_fail
;
2828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2829 if (SWIG_arg_fail(2)) SWIG_fail
;
2830 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2831 if (SWIG_arg_fail(3)) SWIG_fail
;
2832 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2833 if (SWIG_arg_fail(4)) SWIG_fail
;
2835 if (!wxPyCheckForApp()) SWIG_fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
2849 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxPalette
*arg1
= (wxPalette
*) 0 ;
2852 PyObject
* obj0
= 0 ;
2854 (char *) "self", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
2858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2859 if (SWIG_arg_fail(1)) SWIG_fail
;
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2867 Py_INCREF(Py_None
); resultobj
= Py_None
;
2874 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 wxPalette
*arg1
= (wxPalette
*) 0 ;
2881 PyObject
* obj0
= 0 ;
2882 PyObject
* obj1
= 0 ;
2883 PyObject
* obj2
= 0 ;
2884 PyObject
* obj3
= 0 ;
2886 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2891 if (SWIG_arg_fail(1)) SWIG_fail
;
2893 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
2894 if (SWIG_arg_fail(2)) SWIG_fail
;
2897 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
2898 if (SWIG_arg_fail(3)) SWIG_fail
;
2901 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
2902 if (SWIG_arg_fail(4)) SWIG_fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2912 resultobj
= SWIG_From_int((int)(result
));
2920 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2922 wxPalette
*arg1
= (wxPalette
*) 0 ;
2924 byte
*arg3
= (byte
*) 0 ;
2925 byte
*arg4
= (byte
*) 0 ;
2926 byte
*arg5
= (byte
*) 0 ;
2934 PyObject
* obj0
= 0 ;
2935 PyObject
* obj1
= 0 ;
2937 (char *) "self",(char *) "pixel", NULL
2940 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2941 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2942 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2945 if (SWIG_arg_fail(1)) SWIG_fail
;
2947 arg2
= (int)(SWIG_As_int(obj1
));
2948 if (SWIG_arg_fail(2)) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2960 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2961 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
2962 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2963 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
2964 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2965 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
2972 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2974 wxPalette
*arg1
= (wxPalette
*) 0 ;
2976 PyObject
* obj0
= 0 ;
2978 (char *) "self", NULL
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
2982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
2983 if (SWIG_arg_fail(1)) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2992 resultobj
= SWIG_From_int((int)(result
));
3000 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3002 wxPalette
*arg1
= (wxPalette
*) 0 ;
3004 PyObject
* obj0
= 0 ;
3006 (char *) "self", NULL
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3011 if (SWIG_arg_fail(1)) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= (bool)(arg1
)->Ok();
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3028 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3031 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3033 return Py_BuildValue((char *)"");
3035 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
*resultobj
;
3037 wxColour
*arg1
= 0 ;
3038 int arg2
= (int) 1 ;
3039 int arg3
= (int) wxSOLID
;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3044 PyObject
* obj2
= 0 ;
3046 (char *) "colour",(char *) "width",(char *) "style", NULL
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3052 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3056 arg2
= (int)(SWIG_As_int(obj1
));
3057 if (SWIG_arg_fail(2)) SWIG_fail
;
3062 arg3
= (int)(SWIG_As_int(obj2
));
3063 if (SWIG_arg_fail(3)) SWIG_fail
;
3067 if (!wxPyCheckForApp()) SWIG_fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3081 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxPen
*arg1
= (wxPen
*) 0 ;
3084 PyObject
* obj0
= 0 ;
3086 (char *) "self", NULL
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3091 if (SWIG_arg_fail(1)) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3099 Py_INCREF(Py_None
); resultobj
= Py_None
;
3106 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxPen
*arg1
= (wxPen
*) 0 ;
3110 PyObject
* obj0
= 0 ;
3112 (char *) "self", NULL
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3117 if (SWIG_arg_fail(1)) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= (int)(arg1
)->GetCap();
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3126 resultobj
= SWIG_From_int((int)(result
));
3134 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxPen
*arg1
= (wxPen
*) 0 ;
3138 PyObject
* obj0
= 0 ;
3140 (char *) "self", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3145 if (SWIG_arg_fail(1)) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 result
= (arg1
)->GetColour();
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3154 wxColour
* resultptr
;
3155 resultptr
= new wxColour((wxColour
&)(result
));
3156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3164 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3166 wxPen
*arg1
= (wxPen
*) 0 ;
3168 PyObject
* obj0
= 0 ;
3170 (char *) "self", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3175 if (SWIG_arg_fail(1)) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 result
= (int)(arg1
)->GetJoin();
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= SWIG_From_int((int)(result
));
3192 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
*resultobj
;
3194 wxPen
*arg1
= (wxPen
*) 0 ;
3196 PyObject
* obj0
= 0 ;
3198 (char *) "self", NULL
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3203 if (SWIG_arg_fail(1)) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= (int)(arg1
)->GetStyle();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3212 resultobj
= SWIG_From_int((int)(result
));
3220 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxPen
*arg1
= (wxPen
*) 0 ;
3224 PyObject
* obj0
= 0 ;
3226 (char *) "self", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3231 if (SWIG_arg_fail(1)) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 result
= (int)(arg1
)->GetWidth();
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3240 resultobj
= SWIG_From_int((int)(result
));
3248 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 wxPen
*arg1
= (wxPen
*) 0 ;
3252 PyObject
* obj0
= 0 ;
3254 (char *) "self", NULL
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3259 if (SWIG_arg_fail(1)) SWIG_fail
;
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 result
= (bool)(arg1
)->Ok();
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3276 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
*resultobj
;
3278 wxPen
*arg1
= (wxPen
*) 0 ;
3280 PyObject
* obj0
= 0 ;
3281 PyObject
* obj1
= 0 ;
3283 (char *) "self",(char *) "cap_style", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3288 if (SWIG_arg_fail(1)) SWIG_fail
;
3290 arg2
= (int)(SWIG_As_int(obj1
));
3291 if (SWIG_arg_fail(2)) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 (arg1
)->SetCap(arg2
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3300 Py_INCREF(Py_None
); resultobj
= Py_None
;
3307 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxPen
*arg1
= (wxPen
*) 0 ;
3310 wxColour
*arg2
= 0 ;
3312 PyObject
* obj0
= 0 ;
3313 PyObject
* obj1
= 0 ;
3315 (char *) "self",(char *) "colour", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3320 if (SWIG_arg_fail(1)) SWIG_fail
;
3323 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 (arg1
)->SetColour(*arg2
);
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3332 Py_INCREF(Py_None
); resultobj
= Py_None
;
3339 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
*resultobj
;
3341 wxPen
*arg1
= (wxPen
*) 0 ;
3343 PyObject
* obj0
= 0 ;
3344 PyObject
* obj1
= 0 ;
3346 (char *) "self",(char *) "join_style", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3351 if (SWIG_arg_fail(1)) SWIG_fail
;
3353 arg2
= (int)(SWIG_As_int(obj1
));
3354 if (SWIG_arg_fail(2)) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 (arg1
)->SetJoin(arg2
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3363 Py_INCREF(Py_None
); resultobj
= Py_None
;
3370 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxPen
*arg1
= (wxPen
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3375 PyObject
* obj1
= 0 ;
3377 (char *) "self",(char *) "style", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3382 if (SWIG_arg_fail(1)) SWIG_fail
;
3384 arg2
= (int)(SWIG_As_int(obj1
));
3385 if (SWIG_arg_fail(2)) SWIG_fail
;
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 (arg1
)->SetStyle(arg2
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3394 Py_INCREF(Py_None
); resultobj
= Py_None
;
3401 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
;
3403 wxPen
*arg1
= (wxPen
*) 0 ;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3408 (char *) "self",(char *) "width", NULL
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3413 if (SWIG_arg_fail(1)) SWIG_fail
;
3415 arg2
= (int)(SWIG_As_int(obj1
));
3416 if (SWIG_arg_fail(2)) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 (arg1
)->SetWidth(arg2
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxPen
*arg1
= (wxPen
*) 0 ;
3436 wxDash
*arg3
= (wxDash
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3438 PyObject
* obj1
= 0 ;
3440 (char *) "self",(char *) "dashes", NULL
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3445 if (SWIG_arg_fail(1)) SWIG_fail
;
3447 arg2
= PyList_Size(obj1
);
3448 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3449 if (arg3
== NULL
) SWIG_fail
;
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 (arg1
)->SetDashes(arg2
,arg3
);
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3458 Py_INCREF(Py_None
); resultobj
= Py_None
;
3460 if (arg3
) delete [] arg3
;
3465 if (arg3
) delete [] arg3
;
3471 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 wxPen
*arg1
= (wxPen
*) 0 ;
3475 PyObject
* obj0
= 0 ;
3477 (char *) "self", NULL
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3482 if (SWIG_arg_fail(1)) SWIG_fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3497 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
*resultobj
;
3499 wxPen
*arg1
= (wxPen
*) 0 ;
3500 PyObject
*arg2
= (PyObject
*) 0 ;
3501 PyObject
*arg3
= (PyObject
*) 0 ;
3502 PyObject
* obj0
= 0 ;
3503 PyObject
* obj1
= 0 ;
3504 PyObject
* obj2
= 0 ;
3506 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 wxPen__SetDashes(arg1
,arg2
,arg3
);
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3521 Py_INCREF(Py_None
); resultobj
= Py_None
;
3528 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxPen
*arg1
= (wxPen
*) 0 ;
3532 PyObject
* obj0
= 0 ;
3534 (char *) "self", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
3538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3539 if (SWIG_arg_fail(1)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= SWIG_From_int((int)(result
));
3556 static PyObject
*_wrap_Pen_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxPen
*arg1
= (wxPen
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3562 (char *) "self", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
3566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3567 if (SWIG_arg_fail(1)) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (wxBitmap
*)(arg1
)->GetStipple();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3582 static PyObject
*_wrap_Pen_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxPen
*arg1
= (wxPen
*) 0 ;
3585 wxBitmap
*arg2
= 0 ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3589 (char *) "self",(char *) "stipple", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3594 if (SWIG_arg_fail(1)) SWIG_fail
;
3596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3597 if (SWIG_arg_fail(2)) SWIG_fail
;
3599 SWIG_null_ref("wxBitmap");
3601 if (SWIG_arg_fail(2)) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 (arg1
)->SetStipple(*arg2
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3610 Py_INCREF(Py_None
); resultobj
= Py_None
;
3617 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxPen
*arg1
= (wxPen
*) 0 ;
3620 wxPen
*arg2
= (wxPen
*) 0 ;
3622 PyObject
* obj0
= 0 ;
3623 PyObject
* obj1
= 0 ;
3625 (char *) "self",(char *) "other", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3630 if (SWIG_arg_fail(1)) SWIG_fail
;
3631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3632 if (SWIG_arg_fail(2)) SWIG_fail
;
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3649 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
*resultobj
;
3651 wxPen
*arg1
= (wxPen
*) 0 ;
3652 wxPen
*arg2
= (wxPen
*) 0 ;
3654 PyObject
* obj0
= 0 ;
3655 PyObject
* obj1
= 0 ;
3657 (char *) "self",(char *) "other", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3662 if (SWIG_arg_fail(1)) SWIG_fail
;
3663 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3664 if (SWIG_arg_fail(2)) SWIG_fail
;
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3681 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3684 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3686 return Py_BuildValue((char *)"");
3688 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxColour
*arg1
= 0 ;
3691 int arg2
= (int) wxSOLID
;
3694 PyObject
* obj0
= 0 ;
3695 PyObject
* obj1
= 0 ;
3697 (char *) "colour",(char *) "style", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3703 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3707 arg2
= (int)(SWIG_As_int(obj1
));
3708 if (SWIG_arg_fail(2)) SWIG_fail
;
3712 if (!wxPyCheckForApp()) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3726 static PyObject
*_wrap_new_BrushFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
*resultobj
;
3728 wxBitmap
*arg1
= 0 ;
3730 PyObject
* obj0
= 0 ;
3732 (char *) "stippleBitmap", NULL
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) goto fail
;
3737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3738 if (SWIG_arg_fail(1)) SWIG_fail
;
3740 SWIG_null_ref("wxBitmap");
3742 if (SWIG_arg_fail(1)) SWIG_fail
;
3745 if (!wxPyCheckForApp()) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3759 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 wxBrush
*arg1
= (wxBrush
*) 0 ;
3762 PyObject
* obj0
= 0 ;
3764 (char *) "self", NULL
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3769 if (SWIG_arg_fail(1)) SWIG_fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3777 Py_INCREF(Py_None
); resultobj
= Py_None
;
3784 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxBrush
*arg1
= (wxBrush
*) 0 ;
3787 wxColour
*arg2
= 0 ;
3789 PyObject
* obj0
= 0 ;
3790 PyObject
* obj1
= 0 ;
3792 (char *) "self",(char *) "col", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3797 if (SWIG_arg_fail(1)) SWIG_fail
;
3800 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 (arg1
)->SetColour((wxColour
const &)*arg2
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 Py_INCREF(Py_None
); resultobj
= Py_None
;
3816 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxBrush
*arg1
= (wxBrush
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3821 PyObject
* obj1
= 0 ;
3823 (char *) "self",(char *) "style", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3828 if (SWIG_arg_fail(1)) SWIG_fail
;
3830 arg2
= (int)(SWIG_As_int(obj1
));
3831 if (SWIG_arg_fail(2)) SWIG_fail
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 (arg1
)->SetStyle(arg2
);
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3840 Py_INCREF(Py_None
); resultobj
= Py_None
;
3847 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
;
3849 wxBrush
*arg1
= (wxBrush
*) 0 ;
3850 wxBitmap
*arg2
= 0 ;
3851 PyObject
* obj0
= 0 ;
3852 PyObject
* obj1
= 0 ;
3854 (char *) "self",(char *) "stipple", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3859 if (SWIG_arg_fail(1)) SWIG_fail
;
3861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3862 if (SWIG_arg_fail(2)) SWIG_fail
;
3864 SWIG_null_ref("wxBitmap");
3866 if (SWIG_arg_fail(2)) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 Py_INCREF(Py_None
); resultobj
= Py_None
;
3882 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3884 wxBrush
*arg1
= (wxBrush
*) 0 ;
3886 PyObject
* obj0
= 0 ;
3888 (char *) "self", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
3892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3893 if (SWIG_arg_fail(1)) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 result
= ((wxBrush
const *)arg1
)->GetColour();
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3902 wxColour
* resultptr
;
3903 resultptr
= new wxColour((wxColour
&)(result
));
3904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3912 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxBrush
*arg1
= (wxBrush
*) 0 ;
3916 PyObject
* obj0
= 0 ;
3918 (char *) "self", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
3922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3923 if (SWIG_arg_fail(1)) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_From_int((int)(result
));
3940 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxBrush
*arg1
= (wxBrush
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "self", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
3950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3951 if (SWIG_arg_fail(1)) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3966 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxBrush
*arg1
= (wxBrush
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3972 (char *) "self", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
3976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3977 if (SWIG_arg_fail(1)) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3994 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxBrush
*arg1
= (wxBrush
*) 0 ;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
4004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4005 if (SWIG_arg_fail(1)) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 result
= (bool)(arg1
)->Ok();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4022 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
4024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4025 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
4027 return Py_BuildValue((char *)"");
4029 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxString
*arg1
= 0 ;
4032 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
4034 bool temp1
= false ;
4035 PyObject
* obj0
= 0 ;
4036 PyObject
* obj1
= 0 ;
4038 (char *) "name",(char *) "type", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4043 arg1
= wxString_in_helper(obj0
);
4044 if (arg1
== NULL
) SWIG_fail
;
4049 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
4050 if (SWIG_arg_fail(2)) SWIG_fail
;
4054 if (!wxPyCheckForApp()) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4076 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4079 PyObject
* obj0
= 0 ;
4081 (char *) "self", NULL
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4086 if (SWIG_arg_fail(1)) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 Py_INCREF(Py_None
); resultobj
= Py_None
;
4101 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4105 int arg3
= (int) -1 ;
4107 PyObject
* obj0
= 0 ;
4108 PyObject
* obj1
= 0 ;
4109 PyObject
* obj2
= 0 ;
4111 (char *) "width",(char *) "height",(char *) "depth", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4116 arg1
= (int)(SWIG_As_int(obj0
));
4117 if (SWIG_arg_fail(1)) SWIG_fail
;
4120 arg2
= (int)(SWIG_As_int(obj1
));
4121 if (SWIG_arg_fail(2)) SWIG_fail
;
4125 arg3
= (int)(SWIG_As_int(obj2
));
4126 if (SWIG_arg_fail(3)) SWIG_fail
;
4130 if (!wxPyCheckForApp()) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4144 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
;
4148 PyObject
* obj0
= 0 ;
4150 (char *) "icon", NULL
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4156 if (SWIG_arg_fail(1)) SWIG_fail
;
4158 SWIG_null_ref("wxIcon");
4160 if (SWIG_arg_fail(1)) SWIG_fail
;
4163 if (!wxPyCheckForApp()) SWIG_fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4177 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4180 int arg2
= (int) -1 ;
4182 PyObject
* obj0
= 0 ;
4183 PyObject
* obj1
= 0 ;
4185 (char *) "image",(char *) "depth", NULL
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4191 if (SWIG_arg_fail(1)) SWIG_fail
;
4193 SWIG_null_ref("wxImage");
4195 if (SWIG_arg_fail(1)) SWIG_fail
;
4199 arg2
= (int)(SWIG_As_int(obj1
));
4200 if (SWIG_arg_fail(2)) SWIG_fail
;
4204 if (!wxPyCheckForApp()) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4218 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 PyObject
*arg1
= (PyObject
*) 0 ;
4222 PyObject
* obj0
= 0 ;
4224 (char *) "listOfStrings", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4230 if (!wxPyCheckForApp()) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4244 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4246 PyObject
*arg1
= (PyObject
*) 0 ;
4249 int arg4
= (int) 1 ;
4251 PyObject
* obj0
= 0 ;
4252 PyObject
* obj1
= 0 ;
4253 PyObject
* obj2
= 0 ;
4254 PyObject
* obj3
= 0 ;
4256 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4262 arg2
= (int)(SWIG_As_int(obj1
));
4263 if (SWIG_arg_fail(2)) SWIG_fail
;
4266 arg3
= (int)(SWIG_As_int(obj2
));
4267 if (SWIG_arg_fail(3)) SWIG_fail
;
4271 arg4
= (int)(SWIG_As_int(obj3
));
4272 if (SWIG_arg_fail(4)) SWIG_fail
;
4276 if (!wxPyCheckForApp()) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4290 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
*resultobj
;
4292 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4294 PyObject
* obj0
= 0 ;
4296 (char *) "self", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
4300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4301 if (SWIG_arg_fail(1)) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 result
= (long)(arg1
)->GetHandle();
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= SWIG_From_long((long)(result
));
4318 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "self",(char *) "handle", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4330 if (SWIG_arg_fail(1)) SWIG_fail
;
4332 arg2
= (long)(SWIG_As_long(obj1
));
4333 if (SWIG_arg_fail(2)) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 wxBitmap_SetHandle(arg1
,arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "self", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4360 if (SWIG_arg_fail(1)) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (bool)(arg1
)->Ok();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4377 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4381 PyObject
* obj0
= 0 ;
4383 (char *) "self", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4388 if (SWIG_arg_fail(1)) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (int)(arg1
)->GetWidth();
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= SWIG_From_int((int)(result
));
4405 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4411 (char *) "self", NULL
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4416 if (SWIG_arg_fail(1)) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (int)(arg1
)->GetHeight();
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_From_int((int)(result
));
4433 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4437 PyObject
* obj0
= 0 ;
4439 (char *) "self", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4444 if (SWIG_arg_fail(1)) SWIG_fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (int)(arg1
)->GetDepth();
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= SWIG_From_int((int)(result
));
4461 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4465 PyObject
* obj0
= 0 ;
4467 (char *) "self", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4472 if (SWIG_arg_fail(1)) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= wxBitmap_GetSize(arg1
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4482 resultptr
= new wxSize((wxSize
&)(result
));
4483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4491 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4494 SwigValueWrapper
<wxImage
> result
;
4495 PyObject
* obj0
= 0 ;
4497 (char *) "self", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4502 if (SWIG_arg_fail(1)) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4511 wxImage
* resultptr
;
4512 resultptr
= new wxImage((wxImage
&)(result
));
4513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4521 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4525 PyObject
* obj0
= 0 ;
4527 (char *) "self", NULL
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4532 if (SWIG_arg_fail(1)) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4547 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
;
4549 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4550 wxMask
*arg2
= (wxMask
*) 0 ;
4551 PyObject
* obj0
= 0 ;
4552 PyObject
* obj1
= 0 ;
4554 (char *) "self",(char *) "mask", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4559 if (SWIG_arg_fail(1)) SWIG_fail
;
4560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4561 if (SWIG_arg_fail(2)) SWIG_fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 (arg1
)->SetMask(arg2
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4569 Py_INCREF(Py_None
); resultobj
= Py_None
;
4576 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4579 wxColour
*arg2
= 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4584 (char *) "self",(char *) "colour", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4589 if (SWIG_arg_fail(1)) SWIG_fail
;
4592 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4608 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4612 SwigValueWrapper
<wxBitmap
> result
;
4614 PyObject
* obj0
= 0 ;
4615 PyObject
* obj1
= 0 ;
4617 (char *) "self",(char *) "rect", NULL
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4622 if (SWIG_arg_fail(1)) SWIG_fail
;
4625 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4635 wxBitmap
* resultptr
;
4636 resultptr
= new wxBitmap((wxBitmap
&)(result
));
4637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4645 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4648 wxString
*arg2
= 0 ;
4650 wxPalette
*arg4
= (wxPalette
*) NULL
;
4652 bool temp2
= false ;
4653 PyObject
* obj0
= 0 ;
4654 PyObject
* obj1
= 0 ;
4655 PyObject
* obj2
= 0 ;
4656 PyObject
* obj3
= 0 ;
4658 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4663 if (SWIG_arg_fail(1)) SWIG_fail
;
4665 arg2
= wxString_in_helper(obj1
);
4666 if (arg2
== NULL
) SWIG_fail
;
4670 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4671 if (SWIG_arg_fail(3)) SWIG_fail
;
4674 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4675 if (SWIG_arg_fail(4)) SWIG_fail
;
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4701 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
*resultobj
;
4703 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4704 wxString
*arg2
= 0 ;
4707 bool temp2
= false ;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4710 PyObject
* obj2
= 0 ;
4712 (char *) "self",(char *) "name",(char *) "type", NULL
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4717 if (SWIG_arg_fail(1)) SWIG_fail
;
4719 arg2
= wxString_in_helper(obj1
);
4720 if (arg2
== NULL
) SWIG_fail
;
4724 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
4725 if (SWIG_arg_fail(3)) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4751 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4757 (char *) "self", NULL
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4762 if (SWIG_arg_fail(1)) SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4777 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4779 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4780 wxPalette
*arg2
= 0 ;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4784 (char *) "self",(char *) "palette", NULL
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
4788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4789 if (SWIG_arg_fail(1)) SWIG_fail
;
4791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4792 if (SWIG_arg_fail(2)) SWIG_fail
;
4794 SWIG_null_ref("wxPalette");
4796 if (SWIG_arg_fail(2)) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 Py_INCREF(Py_None
); resultobj
= Py_None
;
4812 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4814 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4817 PyObject
* obj0
= 0 ;
4818 PyObject
* obj1
= 0 ;
4820 (char *) "self",(char *) "icon", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4825 if (SWIG_arg_fail(1)) SWIG_fail
;
4827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4828 if (SWIG_arg_fail(2)) SWIG_fail
;
4830 SWIG_null_ref("wxIcon");
4832 if (SWIG_arg_fail(2)) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4850 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4854 PyObject
* obj0
= 0 ;
4855 PyObject
* obj1
= 0 ;
4857 (char *) "self",(char *) "height", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4862 if (SWIG_arg_fail(1)) SWIG_fail
;
4864 arg2
= (int)(SWIG_As_int(obj1
));
4865 if (SWIG_arg_fail(2)) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 (arg1
)->SetHeight(arg2
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 Py_INCREF(Py_None
); resultobj
= Py_None
;
4881 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4885 PyObject
* obj0
= 0 ;
4886 PyObject
* obj1
= 0 ;
4888 (char *) "self",(char *) "width", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4893 if (SWIG_arg_fail(1)) SWIG_fail
;
4895 arg2
= (int)(SWIG_As_int(obj1
));
4896 if (SWIG_arg_fail(2)) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 (arg1
)->SetWidth(arg2
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 Py_INCREF(Py_None
); resultobj
= Py_None
;
4912 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4917 PyObject
* obj1
= 0 ;
4919 (char *) "self",(char *) "depth", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4924 if (SWIG_arg_fail(1)) SWIG_fail
;
4926 arg2
= (int)(SWIG_As_int(obj1
));
4927 if (SWIG_arg_fail(2)) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 (arg1
)->SetDepth(arg2
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 Py_INCREF(Py_None
); resultobj
= Py_None
;
4943 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4949 PyObject
* obj1
= 0 ;
4951 (char *) "self",(char *) "size", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4956 if (SWIG_arg_fail(1)) SWIG_fail
;
4959 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 Py_INCREF(Py_None
); resultobj
= Py_None
;
4975 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
;
4977 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4978 wxCursor
*arg2
= 0 ;
4980 PyObject
* obj0
= 0 ;
4981 PyObject
* obj1
= 0 ;
4983 (char *) "self",(char *) "cursor", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
4987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail
;
4990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
4991 if (SWIG_arg_fail(2)) SWIG_fail
;
4993 SWIG_null_ref("wxCursor");
4995 if (SWIG_arg_fail(2)) SWIG_fail
;
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5013 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
;
5015 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5016 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5018 PyObject
* obj0
= 0 ;
5019 PyObject
* obj1
= 0 ;
5021 (char *) "self",(char *) "other", NULL
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5026 if (SWIG_arg_fail(1)) SWIG_fail
;
5027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5028 if (SWIG_arg_fail(2)) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5045 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5047 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5048 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5053 (char *) "self",(char *) "other", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5058 if (SWIG_arg_fail(1)) SWIG_fail
;
5059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5060 if (SWIG_arg_fail(2)) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5077 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
5079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5080 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
5082 return Py_BuildValue((char *)"");
5084 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxBitmap
*arg1
= 0 ;
5087 wxColour
const &arg2_defvalue
= wxNullColour
;
5088 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj1
= 0 ;
5094 (char *) "bitmap",(char *) "colour", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
5099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5100 if (SWIG_arg_fail(1)) SWIG_fail
;
5102 SWIG_null_ref("wxBitmap");
5104 if (SWIG_arg_fail(1)) SWIG_fail
;
5109 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5113 if (!wxPyCheckForApp()) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
5127 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
5129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5130 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
5132 return Py_BuildValue((char *)"");
5134 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
;
5136 wxString
*arg1
= 0 ;
5138 int arg3
= (int) -1 ;
5139 int arg4
= (int) -1 ;
5141 bool temp1
= false ;
5142 PyObject
* obj0
= 0 ;
5143 PyObject
* obj1
= 0 ;
5144 PyObject
* obj2
= 0 ;
5145 PyObject
* obj3
= 0 ;
5147 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5152 arg1
= wxString_in_helper(obj0
);
5153 if (arg1
== NULL
) SWIG_fail
;
5157 arg2
= (wxBitmapType
)(SWIG_As_int(obj1
));
5158 if (SWIG_arg_fail(2)) SWIG_fail
;
5162 arg3
= (int)(SWIG_As_int(obj2
));
5163 if (SWIG_arg_fail(3)) SWIG_fail
;
5168 arg4
= (int)(SWIG_As_int(obj3
));
5169 if (SWIG_arg_fail(4)) SWIG_fail
;
5173 if (!wxPyCheckForApp()) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5195 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxIcon
*arg1
= (wxIcon
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "self", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5205 if (SWIG_arg_fail(1)) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5220 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5229 if (!wxPyCheckForApp()) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (wxIcon
*)new wxIcon();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5243 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxIconLocation
*arg1
= 0 ;
5247 PyObject
* obj0
= 0 ;
5249 (char *) "loc", NULL
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5255 if (SWIG_arg_fail(1)) SWIG_fail
;
5257 SWIG_null_ref("wxIconLocation");
5259 if (SWIG_arg_fail(1)) SWIG_fail
;
5262 if (!wxPyCheckForApp()) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5276 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxBitmap
*arg1
= 0 ;
5280 PyObject
* obj0
= 0 ;
5282 (char *) "bmp", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5288 if (SWIG_arg_fail(1)) SWIG_fail
;
5290 SWIG_null_ref("wxBitmap");
5292 if (SWIG_arg_fail(1)) SWIG_fail
;
5295 if (!wxPyCheckForApp()) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5309 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 PyObject
*arg1
= (PyObject
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5315 (char *) "listOfStrings", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5321 if (!wxPyCheckForApp()) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (wxIcon
*)new_wxIcon(arg1
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5335 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxIcon
*arg1
= (wxIcon
*) 0 ;
5338 wxString
*arg2
= 0 ;
5341 bool temp2
= false ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5344 PyObject
* obj2
= 0 ;
5346 (char *) "self",(char *) "name",(char *) "type", NULL
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5351 if (SWIG_arg_fail(1)) SWIG_fail
;
5353 arg2
= wxString_in_helper(obj1
);
5354 if (arg2
== NULL
) SWIG_fail
;
5358 arg3
= (wxBitmapType
)(SWIG_As_int(obj2
));
5359 if (SWIG_arg_fail(3)) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5385 static PyObject
*_wrap_Icon_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxIcon
*arg1
= (wxIcon
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5391 (char *) "self", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
5395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5396 if (SWIG_arg_fail(1)) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (long)(arg1
)->GetHandle();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= SWIG_From_long((long)(result
));
5413 static PyObject
*_wrap_Icon_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxIcon
*arg1
= (wxIcon
*) 0 ;
5417 PyObject
* obj0
= 0 ;
5418 PyObject
* obj1
= 0 ;
5420 (char *) "self",(char *) "handle", NULL
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
5424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5425 if (SWIG_arg_fail(1)) SWIG_fail
;
5427 arg2
= (long)(SWIG_As_long(obj1
));
5428 if (SWIG_arg_fail(2)) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 wxIcon_SetHandle(arg1
,arg2
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 Py_INCREF(Py_None
); resultobj
= Py_None
;
5444 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxIcon
*arg1
= (wxIcon
*) 0 ;
5448 PyObject
* obj0
= 0 ;
5450 (char *) "self", NULL
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5455 if (SWIG_arg_fail(1)) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (bool)(arg1
)->Ok();
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5472 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxIcon
*arg1
= (wxIcon
*) 0 ;
5476 PyObject
* obj0
= 0 ;
5478 (char *) "self", NULL
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5483 if (SWIG_arg_fail(1)) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (int)(arg1
)->GetWidth();
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= SWIG_From_int((int)(result
));
5500 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxIcon
*arg1
= (wxIcon
*) 0 ;
5504 PyObject
* obj0
= 0 ;
5506 (char *) "self", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5511 if (SWIG_arg_fail(1)) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= (int)(arg1
)->GetHeight();
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= SWIG_From_int((int)(result
));
5528 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxIcon
*arg1
= (wxIcon
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5539 if (SWIG_arg_fail(1)) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (int)(arg1
)->GetDepth();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_From_int((int)(result
));
5556 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxIcon
*arg1
= (wxIcon
*) 0 ;
5560 PyObject
* obj0
= 0 ;
5561 PyObject
* obj1
= 0 ;
5563 (char *) "self",(char *) "w", NULL
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5568 if (SWIG_arg_fail(1)) SWIG_fail
;
5570 arg2
= (int)(SWIG_As_int(obj1
));
5571 if (SWIG_arg_fail(2)) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 (arg1
)->SetWidth(arg2
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 Py_INCREF(Py_None
); resultobj
= Py_None
;
5587 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxIcon
*arg1
= (wxIcon
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5592 PyObject
* obj1
= 0 ;
5594 (char *) "self",(char *) "h", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5599 if (SWIG_arg_fail(1)) SWIG_fail
;
5601 arg2
= (int)(SWIG_As_int(obj1
));
5602 if (SWIG_arg_fail(2)) SWIG_fail
;
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 (arg1
)->SetHeight(arg2
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 Py_INCREF(Py_None
); resultobj
= Py_None
;
5618 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
*resultobj
;
5620 wxIcon
*arg1
= (wxIcon
*) 0 ;
5622 PyObject
* obj0
= 0 ;
5623 PyObject
* obj1
= 0 ;
5625 (char *) "self",(char *) "d", NULL
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5630 if (SWIG_arg_fail(1)) SWIG_fail
;
5632 arg2
= (int)(SWIG_As_int(obj1
));
5633 if (SWIG_arg_fail(2)) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 (arg1
)->SetDepth(arg2
);
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 Py_INCREF(Py_None
); resultobj
= Py_None
;
5649 static PyObject
*_wrap_Icon_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxIcon
*arg1
= (wxIcon
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5657 (char *) "self",(char *) "size", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5662 if (SWIG_arg_fail(1)) SWIG_fail
;
5665 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 (arg1
)->SetSize((wxSize
const &)*arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 Py_INCREF(Py_None
); resultobj
= Py_None
;
5681 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxIcon
*arg1
= (wxIcon
*) 0 ;
5684 wxBitmap
*arg2
= 0 ;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5688 (char *) "self",(char *) "bmp", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5693 if (SWIG_arg_fail(1)) SWIG_fail
;
5695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5696 if (SWIG_arg_fail(2)) SWIG_fail
;
5698 SWIG_null_ref("wxBitmap");
5700 if (SWIG_arg_fail(2)) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5709 Py_INCREF(Py_None
); resultobj
= Py_None
;
5716 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5719 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5721 return Py_BuildValue((char *)"");
5723 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5726 int arg2
= (int) 0 ;
5727 wxIconLocation
*result
;
5728 bool temp1
= false ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5732 (char *) "filename",(char *) "num", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5738 arg1
= wxString_in_helper(obj0
);
5739 if (arg1
== NULL
) SWIG_fail
;
5745 arg2
= (int)(SWIG_As_int(obj1
));
5746 if (SWIG_arg_fail(2)) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5771 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5774 PyObject
* obj0
= 0 ;
5776 (char *) "self", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5781 if (SWIG_arg_fail(1)) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 Py_INCREF(Py_None
); resultobj
= Py_None
;
5796 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5800 PyObject
* obj0
= 0 ;
5802 (char *) "self", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5807 if (SWIG_arg_fail(1)) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5824 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5827 wxString
*arg2
= 0 ;
5828 bool temp2
= false ;
5829 PyObject
* obj0
= 0 ;
5830 PyObject
* obj1
= 0 ;
5832 (char *) "self",(char *) "filename", NULL
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5837 if (SWIG_arg_fail(1)) SWIG_fail
;
5839 arg2
= wxString_in_helper(obj1
);
5840 if (arg2
== NULL
) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 (arg1
)->SetFileName((wxString
const &)*arg2
);
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 Py_INCREF(Py_None
); resultobj
= Py_None
;
5865 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
;
5867 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5869 PyObject
* obj0
= 0 ;
5871 (char *) "self", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5876 if (SWIG_arg_fail(1)) SWIG_fail
;
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5881 result
= (wxString
*) &_result_ref
;
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5891 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5900 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5904 PyObject
* obj0
= 0 ;
5905 PyObject
* obj1
= 0 ;
5907 (char *) "self",(char *) "num", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5912 if (SWIG_arg_fail(1)) SWIG_fail
;
5914 arg2
= (int)(SWIG_As_int(obj1
));
5915 if (SWIG_arg_fail(2)) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 wxIconLocation_SetIndex(arg1
,arg2
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 Py_INCREF(Py_None
); resultobj
= Py_None
;
5931 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
;
5933 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5937 (char *) "self", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5942 if (SWIG_arg_fail(1)) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (int)wxIconLocation_GetIndex(arg1
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_From_int((int)(result
));
5959 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5962 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5964 return Py_BuildValue((char *)"");
5966 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxIconBundle
*result
;
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 result
= (wxIconBundle
*)new wxIconBundle();
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5988 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
;
5990 wxString
*arg1
= 0 ;
5992 wxIconBundle
*result
;
5993 bool temp1
= false ;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5997 (char *) "file",(char *) "type", NULL
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6002 arg1
= wxString_in_helper(obj0
);
6003 if (arg1
== NULL
) SWIG_fail
;
6007 arg2
= (long)(SWIG_As_long(obj1
));
6008 if (SWIG_arg_fail(2)) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6032 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6035 wxIconBundle
*result
;
6036 PyObject
* obj0
= 0 ;
6038 (char *) "icon", NULL
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
6043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6044 if (SWIG_arg_fail(1)) SWIG_fail
;
6046 SWIG_null_ref("wxIcon");
6048 if (SWIG_arg_fail(1)) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6064 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
;
6066 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6067 PyObject
* obj0
= 0 ;
6069 (char *) "self", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
6073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6074 if (SWIG_arg_fail(1)) SWIG_fail
;
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 Py_INCREF(Py_None
); resultobj
= Py_None
;
6089 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6093 PyObject
* obj0
= 0 ;
6094 PyObject
* obj1
= 0 ;
6096 (char *) "self",(char *) "icon", NULL
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6101 if (SWIG_arg_fail(1)) SWIG_fail
;
6103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6104 if (SWIG_arg_fail(2)) SWIG_fail
;
6106 SWIG_null_ref("wxIcon");
6108 if (SWIG_arg_fail(2)) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 Py_INCREF(Py_None
); resultobj
= Py_None
;
6124 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6127 wxString
*arg2
= 0 ;
6129 bool temp2
= false ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6132 PyObject
* obj2
= 0 ;
6134 (char *) "self",(char *) "file",(char *) "type", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6139 if (SWIG_arg_fail(1)) SWIG_fail
;
6141 arg2
= wxString_in_helper(obj1
);
6142 if (arg2
== NULL
) SWIG_fail
;
6146 arg3
= (long)(SWIG_As_long(obj2
));
6147 if (SWIG_arg_fail(3)) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 Py_INCREF(Py_None
); resultobj
= Py_None
;
6171 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
*resultobj
;
6173 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6180 (char *) "self",(char *) "size", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6185 if (SWIG_arg_fail(1)) SWIG_fail
;
6188 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
6194 result
= (wxIcon
*) &_result_ref
;
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6201 wxIcon
* resultptr
= new wxIcon(*result
);
6202 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
6210 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
6212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6213 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
6215 return Py_BuildValue((char *)"");
6217 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 wxString
*arg1
= 0 ;
6221 int arg3
= (int) 0 ;
6222 int arg4
= (int) 0 ;
6224 bool temp1
= false ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6227 PyObject
* obj2
= 0 ;
6228 PyObject
* obj3
= 0 ;
6230 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6235 arg1
= wxString_in_helper(obj0
);
6236 if (arg1
== NULL
) SWIG_fail
;
6240 arg2
= (long)(SWIG_As_long(obj1
));
6241 if (SWIG_arg_fail(2)) SWIG_fail
;
6245 arg3
= (int)(SWIG_As_int(obj2
));
6246 if (SWIG_arg_fail(3)) SWIG_fail
;
6251 arg4
= (int)(SWIG_As_int(obj3
));
6252 if (SWIG_arg_fail(4)) SWIG_fail
;
6256 if (!wxPyCheckForApp()) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6278 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxCursor
*arg1
= (wxCursor
*) 0 ;
6281 PyObject
* obj0
= 0 ;
6283 (char *) "self", NULL
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
6287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6288 if (SWIG_arg_fail(1)) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 Py_INCREF(Py_None
); resultobj
= Py_None
;
6303 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6307 PyObject
* obj0
= 0 ;
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6314 arg1
= (int)(SWIG_As_int(obj0
));
6315 if (SWIG_arg_fail(1)) SWIG_fail
;
6318 if (!wxPyCheckForApp()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 result
= (wxCursor
*)new wxCursor(arg1
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6332 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6336 PyObject
* obj0
= 0 ;
6338 (char *) "image", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6344 if (SWIG_arg_fail(1)) SWIG_fail
;
6346 SWIG_null_ref("wxImage");
6348 if (SWIG_arg_fail(1)) SWIG_fail
;
6351 if (!wxPyCheckForApp()) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6365 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxCursor
*arg1
= (wxCursor
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6371 (char *) "self", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
6375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6376 if (SWIG_arg_fail(1)) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 result
= (long)(arg1
)->GetHandle();
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6385 resultobj
= SWIG_From_long((long)(result
));
6393 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
;
6395 wxCursor
*arg1
= (wxCursor
*) 0 ;
6397 PyObject
* obj0
= 0 ;
6398 PyObject
* obj1
= 0 ;
6400 (char *) "self",(char *) "handle", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
6404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6405 if (SWIG_arg_fail(1)) SWIG_fail
;
6407 arg2
= (long)(SWIG_As_long(obj1
));
6408 if (SWIG_arg_fail(2)) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 wxCursor_SetHandle(arg1
,arg2
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 Py_INCREF(Py_None
); resultobj
= Py_None
;
6424 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxCursor
*arg1
= (wxCursor
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6430 (char *) "self", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6435 if (SWIG_arg_fail(1)) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 result
= (bool)(arg1
)->Ok();
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6452 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxCursor
*arg1
= (wxCursor
*) 0 ;
6456 PyObject
* obj0
= 0 ;
6458 (char *) "self", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
6462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6463 if (SWIG_arg_fail(1)) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (int)(arg1
)->GetWidth();
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= SWIG_From_int((int)(result
));
6480 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
;
6482 wxCursor
*arg1
= (wxCursor
*) 0 ;
6484 PyObject
* obj0
= 0 ;
6486 (char *) "self", NULL
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
6490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6491 if (SWIG_arg_fail(1)) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (int)(arg1
)->GetHeight();
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= SWIG_From_int((int)(result
));
6508 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
;
6510 wxCursor
*arg1
= (wxCursor
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6514 (char *) "self", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
6518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6519 if (SWIG_arg_fail(1)) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (int)(arg1
)->GetDepth();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_From_int((int)(result
));
6536 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxCursor
*arg1
= (wxCursor
*) 0 ;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6543 (char *) "self",(char *) "w", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
6547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6548 if (SWIG_arg_fail(1)) SWIG_fail
;
6550 arg2
= (int)(SWIG_As_int(obj1
));
6551 if (SWIG_arg_fail(2)) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 (arg1
)->SetWidth(arg2
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6560 Py_INCREF(Py_None
); resultobj
= Py_None
;
6567 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxCursor
*arg1
= (wxCursor
*) 0 ;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6574 (char *) "self",(char *) "h", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6579 if (SWIG_arg_fail(1)) SWIG_fail
;
6581 arg2
= (int)(SWIG_As_int(obj1
));
6582 if (SWIG_arg_fail(2)) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 (arg1
)->SetHeight(arg2
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 Py_INCREF(Py_None
); resultobj
= Py_None
;
6598 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 wxCursor
*arg1
= (wxCursor
*) 0 ;
6602 PyObject
* obj0
= 0 ;
6603 PyObject
* obj1
= 0 ;
6605 (char *) "self",(char *) "d", NULL
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
6609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6610 if (SWIG_arg_fail(1)) SWIG_fail
;
6612 arg2
= (int)(SWIG_As_int(obj1
));
6613 if (SWIG_arg_fail(2)) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 (arg1
)->SetDepth(arg2
);
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 Py_INCREF(Py_None
); resultobj
= Py_None
;
6629 static PyObject
*_wrap_Cursor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
;
6631 wxCursor
*arg1
= (wxCursor
*) 0 ;
6634 PyObject
* obj0
= 0 ;
6635 PyObject
* obj1
= 0 ;
6637 (char *) "self",(char *) "size", NULL
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6642 if (SWIG_arg_fail(1)) SWIG_fail
;
6645 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 (arg1
)->SetSize((wxSize
const &)*arg2
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 Py_INCREF(Py_None
); resultobj
= Py_None
;
6661 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6664 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6666 return Py_BuildValue((char *)"");
6668 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 int arg1
= (int) 0 ;
6671 int arg2
= (int) 0 ;
6672 int arg3
= (int) 0 ;
6673 int arg4
= (int) 0 ;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6677 PyObject
* obj2
= 0 ;
6678 PyObject
* obj3
= 0 ;
6680 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6686 arg1
= (int)(SWIG_As_int(obj0
));
6687 if (SWIG_arg_fail(1)) SWIG_fail
;
6692 arg2
= (int)(SWIG_As_int(obj1
));
6693 if (SWIG_arg_fail(2)) SWIG_fail
;
6698 arg3
= (int)(SWIG_As_int(obj2
));
6699 if (SWIG_arg_fail(3)) SWIG_fail
;
6704 arg4
= (int)(SWIG_As_int(obj3
));
6705 if (SWIG_arg_fail(4)) SWIG_fail
;
6709 if (!wxPyCheckForApp()) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6723 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxBitmap
*arg1
= 0 ;
6727 PyObject
* obj0
= 0 ;
6729 (char *) "bmp", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6735 if (SWIG_arg_fail(1)) SWIG_fail
;
6737 SWIG_null_ref("wxBitmap");
6739 if (SWIG_arg_fail(1)) SWIG_fail
;
6742 if (!wxPyCheckForApp()) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6756 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxBitmap
*arg1
= 0 ;
6759 wxColour
*arg2
= 0 ;
6760 int arg3
= (int) 0 ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6765 PyObject
* obj2
= 0 ;
6767 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail
;
6775 SWIG_null_ref("wxBitmap");
6777 if (SWIG_arg_fail(1)) SWIG_fail
;
6781 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6785 arg3
= (int)(SWIG_As_int(obj2
));
6786 if (SWIG_arg_fail(3)) SWIG_fail
;
6790 if (!wxPyCheckForApp()) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6804 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6807 wxPoint
*arg2
= (wxPoint
*) 0 ;
6808 int arg3
= (int) wxWINDING_RULE
;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6813 (char *) "points",(char *) "fillStyle", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6818 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6819 if (arg2
== NULL
) SWIG_fail
;
6823 arg3
= (int)(SWIG_As_int(obj1
));
6824 if (SWIG_arg_fail(3)) SWIG_fail
;
6828 if (!wxPyCheckForApp()) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6837 if (arg2
) delete [] arg2
;
6842 if (arg2
) delete [] arg2
;
6848 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 wxRegion
*arg1
= (wxRegion
*) 0 ;
6851 PyObject
* obj0
= 0 ;
6853 (char *) "self", NULL
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6858 if (SWIG_arg_fail(1)) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 Py_INCREF(Py_None
); resultobj
= Py_None
;
6873 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
*resultobj
;
6875 wxRegion
*arg1
= (wxRegion
*) 0 ;
6876 PyObject
* obj0
= 0 ;
6878 (char *) "self", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6883 if (SWIG_arg_fail(1)) SWIG_fail
;
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6891 Py_INCREF(Py_None
); resultobj
= Py_None
;
6898 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
*resultobj
;
6900 wxRegion
*arg1
= (wxRegion
*) 0 ;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6906 PyObject
* obj2
= 0 ;
6908 (char *) "self",(char *) "x",(char *) "y", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6913 if (SWIG_arg_fail(1)) SWIG_fail
;
6915 arg2
= (int)(SWIG_As_int(obj1
));
6916 if (SWIG_arg_fail(2)) SWIG_fail
;
6919 arg3
= (int)(SWIG_As_int(obj2
));
6920 if (SWIG_arg_fail(3)) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6938 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxRegion
*arg1
= (wxRegion
*) 0 ;
6943 wxRegionContain result
;
6944 PyObject
* obj0
= 0 ;
6945 PyObject
* obj1
= 0 ;
6946 PyObject
* obj2
= 0 ;
6948 (char *) "self",(char *) "x",(char *) "y", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6953 if (SWIG_arg_fail(1)) SWIG_fail
;
6955 arg2
= (int)(SWIG_As_int(obj1
));
6956 if (SWIG_arg_fail(2)) SWIG_fail
;
6959 arg3
= (int)(SWIG_As_int(obj2
));
6960 if (SWIG_arg_fail(3)) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= SWIG_From_int((result
));
6976 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxRegion
*arg1
= (wxRegion
*) 0 ;
6980 wxRegionContain result
;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6985 (char *) "self",(char *) "pt", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6990 if (SWIG_arg_fail(1)) SWIG_fail
;
6993 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= SWIG_From_int((result
));
7009 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxRegion
*arg1
= (wxRegion
*) 0 ;
7013 wxRegionContain result
;
7015 PyObject
* obj0
= 0 ;
7016 PyObject
* obj1
= 0 ;
7018 (char *) "self",(char *) "rect", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7023 if (SWIG_arg_fail(1)) SWIG_fail
;
7026 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_From_int((result
));
7042 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxRegion
*arg1
= (wxRegion
*) 0 ;
7049 wxRegionContain result
;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 PyObject
* obj2
= 0 ;
7053 PyObject
* obj3
= 0 ;
7054 PyObject
* obj4
= 0 ;
7056 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7061 if (SWIG_arg_fail(1)) SWIG_fail
;
7063 arg2
= (int)(SWIG_As_int(obj1
));
7064 if (SWIG_arg_fail(2)) SWIG_fail
;
7067 arg3
= (int)(SWIG_As_int(obj2
));
7068 if (SWIG_arg_fail(3)) SWIG_fail
;
7071 arg4
= (int)(SWIG_As_int(obj3
));
7072 if (SWIG_arg_fail(4)) SWIG_fail
;
7075 arg5
= (int)(SWIG_As_int(obj4
));
7076 if (SWIG_arg_fail(5)) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= SWIG_From_int((result
));
7092 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxRegion
*arg1
= (wxRegion
*) 0 ;
7096 PyObject
* obj0
= 0 ;
7098 (char *) "self", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
7102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7103 if (SWIG_arg_fail(1)) SWIG_fail
;
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 result
= (arg1
)->GetBox();
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7113 resultptr
= new wxRect((wxRect
&)(result
));
7114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7122 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxRegion
*arg1
= (wxRegion
*) 0 ;
7130 PyObject
* obj0
= 0 ;
7131 PyObject
* obj1
= 0 ;
7132 PyObject
* obj2
= 0 ;
7133 PyObject
* obj3
= 0 ;
7134 PyObject
* obj4
= 0 ;
7136 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7141 if (SWIG_arg_fail(1)) SWIG_fail
;
7143 arg2
= (int)(SWIG_As_int(obj1
));
7144 if (SWIG_arg_fail(2)) SWIG_fail
;
7147 arg3
= (int)(SWIG_As_int(obj2
));
7148 if (SWIG_arg_fail(3)) SWIG_fail
;
7151 arg4
= (int)(SWIG_As_int(obj3
));
7152 if (SWIG_arg_fail(4)) SWIG_fail
;
7155 arg5
= (int)(SWIG_As_int(obj4
));
7156 if (SWIG_arg_fail(5)) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7174 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxRegion
*arg1
= (wxRegion
*) 0 ;
7180 PyObject
* obj0
= 0 ;
7181 PyObject
* obj1
= 0 ;
7183 (char *) "self",(char *) "rect", NULL
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7188 if (SWIG_arg_fail(1)) SWIG_fail
;
7191 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7209 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
;
7211 wxRegion
*arg1
= (wxRegion
*) 0 ;
7212 wxRegion
*arg2
= 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7217 (char *) "self",(char *) "region", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7222 if (SWIG_arg_fail(1)) SWIG_fail
;
7224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7225 if (SWIG_arg_fail(2)) SWIG_fail
;
7227 SWIG_null_ref("wxRegion");
7229 if (SWIG_arg_fail(2)) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7247 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxRegion
*arg1
= (wxRegion
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
7257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7258 if (SWIG_arg_fail(1)) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (bool)(arg1
)->IsEmpty();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7275 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 wxRegion
*arg1
= (wxRegion
*) 0 ;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7285 PyObject
* obj2
= 0 ;
7286 PyObject
* obj3
= 0 ;
7287 PyObject
* obj4
= 0 ;
7289 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7294 if (SWIG_arg_fail(1)) SWIG_fail
;
7296 arg2
= (int)(SWIG_As_int(obj1
));
7297 if (SWIG_arg_fail(2)) SWIG_fail
;
7300 arg3
= (int)(SWIG_As_int(obj2
));
7301 if (SWIG_arg_fail(3)) SWIG_fail
;
7304 arg4
= (int)(SWIG_As_int(obj3
));
7305 if (SWIG_arg_fail(4)) SWIG_fail
;
7308 arg5
= (int)(SWIG_As_int(obj4
));
7309 if (SWIG_arg_fail(5)) SWIG_fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7327 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
;
7329 wxRegion
*arg1
= (wxRegion
*) 0 ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7336 (char *) "self",(char *) "rect", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7341 if (SWIG_arg_fail(1)) SWIG_fail
;
7344 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7362 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxRegion
*arg1
= (wxRegion
*) 0 ;
7365 wxRegion
*arg2
= 0 ;
7367 PyObject
* obj0
= 0 ;
7368 PyObject
* obj1
= 0 ;
7370 (char *) "self",(char *) "region", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7375 if (SWIG_arg_fail(1)) SWIG_fail
;
7377 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7378 if (SWIG_arg_fail(2)) SWIG_fail
;
7380 SWIG_null_ref("wxRegion");
7382 if (SWIG_arg_fail(2)) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7400 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
;
7402 wxRegion
*arg1
= (wxRegion
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7409 PyObject
* obj1
= 0 ;
7410 PyObject
* obj2
= 0 ;
7411 PyObject
* obj3
= 0 ;
7412 PyObject
* obj4
= 0 ;
7414 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7419 if (SWIG_arg_fail(1)) SWIG_fail
;
7421 arg2
= (int)(SWIG_As_int(obj1
));
7422 if (SWIG_arg_fail(2)) SWIG_fail
;
7425 arg3
= (int)(SWIG_As_int(obj2
));
7426 if (SWIG_arg_fail(3)) SWIG_fail
;
7429 arg4
= (int)(SWIG_As_int(obj3
));
7430 if (SWIG_arg_fail(4)) SWIG_fail
;
7433 arg5
= (int)(SWIG_As_int(obj4
));
7434 if (SWIG_arg_fail(5)) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7452 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxRegion
*arg1
= (wxRegion
*) 0 ;
7458 PyObject
* obj0
= 0 ;
7459 PyObject
* obj1
= 0 ;
7461 (char *) "self",(char *) "rect", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7466 if (SWIG_arg_fail(1)) SWIG_fail
;
7469 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7487 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7489 wxRegion
*arg1
= (wxRegion
*) 0 ;
7490 wxRegion
*arg2
= 0 ;
7492 PyObject
* obj0
= 0 ;
7493 PyObject
* obj1
= 0 ;
7495 (char *) "self",(char *) "region", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7500 if (SWIG_arg_fail(1)) SWIG_fail
;
7502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7503 if (SWIG_arg_fail(2)) SWIG_fail
;
7505 SWIG_null_ref("wxRegion");
7507 if (SWIG_arg_fail(2)) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7525 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7527 wxRegion
*arg1
= (wxRegion
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7535 PyObject
* obj2
= 0 ;
7536 PyObject
* obj3
= 0 ;
7537 PyObject
* obj4
= 0 ;
7539 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7544 if (SWIG_arg_fail(1)) SWIG_fail
;
7546 arg2
= (int)(SWIG_As_int(obj1
));
7547 if (SWIG_arg_fail(2)) SWIG_fail
;
7550 arg3
= (int)(SWIG_As_int(obj2
));
7551 if (SWIG_arg_fail(3)) SWIG_fail
;
7554 arg4
= (int)(SWIG_As_int(obj3
));
7555 if (SWIG_arg_fail(4)) SWIG_fail
;
7558 arg5
= (int)(SWIG_As_int(obj4
));
7559 if (SWIG_arg_fail(5)) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7577 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxRegion
*arg1
= (wxRegion
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7586 (char *) "self",(char *) "rect", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7591 if (SWIG_arg_fail(1)) SWIG_fail
;
7594 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7612 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
;
7614 wxRegion
*arg1
= (wxRegion
*) 0 ;
7615 wxRegion
*arg2
= 0 ;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7620 (char *) "self",(char *) "region", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7625 if (SWIG_arg_fail(1)) SWIG_fail
;
7627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7628 if (SWIG_arg_fail(2)) SWIG_fail
;
7630 SWIG_null_ref("wxRegion");
7632 if (SWIG_arg_fail(2)) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7650 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxRegion
*arg1
= (wxRegion
*) 0 ;
7653 SwigValueWrapper
<wxBitmap
> result
;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7661 if (SWIG_arg_fail(1)) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (arg1
)->ConvertToBitmap();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 wxBitmap
* resultptr
;
7671 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7680 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7682 wxRegion
*arg1
= (wxRegion
*) 0 ;
7683 wxBitmap
*arg2
= 0 ;
7685 PyObject
* obj0
= 0 ;
7686 PyObject
* obj1
= 0 ;
7688 (char *) "self",(char *) "bmp", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7693 if (SWIG_arg_fail(1)) SWIG_fail
;
7695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7696 if (SWIG_arg_fail(2)) SWIG_fail
;
7698 SWIG_null_ref("wxBitmap");
7700 if (SWIG_arg_fail(2)) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7718 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxRegion
*arg1
= (wxRegion
*) 0 ;
7721 wxBitmap
*arg2
= 0 ;
7722 wxColour
*arg3
= 0 ;
7723 int arg4
= (int) 0 ;
7726 PyObject
* obj0
= 0 ;
7727 PyObject
* obj1
= 0 ;
7728 PyObject
* obj2
= 0 ;
7729 PyObject
* obj3
= 0 ;
7731 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7736 if (SWIG_arg_fail(1)) SWIG_fail
;
7738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7739 if (SWIG_arg_fail(2)) SWIG_fail
;
7741 SWIG_null_ref("wxBitmap");
7743 if (SWIG_arg_fail(2)) SWIG_fail
;
7747 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7751 arg4
= (int)(SWIG_As_int(obj3
));
7752 if (SWIG_arg_fail(4)) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7771 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7774 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7776 return Py_BuildValue((char *)"");
7778 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxRegion
*arg1
= 0 ;
7781 wxRegionIterator
*result
;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "region", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail
;
7792 SWIG_null_ref("wxRegion");
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7797 if (!wxPyCheckForApp()) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7811 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "self", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7829 Py_INCREF(Py_None
); resultobj
= Py_None
;
7836 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7840 PyObject
* obj0
= 0 ;
7842 (char *) "self", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7847 if (SWIG_arg_fail(1)) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (int)(arg1
)->GetX();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= SWIG_From_int((int)(result
));
7864 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7870 (char *) "self", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (int)(arg1
)->GetY();
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_From_int((int)(result
));
7892 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7896 PyObject
* obj0
= 0 ;
7898 (char *) "self", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7903 if (SWIG_arg_fail(1)) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (int)(arg1
)->GetW();
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_From_int((int)(result
));
7920 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7926 (char *) "self", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7931 if (SWIG_arg_fail(1)) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 result
= (int)(arg1
)->GetWidth();
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= SWIG_From_int((int)(result
));
7948 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7950 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7952 PyObject
* obj0
= 0 ;
7954 (char *) "self", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7959 if (SWIG_arg_fail(1)) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= (int)(arg1
)->GetH();
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_From_int((int)(result
));
7976 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7980 PyObject
* obj0
= 0 ;
7982 (char *) "self", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7987 if (SWIG_arg_fail(1)) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (int)(arg1
)->GetHeight();
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= SWIG_From_int((int)(result
));
8004 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8008 PyObject
* obj0
= 0 ;
8010 (char *) "self", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
8014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8015 if (SWIG_arg_fail(1)) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (arg1
)->GetRect();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8025 resultptr
= new wxRect((wxRect
&)(result
));
8026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8034 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "self", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
8044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8045 if (SWIG_arg_fail(1)) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (bool)(arg1
)->HaveRects();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8062 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8065 PyObject
* obj0
= 0 ;
8067 (char *) "self", NULL
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
8071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8072 if (SWIG_arg_fail(1)) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 Py_INCREF(Py_None
); resultobj
= Py_None
;
8087 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
;
8089 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8090 PyObject
* obj0
= 0 ;
8092 (char *) "self", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
8096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8097 if (SWIG_arg_fail(1)) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 wxRegionIterator_Next(arg1
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8118 (char *) "self", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
8122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8123 if (SWIG_arg_fail(1)) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (bool)wxRegionIterator___nonzero__(arg1
);
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8140 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
8142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8143 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
8145 return Py_BuildValue((char *)"");
8147 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
;
8149 wxNativeFontInfo
*result
;
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
8169 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8172 PyObject
* obj0
= 0 ;
8174 (char *) "self", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
8178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8179 if (SWIG_arg_fail(1)) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 Py_INCREF(Py_None
); resultobj
= Py_None
;
8194 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8196 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8197 PyObject
* obj0
= 0 ;
8199 (char *) "self", NULL
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
8203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8204 if (SWIG_arg_fail(1)) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8219 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8223 PyObject
* obj0
= 0 ;
8224 PyObject
* obj1
= 0 ;
8226 (char *) "self",(char *) "font", NULL
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
8230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8231 if (SWIG_arg_fail(1)) SWIG_fail
;
8233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8234 if (SWIG_arg_fail(2)) SWIG_fail
;
8236 SWIG_null_ref("wxFont");
8238 if (SWIG_arg_fail(2)) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8260 (char *) "self", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
8264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8265 if (SWIG_arg_fail(1)) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= SWIG_From_int((int)(result
));
8282 static PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8286 PyObject
* obj0
= 0 ;
8288 (char *) "self", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8293 if (SWIG_arg_fail(1)) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8303 resultptr
= new wxSize((wxSize
&)(result
));
8304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8312 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8316 PyObject
* obj0
= 0 ;
8318 (char *) "self", NULL
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
8322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8323 if (SWIG_arg_fail(1)) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= SWIG_From_int((result
));
8338 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8341 wxFontWeight result
;
8342 PyObject
* obj0
= 0 ;
8344 (char *) "self", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
8348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8349 if (SWIG_arg_fail(1)) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_From_int((result
));
8364 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8368 PyObject
* obj0
= 0 ;
8370 (char *) "self", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8375 if (SWIG_arg_fail(1)) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8392 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8396 PyObject
* obj0
= 0 ;
8398 (char *) "self", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
8402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8403 if (SWIG_arg_fail(1)) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8424 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
;
8426 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8427 wxFontFamily result
;
8428 PyObject
* obj0
= 0 ;
8430 (char *) "self", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
8434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8435 if (SWIG_arg_fail(1)) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= SWIG_From_int((result
));
8450 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
;
8452 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8453 wxFontEncoding result
;
8454 PyObject
* obj0
= 0 ;
8456 (char *) "self", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
8460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8461 if (SWIG_arg_fail(1)) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= SWIG_From_int((result
));
8476 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
;
8478 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8480 PyObject
* obj0
= 0 ;
8481 PyObject
* obj1
= 0 ;
8483 (char *) "self",(char *) "pointsize", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8488 if (SWIG_arg_fail(1)) SWIG_fail
;
8490 arg2
= (int)(SWIG_As_int(obj1
));
8491 if (SWIG_arg_fail(2)) SWIG_fail
;
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 (arg1
)->SetPointSize(arg2
);
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8500 Py_INCREF(Py_None
); resultobj
= Py_None
;
8507 static PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8515 (char *) "self",(char *) "pixelSize", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8520 if (SWIG_arg_fail(1)) SWIG_fail
;
8523 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 Py_INCREF(Py_None
); resultobj
= Py_None
;
8539 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8543 PyObject
* obj0
= 0 ;
8544 PyObject
* obj1
= 0 ;
8546 (char *) "self",(char *) "style", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8551 if (SWIG_arg_fail(1)) SWIG_fail
;
8553 arg2
= (wxFontStyle
)(SWIG_As_int(obj1
));
8554 if (SWIG_arg_fail(2)) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 (arg1
)->SetStyle((wxFontStyle
)arg2
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8563 Py_INCREF(Py_None
); resultobj
= Py_None
;
8570 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8577 (char *) "self",(char *) "weight", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8582 if (SWIG_arg_fail(1)) SWIG_fail
;
8584 arg2
= (wxFontWeight
)(SWIG_As_int(obj1
));
8585 if (SWIG_arg_fail(2)) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 (arg1
)->SetWeight((wxFontWeight
)arg2
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 Py_INCREF(Py_None
); resultobj
= Py_None
;
8601 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8605 PyObject
* obj0
= 0 ;
8606 PyObject
* obj1
= 0 ;
8608 (char *) "self",(char *) "underlined", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8613 if (SWIG_arg_fail(1)) SWIG_fail
;
8615 arg2
= (bool)(SWIG_As_bool(obj1
));
8616 if (SWIG_arg_fail(2)) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 (arg1
)->SetUnderlined(arg2
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 Py_INCREF(Py_None
); resultobj
= Py_None
;
8632 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8636 PyObject
* obj0
= 0 ;
8637 PyObject
* obj1
= 0 ;
8639 (char *) "self",(char *) "facename", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8644 if (SWIG_arg_fail(1)) SWIG_fail
;
8646 wxString
* sptr
= wxString_in_helper(obj1
);
8647 if (sptr
== NULL
) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 (arg1
)->SetFaceName(arg2
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 Py_INCREF(Py_None
); resultobj
= Py_None
;
8665 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8672 (char *) "self",(char *) "family", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8677 if (SWIG_arg_fail(1)) SWIG_fail
;
8679 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
8680 if (SWIG_arg_fail(2)) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 (arg1
)->SetFamily((wxFontFamily
)arg2
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 Py_INCREF(Py_None
); resultobj
= Py_None
;
8696 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8699 wxFontEncoding arg2
;
8700 PyObject
* obj0
= 0 ;
8701 PyObject
* obj1
= 0 ;
8703 (char *) "self",(char *) "encoding", NULL
8706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8708 if (SWIG_arg_fail(1)) SWIG_fail
;
8710 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8711 if (SWIG_arg_fail(2)) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 Py_INCREF(Py_None
); resultobj
= Py_None
;
8727 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8730 wxString
*arg2
= 0 ;
8732 bool temp2
= false ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8736 (char *) "self",(char *) "s", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail
;
8743 arg2
= wxString_in_helper(obj1
);
8744 if (arg2
== NULL
) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8771 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8775 PyObject
* obj0
= 0 ;
8777 (char *) "self", NULL
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8782 if (SWIG_arg_fail(1)) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8803 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8809 (char *) "self", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8814 if (SWIG_arg_fail(1)) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= wxNativeFontInfo___str__(arg1
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8835 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8838 wxString
*arg2
= 0 ;
8840 bool temp2
= false ;
8841 PyObject
* obj0
= 0 ;
8842 PyObject
* obj1
= 0 ;
8844 (char *) "self",(char *) "s", NULL
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
8848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8849 if (SWIG_arg_fail(1)) SWIG_fail
;
8851 arg2
= wxString_in_helper(obj1
);
8852 if (arg2
== NULL
) SWIG_fail
;
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8879 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8883 PyObject
* obj0
= 0 ;
8885 (char *) "self", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8890 if (SWIG_arg_fail(1)) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8911 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8914 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8916 return Py_BuildValue((char *)"");
8918 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8921 wxString
*arg2
= (wxString
*) 0 ;
8922 bool temp2
= false ;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8926 (char *) "self",(char *) "facename", NULL
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8931 if (SWIG_arg_fail(1)) SWIG_fail
;
8933 arg2
= wxString_in_helper(obj1
);
8934 if (arg2
== NULL
) SWIG_fail
;
8937 if (arg1
) (arg1
)->facename
= *arg2
;
8939 Py_INCREF(Py_None
); resultobj
= Py_None
;
8954 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
;
8956 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8960 (char *) "self", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8965 if (SWIG_arg_fail(1)) SWIG_fail
;
8966 result
= (wxString
*)& ((arg1
)->facename
);
8970 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8972 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8981 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
;
8983 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8984 wxFontEncoding arg2
;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8988 (char *) "self",(char *) "encoding", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8993 if (SWIG_arg_fail(1)) SWIG_fail
;
8995 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
8996 if (SWIG_arg_fail(2)) SWIG_fail
;
8998 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
9000 Py_INCREF(Py_None
); resultobj
= Py_None
;
9007 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9010 wxFontEncoding result
;
9011 PyObject
* obj0
= 0 ;
9013 (char *) "self", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
9017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9018 if (SWIG_arg_fail(1)) SWIG_fail
;
9019 result
= (wxFontEncoding
) ((arg1
)->encoding
);
9021 resultobj
= SWIG_From_int((result
));
9028 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxNativeEncodingInfo
*result
;
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
9050 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9055 (char *) "self", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
9059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9060 if (SWIG_arg_fail(1)) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 Py_INCREF(Py_None
); resultobj
= Py_None
;
9075 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9078 wxString
*arg2
= 0 ;
9080 bool temp2
= false ;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9084 (char *) "self",(char *) "s", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
9088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9089 if (SWIG_arg_fail(1)) SWIG_fail
;
9091 arg2
= wxString_in_helper(obj1
);
9092 if (arg2
== NULL
) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9119 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9125 (char *) "self", NULL
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
9129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9130 if (SWIG_arg_fail(1)) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9151 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
9153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9154 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
9156 return Py_BuildValue((char *)"");
9158 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9160 wxFontEncoding arg1
;
9161 wxNativeEncodingInfo
*result
;
9162 PyObject
* obj0
= 0 ;
9164 (char *) "encoding", NULL
9167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
9169 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
9170 if (SWIG_arg_fail(1)) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
9186 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxNativeEncodingInfo
*arg1
= 0 ;
9190 PyObject
* obj0
= 0 ;
9192 (char *) "info", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
9197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9198 if (SWIG_arg_fail(1)) SWIG_fail
;
9200 SWIG_null_ref("wxNativeEncodingInfo");
9202 if (SWIG_arg_fail(1)) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9220 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
;
9222 wxFontMapper
*result
;
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 result
= (wxFontMapper
*)new wxFontMapper();
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
9242 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "self", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
9251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9252 if (SWIG_arg_fail(1)) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 Py_INCREF(Py_None
); resultobj
= Py_None
;
9267 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxFontMapper
*result
;
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (wxFontMapper
*)wxFontMapper::Get();
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
9289 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9292 wxFontMapper
*result
;
9293 PyObject
* obj0
= 0 ;
9295 (char *) "mapper", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
9299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9300 if (SWIG_arg_fail(1)) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
9315 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
;
9317 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9318 wxString
*arg2
= 0 ;
9319 bool arg3
= (bool) true ;
9320 wxFontEncoding result
;
9321 bool temp2
= false ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9324 PyObject
* obj2
= 0 ;
9326 (char *) "self",(char *) "charset",(char *) "interactive", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9331 if (SWIG_arg_fail(1)) SWIG_fail
;
9333 arg2
= wxString_in_helper(obj1
);
9334 if (arg2
== NULL
) SWIG_fail
;
9339 arg3
= (bool)(SWIG_As_bool(obj2
));
9340 if (SWIG_arg_fail(3)) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_From_int((result
));
9365 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
;
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9389 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9392 wxFontEncoding result
;
9393 PyObject
* obj0
= 0 ;
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
9400 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
9401 if (SWIG_arg_fail(1)) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_From_int((result
));
9417 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxFontEncoding arg1
;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "encoding", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
9428 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
9429 if (SWIG_arg_fail(1)) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9451 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxFontEncoding arg1
;
9455 PyObject
* obj0
= 0 ;
9457 (char *) "encoding", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
9462 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
9463 if (SWIG_arg_fail(1)) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9485 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxString
*arg1
= 0 ;
9488 wxFontEncoding result
;
9489 bool temp1
= false ;
9490 PyObject
* obj0
= 0 ;
9492 (char *) "name", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
9497 arg1
= wxString_in_helper(obj0
);
9498 if (arg1
== NULL
) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= SWIG_From_int((result
));
9523 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
*resultobj
;
9525 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9526 wxString
*arg2
= 0 ;
9527 bool temp2
= false ;
9528 PyObject
* obj0
= 0 ;
9529 PyObject
* obj1
= 0 ;
9531 (char *) "self",(char *) "prefix", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9536 if (SWIG_arg_fail(1)) SWIG_fail
;
9538 arg2
= wxString_in_helper(obj1
);
9539 if (arg2
== NULL
) SWIG_fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 Py_INCREF(Py_None
); resultobj
= Py_None
;
9564 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= wxFontMapper::GetDefaultConfigPath();
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9592 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9595 wxFontEncoding arg2
;
9596 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9597 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9598 bool arg4
= (bool) true ;
9600 bool temp3
= false ;
9601 PyObject
* obj0
= 0 ;
9602 PyObject
* obj1
= 0 ;
9603 PyObject
* obj2
= 0 ;
9604 PyObject
* obj3
= 0 ;
9606 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9611 if (SWIG_arg_fail(1)) SWIG_fail
;
9613 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9614 if (SWIG_arg_fail(2)) SWIG_fail
;
9618 arg3
= wxString_in_helper(obj2
);
9619 if (arg3
== NULL
) SWIG_fail
;
9625 arg4
= (bool)(SWIG_As_bool(obj3
));
9626 if (SWIG_arg_fail(4)) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9651 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
;
9653 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9654 wxFontEncoding arg2
;
9655 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9656 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9658 bool temp3
= false ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9661 PyObject
* obj2
= 0 ;
9663 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9668 if (SWIG_arg_fail(1)) SWIG_fail
;
9670 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
9671 if (SWIG_arg_fail(2)) SWIG_fail
;
9675 arg3
= wxString_in_helper(obj2
);
9676 if (arg3
== NULL
) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9704 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9707 wxWindow
*arg2
= (wxWindow
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9711 (char *) "self",(char *) "parent", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9716 if (SWIG_arg_fail(1)) SWIG_fail
;
9717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9718 if (SWIG_arg_fail(2)) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 (arg1
)->SetDialogParent(arg2
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 Py_INCREF(Py_None
); resultobj
= Py_None
;
9733 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9736 wxString
*arg2
= 0 ;
9737 bool temp2
= false ;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9741 (char *) "self",(char *) "title", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9746 if (SWIG_arg_fail(1)) SWIG_fail
;
9748 arg2
= wxString_in_helper(obj1
);
9749 if (arg2
== NULL
) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 Py_INCREF(Py_None
); resultobj
= Py_None
;
9774 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9777 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9779 return Py_BuildValue((char *)"");
9781 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9787 bool arg5
= (bool) false ;
9788 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9789 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9790 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9792 bool temp6
= false ;
9793 PyObject
* obj0
= 0 ;
9794 PyObject
* obj1
= 0 ;
9795 PyObject
* obj2
= 0 ;
9796 PyObject
* obj3
= 0 ;
9797 PyObject
* obj4
= 0 ;
9798 PyObject
* obj5
= 0 ;
9799 PyObject
* obj6
= 0 ;
9801 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9806 arg1
= (int)(SWIG_As_int(obj0
));
9807 if (SWIG_arg_fail(1)) SWIG_fail
;
9810 arg2
= (int)(SWIG_As_int(obj1
));
9811 if (SWIG_arg_fail(2)) SWIG_fail
;
9814 arg3
= (int)(SWIG_As_int(obj2
));
9815 if (SWIG_arg_fail(3)) SWIG_fail
;
9818 arg4
= (int)(SWIG_As_int(obj3
));
9819 if (SWIG_arg_fail(4)) SWIG_fail
;
9823 arg5
= (bool)(SWIG_As_bool(obj4
));
9824 if (SWIG_arg_fail(5)) SWIG_fail
;
9829 arg6
= wxString_in_helper(obj5
);
9830 if (arg6
== NULL
) SWIG_fail
;
9836 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
9837 if (SWIG_arg_fail(7)) SWIG_fail
;
9841 if (!wxPyCheckForApp()) SWIG_fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9863 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxFont
*arg1
= (wxFont
*) 0 ;
9866 PyObject
* obj0
= 0 ;
9868 (char *) "self", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",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();
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 Py_INCREF(Py_None
); resultobj
= Py_None
;
9888 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxNativeFontInfo
*arg1
= 0 ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "info", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail
;
9902 SWIG_null_ref("wxNativeFontInfo");
9904 if (SWIG_arg_fail(1)) SWIG_fail
;
9907 if (!wxPyCheckForApp()) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9921 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxString
*arg1
= 0 ;
9925 bool temp1
= false ;
9926 PyObject
* obj0
= 0 ;
9928 (char *) "info", NULL
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9933 arg1
= wxString_in_helper(obj0
);
9934 if (arg1
== NULL
) SWIG_fail
;
9938 if (!wxPyCheckForApp()) SWIG_fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9960 static PyObject
*_wrap_new_FFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9964 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9965 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9966 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9967 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9969 bool temp4
= false ;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9972 PyObject
* obj2
= 0 ;
9973 PyObject
* obj3
= 0 ;
9974 PyObject
* obj4
= 0 ;
9976 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9981 arg1
= (int)(SWIG_As_int(obj0
));
9982 if (SWIG_arg_fail(1)) SWIG_fail
;
9985 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
9986 if (SWIG_arg_fail(2)) SWIG_fail
;
9990 arg3
= (int)(SWIG_As_int(obj2
));
9991 if (SWIG_arg_fail(3)) SWIG_fail
;
9996 arg4
= wxString_in_helper(obj3
);
9997 if (arg4
== NULL
) SWIG_fail
;
10003 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
10004 if (SWIG_arg_fail(5)) SWIG_fail
;
10008 if (!wxPyCheckForApp()) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10030 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10036 bool arg5
= (bool) false ;
10037 wxString
const &arg6_defvalue
= wxEmptyString
;
10038 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10039 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10042 bool temp6
= false ;
10043 PyObject
* obj0
= 0 ;
10044 PyObject
* obj1
= 0 ;
10045 PyObject
* obj2
= 0 ;
10046 PyObject
* obj3
= 0 ;
10047 PyObject
* obj4
= 0 ;
10048 PyObject
* obj5
= 0 ;
10049 PyObject
* obj6
= 0 ;
10050 char *kwnames
[] = {
10051 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10057 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
10060 arg2
= (int)(SWIG_As_int(obj1
));
10061 if (SWIG_arg_fail(2)) SWIG_fail
;
10064 arg3
= (int)(SWIG_As_int(obj2
));
10065 if (SWIG_arg_fail(3)) SWIG_fail
;
10068 arg4
= (int)(SWIG_As_int(obj3
));
10069 if (SWIG_arg_fail(4)) SWIG_fail
;
10073 arg5
= (bool)(SWIG_As_bool(obj4
));
10074 if (SWIG_arg_fail(5)) SWIG_fail
;
10079 arg6
= wxString_in_helper(obj5
);
10080 if (arg6
== NULL
) SWIG_fail
;
10086 arg7
= (wxFontEncoding
)(SWIG_As_int(obj6
));
10087 if (SWIG_arg_fail(7)) SWIG_fail
;
10091 if (!wxPyCheckForApp()) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10113 static PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
;
10116 wxFontFamily arg2
;
10117 int arg3
= (int) wxFONTFLAG_DEFAULT
;
10118 wxString
const &arg4_defvalue
= wxEmptyString
;
10119 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10120 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10123 bool temp4
= false ;
10124 PyObject
* obj0
= 0 ;
10125 PyObject
* obj1
= 0 ;
10126 PyObject
* obj2
= 0 ;
10127 PyObject
* obj3
= 0 ;
10128 PyObject
* obj4
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10136 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
10139 arg2
= (wxFontFamily
)(SWIG_As_int(obj1
));
10140 if (SWIG_arg_fail(2)) SWIG_fail
;
10144 arg3
= (int)(SWIG_As_int(obj2
));
10145 if (SWIG_arg_fail(3)) SWIG_fail
;
10150 arg4
= wxString_in_helper(obj3
);
10151 if (arg4
== NULL
) SWIG_fail
;
10157 arg5
= (wxFontEncoding
)(SWIG_As_int(obj4
));
10158 if (SWIG_arg_fail(5)) SWIG_fail
;
10162 if (!wxPyCheckForApp()) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10184 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxFont
*arg1
= (wxFont
*) 0 ;
10188 PyObject
* obj0
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
10194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10195 if (SWIG_arg_fail(1)) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (bool)((wxFont
const *)arg1
)->Ok();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10212 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxFont
*arg1
= (wxFont
*) 0 ;
10215 wxFont
*arg2
= (wxFont
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self",(char *) "other", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
10224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10225 if (SWIG_arg_fail(1)) SWIG_fail
;
10226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10227 if (SWIG_arg_fail(2)) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10244 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxFont
*arg1
= (wxFont
*) 0 ;
10247 wxFont
*arg2
= (wxFont
*) 0 ;
10249 PyObject
* obj0
= 0 ;
10250 PyObject
* obj1
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self",(char *) "other", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
10256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail
;
10258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10259 if (SWIG_arg_fail(2)) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10276 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxFont
*arg1
= (wxFont
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
10286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10287 if (SWIG_arg_fail(1)) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= SWIG_From_int((int)(result
));
10304 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxFont
*arg1
= (wxFont
*) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
10314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10315 if (SWIG_arg_fail(1)) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= ((wxFont
const *)arg1
)->GetPixelSize();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10324 wxSize
* resultptr
;
10325 resultptr
= new wxSize((wxSize
&)(result
));
10326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10334 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxFont
*arg1
= (wxFont
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
10344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10345 if (SWIG_arg_fail(1)) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10362 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxFont
*arg1
= (wxFont
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self", NULL
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
10372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10373 if (SWIG_arg_fail(1)) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (int)((wxFont
const *)arg1
)->GetFamily();
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= SWIG_From_int((int)(result
));
10390 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxFont
*arg1
= (wxFont
*) 0 ;
10394 PyObject
* obj0
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (int)((wxFont
const *)arg1
)->GetStyle();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_From_int((int)(result
));
10418 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxFont
*arg1
= (wxFont
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
10428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10429 if (SWIG_arg_fail(1)) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (int)((wxFont
const *)arg1
)->GetWeight();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_From_int((int)(result
));
10446 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxFont
*arg1
= (wxFont
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
10456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10457 if (SWIG_arg_fail(1)) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10474 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxFont
*arg1
= (wxFont
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
10484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10485 if (SWIG_arg_fail(1)) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= ((wxFont
const *)arg1
)->GetFaceName();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10506 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxFont
*arg1
= (wxFont
*) 0 ;
10509 wxFontEncoding result
;
10510 PyObject
* obj0
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
10516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10517 if (SWIG_arg_fail(1)) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= SWIG_From_int((result
));
10532 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxFont
*arg1
= (wxFont
*) 0 ;
10535 wxNativeFontInfo
*result
;
10536 PyObject
* obj0
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
10542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10543 if (SWIG_arg_fail(1)) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
10558 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxFont
*arg1
= (wxFont
*) 0 ;
10562 PyObject
* obj0
= 0 ;
10563 char *kwnames
[] = {
10564 (char *) "self", NULL
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
10568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10569 if (SWIG_arg_fail(1)) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10586 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
;
10588 wxFont
*arg1
= (wxFont
*) 0 ;
10590 PyObject
* obj0
= 0 ;
10591 char *kwnames
[] = {
10592 (char *) "self", NULL
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
10596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10597 if (SWIG_arg_fail(1)) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10618 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxFont
*arg1
= (wxFont
*) 0 ;
10622 PyObject
* obj0
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
10628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10629 if (SWIG_arg_fail(1)) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10650 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxFont
*arg1
= (wxFont
*) 0 ;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self",(char *) "pointSize", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10662 if (SWIG_arg_fail(1)) SWIG_fail
;
10664 arg2
= (int)(SWIG_As_int(obj1
));
10665 if (SWIG_arg_fail(2)) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 (arg1
)->SetPointSize(arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 Py_INCREF(Py_None
); resultobj
= Py_None
;
10681 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxFont
*arg1
= (wxFont
*) 0 ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "pixelSize", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail
;
10697 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 Py_INCREF(Py_None
); resultobj
= Py_None
;
10713 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxFont
*arg1
= (wxFont
*) 0 ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self",(char *) "family", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10725 if (SWIG_arg_fail(1)) SWIG_fail
;
10727 arg2
= (int)(SWIG_As_int(obj1
));
10728 if (SWIG_arg_fail(2)) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 (arg1
)->SetFamily(arg2
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 Py_INCREF(Py_None
); resultobj
= Py_None
;
10744 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxFont
*arg1
= (wxFont
*) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self",(char *) "style", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10756 if (SWIG_arg_fail(1)) SWIG_fail
;
10758 arg2
= (int)(SWIG_As_int(obj1
));
10759 if (SWIG_arg_fail(2)) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 (arg1
)->SetStyle(arg2
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 Py_INCREF(Py_None
); resultobj
= Py_None
;
10775 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxFont
*arg1
= (wxFont
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self",(char *) "weight", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10787 if (SWIG_arg_fail(1)) SWIG_fail
;
10789 arg2
= (int)(SWIG_As_int(obj1
));
10790 if (SWIG_arg_fail(2)) SWIG_fail
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 (arg1
)->SetWeight(arg2
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10799 Py_INCREF(Py_None
); resultobj
= Py_None
;
10806 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxFont
*arg1
= (wxFont
*) 0 ;
10809 wxString
*arg2
= 0 ;
10810 bool temp2
= false ;
10811 PyObject
* obj0
= 0 ;
10812 PyObject
* obj1
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "faceName", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10819 if (SWIG_arg_fail(1)) SWIG_fail
;
10821 arg2
= wxString_in_helper(obj1
);
10822 if (arg2
== NULL
) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 Py_INCREF(Py_None
); resultobj
= Py_None
;
10847 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxFont
*arg1
= (wxFont
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self",(char *) "underlined", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail
;
10861 arg2
= (bool)(SWIG_As_bool(obj1
));
10862 if (SWIG_arg_fail(2)) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->SetUnderlined(arg2
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 Py_INCREF(Py_None
); resultobj
= Py_None
;
10878 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxFont
*arg1
= (wxFont
*) 0 ;
10881 wxFontEncoding arg2
;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self",(char *) "encoding", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10890 if (SWIG_arg_fail(1)) SWIG_fail
;
10892 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
10893 if (SWIG_arg_fail(2)) SWIG_fail
;
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 Py_INCREF(Py_None
); resultobj
= Py_None
;
10909 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
;
10911 wxFont
*arg1
= (wxFont
*) 0 ;
10912 wxNativeFontInfo
*arg2
= 0 ;
10913 PyObject
* obj0
= 0 ;
10914 PyObject
* obj1
= 0 ;
10915 char *kwnames
[] = {
10916 (char *) "self",(char *) "info", NULL
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10921 if (SWIG_arg_fail(1)) SWIG_fail
;
10923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10924 if (SWIG_arg_fail(2)) SWIG_fail
;
10925 if (arg2
== NULL
) {
10926 SWIG_null_ref("wxNativeFontInfo");
10928 if (SWIG_arg_fail(2)) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 Py_INCREF(Py_None
); resultobj
= Py_None
;
10944 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxFont
*arg1
= (wxFont
*) 0 ;
10947 wxString
*arg2
= 0 ;
10948 bool temp2
= false ;
10949 PyObject
* obj0
= 0 ;
10950 PyObject
* obj1
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self",(char *) "info", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10957 if (SWIG_arg_fail(1)) SWIG_fail
;
10959 arg2
= wxString_in_helper(obj1
);
10960 if (arg2
== NULL
) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 Py_INCREF(Py_None
); resultobj
= Py_None
;
10985 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxFont
*arg1
= (wxFont
*) 0 ;
10988 wxString
*arg2
= 0 ;
10989 bool temp2
= false ;
10990 PyObject
* obj0
= 0 ;
10991 PyObject
* obj1
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self",(char *) "info", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10998 if (SWIG_arg_fail(1)) SWIG_fail
;
11000 arg2
= wxString_in_helper(obj1
);
11001 if (arg2
== NULL
) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 Py_INCREF(Py_None
); resultobj
= Py_None
;
11026 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
;
11028 wxFont
*arg1
= (wxFont
*) 0 ;
11030 PyObject
* obj0
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
11036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11037 if (SWIG_arg_fail(1)) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= ((wxFont
const *)arg1
)->GetFamilyString();
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11058 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxFont
*arg1
= (wxFont
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
11068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11069 if (SWIG_arg_fail(1)) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= ((wxFont
const *)arg1
)->GetStyleString();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11090 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxFont
*arg1
= (wxFont
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
11100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11101 if (SWIG_arg_fail(1)) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 result
= ((wxFont
const *)arg1
)->GetWeightString();
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11122 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
*resultobj
;
11124 wxFont
*arg1
= (wxFont
*) 0 ;
11125 bool arg2
= (bool) true ;
11126 PyObject
* obj0
= 0 ;
11127 PyObject
* obj1
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self",(char *) "no", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
11133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11134 if (SWIG_arg_fail(1)) SWIG_fail
;
11137 arg2
= (bool)(SWIG_As_bool(obj1
));
11138 if (SWIG_arg_fail(2)) SWIG_fail
;
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 (arg1
)->SetNoAntiAliasing(arg2
);
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11148 Py_INCREF(Py_None
); resultobj
= Py_None
;
11155 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
;
11157 wxFont
*arg1
= (wxFont
*) 0 ;
11159 PyObject
* obj0
= 0 ;
11160 char *kwnames
[] = {
11161 (char *) "self", NULL
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
11165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11166 if (SWIG_arg_fail(1)) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11183 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxFontEncoding result
;
11186 char *kwnames
[] = {
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
11192 if (!wxPyCheckForApp()) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= SWIG_From_int((result
));
11206 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxFontEncoding arg1
;
11209 PyObject
* obj0
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "encoding", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
11216 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
11217 if (SWIG_arg_fail(1)) SWIG_fail
;
11220 if (!wxPyCheckForApp()) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 Py_INCREF(Py_None
); resultobj
= Py_None
;
11234 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
11236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11237 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
11239 return Py_BuildValue((char *)"");
11241 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxPyFontEnumerator
*result
;
11244 char *kwnames
[] = {
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
11250 if (!wxPyCheckForApp()) SWIG_fail
;
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
11264 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11265 PyObject
*resultobj
;
11266 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11267 PyObject
* obj0
= 0 ;
11268 char *kwnames
[] = {
11269 (char *) "self", NULL
11272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
11273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11274 if (SWIG_arg_fail(1)) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 Py_INCREF(Py_None
); resultobj
= Py_None
;
11289 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11292 PyObject
*arg2
= (PyObject
*) 0 ;
11293 PyObject
*arg3
= (PyObject
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 PyObject
* obj2
= 0 ;
11298 PyObject
* obj3
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11305 if (SWIG_arg_fail(1)) SWIG_fail
;
11309 arg4
= (bool)(SWIG_As_bool(obj3
));
11310 if (SWIG_arg_fail(4)) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 Py_INCREF(Py_None
); resultobj
= Py_None
;
11326 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11329 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
11330 bool arg3
= (bool) false ;
11332 PyObject
* obj0
= 0 ;
11333 PyObject
* obj1
= 0 ;
11334 PyObject
* obj2
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11341 if (SWIG_arg_fail(1)) SWIG_fail
;
11344 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
11345 if (SWIG_arg_fail(2)) SWIG_fail
;
11350 arg3
= (bool)(SWIG_As_bool(obj2
));
11351 if (SWIG_arg_fail(3)) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11370 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11373 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11374 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11376 bool temp2
= false ;
11377 PyObject
* obj0
= 0 ;
11378 PyObject
* obj1
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self",(char *) "facename", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
11384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11385 if (SWIG_arg_fail(1)) SWIG_fail
;
11388 arg2
= wxString_in_helper(obj1
);
11389 if (arg2
== NULL
) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11417 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
11427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= result
;
11443 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
11453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11454 if (SWIG_arg_fail(1)) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= result
;
11469 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
11471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11472 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
11474 return Py_BuildValue((char *)"");
11476 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11477 PyObject
*resultobj
;
11478 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 char *kwnames
[] = {
11483 (char *) "self",(char *) "Language", NULL
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11488 if (SWIG_arg_fail(1)) SWIG_fail
;
11490 arg2
= (int)(SWIG_As_int(obj1
));
11491 if (SWIG_arg_fail(2)) SWIG_fail
;
11493 if (arg1
) (arg1
)->Language
= arg2
;
11495 Py_INCREF(Py_None
); resultobj
= Py_None
;
11502 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
11512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11513 if (SWIG_arg_fail(1)) SWIG_fail
;
11514 result
= (int) ((arg1
)->Language
);
11517 resultobj
= SWIG_From_int((int)(result
));
11525 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11528 wxString
*arg2
= (wxString
*) 0 ;
11529 bool temp2
= false ;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self",(char *) "CanonicalName", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11538 if (SWIG_arg_fail(1)) SWIG_fail
;
11540 arg2
= wxString_in_helper(obj1
);
11541 if (arg2
== NULL
) SWIG_fail
;
11544 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
11546 Py_INCREF(Py_None
); resultobj
= Py_None
;
11561 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11565 PyObject
* obj0
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
11571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11572 if (SWIG_arg_fail(1)) SWIG_fail
;
11573 result
= (wxString
*)& ((arg1
)->CanonicalName
);
11577 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11579 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11588 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11591 wxString
*arg2
= (wxString
*) 0 ;
11592 bool temp2
= false ;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 char *kwnames
[] = {
11596 (char *) "self",(char *) "Description", NULL
11599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11601 if (SWIG_arg_fail(1)) SWIG_fail
;
11603 arg2
= wxString_in_helper(obj1
);
11604 if (arg2
== NULL
) SWIG_fail
;
11607 if (arg1
) (arg1
)->Description
= *arg2
;
11609 Py_INCREF(Py_None
); resultobj
= Py_None
;
11624 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
;
11626 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11628 PyObject
* obj0
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "self", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
11634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11635 if (SWIG_arg_fail(1)) SWIG_fail
;
11636 result
= (wxString
*)& ((arg1
)->Description
);
11640 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11642 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11651 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
11653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11654 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
11656 return Py_BuildValue((char *)"");
11658 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
*resultobj
;
11660 int arg1
= (int) -1 ;
11661 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11663 PyObject
* obj0
= 0 ;
11664 PyObject
* obj1
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "language",(char *) "flags", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
11672 arg1
= (int)(SWIG_As_int(obj0
));
11673 if (SWIG_arg_fail(1)) SWIG_fail
;
11678 arg2
= (int)(SWIG_As_int(obj1
));
11679 if (SWIG_arg_fail(2)) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11696 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
;
11698 wxLocale
*arg1
= (wxLocale
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "self", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11706 if (SWIG_arg_fail(1)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 Py_INCREF(Py_None
); resultobj
= Py_None
;
11721 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxLocale
*arg1
= (wxLocale
*) 0 ;
11724 wxString
*arg2
= 0 ;
11725 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11726 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11727 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11728 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11729 bool arg5
= (bool) true ;
11730 bool arg6
= (bool) false ;
11732 bool temp2
= false ;
11733 bool temp3
= false ;
11734 bool temp4
= false ;
11735 PyObject
* obj0
= 0 ;
11736 PyObject
* obj1
= 0 ;
11737 PyObject
* obj2
= 0 ;
11738 PyObject
* obj3
= 0 ;
11739 PyObject
* obj4
= 0 ;
11740 PyObject
* obj5
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11747 if (SWIG_arg_fail(1)) SWIG_fail
;
11749 arg2
= wxString_in_helper(obj1
);
11750 if (arg2
== NULL
) SWIG_fail
;
11755 arg3
= wxString_in_helper(obj2
);
11756 if (arg3
== NULL
) SWIG_fail
;
11762 arg4
= wxString_in_helper(obj3
);
11763 if (arg4
== NULL
) SWIG_fail
;
11769 arg5
= (bool)(SWIG_As_bool(obj4
));
11770 if (SWIG_arg_fail(5)) SWIG_fail
;
11775 arg6
= (bool)(SWIG_As_bool(obj5
));
11776 if (SWIG_arg_fail(6)) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11819 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxLocale
*arg1
= (wxLocale
*) 0 ;
11822 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11823 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11825 PyObject
* obj0
= 0 ;
11826 PyObject
* obj1
= 0 ;
11827 PyObject
* obj2
= 0 ;
11828 char *kwnames
[] = {
11829 (char *) "self",(char *) "language",(char *) "flags", NULL
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11834 if (SWIG_arg_fail(1)) SWIG_fail
;
11837 arg2
= (int)(SWIG_As_int(obj1
));
11838 if (SWIG_arg_fail(2)) SWIG_fail
;
11843 arg3
= (int)(SWIG_As_int(obj2
));
11844 if (SWIG_arg_fail(3)) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11863 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11866 char *kwnames
[] = {
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (int)wxLocale::GetSystemLanguage();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= SWIG_From_int((int)(result
));
11887 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxFontEncoding result
;
11890 char *kwnames
[] = {
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= SWIG_From_int((result
));
11909 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11912 char *kwnames
[] = {
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= wxLocale::GetSystemEncodingName();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11937 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxLocale
*arg1
= (wxLocale
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
11947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11965 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxLocale
*arg1
= (wxLocale
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
11975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= ((wxLocale
const *)arg1
)->GetLocale();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11997 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxLocale
*arg1
= (wxLocale
*) 0 ;
12001 PyObject
* obj0
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
12007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12008 if (SWIG_arg_fail(1)) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_From_int((int)(result
));
12025 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxLocale
*arg1
= (wxLocale
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
12035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= ((wxLocale
const *)arg1
)->GetSysName();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12057 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxLocale
*arg1
= (wxLocale
*) 0 ;
12061 PyObject
* obj0
= 0 ;
12062 char *kwnames
[] = {
12063 (char *) "self", NULL
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
12067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12068 if (SWIG_arg_fail(1)) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12089 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
;
12091 wxString
*arg1
= 0 ;
12092 bool temp1
= false ;
12093 PyObject
* obj0
= 0 ;
12094 char *kwnames
[] = {
12095 (char *) "prefix", NULL
12098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
12100 arg1
= wxString_in_helper(obj0
);
12101 if (arg1
== NULL
) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 Py_INCREF(Py_None
); resultobj
= Py_None
;
12126 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxLocale
*arg1
= (wxLocale
*) 0 ;
12129 wxString
*arg2
= 0 ;
12131 bool temp2
= false ;
12132 PyObject
* obj0
= 0 ;
12133 PyObject
* obj1
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self",(char *) "szDomain", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
12139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12140 if (SWIG_arg_fail(1)) SWIG_fail
;
12142 arg2
= wxString_in_helper(obj1
);
12143 if (arg2
== NULL
) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12170 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxLocale
*arg1
= (wxLocale
*) 0 ;
12173 wxString
*arg2
= 0 ;
12175 bool temp2
= false ;
12176 PyObject
* obj0
= 0 ;
12177 PyObject
* obj1
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self",(char *) "szDomain", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
12183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12184 if (SWIG_arg_fail(1)) SWIG_fail
;
12186 arg2
= wxString_in_helper(obj1
);
12187 if (arg2
== NULL
) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12214 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12217 wxLanguageInfo
*result
;
12218 PyObject
* obj0
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "lang", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
12225 arg1
= (int)(SWIG_As_int(obj0
));
12226 if (SWIG_arg_fail(1)) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
12242 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12246 PyObject
* obj0
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "lang", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
12253 arg1
= (int)(SWIG_As_int(obj0
));
12254 if (SWIG_arg_fail(1)) SWIG_fail
;
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= wxLocale::GetLanguageName(arg1
);
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12276 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxString
*arg1
= 0 ;
12279 wxLanguageInfo
*result
;
12280 bool temp1
= false ;
12281 PyObject
* obj0
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "locale", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
12288 arg1
= wxString_in_helper(obj0
);
12289 if (arg1
== NULL
) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
12314 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxLanguageInfo
*arg1
= 0 ;
12317 PyObject
* obj0
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "info", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
12324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
12325 if (SWIG_arg_fail(1)) SWIG_fail
;
12326 if (arg1
== NULL
) {
12327 SWIG_null_ref("wxLanguageInfo");
12329 if (SWIG_arg_fail(1)) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxLocale
*arg1
= (wxLocale
*) 0 ;
12348 wxString
*arg2
= 0 ;
12349 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12350 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12352 bool temp2
= false ;
12353 bool temp3
= false ;
12354 PyObject
* obj0
= 0 ;
12355 PyObject
* obj1
= 0 ;
12356 PyObject
* obj2
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail
;
12365 arg2
= wxString_in_helper(obj1
);
12366 if (arg2
== NULL
) SWIG_fail
;
12371 arg3
= wxString_in_helper(obj2
);
12372 if (arg3
== NULL
) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12412 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
;
12414 wxLocale
*arg1
= (wxLocale
*) 0 ;
12416 PyObject
* obj0
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
12422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12423 if (SWIG_arg_fail(1)) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
12428 result
= (wxString
*) &_result_ref
;
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12438 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12447 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
12449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12450 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
12452 return Py_BuildValue((char *)"");
12454 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12457 char *kwnames
[] = {
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (wxLocale
*)wxGetLocale();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
12476 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
12477 PyObject
*resultobj
;
12478 wxString
*arg1
= 0 ;
12480 bool temp1
= false ;
12481 PyObject
* obj0
= 0 ;
12483 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
12485 arg1
= wxString_in_helper(obj0
);
12486 if (arg1
== NULL
) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= wxGetTranslation((wxString
const &)*arg1
);
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12517 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
12518 PyObject
*resultobj
;
12519 wxString
*arg1
= 0 ;
12520 wxString
*arg2
= 0 ;
12523 bool temp1
= false ;
12524 bool temp2
= false ;
12525 PyObject
* obj0
= 0 ;
12526 PyObject
* obj1
= 0 ;
12527 PyObject
* obj2
= 0 ;
12529 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
12531 arg1
= wxString_in_helper(obj0
);
12532 if (arg1
== NULL
) SWIG_fail
;
12536 arg2
= wxString_in_helper(obj1
);
12537 if (arg2
== NULL
) SWIG_fail
;
12541 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12542 if (SWIG_arg_fail(3)) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12580 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
12585 argc
= PyObject_Length(args
);
12586 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
12587 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12592 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12595 return _wrap_GetTranslation__SWIG_0(self
,args
);
12601 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12605 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
12608 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
12610 return _wrap_GetTranslation__SWIG_1(self
,args
);
12616 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
12621 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxEncodingConverter
*result
;
12624 char *kwnames
[] = {
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (wxEncodingConverter
*)new wxEncodingConverter();
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
12643 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
;
12645 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
12652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 Py_INCREF(Py_None
); resultobj
= Py_None
;
12668 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12671 wxFontEncoding arg2
;
12672 wxFontEncoding arg3
;
12673 int arg4
= (int) wxCONVERT_STRICT
;
12675 PyObject
* obj0
= 0 ;
12676 PyObject
* obj1
= 0 ;
12677 PyObject
* obj2
= 0 ;
12678 PyObject
* obj3
= 0 ;
12679 char *kwnames
[] = {
12680 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12685 if (SWIG_arg_fail(1)) SWIG_fail
;
12687 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12688 if (SWIG_arg_fail(2)) SWIG_fail
;
12691 arg3
= (wxFontEncoding
)(SWIG_As_int(obj2
));
12692 if (SWIG_arg_fail(3)) SWIG_fail
;
12696 arg4
= (int)(SWIG_As_int(obj3
));
12697 if (SWIG_arg_fail(4)) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12716 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12719 wxString
*arg2
= 0 ;
12721 bool temp2
= false ;
12722 PyObject
* obj0
= 0 ;
12723 PyObject
* obj1
= 0 ;
12724 char *kwnames
[] = {
12725 (char *) "self",(char *) "input", NULL
12728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12730 if (SWIG_arg_fail(1)) SWIG_fail
;
12732 arg2
= wxString_in_helper(obj1
);
12733 if (arg2
== NULL
) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12764 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxFontEncoding arg1
;
12767 int arg2
= (int) wxPLATFORM_CURRENT
;
12768 wxFontEncodingArray result
;
12769 PyObject
* obj0
= 0 ;
12770 PyObject
* obj1
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "enc",(char *) "platform", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12777 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12778 if (SWIG_arg_fail(1)) SWIG_fail
;
12782 arg2
= (int)(SWIG_As_int(obj1
));
12783 if (SWIG_arg_fail(2)) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= PyList_New(0);
12795 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12796 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12797 PyList_Append(resultobj
, number
);
12807 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxFontEncoding arg1
;
12810 wxFontEncodingArray result
;
12811 PyObject
* obj0
= 0 ;
12812 char *kwnames
[] = {
12813 (char *) "enc", NULL
12816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12818 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12819 if (SWIG_arg_fail(1)) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12829 resultobj
= PyList_New(0);
12830 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12831 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12832 PyList_Append(resultobj
, number
);
12842 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxFontEncoding arg1
;
12845 wxFontEncoding arg2
;
12847 PyObject
* obj0
= 0 ;
12848 PyObject
* obj1
= 0 ;
12849 char *kwnames
[] = {
12850 (char *) "encIn",(char *) "encOut", NULL
12853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12855 arg1
= (wxFontEncoding
)(SWIG_As_int(obj0
));
12856 if (SWIG_arg_fail(1)) SWIG_fail
;
12859 arg2
= (wxFontEncoding
)(SWIG_As_int(obj1
));
12860 if (SWIG_arg_fail(2)) SWIG_fail
;
12863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
12866 wxPyEndAllowThreads(__tstate
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12878 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12881 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12883 return Py_BuildValue((char *)"");
12885 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxDC
*arg1
= (wxDC
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
12894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12895 if (SWIG_arg_fail(1)) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 Py_INCREF(Py_None
); resultobj
= Py_None
;
12910 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxDC
*arg1
= (wxDC
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12920 if (SWIG_arg_fail(1)) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 (arg1
)->BeginDrawing();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 Py_INCREF(Py_None
); resultobj
= Py_None
;
12935 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxDC
*arg1
= (wxDC
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12945 if (SWIG_arg_fail(1)) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 (arg1
)->EndDrawing();
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 Py_INCREF(Py_None
); resultobj
= Py_None
;
12960 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxDC
*arg1
= (wxDC
*) 0 ;
12965 wxColour
*arg4
= 0 ;
12966 int arg5
= (int) wxFLOOD_SURFACE
;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 PyObject
* obj2
= 0 ;
12972 PyObject
* obj3
= 0 ;
12973 PyObject
* obj4
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12980 if (SWIG_arg_fail(1)) SWIG_fail
;
12982 arg2
= (int)(SWIG_As_int(obj1
));
12983 if (SWIG_arg_fail(2)) SWIG_fail
;
12986 arg3
= (int)(SWIG_As_int(obj2
));
12987 if (SWIG_arg_fail(3)) SWIG_fail
;
12991 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12995 arg5
= (int)(SWIG_As_int(obj4
));
12996 if (SWIG_arg_fail(5)) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13015 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxDC
*arg1
= (wxDC
*) 0 ;
13018 wxPoint
*arg2
= 0 ;
13019 wxColour
*arg3
= 0 ;
13020 int arg4
= (int) wxFLOOD_SURFACE
;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 PyObject
* obj2
= 0 ;
13027 PyObject
* obj3
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail
;
13037 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13041 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13045 arg4
= (int)(SWIG_As_int(obj3
));
13046 if (SWIG_arg_fail(4)) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13065 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
;
13067 wxDC
*arg1
= (wxDC
*) 0 ;
13071 PyObject
* obj0
= 0 ;
13072 PyObject
* obj1
= 0 ;
13073 PyObject
* obj2
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self",(char *) "x",(char *) "y", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13080 if (SWIG_arg_fail(1)) SWIG_fail
;
13082 arg2
= (int)(SWIG_As_int(obj1
));
13083 if (SWIG_arg_fail(2)) SWIG_fail
;
13086 arg3
= (int)(SWIG_As_int(obj2
));
13087 if (SWIG_arg_fail(3)) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 wxColour
* resultptr
;
13098 resultptr
= new wxColour((wxColour
&)(result
));
13099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13107 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxDC
*arg1
= (wxDC
*) 0 ;
13110 wxPoint
*arg2
= 0 ;
13113 PyObject
* obj0
= 0 ;
13114 PyObject
* obj1
= 0 ;
13115 char *kwnames
[] = {
13116 (char *) "self",(char *) "pt", NULL
13119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13121 if (SWIG_arg_fail(1)) SWIG_fail
;
13124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13134 wxColour
* resultptr
;
13135 resultptr
= new wxColour((wxColour
&)(result
));
13136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13144 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxDC
*arg1
= (wxDC
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 PyObject
* obj2
= 0 ;
13154 PyObject
* obj3
= 0 ;
13155 PyObject
* obj4
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13162 if (SWIG_arg_fail(1)) SWIG_fail
;
13164 arg2
= (int)(SWIG_As_int(obj1
));
13165 if (SWIG_arg_fail(2)) SWIG_fail
;
13168 arg3
= (int)(SWIG_As_int(obj2
));
13169 if (SWIG_arg_fail(3)) SWIG_fail
;
13172 arg4
= (int)(SWIG_As_int(obj3
));
13173 if (SWIG_arg_fail(4)) SWIG_fail
;
13176 arg5
= (int)(SWIG_As_int(obj4
));
13177 if (SWIG_arg_fail(5)) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 Py_INCREF(Py_None
); resultobj
= Py_None
;
13193 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxDC
*arg1
= (wxDC
*) 0 ;
13196 wxPoint
*arg2
= 0 ;
13197 wxPoint
*arg3
= 0 ;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 PyObject
* obj2
= 0 ;
13203 char *kwnames
[] = {
13204 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
13207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13209 if (SWIG_arg_fail(1)) SWIG_fail
;
13212 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13216 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 Py_INCREF(Py_None
); resultobj
= Py_None
;
13232 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxDC
*arg1
= (wxDC
*) 0 ;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 PyObject
* obj2
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self",(char *) "x",(char *) "y", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13246 if (SWIG_arg_fail(1)) SWIG_fail
;
13248 arg2
= (int)(SWIG_As_int(obj1
));
13249 if (SWIG_arg_fail(2)) SWIG_fail
;
13252 arg3
= (int)(SWIG_As_int(obj2
));
13253 if (SWIG_arg_fail(3)) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 (arg1
)->CrossHair(arg2
,arg3
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 Py_INCREF(Py_None
); resultobj
= Py_None
;
13269 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxDC
*arg1
= (wxDC
*) 0 ;
13272 wxPoint
*arg2
= 0 ;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "pt", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13282 if (SWIG_arg_fail(1)) SWIG_fail
;
13285 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 Py_INCREF(Py_None
); resultobj
= Py_None
;
13301 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxDC
*arg1
= (wxDC
*) 0 ;
13310 PyObject
* obj0
= 0 ;
13311 PyObject
* obj1
= 0 ;
13312 PyObject
* obj2
= 0 ;
13313 PyObject
* obj3
= 0 ;
13314 PyObject
* obj4
= 0 ;
13315 PyObject
* obj5
= 0 ;
13316 PyObject
* obj6
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail
;
13325 arg2
= (int)(SWIG_As_int(obj1
));
13326 if (SWIG_arg_fail(2)) SWIG_fail
;
13329 arg3
= (int)(SWIG_As_int(obj2
));
13330 if (SWIG_arg_fail(3)) SWIG_fail
;
13333 arg4
= (int)(SWIG_As_int(obj3
));
13334 if (SWIG_arg_fail(4)) SWIG_fail
;
13337 arg5
= (int)(SWIG_As_int(obj4
));
13338 if (SWIG_arg_fail(5)) SWIG_fail
;
13341 arg6
= (int)(SWIG_As_int(obj5
));
13342 if (SWIG_arg_fail(6)) SWIG_fail
;
13345 arg7
= (int)(SWIG_As_int(obj6
));
13346 if (SWIG_arg_fail(7)) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 Py_INCREF(Py_None
); resultobj
= Py_None
;
13362 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxDC
*arg1
= (wxDC
*) 0 ;
13365 wxPoint
*arg2
= 0 ;
13366 wxPoint
*arg3
= 0 ;
13367 wxPoint
*arg4
= 0 ;
13371 PyObject
* obj0
= 0 ;
13372 PyObject
* obj1
= 0 ;
13373 PyObject
* obj2
= 0 ;
13374 PyObject
* obj3
= 0 ;
13375 char *kwnames
[] = {
13376 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
13379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13381 if (SWIG_arg_fail(1)) SWIG_fail
;
13384 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13388 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13392 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 Py_INCREF(Py_None
); resultobj
= Py_None
;
13408 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxDC
*arg1
= (wxDC
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 PyObject
* obj1
= 0 ;
13417 PyObject
* obj2
= 0 ;
13418 PyObject
* obj3
= 0 ;
13419 PyObject
* obj4
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13426 if (SWIG_arg_fail(1)) SWIG_fail
;
13428 arg2
= (int)(SWIG_As_int(obj1
));
13429 if (SWIG_arg_fail(2)) SWIG_fail
;
13432 arg3
= (int)(SWIG_As_int(obj2
));
13433 if (SWIG_arg_fail(3)) SWIG_fail
;
13436 arg4
= (int)(SWIG_As_int(obj3
));
13437 if (SWIG_arg_fail(4)) SWIG_fail
;
13440 arg5
= (int)(SWIG_As_int(obj4
));
13441 if (SWIG_arg_fail(5)) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 Py_INCREF(Py_None
); resultobj
= Py_None
;
13457 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
;
13459 wxDC
*arg1
= (wxDC
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 PyObject
* obj1
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self",(char *) "rect", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13470 if (SWIG_arg_fail(1)) SWIG_fail
;
13473 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 Py_INCREF(Py_None
); resultobj
= Py_None
;
13489 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxDC
*arg1
= (wxDC
*) 0 ;
13498 PyObject
* obj0
= 0 ;
13499 PyObject
* obj1
= 0 ;
13500 PyObject
* obj2
= 0 ;
13501 PyObject
* obj3
= 0 ;
13502 PyObject
* obj4
= 0 ;
13503 PyObject
* obj5
= 0 ;
13504 PyObject
* obj6
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13511 if (SWIG_arg_fail(1)) SWIG_fail
;
13513 arg2
= (int)(SWIG_As_int(obj1
));
13514 if (SWIG_arg_fail(2)) SWIG_fail
;
13517 arg3
= (int)(SWIG_As_int(obj2
));
13518 if (SWIG_arg_fail(3)) SWIG_fail
;
13521 arg4
= (int)(SWIG_As_int(obj3
));
13522 if (SWIG_arg_fail(4)) SWIG_fail
;
13525 arg5
= (int)(SWIG_As_int(obj4
));
13526 if (SWIG_arg_fail(5)) SWIG_fail
;
13529 arg6
= (double)(SWIG_As_double(obj5
));
13530 if (SWIG_arg_fail(6)) SWIG_fail
;
13533 arg7
= (double)(SWIG_As_double(obj6
));
13534 if (SWIG_arg_fail(7)) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 Py_INCREF(Py_None
); resultobj
= Py_None
;
13550 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxDC
*arg1
= (wxDC
*) 0 ;
13553 wxPoint
*arg2
= 0 ;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 PyObject
* obj2
= 0 ;
13562 PyObject
* obj3
= 0 ;
13563 PyObject
* obj4
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13570 if (SWIG_arg_fail(1)) SWIG_fail
;
13573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13577 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13580 arg4
= (double)(SWIG_As_double(obj3
));
13581 if (SWIG_arg_fail(4)) SWIG_fail
;
13584 arg5
= (double)(SWIG_As_double(obj4
));
13585 if (SWIG_arg_fail(5)) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 Py_INCREF(Py_None
); resultobj
= Py_None
;
13601 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxDC
*arg1
= (wxDC
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 PyObject
* obj2
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "self",(char *) "x",(char *) "y", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13615 if (SWIG_arg_fail(1)) SWIG_fail
;
13617 arg2
= (int)(SWIG_As_int(obj1
));
13618 if (SWIG_arg_fail(2)) SWIG_fail
;
13621 arg3
= (int)(SWIG_As_int(obj2
));
13622 if (SWIG_arg_fail(3)) SWIG_fail
;
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 (arg1
)->DrawPoint(arg2
,arg3
);
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 Py_INCREF(Py_None
); resultobj
= Py_None
;
13638 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13639 PyObject
*resultobj
;
13640 wxDC
*arg1
= (wxDC
*) 0 ;
13641 wxPoint
*arg2
= 0 ;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "pt", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13651 if (SWIG_arg_fail(1)) SWIG_fail
;
13654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 Py_INCREF(Py_None
); resultobj
= Py_None
;
13670 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxDC
*arg1
= (wxDC
*) 0 ;
13677 PyObject
* obj0
= 0 ;
13678 PyObject
* obj1
= 0 ;
13679 PyObject
* obj2
= 0 ;
13680 PyObject
* obj3
= 0 ;
13681 PyObject
* obj4
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13688 if (SWIG_arg_fail(1)) SWIG_fail
;
13690 arg2
= (int)(SWIG_As_int(obj1
));
13691 if (SWIG_arg_fail(2)) SWIG_fail
;
13694 arg3
= (int)(SWIG_As_int(obj2
));
13695 if (SWIG_arg_fail(3)) SWIG_fail
;
13698 arg4
= (int)(SWIG_As_int(obj3
));
13699 if (SWIG_arg_fail(4)) SWIG_fail
;
13702 arg5
= (int)(SWIG_As_int(obj4
));
13703 if (SWIG_arg_fail(5)) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 Py_INCREF(Py_None
); resultobj
= Py_None
;
13719 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
;
13721 wxDC
*arg1
= (wxDC
*) 0 ;
13724 PyObject
* obj0
= 0 ;
13725 PyObject
* obj1
= 0 ;
13726 char *kwnames
[] = {
13727 (char *) "self",(char *) "rect", NULL
13730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13732 if (SWIG_arg_fail(1)) SWIG_fail
;
13735 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 Py_INCREF(Py_None
); resultobj
= Py_None
;
13751 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
;
13753 wxDC
*arg1
= (wxDC
*) 0 ;
13754 wxPoint
*arg2
= 0 ;
13758 PyObject
* obj0
= 0 ;
13759 PyObject
* obj1
= 0 ;
13760 PyObject
* obj2
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "self",(char *) "pt",(char *) "sz", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13767 if (SWIG_arg_fail(1)) SWIG_fail
;
13770 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13774 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13783 Py_INCREF(Py_None
); resultobj
= Py_None
;
13790 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxDC
*arg1
= (wxDC
*) 0 ;
13798 PyObject
* obj0
= 0 ;
13799 PyObject
* obj1
= 0 ;
13800 PyObject
* obj2
= 0 ;
13801 PyObject
* obj3
= 0 ;
13802 PyObject
* obj4
= 0 ;
13803 PyObject
* obj5
= 0 ;
13804 char *kwnames
[] = {
13805 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13810 if (SWIG_arg_fail(1)) SWIG_fail
;
13812 arg2
= (int)(SWIG_As_int(obj1
));
13813 if (SWIG_arg_fail(2)) SWIG_fail
;
13816 arg3
= (int)(SWIG_As_int(obj2
));
13817 if (SWIG_arg_fail(3)) SWIG_fail
;
13820 arg4
= (int)(SWIG_As_int(obj3
));
13821 if (SWIG_arg_fail(4)) SWIG_fail
;
13824 arg5
= (int)(SWIG_As_int(obj4
));
13825 if (SWIG_arg_fail(5)) SWIG_fail
;
13828 arg6
= (double)(SWIG_As_double(obj5
));
13829 if (SWIG_arg_fail(6)) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 Py_INCREF(Py_None
); resultobj
= Py_None
;
13845 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxDC
*arg1
= (wxDC
*) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 PyObject
* obj1
= 0 ;
13853 PyObject
* obj2
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self",(char *) "r",(char *) "radius", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13860 if (SWIG_arg_fail(1)) SWIG_fail
;
13863 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13866 arg3
= (double)(SWIG_As_double(obj2
));
13867 if (SWIG_arg_fail(3)) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 Py_INCREF(Py_None
); resultobj
= Py_None
;
13883 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxDC
*arg1
= (wxDC
*) 0 ;
13886 wxPoint
*arg2
= 0 ;
13891 PyObject
* obj0
= 0 ;
13892 PyObject
* obj1
= 0 ;
13893 PyObject
* obj2
= 0 ;
13894 PyObject
* obj3
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13901 if (SWIG_arg_fail(1)) SWIG_fail
;
13904 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13908 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13911 arg4
= (double)(SWIG_As_double(obj3
));
13912 if (SWIG_arg_fail(4)) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 Py_INCREF(Py_None
); resultobj
= Py_None
;
13928 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxDC
*arg1
= (wxDC
*) 0 ;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 PyObject
* obj2
= 0 ;
13937 PyObject
* obj3
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13944 if (SWIG_arg_fail(1)) SWIG_fail
;
13946 arg2
= (int)(SWIG_As_int(obj1
));
13947 if (SWIG_arg_fail(2)) SWIG_fail
;
13950 arg3
= (int)(SWIG_As_int(obj2
));
13951 if (SWIG_arg_fail(3)) SWIG_fail
;
13954 arg4
= (int)(SWIG_As_int(obj3
));
13955 if (SWIG_arg_fail(4)) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 Py_INCREF(Py_None
); resultobj
= Py_None
;
13971 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxDC
*arg1
= (wxDC
*) 0 ;
13974 wxPoint
*arg2
= 0 ;
13977 PyObject
* obj0
= 0 ;
13978 PyObject
* obj1
= 0 ;
13979 PyObject
* obj2
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self",(char *) "pt",(char *) "radius", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13986 if (SWIG_arg_fail(1)) SWIG_fail
;
13989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13992 arg3
= (int)(SWIG_As_int(obj2
));
13993 if (SWIG_arg_fail(3)) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 Py_INCREF(Py_None
); resultobj
= Py_None
;
14009 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxDC
*arg1
= (wxDC
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 PyObject
* obj1
= 0 ;
14018 PyObject
* obj2
= 0 ;
14019 PyObject
* obj3
= 0 ;
14020 PyObject
* obj4
= 0 ;
14021 char *kwnames
[] = {
14022 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14027 if (SWIG_arg_fail(1)) SWIG_fail
;
14029 arg2
= (int)(SWIG_As_int(obj1
));
14030 if (SWIG_arg_fail(2)) SWIG_fail
;
14033 arg3
= (int)(SWIG_As_int(obj2
));
14034 if (SWIG_arg_fail(3)) SWIG_fail
;
14037 arg4
= (int)(SWIG_As_int(obj3
));
14038 if (SWIG_arg_fail(4)) SWIG_fail
;
14041 arg5
= (int)(SWIG_As_int(obj4
));
14042 if (SWIG_arg_fail(5)) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 Py_INCREF(Py_None
); resultobj
= Py_None
;
14058 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
;
14060 wxDC
*arg1
= (wxDC
*) 0 ;
14063 PyObject
* obj0
= 0 ;
14064 PyObject
* obj1
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self",(char *) "rect", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14071 if (SWIG_arg_fail(1)) SWIG_fail
;
14074 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 Py_INCREF(Py_None
); resultobj
= Py_None
;
14090 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxDC
*arg1
= (wxDC
*) 0 ;
14093 wxPoint
*arg2
= 0 ;
14097 PyObject
* obj0
= 0 ;
14098 PyObject
* obj1
= 0 ;
14099 PyObject
* obj2
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "pt",(char *) "sz", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14106 if (SWIG_arg_fail(1)) SWIG_fail
;
14109 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14113 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 Py_INCREF(Py_None
); resultobj
= Py_None
;
14129 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxDC
*arg1
= (wxDC
*) 0 ;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 PyObject
* obj2
= 0 ;
14138 PyObject
* obj3
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14145 if (SWIG_arg_fail(1)) SWIG_fail
;
14147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
14148 if (SWIG_arg_fail(2)) SWIG_fail
;
14149 if (arg2
== NULL
) {
14150 SWIG_null_ref("wxIcon");
14152 if (SWIG_arg_fail(2)) SWIG_fail
;
14155 arg3
= (int)(SWIG_As_int(obj2
));
14156 if (SWIG_arg_fail(3)) SWIG_fail
;
14159 arg4
= (int)(SWIG_As_int(obj3
));
14160 if (SWIG_arg_fail(4)) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14169 Py_INCREF(Py_None
); resultobj
= Py_None
;
14176 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
;
14178 wxDC
*arg1
= (wxDC
*) 0 ;
14180 wxPoint
*arg3
= 0 ;
14182 PyObject
* obj0
= 0 ;
14183 PyObject
* obj1
= 0 ;
14184 PyObject
* obj2
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self",(char *) "icon",(char *) "pt", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14191 if (SWIG_arg_fail(1)) SWIG_fail
;
14193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
14194 if (SWIG_arg_fail(2)) SWIG_fail
;
14195 if (arg2
== NULL
) {
14196 SWIG_null_ref("wxIcon");
14198 if (SWIG_arg_fail(2)) SWIG_fail
;
14202 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 Py_INCREF(Py_None
); resultobj
= Py_None
;
14218 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxDC
*arg1
= (wxDC
*) 0 ;
14221 wxBitmap
*arg2
= 0 ;
14224 bool arg5
= (bool) false ;
14225 PyObject
* obj0
= 0 ;
14226 PyObject
* obj1
= 0 ;
14227 PyObject
* obj2
= 0 ;
14228 PyObject
* obj3
= 0 ;
14229 PyObject
* obj4
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14236 if (SWIG_arg_fail(1)) SWIG_fail
;
14238 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14239 if (SWIG_arg_fail(2)) SWIG_fail
;
14240 if (arg2
== NULL
) {
14241 SWIG_null_ref("wxBitmap");
14243 if (SWIG_arg_fail(2)) SWIG_fail
;
14246 arg3
= (int)(SWIG_As_int(obj2
));
14247 if (SWIG_arg_fail(3)) SWIG_fail
;
14250 arg4
= (int)(SWIG_As_int(obj3
));
14251 if (SWIG_arg_fail(4)) SWIG_fail
;
14255 arg5
= (bool)(SWIG_As_bool(obj4
));
14256 if (SWIG_arg_fail(5)) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 Py_INCREF(Py_None
); resultobj
= Py_None
;
14273 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxDC
*arg1
= (wxDC
*) 0 ;
14276 wxBitmap
*arg2
= 0 ;
14277 wxPoint
*arg3
= 0 ;
14278 bool arg4
= (bool) false ;
14280 PyObject
* obj0
= 0 ;
14281 PyObject
* obj1
= 0 ;
14282 PyObject
* obj2
= 0 ;
14283 PyObject
* obj3
= 0 ;
14284 char *kwnames
[] = {
14285 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
14288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14290 if (SWIG_arg_fail(1)) SWIG_fail
;
14292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14293 if (SWIG_arg_fail(2)) SWIG_fail
;
14294 if (arg2
== NULL
) {
14295 SWIG_null_ref("wxBitmap");
14297 if (SWIG_arg_fail(2)) SWIG_fail
;
14301 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14305 arg4
= (bool)(SWIG_As_bool(obj3
));
14306 if (SWIG_arg_fail(4)) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 Py_INCREF(Py_None
); resultobj
= Py_None
;
14323 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxDC
*arg1
= (wxDC
*) 0 ;
14326 wxString
*arg2
= 0 ;
14329 bool temp2
= false ;
14330 PyObject
* obj0
= 0 ;
14331 PyObject
* obj1
= 0 ;
14332 PyObject
* obj2
= 0 ;
14333 PyObject
* obj3
= 0 ;
14334 char *kwnames
[] = {
14335 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
14338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14340 if (SWIG_arg_fail(1)) SWIG_fail
;
14342 arg2
= wxString_in_helper(obj1
);
14343 if (arg2
== NULL
) SWIG_fail
;
14347 arg3
= (int)(SWIG_As_int(obj2
));
14348 if (SWIG_arg_fail(3)) SWIG_fail
;
14351 arg4
= (int)(SWIG_As_int(obj3
));
14352 if (SWIG_arg_fail(4)) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 Py_INCREF(Py_None
); resultobj
= Py_None
;
14376 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxDC
*arg1
= (wxDC
*) 0 ;
14379 wxString
*arg2
= 0 ;
14380 wxPoint
*arg3
= 0 ;
14381 bool temp2
= false ;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 PyObject
* obj2
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self",(char *) "text",(char *) "pt", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14392 if (SWIG_arg_fail(1)) SWIG_fail
;
14394 arg2
= wxString_in_helper(obj1
);
14395 if (arg2
== NULL
) SWIG_fail
;
14400 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 Py_INCREF(Py_None
); resultobj
= Py_None
;
14424 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxDC
*arg1
= (wxDC
*) 0 ;
14427 wxString
*arg2
= 0 ;
14431 bool temp2
= false ;
14432 PyObject
* obj0
= 0 ;
14433 PyObject
* obj1
= 0 ;
14434 PyObject
* obj2
= 0 ;
14435 PyObject
* obj3
= 0 ;
14436 PyObject
* obj4
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14443 if (SWIG_arg_fail(1)) SWIG_fail
;
14445 arg2
= wxString_in_helper(obj1
);
14446 if (arg2
== NULL
) SWIG_fail
;
14450 arg3
= (int)(SWIG_As_int(obj2
));
14451 if (SWIG_arg_fail(3)) SWIG_fail
;
14454 arg4
= (int)(SWIG_As_int(obj3
));
14455 if (SWIG_arg_fail(4)) SWIG_fail
;
14458 arg5
= (double)(SWIG_As_double(obj4
));
14459 if (SWIG_arg_fail(5)) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 Py_INCREF(Py_None
); resultobj
= Py_None
;
14483 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxDC
*arg1
= (wxDC
*) 0 ;
14486 wxString
*arg2
= 0 ;
14487 wxPoint
*arg3
= 0 ;
14489 bool temp2
= false ;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 PyObject
* obj2
= 0 ;
14494 PyObject
* obj3
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14501 if (SWIG_arg_fail(1)) SWIG_fail
;
14503 arg2
= wxString_in_helper(obj1
);
14504 if (arg2
== NULL
) SWIG_fail
;
14509 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14512 arg4
= (double)(SWIG_As_double(obj3
));
14513 if (SWIG_arg_fail(4)) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 Py_INCREF(Py_None
); resultobj
= Py_None
;
14537 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxDC
*arg1
= (wxDC
*) 0 ;
14544 wxDC
*arg6
= (wxDC
*) 0 ;
14547 int arg9
= (int) wxCOPY
;
14548 bool arg10
= (bool) false ;
14549 int arg11
= (int) -1 ;
14550 int arg12
= (int) -1 ;
14552 PyObject
* obj0
= 0 ;
14553 PyObject
* obj1
= 0 ;
14554 PyObject
* obj2
= 0 ;
14555 PyObject
* obj3
= 0 ;
14556 PyObject
* obj4
= 0 ;
14557 PyObject
* obj5
= 0 ;
14558 PyObject
* obj6
= 0 ;
14559 PyObject
* obj7
= 0 ;
14560 PyObject
* obj8
= 0 ;
14561 PyObject
* obj9
= 0 ;
14562 PyObject
* obj10
= 0 ;
14563 PyObject
* obj11
= 0 ;
14564 char *kwnames
[] = {
14565 (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
14568 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
;
14569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14570 if (SWIG_arg_fail(1)) SWIG_fail
;
14572 arg2
= (int)(SWIG_As_int(obj1
));
14573 if (SWIG_arg_fail(2)) SWIG_fail
;
14576 arg3
= (int)(SWIG_As_int(obj2
));
14577 if (SWIG_arg_fail(3)) SWIG_fail
;
14580 arg4
= (int)(SWIG_As_int(obj3
));
14581 if (SWIG_arg_fail(4)) SWIG_fail
;
14584 arg5
= (int)(SWIG_As_int(obj4
));
14585 if (SWIG_arg_fail(5)) SWIG_fail
;
14587 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14588 if (SWIG_arg_fail(6)) SWIG_fail
;
14590 arg7
= (int)(SWIG_As_int(obj6
));
14591 if (SWIG_arg_fail(7)) SWIG_fail
;
14594 arg8
= (int)(SWIG_As_int(obj7
));
14595 if (SWIG_arg_fail(8)) SWIG_fail
;
14599 arg9
= (int)(SWIG_As_int(obj8
));
14600 if (SWIG_arg_fail(9)) SWIG_fail
;
14605 arg10
= (bool)(SWIG_As_bool(obj9
));
14606 if (SWIG_arg_fail(10)) SWIG_fail
;
14611 arg11
= (int)(SWIG_As_int(obj10
));
14612 if (SWIG_arg_fail(11)) SWIG_fail
;
14617 arg12
= (int)(SWIG_As_int(obj11
));
14618 if (SWIG_arg_fail(12)) SWIG_fail
;
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14637 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxDC
*arg1
= (wxDC
*) 0 ;
14640 wxPoint
*arg2
= 0 ;
14642 wxDC
*arg4
= (wxDC
*) 0 ;
14643 wxPoint
*arg5
= 0 ;
14644 int arg6
= (int) wxCOPY
;
14645 bool arg7
= (bool) false ;
14646 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
14647 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 PyObject
* obj2
= 0 ;
14656 PyObject
* obj3
= 0 ;
14657 PyObject
* obj4
= 0 ;
14658 PyObject
* obj5
= 0 ;
14659 PyObject
* obj6
= 0 ;
14660 PyObject
* obj7
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14667 if (SWIG_arg_fail(1)) SWIG_fail
;
14670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14674 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14676 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14677 if (SWIG_arg_fail(4)) SWIG_fail
;
14680 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14684 arg6
= (int)(SWIG_As_int(obj5
));
14685 if (SWIG_arg_fail(6)) SWIG_fail
;
14690 arg7
= (bool)(SWIG_As_bool(obj6
));
14691 if (SWIG_arg_fail(7)) SWIG_fail
;
14697 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14716 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxDC
*arg1
= (wxDC
*) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 PyObject
* obj1
= 0 ;
14725 PyObject
* obj2
= 0 ;
14726 PyObject
* obj3
= 0 ;
14727 PyObject
* obj4
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14734 if (SWIG_arg_fail(1)) SWIG_fail
;
14736 arg2
= (int)(SWIG_As_int(obj1
));
14737 if (SWIG_arg_fail(2)) SWIG_fail
;
14740 arg3
= (int)(SWIG_As_int(obj2
));
14741 if (SWIG_arg_fail(3)) SWIG_fail
;
14744 arg4
= (int)(SWIG_As_int(obj3
));
14745 if (SWIG_arg_fail(4)) SWIG_fail
;
14748 arg5
= (int)(SWIG_As_int(obj4
));
14749 if (SWIG_arg_fail(5)) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 Py_INCREF(Py_None
); resultobj
= Py_None
;
14765 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxDC
*arg1
= (wxDC
*) 0 ;
14768 wxPoint
*arg2
= 0 ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 PyObject
* obj2
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self",(char *) "pt",(char *) "sz", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14781 if (SWIG_arg_fail(1)) SWIG_fail
;
14784 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14788 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 Py_INCREF(Py_None
); resultobj
= Py_None
;
14804 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 wxDC
*arg1
= (wxDC
*) 0 ;
14807 wxRegion
*arg2
= 0 ;
14808 PyObject
* obj0
= 0 ;
14809 PyObject
* obj1
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self",(char *) "region", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14816 if (SWIG_arg_fail(1)) SWIG_fail
;
14818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14819 if (SWIG_arg_fail(2)) SWIG_fail
;
14820 if (arg2
== NULL
) {
14821 SWIG_null_ref("wxRegion");
14823 if (SWIG_arg_fail(2)) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 Py_INCREF(Py_None
); resultobj
= Py_None
;
14839 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxDC
*arg1
= (wxDC
*) 0 ;
14844 PyObject
* obj0
= 0 ;
14845 PyObject
* obj1
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "rect", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14852 if (SWIG_arg_fail(1)) SWIG_fail
;
14855 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 Py_INCREF(Py_None
); resultobj
= Py_None
;
14871 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxDC
*arg1
= (wxDC
*) 0 ;
14875 wxPoint
*arg3
= (wxPoint
*) 0 ;
14876 int arg4
= (int) 0 ;
14877 int arg5
= (int) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 PyObject
* obj1
= 0 ;
14880 PyObject
* obj2
= 0 ;
14881 PyObject
* obj3
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14888 if (SWIG_arg_fail(1)) SWIG_fail
;
14890 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14891 if (arg3
== NULL
) SWIG_fail
;
14895 arg4
= (int)(SWIG_As_int(obj2
));
14896 if (SWIG_arg_fail(4)) SWIG_fail
;
14901 arg5
= (int)(SWIG_As_int(obj3
));
14902 if (SWIG_arg_fail(5)) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 Py_INCREF(Py_None
); resultobj
= Py_None
;
14914 if (arg3
) delete [] arg3
;
14919 if (arg3
) delete [] arg3
;
14925 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxDC
*arg1
= (wxDC
*) 0 ;
14929 wxPoint
*arg3
= (wxPoint
*) 0 ;
14930 int arg4
= (int) 0 ;
14931 int arg5
= (int) 0 ;
14932 int arg6
= (int) wxODDEVEN_RULE
;
14933 PyObject
* obj0
= 0 ;
14934 PyObject
* obj1
= 0 ;
14935 PyObject
* obj2
= 0 ;
14936 PyObject
* obj3
= 0 ;
14937 PyObject
* obj4
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14944 if (SWIG_arg_fail(1)) SWIG_fail
;
14946 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14947 if (arg3
== NULL
) SWIG_fail
;
14951 arg4
= (int)(SWIG_As_int(obj2
));
14952 if (SWIG_arg_fail(4)) SWIG_fail
;
14957 arg5
= (int)(SWIG_As_int(obj3
));
14958 if (SWIG_arg_fail(5)) SWIG_fail
;
14963 arg6
= (int)(SWIG_As_int(obj4
));
14964 if (SWIG_arg_fail(6)) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 Py_INCREF(Py_None
); resultobj
= Py_None
;
14976 if (arg3
) delete [] arg3
;
14981 if (arg3
) delete [] arg3
;
14987 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxDC
*arg1
= (wxDC
*) 0 ;
14990 wxString
*arg2
= 0 ;
14992 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14993 int arg5
= (int) -1 ;
14994 bool temp2
= false ;
14996 PyObject
* obj0
= 0 ;
14997 PyObject
* obj1
= 0 ;
14998 PyObject
* obj2
= 0 ;
14999 PyObject
* obj3
= 0 ;
15000 PyObject
* obj4
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15007 if (SWIG_arg_fail(1)) SWIG_fail
;
15009 arg2
= wxString_in_helper(obj1
);
15010 if (arg2
== NULL
) SWIG_fail
;
15015 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15019 arg4
= (int)(SWIG_As_int(obj3
));
15020 if (SWIG_arg_fail(4)) SWIG_fail
;
15025 arg5
= (int)(SWIG_As_int(obj4
));
15026 if (SWIG_arg_fail(5)) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 Py_INCREF(Py_None
); resultobj
= Py_None
;
15051 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxDC
*arg1
= (wxDC
*) 0 ;
15054 wxString
*arg2
= 0 ;
15055 wxBitmap
*arg3
= 0 ;
15057 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
15058 int arg6
= (int) -1 ;
15060 bool temp2
= false ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 PyObject
* obj2
= 0 ;
15065 PyObject
* obj3
= 0 ;
15066 PyObject
* obj4
= 0 ;
15067 PyObject
* obj5
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15074 if (SWIG_arg_fail(1)) SWIG_fail
;
15076 arg2
= wxString_in_helper(obj1
);
15077 if (arg2
== NULL
) SWIG_fail
;
15081 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
15082 if (SWIG_arg_fail(3)) SWIG_fail
;
15083 if (arg3
== NULL
) {
15084 SWIG_null_ref("wxBitmap");
15086 if (SWIG_arg_fail(3)) SWIG_fail
;
15090 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
15094 arg5
= (int)(SWIG_As_int(obj4
));
15095 if (SWIG_arg_fail(5)) SWIG_fail
;
15100 arg6
= (int)(SWIG_As_int(obj5
));
15101 if (SWIG_arg_fail(6)) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15112 wxRect
* resultptr
;
15113 resultptr
= new wxRect((wxRect
&)(result
));
15114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15130 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 wxDC
*arg1
= (wxDC
*) 0 ;
15134 wxPoint
*arg3
= (wxPoint
*) 0 ;
15135 PyObject
* obj0
= 0 ;
15136 PyObject
* obj1
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "self",(char *) "points", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",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 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15146 if (arg3
== NULL
) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 (arg1
)->DrawSpline(arg2
,arg3
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 Py_INCREF(Py_None
); resultobj
= Py_None
;
15157 if (arg3
) delete [] arg3
;
15162 if (arg3
) delete [] arg3
;
15168 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxDC
*arg1
= (wxDC
*) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
15177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15186 Py_INCREF(Py_None
); resultobj
= Py_None
;
15193 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxDC
*arg1
= (wxDC
*) 0 ;
15196 wxString
*arg2
= 0 ;
15198 bool temp2
= false ;
15199 PyObject
* obj0
= 0 ;
15200 PyObject
* obj1
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self",(char *) "message", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
15206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15207 if (SWIG_arg_fail(1)) SWIG_fail
;
15209 arg2
= wxString_in_helper(obj1
);
15210 if (arg2
== NULL
) SWIG_fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15237 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
;
15239 wxDC
*arg1
= (wxDC
*) 0 ;
15240 PyObject
* obj0
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "self", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
15246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15247 if (SWIG_arg_fail(1)) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 Py_INCREF(Py_None
); resultobj
= Py_None
;
15262 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxDC
*arg1
= (wxDC
*) 0 ;
15265 PyObject
* obj0
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
15271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15272 if (SWIG_arg_fail(1)) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 (arg1
)->StartPage();
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 Py_INCREF(Py_None
); resultobj
= Py_None
;
15287 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
;
15289 wxDC
*arg1
= (wxDC
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
15296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15297 if (SWIG_arg_fail(1)) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 Py_INCREF(Py_None
); resultobj
= Py_None
;
15312 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxDC
*arg1
= (wxDC
*) 0 ;
15316 PyObject
* obj0
= 0 ;
15317 PyObject
* obj1
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self",(char *) "font", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15324 if (SWIG_arg_fail(1)) SWIG_fail
;
15326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15327 if (SWIG_arg_fail(2)) SWIG_fail
;
15328 if (arg2
== NULL
) {
15329 SWIG_null_ref("wxFont");
15331 if (SWIG_arg_fail(2)) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 (arg1
)->SetFont((wxFont
const &)*arg2
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 Py_INCREF(Py_None
); resultobj
= Py_None
;
15347 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxDC
*arg1
= (wxDC
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 PyObject
* obj1
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self",(char *) "pen", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
15358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15359 if (SWIG_arg_fail(1)) SWIG_fail
;
15361 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
15362 if (SWIG_arg_fail(2)) SWIG_fail
;
15363 if (arg2
== NULL
) {
15364 SWIG_null_ref("wxPen");
15366 if (SWIG_arg_fail(2)) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 (arg1
)->SetPen((wxPen
const &)*arg2
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 Py_INCREF(Py_None
); resultobj
= Py_None
;
15382 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxDC
*arg1
= (wxDC
*) 0 ;
15385 wxBrush
*arg2
= 0 ;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self",(char *) "brush", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
15393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15394 if (SWIG_arg_fail(1)) SWIG_fail
;
15396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15397 if (SWIG_arg_fail(2)) SWIG_fail
;
15398 if (arg2
== NULL
) {
15399 SWIG_null_ref("wxBrush");
15401 if (SWIG_arg_fail(2)) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 Py_INCREF(Py_None
); resultobj
= Py_None
;
15417 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxDC
*arg1
= (wxDC
*) 0 ;
15420 wxBrush
*arg2
= 0 ;
15421 PyObject
* obj0
= 0 ;
15422 PyObject
* obj1
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self",(char *) "brush", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15429 if (SWIG_arg_fail(1)) SWIG_fail
;
15431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15432 if (SWIG_arg_fail(2)) SWIG_fail
;
15433 if (arg2
== NULL
) {
15434 SWIG_null_ref("wxBrush");
15436 if (SWIG_arg_fail(2)) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15445 Py_INCREF(Py_None
); resultobj
= Py_None
;
15452 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxDC
*arg1
= (wxDC
*) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self",(char *) "mode", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15464 if (SWIG_arg_fail(1)) SWIG_fail
;
15466 arg2
= (int)(SWIG_As_int(obj1
));
15467 if (SWIG_arg_fail(2)) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 (arg1
)->SetBackgroundMode(arg2
);
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 Py_INCREF(Py_None
); resultobj
= Py_None
;
15483 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxDC
*arg1
= (wxDC
*) 0 ;
15486 wxPalette
*arg2
= 0 ;
15487 PyObject
* obj0
= 0 ;
15488 PyObject
* obj1
= 0 ;
15489 char *kwnames
[] = {
15490 (char *) "self",(char *) "palette", NULL
15493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
15494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15495 if (SWIG_arg_fail(1)) SWIG_fail
;
15497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
15498 if (SWIG_arg_fail(2)) SWIG_fail
;
15499 if (arg2
== NULL
) {
15500 SWIG_null_ref("wxPalette");
15502 if (SWIG_arg_fail(2)) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 Py_INCREF(Py_None
); resultobj
= Py_None
;
15518 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxDC
*arg1
= (wxDC
*) 0 ;
15521 PyObject
* obj0
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "self", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
15527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15528 if (SWIG_arg_fail(1)) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 (arg1
)->DestroyClippingRegion();
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 Py_INCREF(Py_None
); resultobj
= Py_None
;
15543 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxDC
*arg1
= (wxDC
*) 0 ;
15546 int *arg2
= (int *) 0 ;
15547 int *arg3
= (int *) 0 ;
15548 int *arg4
= (int *) 0 ;
15549 int *arg5
= (int *) 0 ;
15558 PyObject
* obj0
= 0 ;
15559 char *kwnames
[] = {
15560 (char *) "self", NULL
15563 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15564 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15565 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15566 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
15568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15569 if (SWIG_arg_fail(1)) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 Py_INCREF(Py_None
); resultobj
= Py_None
;
15578 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15579 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15580 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15581 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15582 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15583 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15584 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15585 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15592 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
;
15594 wxDC
*arg1
= (wxDC
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
15602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= wxDC_GetClippingRect(arg1
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15612 wxRect
* resultptr
;
15613 resultptr
= new wxRect((wxRect
&)(result
));
15614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15622 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxDC
*arg1
= (wxDC
*) 0 ;
15626 PyObject
* obj0
= 0 ;
15627 char *kwnames
[] = {
15628 (char *) "self", NULL
15631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
15632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15633 if (SWIG_arg_fail(1)) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= SWIG_From_int((int)(result
));
15650 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxDC
*arg1
= (wxDC
*) 0 ;
15654 PyObject
* obj0
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
15660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15661 if (SWIG_arg_fail(1)) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= SWIG_From_int((int)(result
));
15678 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxDC
*arg1
= (wxDC
*) 0 ;
15681 wxString
*arg2
= 0 ;
15682 int *arg3
= (int *) 0 ;
15683 int *arg4
= (int *) 0 ;
15684 bool temp2
= false ;
15689 PyObject
* obj0
= 0 ;
15690 PyObject
* obj1
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "self",(char *) "string", NULL
15695 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15696 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15699 if (SWIG_arg_fail(1)) SWIG_fail
;
15701 arg2
= wxString_in_helper(obj1
);
15702 if (arg2
== NULL
) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 Py_INCREF(Py_None
); resultobj
= Py_None
;
15713 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15714 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15715 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15716 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15731 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxDC
*arg1
= (wxDC
*) 0 ;
15734 wxString
*arg2
= 0 ;
15735 int *arg3
= (int *) 0 ;
15736 int *arg4
= (int *) 0 ;
15737 int *arg5
= (int *) 0 ;
15738 int *arg6
= (int *) 0 ;
15739 wxFont
*arg7
= (wxFont
*) NULL
;
15740 bool temp2
= false ;
15749 PyObject
* obj0
= 0 ;
15750 PyObject
* obj1
= 0 ;
15751 PyObject
* obj2
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self",(char *) "string",(char *) "font", NULL
15756 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15757 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15758 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15759 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15762 if (SWIG_arg_fail(1)) SWIG_fail
;
15764 arg2
= wxString_in_helper(obj1
);
15765 if (arg2
== NULL
) SWIG_fail
;
15769 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15770 if (SWIG_arg_fail(7)) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 Py_INCREF(Py_None
); resultobj
= Py_None
;
15780 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15781 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15782 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15783 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15784 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15785 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15786 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15787 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15802 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxDC
*arg1
= (wxDC
*) 0 ;
15805 wxString
*arg2
= 0 ;
15806 int *arg3
= (int *) 0 ;
15807 int *arg4
= (int *) 0 ;
15808 int *arg5
= (int *) 0 ;
15809 wxFont
*arg6
= (wxFont
*) NULL
;
15810 bool temp2
= false ;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 PyObject
* obj2
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self",(char *) "text",(char *) "font", NULL
15824 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15825 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15826 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15829 if (SWIG_arg_fail(1)) SWIG_fail
;
15831 arg2
= wxString_in_helper(obj1
);
15832 if (arg2
== NULL
) SWIG_fail
;
15836 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15837 if (SWIG_arg_fail(6)) SWIG_fail
;
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 Py_INCREF(Py_None
); resultobj
= Py_None
;
15847 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15848 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15849 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15850 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15851 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15852 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15867 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxDC
*arg1
= (wxDC
*) 0 ;
15870 wxString
*arg2
= 0 ;
15872 bool temp2
= false ;
15873 PyObject
* obj0
= 0 ;
15874 PyObject
* obj1
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self",(char *) "text", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15881 if (SWIG_arg_fail(1)) SWIG_fail
;
15883 arg2
= wxString_in_helper(obj1
);
15884 if (arg2
== NULL
) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= PyList_New(0);
15897 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15898 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15899 PyList_Append(resultobj
, val
);
15917 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15919 wxDC
*arg1
= (wxDC
*) 0 ;
15921 PyObject
* obj0
= 0 ;
15922 char *kwnames
[] = {
15923 (char *) "self", NULL
15926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15928 if (SWIG_arg_fail(1)) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 result
= (arg1
)->GetSize();
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15937 wxSize
* resultptr
;
15938 resultptr
= new wxSize((wxSize
&)(result
));
15939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15947 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxDC
*arg1
= (wxDC
*) 0 ;
15950 int *arg2
= (int *) 0 ;
15951 int *arg3
= (int *) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "self", NULL
15961 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15962 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15965 if (SWIG_arg_fail(1)) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 (arg1
)->GetSize(arg2
,arg3
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 Py_INCREF(Py_None
); resultobj
= Py_None
;
15974 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15975 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15976 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15977 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15984 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxDC
*arg1
= (wxDC
*) 0 ;
15988 PyObject
* obj0
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
15994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15995 if (SWIG_arg_fail(1)) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 result
= ((wxDC
const *)arg1
)->GetSizeMM();
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16004 wxSize
* resultptr
;
16005 resultptr
= new wxSize((wxSize
&)(result
));
16006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16014 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxDC
*arg1
= (wxDC
*) 0 ;
16017 int *arg2
= (int *) 0 ;
16018 int *arg3
= (int *) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self", NULL
16028 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16029 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
16031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16032 if (SWIG_arg_fail(1)) SWIG_fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 Py_INCREF(Py_None
); resultobj
= Py_None
;
16041 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16042 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16043 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16044 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16051 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxDC
*arg1
= (wxDC
*) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self",(char *) "x", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
16063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16064 if (SWIG_arg_fail(1)) SWIG_fail
;
16066 arg2
= (int)(SWIG_As_int(obj1
));
16067 if (SWIG_arg_fail(2)) SWIG_fail
;
16070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_From_int((int)(result
));
16085 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
;
16087 wxDC
*arg1
= (wxDC
*) 0 ;
16090 PyObject
* obj0
= 0 ;
16091 PyObject
* obj1
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self",(char *) "y", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
16097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16098 if (SWIG_arg_fail(1)) SWIG_fail
;
16100 arg2
= (int)(SWIG_As_int(obj1
));
16101 if (SWIG_arg_fail(2)) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_From_int((int)(result
));
16119 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxDC
*arg1
= (wxDC
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 PyObject
* obj1
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self",(char *) "x", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16132 if (SWIG_arg_fail(1)) SWIG_fail
;
16134 arg2
= (int)(SWIG_As_int(obj1
));
16135 if (SWIG_arg_fail(2)) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= SWIG_From_int((int)(result
));
16153 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxDC
*arg1
= (wxDC
*) 0 ;
16158 PyObject
* obj0
= 0 ;
16159 PyObject
* obj1
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self",(char *) "y", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16166 if (SWIG_arg_fail(1)) SWIG_fail
;
16168 arg2
= (int)(SWIG_As_int(obj1
));
16169 if (SWIG_arg_fail(2)) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= SWIG_From_int((int)(result
));
16187 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxDC
*arg1
= (wxDC
*) 0 ;
16192 PyObject
* obj0
= 0 ;
16193 PyObject
* obj1
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "self",(char *) "x", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
16199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16200 if (SWIG_arg_fail(1)) SWIG_fail
;
16202 arg2
= (int)(SWIG_As_int(obj1
));
16203 if (SWIG_arg_fail(2)) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= SWIG_From_int((int)(result
));
16221 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxDC
*arg1
= (wxDC
*) 0 ;
16226 PyObject
* obj0
= 0 ;
16227 PyObject
* obj1
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self",(char *) "y", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
16233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16234 if (SWIG_arg_fail(1)) SWIG_fail
;
16236 arg2
= (int)(SWIG_As_int(obj1
));
16237 if (SWIG_arg_fail(2)) SWIG_fail
;
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16247 resultobj
= SWIG_From_int((int)(result
));
16255 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxDC
*arg1
= (wxDC
*) 0 ;
16260 PyObject
* obj0
= 0 ;
16261 PyObject
* obj1
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self",(char *) "x", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16268 if (SWIG_arg_fail(1)) SWIG_fail
;
16270 arg2
= (int)(SWIG_As_int(obj1
));
16271 if (SWIG_arg_fail(2)) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= SWIG_From_int((int)(result
));
16289 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxDC
*arg1
= (wxDC
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self",(char *) "y", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16302 if (SWIG_arg_fail(1)) SWIG_fail
;
16304 arg2
= (int)(SWIG_As_int(obj1
));
16305 if (SWIG_arg_fail(2)) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16315 resultobj
= SWIG_From_int((int)(result
));
16323 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxDC
*arg1
= (wxDC
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
16333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16334 if (SWIG_arg_fail(1)) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16351 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxDC
*arg1
= (wxDC
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
16361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16362 if (SWIG_arg_fail(1)) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16379 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxDC
*arg1
= (wxDC
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
16389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16390 if (SWIG_arg_fail(1)) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (int)((wxDC
const *)arg1
)->GetDepth();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= SWIG_From_int((int)(result
));
16407 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxDC
*arg1
= (wxDC
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
16417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16418 if (SWIG_arg_fail(1)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= ((wxDC
const *)arg1
)->GetPPI();
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 wxSize
* resultptr
;
16428 resultptr
= new wxSize((wxSize
&)(result
));
16429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16437 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxDC
*arg1
= (wxDC
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
16447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16448 if (SWIG_arg_fail(1)) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= (bool)((wxDC
const *)arg1
)->Ok();
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16465 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16466 PyObject
*resultobj
;
16467 wxDC
*arg1
= (wxDC
*) 0 ;
16469 PyObject
* obj0
= 0 ;
16470 char *kwnames
[] = {
16471 (char *) "self", NULL
16474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
16475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16476 if (SWIG_arg_fail(1)) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= SWIG_From_int((int)(result
));
16493 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxDC
*arg1
= (wxDC
*) 0 ;
16497 PyObject
* obj0
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
16503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16504 if (SWIG_arg_fail(1)) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
16509 result
= (wxBrush
*) &_result_ref
;
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16516 wxBrush
* resultptr
= new wxBrush(*result
);
16517 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16525 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxDC
*arg1
= (wxDC
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "self", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
16535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16536 if (SWIG_arg_fail(1)) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16540 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
16541 result
= (wxBrush
*) &_result_ref
;
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16548 wxBrush
* resultptr
= new wxBrush(*result
);
16549 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16557 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
;
16559 wxDC
*arg1
= (wxDC
*) 0 ;
16561 PyObject
* obj0
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
16567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16568 if (SWIG_arg_fail(1)) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
16573 result
= (wxFont
*) &_result_ref
;
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16580 wxFont
* resultptr
= new wxFont(*result
);
16581 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16589 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxDC
*arg1
= (wxDC
*) 0 ;
16593 PyObject
* obj0
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "self", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
16599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16600 if (SWIG_arg_fail(1)) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
16605 result
= (wxPen
*) &_result_ref
;
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16612 wxPen
* resultptr
= new wxPen(*result
);
16613 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
16621 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxDC
*arg1
= (wxDC
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
16631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16632 if (SWIG_arg_fail(1)) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
16637 result
= (wxColour
*) &_result_ref
;
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16650 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxDC
*arg1
= (wxDC
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
16660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16661 if (SWIG_arg_fail(1)) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
16666 result
= (wxColour
*) &_result_ref
;
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16679 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxDC
*arg1
= (wxDC
*) 0 ;
16682 wxColour
*arg2
= 0 ;
16684 PyObject
* obj0
= 0 ;
16685 PyObject
* obj1
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self",(char *) "colour", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16692 if (SWIG_arg_fail(1)) SWIG_fail
;
16695 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16704 Py_INCREF(Py_None
); resultobj
= Py_None
;
16711 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 wxDC
*arg1
= (wxDC
*) 0 ;
16714 wxColour
*arg2
= 0 ;
16716 PyObject
* obj0
= 0 ;
16717 PyObject
* obj1
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "self",(char *) "colour", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16724 if (SWIG_arg_fail(1)) SWIG_fail
;
16727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16736 Py_INCREF(Py_None
); resultobj
= Py_None
;
16743 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxDC
*arg1
= (wxDC
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16754 if (SWIG_arg_fail(1)) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_From_int((int)(result
));
16771 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxDC
*arg1
= (wxDC
*) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 PyObject
* obj1
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "self",(char *) "mode", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16783 if (SWIG_arg_fail(1)) SWIG_fail
;
16785 arg2
= (int)(SWIG_As_int(obj1
));
16786 if (SWIG_arg_fail(2)) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 (arg1
)->SetMapMode(arg2
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 Py_INCREF(Py_None
); resultobj
= Py_None
;
16802 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxDC
*arg1
= (wxDC
*) 0 ;
16805 double *arg2
= (double *) 0 ;
16806 double *arg3
= (double *) 0 ;
16811 PyObject
* obj0
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self", NULL
16816 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16817 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16820 if (SWIG_arg_fail(1)) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 Py_INCREF(Py_None
); resultobj
= Py_None
;
16829 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16830 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16831 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16832 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16839 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxDC
*arg1
= (wxDC
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 PyObject
* obj2
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "x",(char *) "y", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16853 if (SWIG_arg_fail(1)) SWIG_fail
;
16855 arg2
= (double)(SWIG_As_double(obj1
));
16856 if (SWIG_arg_fail(2)) SWIG_fail
;
16859 arg3
= (double)(SWIG_As_double(obj2
));
16860 if (SWIG_arg_fail(3)) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 (arg1
)->SetUserScale(arg2
,arg3
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 Py_INCREF(Py_None
); resultobj
= Py_None
;
16876 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxDC
*arg1
= (wxDC
*) 0 ;
16879 double *arg2
= (double *) 0 ;
16880 double *arg3
= (double *) 0 ;
16885 PyObject
* obj0
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "self", NULL
16890 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16891 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16894 if (SWIG_arg_fail(1)) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 (arg1
)->GetLogicalScale(arg2
,arg3
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 Py_INCREF(Py_None
); resultobj
= Py_None
;
16903 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16904 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16905 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16906 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16913 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxDC
*arg1
= (wxDC
*) 0 ;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 PyObject
* obj2
= 0 ;
16921 char *kwnames
[] = {
16922 (char *) "self",(char *) "x",(char *) "y", NULL
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16927 if (SWIG_arg_fail(1)) SWIG_fail
;
16929 arg2
= (double)(SWIG_As_double(obj1
));
16930 if (SWIG_arg_fail(2)) SWIG_fail
;
16933 arg3
= (double)(SWIG_As_double(obj2
));
16934 if (SWIG_arg_fail(3)) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 (arg1
)->SetLogicalScale(arg2
,arg3
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 Py_INCREF(Py_None
); resultobj
= Py_None
;
16950 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxDC
*arg1
= (wxDC
*) 0 ;
16954 PyObject
* obj0
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16961 if (SWIG_arg_fail(1)) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16970 wxPoint
* resultptr
;
16971 resultptr
= new wxPoint((wxPoint
&)(result
));
16972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16980 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 wxDC
*arg1
= (wxDC
*) 0 ;
16983 int *arg2
= (int *) 0 ;
16984 int *arg3
= (int *) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self", NULL
16994 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16995 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
16997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16998 if (SWIG_arg_fail(1)) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 Py_INCREF(Py_None
); resultobj
= Py_None
;
17007 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17008 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17009 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17010 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17017 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxDC
*arg1
= (wxDC
*) 0 ;
17022 PyObject
* obj0
= 0 ;
17023 PyObject
* obj1
= 0 ;
17024 PyObject
* obj2
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self",(char *) "x",(char *) "y", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17031 if (SWIG_arg_fail(1)) SWIG_fail
;
17033 arg2
= (int)(SWIG_As_int(obj1
));
17034 if (SWIG_arg_fail(2)) SWIG_fail
;
17037 arg3
= (int)(SWIG_As_int(obj2
));
17038 if (SWIG_arg_fail(3)) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17047 Py_INCREF(Py_None
); resultobj
= Py_None
;
17054 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17055 PyObject
*resultobj
;
17056 wxDC
*arg1
= (wxDC
*) 0 ;
17057 wxPoint
*arg2
= 0 ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self",(char *) "point", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail
;
17070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 Py_INCREF(Py_None
); resultobj
= Py_None
;
17086 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxDC
*arg1
= (wxDC
*) 0 ;
17090 PyObject
* obj0
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
17096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17097 if (SWIG_arg_fail(1)) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 wxPoint
* resultptr
;
17107 resultptr
= new wxPoint((wxPoint
&)(result
));
17108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17116 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 wxDC
*arg1
= (wxDC
*) 0 ;
17119 int *arg2
= (int *) 0 ;
17120 int *arg3
= (int *) 0 ;
17125 PyObject
* obj0
= 0 ;
17126 char *kwnames
[] = {
17127 (char *) "self", NULL
17130 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17131 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
17133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17134 if (SWIG_arg_fail(1)) SWIG_fail
;
17136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17137 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 Py_INCREF(Py_None
); resultobj
= Py_None
;
17143 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17144 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17145 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17146 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17153 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
;
17155 wxDC
*arg1
= (wxDC
*) 0 ;
17158 PyObject
* obj0
= 0 ;
17159 PyObject
* obj1
= 0 ;
17160 PyObject
* obj2
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "self",(char *) "x",(char *) "y", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17167 if (SWIG_arg_fail(1)) SWIG_fail
;
17169 arg2
= (int)(SWIG_As_int(obj1
));
17170 if (SWIG_arg_fail(2)) SWIG_fail
;
17173 arg3
= (int)(SWIG_As_int(obj2
));
17174 if (SWIG_arg_fail(3)) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 Py_INCREF(Py_None
); resultobj
= Py_None
;
17190 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxDC
*arg1
= (wxDC
*) 0 ;
17193 wxPoint
*arg2
= 0 ;
17195 PyObject
* obj0
= 0 ;
17196 PyObject
* obj1
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "self",(char *) "point", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17203 if (SWIG_arg_fail(1)) SWIG_fail
;
17206 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17215 Py_INCREF(Py_None
); resultobj
= Py_None
;
17222 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
;
17224 wxDC
*arg1
= (wxDC
*) 0 ;
17227 PyObject
* obj0
= 0 ;
17228 PyObject
* obj1
= 0 ;
17229 PyObject
* obj2
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17236 if (SWIG_arg_fail(1)) SWIG_fail
;
17238 arg2
= (bool)(SWIG_As_bool(obj1
));
17239 if (SWIG_arg_fail(2)) SWIG_fail
;
17242 arg3
= (bool)(SWIG_As_bool(obj2
));
17243 if (SWIG_arg_fail(3)) SWIG_fail
;
17246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17247 (arg1
)->SetAxisOrientation(arg2
,arg3
);
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 Py_INCREF(Py_None
); resultobj
= Py_None
;
17259 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
;
17261 wxDC
*arg1
= (wxDC
*) 0 ;
17263 PyObject
* obj0
= 0 ;
17264 char *kwnames
[] = {
17265 (char *) "self", NULL
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
17269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17270 if (SWIG_arg_fail(1)) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= SWIG_From_int((int)(result
));
17287 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 wxDC
*arg1
= (wxDC
*) 0 ;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self",(char *) "function", NULL
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
17298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17299 if (SWIG_arg_fail(1)) SWIG_fail
;
17301 arg2
= (int)(SWIG_As_int(obj1
));
17302 if (SWIG_arg_fail(2)) SWIG_fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 (arg1
)->SetLogicalFunction(arg2
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 Py_INCREF(Py_None
); resultobj
= Py_None
;
17318 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxDC
*arg1
= (wxDC
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
17327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17328 if (SWIG_arg_fail(1)) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 (arg1
)->ComputeScaleAndOrigin();
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17336 Py_INCREF(Py_None
); resultobj
= Py_None
;
17343 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17345 wxDC
*arg1
= (wxDC
*) 0 ;
17348 PyObject
* obj0
= 0 ;
17349 PyObject
* obj1
= 0 ;
17350 PyObject
* obj2
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self",(char *) "x",(char *) "y", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17357 if (SWIG_arg_fail(1)) SWIG_fail
;
17359 arg2
= (int)(SWIG_As_int(obj1
));
17360 if (SWIG_arg_fail(2)) SWIG_fail
;
17363 arg3
= (int)(SWIG_As_int(obj2
));
17364 if (SWIG_arg_fail(3)) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 (arg1
)->CalcBoundingBox(arg2
,arg3
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 Py_INCREF(Py_None
); resultobj
= Py_None
;
17380 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
;
17382 wxDC
*arg1
= (wxDC
*) 0 ;
17383 wxPoint
*arg2
= 0 ;
17385 PyObject
* obj0
= 0 ;
17386 PyObject
* obj1
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self",(char *) "point", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17393 if (SWIG_arg_fail(1)) SWIG_fail
;
17396 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 Py_INCREF(Py_None
); resultobj
= Py_None
;
17412 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxDC
*arg1
= (wxDC
*) 0 ;
17415 PyObject
* obj0
= 0 ;
17416 char *kwnames
[] = {
17417 (char *) "self", NULL
17420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
17421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17422 if (SWIG_arg_fail(1)) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 (arg1
)->ResetBoundingBox();
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 Py_INCREF(Py_None
); resultobj
= Py_None
;
17437 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxDC
*arg1
= (wxDC
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
17447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17448 if (SWIG_arg_fail(1)) SWIG_fail
;
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17451 result
= (int)((wxDC
const *)arg1
)->MinX();
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= SWIG_From_int((int)(result
));
17465 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17467 wxDC
*arg1
= (wxDC
*) 0 ;
17469 PyObject
* obj0
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
17475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= (int)((wxDC
const *)arg1
)->MaxX();
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= SWIG_From_int((int)(result
));
17493 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxDC
*arg1
= (wxDC
*) 0 ;
17497 PyObject
* obj0
= 0 ;
17498 char *kwnames
[] = {
17499 (char *) "self", NULL
17502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
17503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17504 if (SWIG_arg_fail(1)) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (int)((wxDC
const *)arg1
)->MinY();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= SWIG_From_int((int)(result
));
17521 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxDC
*arg1
= (wxDC
*) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
17531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17532 if (SWIG_arg_fail(1)) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (int)((wxDC
const *)arg1
)->MaxY();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= SWIG_From_int((int)(result
));
17549 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
;
17551 wxDC
*arg1
= (wxDC
*) 0 ;
17552 int *arg2
= (int *) 0 ;
17553 int *arg3
= (int *) 0 ;
17554 int *arg4
= (int *) 0 ;
17555 int *arg5
= (int *) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "self", NULL
17569 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17570 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17571 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17572 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
17574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17575 if (SWIG_arg_fail(1)) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 Py_INCREF(Py_None
); resultobj
= Py_None
;
17584 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17585 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17586 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17587 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17588 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17589 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17590 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
17591 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
17598 static PyObject
*_wrap_DC_GetHDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxDC
*arg1
= (wxDC
*) 0 ;
17602 PyObject
* obj0
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "self", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
;
17608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17609 if (SWIG_arg_fail(1)) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 result
= (long)(arg1
)->GetHDC();
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17618 resultobj
= SWIG_From_long((long)(result
));
17626 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17628 wxDC
*arg1
= (wxDC
*) 0 ;
17629 PyObject
*arg2
= (PyObject
*) 0 ;
17630 PyObject
*arg3
= (PyObject
*) 0 ;
17631 PyObject
*arg4
= (PyObject
*) 0 ;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 PyObject
* obj2
= 0 ;
17636 PyObject
* obj3
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17643 if (SWIG_arg_fail(1)) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= result
;
17661 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxDC
*arg1
= (wxDC
*) 0 ;
17664 PyObject
*arg2
= (PyObject
*) 0 ;
17665 PyObject
*arg3
= (PyObject
*) 0 ;
17666 PyObject
*arg4
= (PyObject
*) 0 ;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 PyObject
* obj2
= 0 ;
17671 PyObject
* obj3
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17678 if (SWIG_arg_fail(1)) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 resultobj
= result
;
17696 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxDC
*arg1
= (wxDC
*) 0 ;
17699 PyObject
*arg2
= (PyObject
*) 0 ;
17700 PyObject
*arg3
= (PyObject
*) 0 ;
17701 PyObject
*arg4
= (PyObject
*) 0 ;
17703 PyObject
* obj0
= 0 ;
17704 PyObject
* obj1
= 0 ;
17705 PyObject
* obj2
= 0 ;
17706 PyObject
* obj3
= 0 ;
17707 char *kwnames
[] = {
17708 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17713 if (SWIG_arg_fail(1)) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= result
;
17731 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxDC
*arg1
= (wxDC
*) 0 ;
17734 PyObject
*arg2
= (PyObject
*) 0 ;
17735 PyObject
*arg3
= (PyObject
*) 0 ;
17736 PyObject
*arg4
= (PyObject
*) 0 ;
17738 PyObject
* obj0
= 0 ;
17739 PyObject
* obj1
= 0 ;
17740 PyObject
* obj2
= 0 ;
17741 PyObject
* obj3
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17748 if (SWIG_arg_fail(1)) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= result
;
17766 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxDC
*arg1
= (wxDC
*) 0 ;
17769 PyObject
*arg2
= (PyObject
*) 0 ;
17770 PyObject
*arg3
= (PyObject
*) 0 ;
17771 PyObject
*arg4
= (PyObject
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 PyObject
* obj2
= 0 ;
17776 PyObject
* obj3
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17783 if (SWIG_arg_fail(1)) SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= result
;
17801 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxDC
*arg1
= (wxDC
*) 0 ;
17804 PyObject
*arg2
= (PyObject
*) 0 ;
17805 PyObject
*arg3
= (PyObject
*) 0 ;
17806 PyObject
*arg4
= (PyObject
*) 0 ;
17807 PyObject
*arg5
= (PyObject
*) 0 ;
17809 PyObject
* obj0
= 0 ;
17810 PyObject
* obj1
= 0 ;
17811 PyObject
* obj2
= 0 ;
17812 PyObject
* obj3
= 0 ;
17813 PyObject
* obj4
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17820 if (SWIG_arg_fail(1)) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= result
;
17839 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17842 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17844 return Py_BuildValue((char *)"");
17846 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxMemoryDC
*result
;
17849 char *kwnames
[] = {
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17855 if (!wxPyCheckForApp()) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (wxMemoryDC
*)new wxMemoryDC();
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17869 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxDC
*arg1
= (wxDC
*) 0 ;
17872 wxMemoryDC
*result
;
17873 PyObject
* obj0
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "oldDC", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17880 if (SWIG_arg_fail(1)) SWIG_fail
;
17882 if (!wxPyCheckForApp()) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17896 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17899 wxBitmap
*arg2
= 0 ;
17900 PyObject
* obj0
= 0 ;
17901 PyObject
* obj1
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self",(char *) "bitmap", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17908 if (SWIG_arg_fail(1)) SWIG_fail
;
17910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17911 if (SWIG_arg_fail(2)) SWIG_fail
;
17912 if (arg2
== NULL
) {
17913 SWIG_null_ref("wxBitmap");
17915 if (SWIG_arg_fail(2)) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 Py_INCREF(Py_None
); resultobj
= Py_None
;
17931 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17934 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17936 return Py_BuildValue((char *)"");
17938 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17939 PyObject
*resultobj
;
17940 wxDC
*arg1
= (wxDC
*) 0 ;
17941 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17942 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17943 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17944 wxBufferedDC
*result
;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 PyObject
* obj2
= 0 ;
17949 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17951 if (SWIG_arg_fail(1)) SWIG_fail
;
17954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17955 if (SWIG_arg_fail(2)) SWIG_fail
;
17956 if (arg2
== NULL
) {
17957 SWIG_null_ref("wxBitmap");
17959 if (SWIG_arg_fail(2)) SWIG_fail
;
17964 arg3
= (int)(SWIG_As_int(obj2
));
17965 if (SWIG_arg_fail(3)) SWIG_fail
;
17969 if (!wxPyCheckForApp()) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17983 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
17984 PyObject
*resultobj
;
17985 wxDC
*arg1
= (wxDC
*) 0 ;
17987 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17988 wxBufferedDC
*result
;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 PyObject
* obj2
= 0 ;
17994 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17996 if (SWIG_arg_fail(1)) SWIG_fail
;
17999 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18003 arg3
= (int)(SWIG_As_int(obj2
));
18004 if (SWIG_arg_fail(3)) SWIG_fail
;
18008 if (!wxPyCheckForApp()) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
18022 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
18027 argc
= PyObject_Length(args
);
18028 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
18029 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18031 if ((argc
>= 1) && (argc
<= 3)) {
18035 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
18044 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18048 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
18057 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18059 _v
= SWIG_Check_int(argv
[2]);
18061 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18066 if ((argc
>= 2) && (argc
<= 3)) {
18070 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
18079 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
18083 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
18085 _v
= SWIG_Check_int(argv
[2]);
18087 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
18093 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
18098 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
18101 PyObject
* obj0
= 0 ;
18102 char *kwnames
[] = {
18103 (char *) "self", NULL
18106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
18107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
18108 if (SWIG_arg_fail(1)) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 Py_INCREF(Py_None
); resultobj
= Py_None
;
18123 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
18126 PyObject
* obj0
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
18132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
18133 if (SWIG_arg_fail(1)) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 Py_INCREF(Py_None
); resultobj
= Py_None
;
18148 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
18150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18151 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
18153 return Py_BuildValue((char *)"");
18155 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxWindow
*arg1
= (wxWindow
*) 0 ;
18158 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
18159 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
18160 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
18161 wxBufferedPaintDC
*result
;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 PyObject
* obj2
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "window",(char *) "buffer",(char *) "style", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18171 if (SWIG_arg_fail(1)) SWIG_fail
;
18174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18175 if (SWIG_arg_fail(2)) SWIG_fail
;
18176 if (arg2
== NULL
) {
18177 SWIG_null_ref("wxBitmap");
18179 if (SWIG_arg_fail(2)) SWIG_fail
;
18184 arg3
= (int)(SWIG_As_int(obj2
));
18185 if (SWIG_arg_fail(3)) SWIG_fail
;
18189 if (!wxPyCheckForApp()) SWIG_fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
18203 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
18205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18206 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
18208 return Py_BuildValue((char *)"");
18210 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 wxScreenDC
*result
;
18213 char *kwnames
[] = {
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
18219 if (!wxPyCheckForApp()) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (wxScreenDC
*)new wxScreenDC();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
18233 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18236 wxWindow
*arg2
= (wxWindow
*) 0 ;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self",(char *) "window", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
18245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18246 if (SWIG_arg_fail(1)) SWIG_fail
;
18247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18248 if (SWIG_arg_fail(2)) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18265 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18268 wxRect
*arg2
= (wxRect
*) NULL
;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "rect", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
18277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18278 if (SWIG_arg_fail(1)) SWIG_fail
;
18280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18281 if (SWIG_arg_fail(2)) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18299 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18303 PyObject
* obj0
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
18309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18310 if (SWIG_arg_fail(1)) SWIG_fail
;
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 result
= (bool)(arg1
)->EndDrawingOnTop();
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18327 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
18329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18330 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
18332 return Py_BuildValue((char *)"");
18334 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxWindow
*arg1
= (wxWindow
*) 0 ;
18337 wxClientDC
*result
;
18338 PyObject
* obj0
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "win", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
18344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18345 if (SWIG_arg_fail(1)) SWIG_fail
;
18347 if (!wxPyCheckForApp()) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (wxClientDC
*)new wxClientDC(arg1
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
18361 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
18363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18364 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
18366 return Py_BuildValue((char *)"");
18368 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxWindow
*arg1
= (wxWindow
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "win", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
18378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18379 if (SWIG_arg_fail(1)) SWIG_fail
;
18381 if (!wxPyCheckForApp()) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
18395 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
18397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18398 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
18400 return Py_BuildValue((char *)"");
18402 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxWindow
*arg1
= (wxWindow
*) 0 ;
18405 wxWindowDC
*result
;
18406 PyObject
* obj0
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "win", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
18412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18413 if (SWIG_arg_fail(1)) SWIG_fail
;
18415 if (!wxPyCheckForApp()) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
18429 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
18431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18432 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
18434 return Py_BuildValue((char *)"");
18436 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18440 wxMirrorDC
*result
;
18441 PyObject
* obj0
= 0 ;
18442 PyObject
* obj1
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "dc",(char *) "mirror", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18450 if (SWIG_arg_fail(1)) SWIG_fail
;
18451 if (arg1
== NULL
) {
18452 SWIG_null_ref("wxDC");
18454 if (SWIG_arg_fail(1)) SWIG_fail
;
18457 arg2
= (bool)(SWIG_As_bool(obj1
));
18458 if (SWIG_arg_fail(2)) SWIG_fail
;
18461 if (!wxPyCheckForApp()) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
18475 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
18477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18478 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
18480 return Py_BuildValue((char *)"");
18482 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPrintData
*arg1
= 0 ;
18485 wxPostScriptDC
*result
;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "printData", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
18493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18494 if (SWIG_arg_fail(1)) SWIG_fail
;
18495 if (arg1
== NULL
) {
18496 SWIG_null_ref("wxPrintData");
18498 if (SWIG_arg_fail(1)) SWIG_fail
;
18501 if (!wxPyCheckForApp()) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
18515 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18518 wxPrintData
*result
;
18519 PyObject
* obj0
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "self", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
18525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18531 result
= (wxPrintData
*) &_result_ref
;
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18544 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18547 wxPrintData
*arg2
= 0 ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self",(char *) "data", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18556 if (SWIG_arg_fail(1)) SWIG_fail
;
18558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18559 if (SWIG_arg_fail(2)) SWIG_fail
;
18560 if (arg2
== NULL
) {
18561 SWIG_null_ref("wxPrintData");
18563 if (SWIG_arg_fail(2)) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 Py_INCREF(Py_None
); resultobj
= Py_None
;
18579 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18582 PyObject
* obj0
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "ppi", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
18589 arg1
= (int)(SWIG_As_int(obj0
));
18590 if (SWIG_arg_fail(1)) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 wxPostScriptDC::SetResolution(arg1
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 Py_INCREF(Py_None
); resultobj
= Py_None
;
18606 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18609 char *kwnames
[] = {
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 result
= (int)wxPostScriptDC::GetResolution();
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= SWIG_From_int((int)(result
));
18630 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
18632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18633 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
18635 return Py_BuildValue((char *)"");
18637 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18640 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18641 wxMetaFile
*result
;
18642 bool temp1
= false ;
18643 PyObject
* obj0
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "filename", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
18651 arg1
= wxString_in_helper(obj0
);
18652 if (arg1
== NULL
) SWIG_fail
;
18657 if (!wxPyCheckForApp()) SWIG_fail
;
18658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
18679 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
18688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18689 if (SWIG_arg_fail(1)) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 Py_INCREF(Py_None
); resultobj
= Py_None
;
18704 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
18714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18715 if (SWIG_arg_fail(1)) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (bool)(arg1
)->Ok();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18732 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18735 int arg2
= (int) 0 ;
18736 int arg3
= (int) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 PyObject
* obj1
= 0 ;
18740 PyObject
* obj2
= 0 ;
18741 char *kwnames
[] = {
18742 (char *) "self",(char *) "width",(char *) "height", NULL
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18747 if (SWIG_arg_fail(1)) SWIG_fail
;
18750 arg2
= (int)(SWIG_As_int(obj1
));
18751 if (SWIG_arg_fail(2)) SWIG_fail
;
18756 arg3
= (int)(SWIG_As_int(obj2
));
18757 if (SWIG_arg_fail(3)) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18776 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18780 PyObject
* obj0
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
18786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18787 if (SWIG_arg_fail(1)) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (arg1
)->GetSize();
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18796 wxSize
* resultptr
;
18797 resultptr
= new wxSize((wxSize
&)(result
));
18798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18806 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
18816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18817 if (SWIG_arg_fail(1)) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (int)(arg1
)->GetWidth();
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= SWIG_From_int((int)(result
));
18834 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18836 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18838 PyObject
* obj0
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "self", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
18844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18845 if (SWIG_arg_fail(1)) SWIG_fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 result
= (int)(arg1
)->GetHeight();
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18854 resultobj
= SWIG_From_int((int)(result
));
18862 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
;
18864 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18866 PyObject
* obj0
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "self", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
18872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18873 if (SWIG_arg_fail(1)) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
18878 result
= (wxString
*) &_result_ref
;
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18888 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18897 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
18899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18900 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
18902 return Py_BuildValue((char *)"");
18904 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
;
18906 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18907 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18908 int arg2
= (int) 0 ;
18909 int arg3
= (int) 0 ;
18910 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18911 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18912 wxMetaFileDC
*result
;
18913 bool temp1
= false ;
18914 bool temp4
= false ;
18915 PyObject
* obj0
= 0 ;
18916 PyObject
* obj1
= 0 ;
18917 PyObject
* obj2
= 0 ;
18918 PyObject
* obj3
= 0 ;
18919 char *kwnames
[] = {
18920 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18926 arg1
= wxString_in_helper(obj0
);
18927 if (arg1
== NULL
) SWIG_fail
;
18933 arg2
= (int)(SWIG_As_int(obj1
));
18934 if (SWIG_arg_fail(2)) SWIG_fail
;
18939 arg3
= (int)(SWIG_As_int(obj2
));
18940 if (SWIG_arg_fail(3)) SWIG_fail
;
18945 arg4
= wxString_in_helper(obj3
);
18946 if (arg4
== NULL
) SWIG_fail
;
18951 if (!wxPyCheckForApp()) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
18981 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
18984 wxMetaFile
*result
;
18985 PyObject
* obj0
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
18991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION
| 0);
18992 if (SWIG_arg_fail(1)) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= (wxMetaFile
*)(arg1
)->Close();
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
19007 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
19009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19010 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
19012 return Py_BuildValue((char *)"");
19014 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxPrintData
*arg1
= 0 ;
19017 wxPrinterDC
*result
;
19018 PyObject
* obj0
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "printData", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
19025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
19026 if (SWIG_arg_fail(1)) SWIG_fail
;
19027 if (arg1
== NULL
) {
19028 SWIG_null_ref("wxPrintData");
19030 if (SWIG_arg_fail(1)) SWIG_fail
;
19033 if (!wxPyCheckForApp()) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
19047 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
19049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19050 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
19052 return Py_BuildValue((char *)"");
19054 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19058 int arg3
= (int) true ;
19059 int arg4
= (int) 1 ;
19060 wxImageList
*result
;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 PyObject
* obj2
= 0 ;
19064 PyObject
* obj3
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19071 arg1
= (int)(SWIG_As_int(obj0
));
19072 if (SWIG_arg_fail(1)) SWIG_fail
;
19075 arg2
= (int)(SWIG_As_int(obj1
));
19076 if (SWIG_arg_fail(2)) SWIG_fail
;
19080 arg3
= (int)(SWIG_As_int(obj2
));
19081 if (SWIG_arg_fail(3)) SWIG_fail
;
19086 arg4
= (int)(SWIG_As_int(obj3
));
19087 if (SWIG_arg_fail(4)) SWIG_fail
;
19091 if (!wxPyCheckForApp()) SWIG_fail
;
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= wxPyMake_wxObject(result
, 1);
19107 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxImageList
*arg1
= (wxImageList
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
19116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19117 if (SWIG_arg_fail(1)) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 Py_INCREF(Py_None
); resultobj
= Py_None
;
19132 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxImageList
*arg1
= (wxImageList
*) 0 ;
19135 wxBitmap
*arg2
= 0 ;
19136 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
19137 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 PyObject
* obj2
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19148 if (SWIG_arg_fail(1)) SWIG_fail
;
19150 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19151 if (SWIG_arg_fail(2)) SWIG_fail
;
19152 if (arg2
== NULL
) {
19153 SWIG_null_ref("wxBitmap");
19155 if (SWIG_arg_fail(2)) SWIG_fail
;
19159 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19160 if (SWIG_arg_fail(3)) SWIG_fail
;
19161 if (arg3
== NULL
) {
19162 SWIG_null_ref("wxBitmap");
19164 if (SWIG_arg_fail(3)) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19175 resultobj
= SWIG_From_int((int)(result
));
19183 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxImageList
*arg1
= (wxImageList
*) 0 ;
19186 wxBitmap
*arg2
= 0 ;
19187 wxColour
*arg3
= 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 PyObject
* obj2
= 0 ;
19193 char *kwnames
[] = {
19194 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19199 if (SWIG_arg_fail(1)) SWIG_fail
;
19201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19202 if (SWIG_arg_fail(2)) SWIG_fail
;
19203 if (arg2
== NULL
) {
19204 SWIG_null_ref("wxBitmap");
19206 if (SWIG_arg_fail(2)) SWIG_fail
;
19210 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= SWIG_From_int((int)(result
));
19228 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxImageList
*arg1
= (wxImageList
*) 0 ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "self",(char *) "icon", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
19240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19241 if (SWIG_arg_fail(1)) SWIG_fail
;
19243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
19244 if (SWIG_arg_fail(2)) SWIG_fail
;
19245 if (arg2
== NULL
) {
19246 SWIG_null_ref("wxIcon");
19248 if (SWIG_arg_fail(2)) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19258 resultobj
= SWIG_From_int((int)(result
));
19266 static PyObject
*_wrap_ImageList_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxImageList
*arg1
= (wxImageList
*) 0 ;
19270 SwigValueWrapper
<wxBitmap
> result
;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self",(char *) "index", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19279 if (SWIG_arg_fail(1)) SWIG_fail
;
19281 arg2
= (int)(SWIG_As_int(obj1
));
19282 if (SWIG_arg_fail(2)) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19292 wxBitmap
* resultptr
;
19293 resultptr
= new wxBitmap((wxBitmap
&)(result
));
19294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19302 static PyObject
*_wrap_ImageList_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxImageList
*arg1
= (wxImageList
*) 0 ;
19307 PyObject
* obj0
= 0 ;
19308 PyObject
* obj1
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self",(char *) "index", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
19314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19315 if (SWIG_arg_fail(1)) SWIG_fail
;
19317 arg2
= (int)(SWIG_As_int(obj1
));
19318 if (SWIG_arg_fail(2)) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19328 wxIcon
* resultptr
;
19329 resultptr
= new wxIcon((wxIcon
&)(result
));
19330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
19338 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19339 PyObject
*resultobj
;
19340 wxImageList
*arg1
= (wxImageList
*) 0 ;
19342 wxBitmap
*arg3
= 0 ;
19343 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
19344 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 PyObject
* obj2
= 0 ;
19349 PyObject
* obj3
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19356 if (SWIG_arg_fail(1)) SWIG_fail
;
19358 arg2
= (int)(SWIG_As_int(obj1
));
19359 if (SWIG_arg_fail(2)) SWIG_fail
;
19362 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19363 if (SWIG_arg_fail(3)) SWIG_fail
;
19364 if (arg3
== NULL
) {
19365 SWIG_null_ref("wxBitmap");
19367 if (SWIG_arg_fail(3)) SWIG_fail
;
19371 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19372 if (SWIG_arg_fail(4)) SWIG_fail
;
19373 if (arg4
== NULL
) {
19374 SWIG_null_ref("wxBitmap");
19376 if (SWIG_arg_fail(4)) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19395 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxImageList
*arg1
= (wxImageList
*) 0 ;
19402 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
19403 bool arg7
= (bool) (bool)false ;
19405 PyObject
* obj0
= 0 ;
19406 PyObject
* obj1
= 0 ;
19407 PyObject
* obj2
= 0 ;
19408 PyObject
* obj3
= 0 ;
19409 PyObject
* obj4
= 0 ;
19410 PyObject
* obj5
= 0 ;
19411 PyObject
* obj6
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19418 if (SWIG_arg_fail(1)) SWIG_fail
;
19420 arg2
= (int)(SWIG_As_int(obj1
));
19421 if (SWIG_arg_fail(2)) SWIG_fail
;
19424 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19425 if (SWIG_arg_fail(3)) SWIG_fail
;
19426 if (arg3
== NULL
) {
19427 SWIG_null_ref("wxDC");
19429 if (SWIG_arg_fail(3)) SWIG_fail
;
19432 arg4
= (int)(SWIG_As_int(obj3
));
19433 if (SWIG_arg_fail(4)) SWIG_fail
;
19436 arg5
= (int)(SWIG_As_int(obj4
));
19437 if (SWIG_arg_fail(5)) SWIG_fail
;
19441 arg6
= (int)(SWIG_As_int(obj5
));
19442 if (SWIG_arg_fail(6)) SWIG_fail
;
19447 arg7
= (bool const)(SWIG_As_bool(obj6
));
19448 if (SWIG_arg_fail(7)) SWIG_fail
;
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19467 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxImageList
*arg1
= (wxImageList
*) 0 ;
19471 PyObject
* obj0
= 0 ;
19472 char *kwnames
[] = {
19473 (char *) "self", NULL
19476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
19477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19478 if (SWIG_arg_fail(1)) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 result
= (int)(arg1
)->GetImageCount();
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= SWIG_From_int((int)(result
));
19495 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
;
19497 wxImageList
*arg1
= (wxImageList
*) 0 ;
19500 PyObject
* obj0
= 0 ;
19501 PyObject
* obj1
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self",(char *) "index", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
19507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19508 if (SWIG_arg_fail(1)) SWIG_fail
;
19510 arg2
= (int)(SWIG_As_int(obj1
));
19511 if (SWIG_arg_fail(2)) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (bool)(arg1
)->Remove(arg2
);
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19529 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxImageList
*arg1
= (wxImageList
*) 0 ;
19533 PyObject
* obj0
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
19539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19540 if (SWIG_arg_fail(1)) SWIG_fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (bool)(arg1
)->RemoveAll();
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19557 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxImageList
*arg1
= (wxImageList
*) 0 ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "index", NULL
19573 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19574 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19577 if (SWIG_arg_fail(1)) SWIG_fail
;
19579 arg2
= (int)(SWIG_As_int(obj1
));
19580 if (SWIG_arg_fail(2)) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 Py_INCREF(Py_None
); resultobj
= Py_None
;
19590 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19591 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19592 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
19593 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
19600 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
19602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19603 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
19605 return Py_BuildValue((char *)"");
19607 static int _wrap_NORMAL_FONT_set(PyObject
*) {
19608 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
19613 static PyObject
*_wrap_NORMAL_FONT_get(void) {
19616 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
19621 static int _wrap_SMALL_FONT_set(PyObject
*) {
19622 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
19627 static PyObject
*_wrap_SMALL_FONT_get(void) {
19630 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
19635 static int _wrap_ITALIC_FONT_set(PyObject
*) {
19636 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
19641 static PyObject
*_wrap_ITALIC_FONT_get(void) {
19644 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
19649 static int _wrap_SWISS_FONT_set(PyObject
*) {
19650 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
19655 static PyObject
*_wrap_SWISS_FONT_get(void) {
19658 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
19663 static int _wrap_RED_PEN_set(PyObject
*) {
19664 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
19669 static PyObject
*_wrap_RED_PEN_get(void) {
19672 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
19677 static int _wrap_CYAN_PEN_set(PyObject
*) {
19678 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
19683 static PyObject
*_wrap_CYAN_PEN_get(void) {
19686 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
19691 static int _wrap_GREEN_PEN_set(PyObject
*) {
19692 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
19697 static PyObject
*_wrap_GREEN_PEN_get(void) {
19700 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
19705 static int _wrap_BLACK_PEN_set(PyObject
*) {
19706 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
19711 static PyObject
*_wrap_BLACK_PEN_get(void) {
19714 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
19719 static int _wrap_WHITE_PEN_set(PyObject
*) {
19720 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
19725 static PyObject
*_wrap_WHITE_PEN_get(void) {
19728 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
19733 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
19734 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
19739 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
19742 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
19747 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
19748 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
19753 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
19756 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
19761 static int _wrap_GREY_PEN_set(PyObject
*) {
19762 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
19767 static PyObject
*_wrap_GREY_PEN_get(void) {
19770 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19775 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
19776 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
19781 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
19784 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19789 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
19790 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
19795 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
19798 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19803 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
19804 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
19809 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
19812 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19817 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
19818 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
19823 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
19826 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19831 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
19832 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
19837 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
19840 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19845 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
19846 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
19851 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
19854 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19859 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
19860 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
19865 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
19868 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19873 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19874 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19879 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19882 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19887 static int _wrap_RED_BRUSH_set(PyObject
*) {
19888 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
19893 static PyObject
*_wrap_RED_BRUSH_get(void) {
19896 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19901 static int _wrap_GREY_BRUSH_set(PyObject
*) {
19902 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
19907 static PyObject
*_wrap_GREY_BRUSH_get(void) {
19910 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19915 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
19916 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
19921 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
19924 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19929 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
19930 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
19935 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
19938 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19943 static int _wrap_BLACK_set(PyObject
*) {
19944 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
19949 static PyObject
*_wrap_BLACK_get(void) {
19952 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
19957 static int _wrap_WHITE_set(PyObject
*) {
19958 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
19963 static PyObject
*_wrap_WHITE_get(void) {
19966 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
19971 static int _wrap_RED_set(PyObject
*) {
19972 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
19977 static PyObject
*_wrap_RED_get(void) {
19980 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
19985 static int _wrap_BLUE_set(PyObject
*) {
19986 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
19991 static PyObject
*_wrap_BLUE_get(void) {
19994 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
19999 static int _wrap_GREEN_set(PyObject
*) {
20000 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
20005 static PyObject
*_wrap_GREEN_get(void) {
20008 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
20013 static int _wrap_CYAN_set(PyObject
*) {
20014 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
20019 static PyObject
*_wrap_CYAN_get(void) {
20022 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
20027 static int _wrap_LIGHT_GREY_set(PyObject
*) {
20028 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
20033 static PyObject
*_wrap_LIGHT_GREY_get(void) {
20036 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
20041 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
20042 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
20047 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
20050 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20055 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
20056 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
20061 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
20064 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20069 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
20070 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
20075 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
20078 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20083 static int _wrap_NullBitmap_set(PyObject
*) {
20084 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
20089 static PyObject
*_wrap_NullBitmap_get(void) {
20092 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
20097 static int _wrap_NullIcon_set(PyObject
*) {
20098 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
20103 static PyObject
*_wrap_NullIcon_get(void) {
20106 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
20111 static int _wrap_NullCursor_set(PyObject
*) {
20112 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
20117 static PyObject
*_wrap_NullCursor_get(void) {
20120 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
20125 static int _wrap_NullPen_set(PyObject
*) {
20126 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
20131 static PyObject
*_wrap_NullPen_get(void) {
20134 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
20139 static int _wrap_NullBrush_set(PyObject
*) {
20140 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
20145 static PyObject
*_wrap_NullBrush_get(void) {
20148 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
20153 static int _wrap_NullPalette_set(PyObject
*) {
20154 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
20159 static PyObject
*_wrap_NullPalette_get(void) {
20162 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
20167 static int _wrap_NullFont_set(PyObject
*) {
20168 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
20173 static PyObject
*_wrap_NullFont_get(void) {
20176 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
20181 static int _wrap_NullColour_set(PyObject
*) {
20182 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
20187 static PyObject
*_wrap_NullColour_get(void) {
20190 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
20195 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxPenList
*arg1
= (wxPenList
*) 0 ;
20198 wxPen
*arg2
= (wxPen
*) 0 ;
20199 PyObject
* obj0
= 0 ;
20200 PyObject
* obj1
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self",(char *) "pen", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
20206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20207 if (SWIG_arg_fail(1)) SWIG_fail
;
20208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
20209 if (SWIG_arg_fail(2)) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 (arg1
)->AddPen(arg2
);
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20217 Py_INCREF(Py_None
); resultobj
= Py_None
;
20224 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxPenList
*arg1
= (wxPenList
*) 0 ;
20227 wxColour
*arg2
= 0 ;
20232 PyObject
* obj0
= 0 ;
20233 PyObject
* obj1
= 0 ;
20234 PyObject
* obj2
= 0 ;
20235 PyObject
* obj3
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20242 if (SWIG_arg_fail(1)) SWIG_fail
;
20245 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20248 arg3
= (int)(SWIG_As_int(obj2
));
20249 if (SWIG_arg_fail(3)) SWIG_fail
;
20252 arg4
= (int)(SWIG_As_int(obj3
));
20253 if (SWIG_arg_fail(4)) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20269 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxPenList
*arg1
= (wxPenList
*) 0 ;
20272 wxPen
*arg2
= (wxPen
*) 0 ;
20273 PyObject
* obj0
= 0 ;
20274 PyObject
* obj1
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self",(char *) "pen", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20281 if (SWIG_arg_fail(1)) SWIG_fail
;
20282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
20283 if (SWIG_arg_fail(2)) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 (arg1
)->RemovePen(arg2
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 Py_INCREF(Py_None
); resultobj
= Py_None
;
20298 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxPenList
*arg1
= (wxPenList
*) 0 ;
20302 PyObject
* obj0
= 0 ;
20303 char *kwnames
[] = {
20304 (char *) "self", NULL
20307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
20308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20309 if (SWIG_arg_fail(1)) SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (int)(arg1
)->GetCount();
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_From_int((int)(result
));
20326 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
20328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20329 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
20331 return Py_BuildValue((char *)"");
20333 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20336 wxBrush
*arg2
= (wxBrush
*) 0 ;
20337 PyObject
* obj0
= 0 ;
20338 PyObject
* obj1
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self",(char *) "brush", NULL
20343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
20344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20345 if (SWIG_arg_fail(1)) SWIG_fail
;
20346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
20347 if (SWIG_arg_fail(2)) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 (arg1
)->AddBrush(arg2
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 Py_INCREF(Py_None
); resultobj
= Py_None
;
20362 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
;
20364 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20365 wxColour
*arg2
= 0 ;
20366 int arg3
= (int) wxSOLID
;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 PyObject
* obj2
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "self",(char *) "colour",(char *) "style", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail
;
20381 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20385 arg3
= (int)(SWIG_As_int(obj2
));
20386 if (SWIG_arg_fail(3)) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
20403 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
;
20405 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20406 wxBrush
*arg2
= (wxBrush
*) 0 ;
20407 PyObject
* obj0
= 0 ;
20408 PyObject
* obj1
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self",(char *) "brush", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
20414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20415 if (SWIG_arg_fail(1)) SWIG_fail
;
20416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
20417 if (SWIG_arg_fail(2)) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 (arg1
)->RemoveBrush(arg2
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 Py_INCREF(Py_None
); resultobj
= Py_None
;
20432 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "self", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
20442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20443 if (SWIG_arg_fail(1)) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 result
= (int)(arg1
)->GetCount();
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= SWIG_From_int((int)(result
));
20460 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
20462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20463 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
20465 return Py_BuildValue((char *)"");
20467 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20469 wxColourDatabase
*result
;
20470 char *kwnames
[] = {
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
20476 if (!wxPyCheckForApp()) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (wxColourDatabase
*)new wxColourDatabase();
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
20490 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
20499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20500 if (SWIG_arg_fail(1)) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 Py_INCREF(Py_None
); resultobj
= Py_None
;
20515 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20517 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20518 wxString
*arg2
= 0 ;
20520 bool temp2
= false ;
20521 PyObject
* obj0
= 0 ;
20522 PyObject
* obj1
= 0 ;
20523 char *kwnames
[] = {
20524 (char *) "self",(char *) "name", NULL
20527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
20528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20529 if (SWIG_arg_fail(1)) SWIG_fail
;
20531 arg2
= wxString_in_helper(obj1
);
20532 if (arg2
== NULL
) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20543 wxColour
* resultptr
;
20544 resultptr
= new wxColour((wxColour
&)(result
));
20545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20561 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20564 wxColour
*arg2
= 0 ;
20567 PyObject
* obj0
= 0 ;
20568 PyObject
* obj1
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "self",(char *) "colour", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
20574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20575 if (SWIG_arg_fail(1)) SWIG_fail
;
20578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20600 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20603 wxString
*arg2
= 0 ;
20604 wxColour
*arg3
= 0 ;
20605 bool temp2
= false ;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20609 PyObject
* obj2
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self",(char *) "name",(char *) "colour", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20616 if (SWIG_arg_fail(1)) SWIG_fail
;
20618 arg2
= wxString_in_helper(obj1
);
20619 if (arg2
== NULL
) SWIG_fail
;
20624 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 Py_INCREF(Py_None
); resultobj
= Py_None
;
20648 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
;
20650 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20651 wxString
*arg2
= 0 ;
20655 bool temp2
= false ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 PyObject
* obj2
= 0 ;
20659 PyObject
* obj3
= 0 ;
20660 PyObject
* obj4
= 0 ;
20661 char *kwnames
[] = {
20662 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
20665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20667 if (SWIG_arg_fail(1)) SWIG_fail
;
20669 arg2
= wxString_in_helper(obj1
);
20670 if (arg2
== NULL
) SWIG_fail
;
20674 arg3
= (int)(SWIG_As_int(obj2
));
20675 if (SWIG_arg_fail(3)) SWIG_fail
;
20678 arg4
= (int)(SWIG_As_int(obj3
));
20679 if (SWIG_arg_fail(4)) SWIG_fail
;
20682 arg5
= (int)(SWIG_As_int(obj4
));
20683 if (SWIG_arg_fail(5)) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 Py_INCREF(Py_None
); resultobj
= Py_None
;
20707 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
20709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20710 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
20712 return Py_BuildValue((char *)"");
20714 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
;
20716 wxFontList
*arg1
= (wxFontList
*) 0 ;
20717 wxFont
*arg2
= (wxFont
*) 0 ;
20718 PyObject
* obj0
= 0 ;
20719 PyObject
* obj1
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self",(char *) "font", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20726 if (SWIG_arg_fail(1)) SWIG_fail
;
20727 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20728 if (SWIG_arg_fail(2)) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 (arg1
)->AddFont(arg2
);
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 Py_INCREF(Py_None
); resultobj
= Py_None
;
20743 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxFontList
*arg1
= (wxFontList
*) 0 ;
20750 bool arg6
= (bool) false ;
20751 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20752 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20753 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
20755 bool temp7
= false ;
20756 PyObject
* obj0
= 0 ;
20757 PyObject
* obj1
= 0 ;
20758 PyObject
* obj2
= 0 ;
20759 PyObject
* obj3
= 0 ;
20760 PyObject
* obj4
= 0 ;
20761 PyObject
* obj5
= 0 ;
20762 PyObject
* obj6
= 0 ;
20763 PyObject
* obj7
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20770 if (SWIG_arg_fail(1)) SWIG_fail
;
20772 arg2
= (int)(SWIG_As_int(obj1
));
20773 if (SWIG_arg_fail(2)) SWIG_fail
;
20776 arg3
= (int)(SWIG_As_int(obj2
));
20777 if (SWIG_arg_fail(3)) SWIG_fail
;
20780 arg4
= (int)(SWIG_As_int(obj3
));
20781 if (SWIG_arg_fail(4)) SWIG_fail
;
20784 arg5
= (int)(SWIG_As_int(obj4
));
20785 if (SWIG_arg_fail(5)) SWIG_fail
;
20789 arg6
= (bool)(SWIG_As_bool(obj5
));
20790 if (SWIG_arg_fail(6)) SWIG_fail
;
20795 arg7
= wxString_in_helper(obj6
);
20796 if (arg7
== NULL
) SWIG_fail
;
20802 arg8
= (wxFontEncoding
)(SWIG_As_int(obj7
));
20803 if (SWIG_arg_fail(8)) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
20828 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxFontList
*arg1
= (wxFontList
*) 0 ;
20831 wxFont
*arg2
= (wxFont
*) 0 ;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self",(char *) "font", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20840 if (SWIG_arg_fail(1)) SWIG_fail
;
20841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20842 if (SWIG_arg_fail(2)) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 (arg1
)->RemoveFont(arg2
);
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 Py_INCREF(Py_None
); resultobj
= Py_None
;
20857 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 wxFontList
*arg1
= (wxFontList
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 char *kwnames
[] = {
20863 (char *) "self", NULL
20866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
20867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20868 if (SWIG_arg_fail(1)) SWIG_fail
;
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= (int)(arg1
)->GetCount();
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20877 resultobj
= SWIG_From_int((int)(result
));
20885 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
20887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20888 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
20890 return Py_BuildValue((char *)"");
20892 static int _wrap_TheFontList_set(PyObject
*) {
20893 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
20898 static PyObject
*_wrap_TheFontList_get(void) {
20901 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
20906 static int _wrap_ThePenList_set(PyObject
*) {
20907 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
20912 static PyObject
*_wrap_ThePenList_get(void) {
20915 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
20920 static int _wrap_TheBrushList_set(PyObject
*) {
20921 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
20926 static PyObject
*_wrap_TheBrushList_get(void) {
20929 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
20934 static int _wrap_TheColourDatabase_set(PyObject
*) {
20935 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
20940 static PyObject
*_wrap_TheColourDatabase_get(void) {
20943 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
20948 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20951 char *kwnames
[] = {
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (wxEffects
*)new wxEffects();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
20970 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxEffects
*arg1
= (wxEffects
*) 0 ;
20974 PyObject
* obj0
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "self", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
20980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20981 if (SWIG_arg_fail(1)) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20990 wxColour
* resultptr
;
20991 resultptr
= new wxColour((wxColour
&)(result
));
20992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21000 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxEffects
*arg1
= (wxEffects
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
21010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21011 if (SWIG_arg_fail(1)) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21020 wxColour
* resultptr
;
21021 resultptr
= new wxColour((wxColour
&)(result
));
21022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21030 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
;
21032 wxEffects
*arg1
= (wxEffects
*) 0 ;
21034 PyObject
* obj0
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
21040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21041 if (SWIG_arg_fail(1)) SWIG_fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21050 wxColour
* resultptr
;
21051 resultptr
= new wxColour((wxColour
&)(result
));
21052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21060 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21062 wxEffects
*arg1
= (wxEffects
*) 0 ;
21064 PyObject
* obj0
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
21070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21071 if (SWIG_arg_fail(1)) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21080 wxColour
* resultptr
;
21081 resultptr
= new wxColour((wxColour
&)(result
));
21082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21090 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxEffects
*arg1
= (wxEffects
*) 0 ;
21094 PyObject
* obj0
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "self", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
21100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21101 if (SWIG_arg_fail(1)) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21110 wxColour
* resultptr
;
21111 resultptr
= new wxColour((wxColour
&)(result
));
21112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21120 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxEffects
*arg1
= (wxEffects
*) 0 ;
21123 wxColour
*arg2
= 0 ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "self",(char *) "c", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21133 if (SWIG_arg_fail(1)) SWIG_fail
;
21136 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 Py_INCREF(Py_None
); resultobj
= Py_None
;
21152 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxEffects
*arg1
= (wxEffects
*) 0 ;
21155 wxColour
*arg2
= 0 ;
21157 PyObject
* obj0
= 0 ;
21158 PyObject
* obj1
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self",(char *) "c", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail
;
21168 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 Py_INCREF(Py_None
); resultobj
= Py_None
;
21184 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxEffects
*arg1
= (wxEffects
*) 0 ;
21187 wxColour
*arg2
= 0 ;
21189 PyObject
* obj0
= 0 ;
21190 PyObject
* obj1
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self",(char *) "c", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21197 if (SWIG_arg_fail(1)) SWIG_fail
;
21200 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 Py_INCREF(Py_None
); resultobj
= Py_None
;
21216 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxEffects
*arg1
= (wxEffects
*) 0 ;
21219 wxColour
*arg2
= 0 ;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self",(char *) "c", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21229 if (SWIG_arg_fail(1)) SWIG_fail
;
21232 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21241 Py_INCREF(Py_None
); resultobj
= Py_None
;
21248 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21249 PyObject
*resultobj
;
21250 wxEffects
*arg1
= (wxEffects
*) 0 ;
21251 wxColour
*arg2
= 0 ;
21253 PyObject
* obj0
= 0 ;
21254 PyObject
* obj1
= 0 ;
21255 char *kwnames
[] = {
21256 (char *) "self",(char *) "c", NULL
21259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21261 if (SWIG_arg_fail(1)) SWIG_fail
;
21264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
21270 wxPyEndAllowThreads(__tstate
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21273 Py_INCREF(Py_None
); resultobj
= Py_None
;
21280 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxEffects
*arg1
= (wxEffects
*) 0 ;
21283 wxColour
*arg2
= 0 ;
21284 wxColour
*arg3
= 0 ;
21285 wxColour
*arg4
= 0 ;
21286 wxColour
*arg5
= 0 ;
21287 wxColour
*arg6
= 0 ;
21293 PyObject
* obj0
= 0 ;
21294 PyObject
* obj1
= 0 ;
21295 PyObject
* obj2
= 0 ;
21296 PyObject
* obj3
= 0 ;
21297 PyObject
* obj4
= 0 ;
21298 PyObject
* obj5
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21305 if (SWIG_arg_fail(1)) SWIG_fail
;
21308 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21312 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21316 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
21320 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
21324 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 Py_INCREF(Py_None
); resultobj
= Py_None
;
21340 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxEffects
*arg1
= (wxEffects
*) 0 ;
21345 int arg4
= (int) 1 ;
21347 PyObject
* obj0
= 0 ;
21348 PyObject
* obj1
= 0 ;
21349 PyObject
* obj2
= 0 ;
21350 PyObject
* obj3
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21357 if (SWIG_arg_fail(1)) SWIG_fail
;
21359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21360 if (SWIG_arg_fail(2)) SWIG_fail
;
21361 if (arg2
== NULL
) {
21362 SWIG_null_ref("wxDC");
21364 if (SWIG_arg_fail(2)) SWIG_fail
;
21368 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
21372 arg4
= (int)(SWIG_As_int(obj3
));
21373 if (SWIG_arg_fail(4)) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 Py_INCREF(Py_None
); resultobj
= Py_None
;
21390 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxEffects
*arg1
= (wxEffects
*) 0 ;
21395 wxBitmap
*arg4
= 0 ;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 PyObject
* obj2
= 0 ;
21401 PyObject
* obj3
= 0 ;
21402 char *kwnames
[] = {
21403 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21408 if (SWIG_arg_fail(1)) SWIG_fail
;
21411 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21414 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21415 if (SWIG_arg_fail(3)) SWIG_fail
;
21416 if (arg3
== NULL
) {
21417 SWIG_null_ref("wxDC");
21419 if (SWIG_arg_fail(3)) SWIG_fail
;
21422 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
21423 if (SWIG_arg_fail(4)) SWIG_fail
;
21424 if (arg4
== NULL
) {
21425 SWIG_null_ref("wxBitmap");
21427 if (SWIG_arg_fail(4)) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21445 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
21447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21448 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
21450 return Py_BuildValue((char *)"");
21452 static PyObject
*_wrap_new_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21457 wxSplitterRenderParams
*result
;
21458 PyObject
* obj0
= 0 ;
21459 PyObject
* obj1
= 0 ;
21460 PyObject
* obj2
= 0 ;
21461 char *kwnames
[] = {
21462 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
21465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21467 arg1
= (int)(SWIG_As_int(obj0
));
21468 if (SWIG_arg_fail(1)) SWIG_fail
;
21471 arg2
= (int)(SWIG_As_int(obj1
));
21472 if (SWIG_arg_fail(2)) SWIG_fail
;
21475 arg3
= (bool)(SWIG_As_bool(obj2
));
21476 if (SWIG_arg_fail(3)) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
21492 static PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21495 PyObject
* obj0
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SplitterRenderParams",kwnames
,&obj0
)) goto fail
;
21501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21502 if (SWIG_arg_fail(1)) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 Py_INCREF(Py_None
); resultobj
= Py_None
;
21517 static PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21521 PyObject
* obj0
= 0 ;
21522 char *kwnames
[] = {
21523 (char *) "self", NULL
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_widthSash_get",kwnames
,&obj0
)) goto fail
;
21527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21528 if (SWIG_arg_fail(1)) SWIG_fail
;
21529 result
= (int)(int) ((arg1
)->widthSash
);
21532 resultobj
= SWIG_From_int((int)(result
));
21540 static PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21544 PyObject
* obj0
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_border_get",kwnames
,&obj0
)) goto fail
;
21550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21551 if (SWIG_arg_fail(1)) SWIG_fail
;
21552 result
= (int)(int) ((arg1
)->border
);
21555 resultobj
= SWIG_From_int((int)(result
));
21563 static PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21567 PyObject
* obj0
= 0 ;
21568 char *kwnames
[] = {
21569 (char *) "self", NULL
21572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames
,&obj0
)) goto fail
;
21573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21574 if (SWIG_arg_fail(1)) SWIG_fail
;
21575 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
21578 resultobj
= SWIG_From_bool((bool)(result
));
21586 static PyObject
* SplitterRenderParams_swigregister(PyObject
*, PyObject
*args
) {
21588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21589 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams
, obj
);
21591 return Py_BuildValue((char *)"");
21593 static PyObject
*_wrap_new_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21597 wxRendererVersion
*result
;
21598 PyObject
* obj0
= 0 ;
21599 PyObject
* obj1
= 0 ;
21600 char *kwnames
[] = {
21601 (char *) "version_",(char *) "age_", NULL
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) goto fail
;
21606 arg1
= (int)(SWIG_As_int(obj0
));
21607 if (SWIG_arg_fail(1)) SWIG_fail
;
21610 arg2
= (int)(SWIG_As_int(obj1
));
21611 if (SWIG_arg_fail(2)) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererVersion
, 1);
21627 static PyObject
*_wrap_delete_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 char *kwnames
[] = {
21632 (char *) "self", NULL
21635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RendererVersion",kwnames
,&obj0
)) goto fail
;
21636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21637 if (SWIG_arg_fail(1)) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 Py_INCREF(Py_None
); resultobj
= Py_None
;
21652 static PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxRendererVersion
*arg1
= 0 ;
21656 PyObject
* obj0
= 0 ;
21657 char *kwnames
[] = {
21658 (char *) "ver", NULL
21661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) goto fail
;
21663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21664 if (SWIG_arg_fail(1)) SWIG_fail
;
21665 if (arg1
== NULL
) {
21666 SWIG_null_ref("wxRendererVersion");
21668 if (SWIG_arg_fail(1)) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21686 static PyObject
*_wrap_RendererVersion_version_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21690 PyObject
* obj0
= 0 ;
21691 char *kwnames
[] = {
21692 (char *) "self", NULL
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_version_get",kwnames
,&obj0
)) goto fail
;
21696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21697 if (SWIG_arg_fail(1)) SWIG_fail
;
21698 result
= (int)(int) ((arg1
)->version
);
21701 resultobj
= SWIG_From_int((int)(result
));
21709 static PyObject
*_wrap_RendererVersion_age_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21713 PyObject
* obj0
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "self", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_age_get",kwnames
,&obj0
)) goto fail
;
21719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21720 if (SWIG_arg_fail(1)) SWIG_fail
;
21721 result
= (int)(int) ((arg1
)->age
);
21724 resultobj
= SWIG_From_int((int)(result
));
21732 static PyObject
* RendererVersion_swigregister(PyObject
*, PyObject
*args
) {
21734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21735 SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion
, obj
);
21737 return Py_BuildValue((char *)"");
21739 static PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21742 wxWindow
*arg2
= (wxWindow
*) 0 ;
21745 int arg5
= (int) 0 ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 PyObject
* obj2
= 0 ;
21750 PyObject
* obj3
= 0 ;
21751 PyObject
* obj4
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21758 if (SWIG_arg_fail(1)) SWIG_fail
;
21759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21760 if (SWIG_arg_fail(2)) SWIG_fail
;
21762 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21763 if (SWIG_arg_fail(3)) SWIG_fail
;
21764 if (arg3
== NULL
) {
21765 SWIG_null_ref("wxDC");
21767 if (SWIG_arg_fail(3)) SWIG_fail
;
21771 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21775 arg5
= (int)(SWIG_As_int(obj4
));
21776 if (SWIG_arg_fail(5)) SWIG_fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 Py_INCREF(Py_None
); resultobj
= Py_None
;
21793 static PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21796 wxWindow
*arg2
= (wxWindow
*) 0 ;
21799 int arg5
= (int) 0 ;
21801 PyObject
* obj0
= 0 ;
21802 PyObject
* obj1
= 0 ;
21803 PyObject
* obj2
= 0 ;
21804 PyObject
* obj3
= 0 ;
21805 PyObject
* obj4
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21812 if (SWIG_arg_fail(1)) SWIG_fail
;
21813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21814 if (SWIG_arg_fail(2)) SWIG_fail
;
21816 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21817 if (SWIG_arg_fail(3)) SWIG_fail
;
21818 if (arg3
== NULL
) {
21819 SWIG_null_ref("wxDC");
21821 if (SWIG_arg_fail(3)) SWIG_fail
;
21825 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21829 arg5
= (int)(SWIG_As_int(obj4
));
21830 if (SWIG_arg_fail(5)) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 Py_INCREF(Py_None
); resultobj
= Py_None
;
21847 static PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21850 wxWindow
*arg2
= (wxWindow
*) 0 ;
21853 int arg5
= (int) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 PyObject
* obj2
= 0 ;
21858 PyObject
* obj3
= 0 ;
21859 PyObject
* obj4
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21866 if (SWIG_arg_fail(1)) SWIG_fail
;
21867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21868 if (SWIG_arg_fail(2)) SWIG_fail
;
21870 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21871 if (SWIG_arg_fail(3)) SWIG_fail
;
21872 if (arg3
== NULL
) {
21873 SWIG_null_ref("wxDC");
21875 if (SWIG_arg_fail(3)) SWIG_fail
;
21879 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21883 arg5
= (int)(SWIG_As_int(obj4
));
21884 if (SWIG_arg_fail(5)) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 Py_INCREF(Py_None
); resultobj
= Py_None
;
21901 static PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21904 wxWindow
*arg2
= (wxWindow
*) 0 ;
21908 wxOrientation arg6
;
21909 int arg7
= (int) 0 ;
21911 PyObject
* obj0
= 0 ;
21912 PyObject
* obj1
= 0 ;
21913 PyObject
* obj2
= 0 ;
21914 PyObject
* obj3
= 0 ;
21915 PyObject
* obj4
= 0 ;
21916 PyObject
* obj5
= 0 ;
21917 PyObject
* obj6
= 0 ;
21918 char *kwnames
[] = {
21919 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21924 if (SWIG_arg_fail(1)) SWIG_fail
;
21925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21926 if (SWIG_arg_fail(2)) SWIG_fail
;
21928 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21929 if (SWIG_arg_fail(3)) SWIG_fail
;
21930 if (arg3
== NULL
) {
21931 SWIG_null_ref("wxDC");
21933 if (SWIG_arg_fail(3)) SWIG_fail
;
21937 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21940 arg5
= (int)(SWIG_As_int(obj4
));
21941 if (SWIG_arg_fail(5)) SWIG_fail
;
21944 arg6
= (wxOrientation
)(SWIG_As_int(obj5
));
21945 if (SWIG_arg_fail(6)) SWIG_fail
;
21949 arg7
= (int)(SWIG_As_int(obj6
));
21950 if (SWIG_arg_fail(7)) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,(wxOrientation
)arg6
,arg7
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21960 Py_INCREF(Py_None
); resultobj
= Py_None
;
21967 static PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
;
21969 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21970 wxWindow
*arg2
= (wxWindow
*) 0 ;
21973 int arg5
= (int) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 PyObject
* obj2
= 0 ;
21978 PyObject
* obj3
= 0 ;
21979 PyObject
* obj4
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21986 if (SWIG_arg_fail(1)) SWIG_fail
;
21987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21988 if (SWIG_arg_fail(2)) SWIG_fail
;
21990 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21991 if (SWIG_arg_fail(3)) SWIG_fail
;
21992 if (arg3
== NULL
) {
21993 SWIG_null_ref("wxDC");
21995 if (SWIG_arg_fail(3)) SWIG_fail
;
21999 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22003 arg5
= (int)(SWIG_As_int(obj4
));
22004 if (SWIG_arg_fail(5)) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 Py_INCREF(Py_None
); resultobj
= Py_None
;
22021 static PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22024 wxWindow
*arg2
= (wxWindow
*) 0 ;
22027 int arg5
= (int) 0 ;
22029 PyObject
* obj0
= 0 ;
22030 PyObject
* obj1
= 0 ;
22031 PyObject
* obj2
= 0 ;
22032 PyObject
* obj3
= 0 ;
22033 PyObject
* obj4
= 0 ;
22034 char *kwnames
[] = {
22035 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail
;
22041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22042 if (SWIG_arg_fail(2)) SWIG_fail
;
22044 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22045 if (SWIG_arg_fail(3)) SWIG_fail
;
22046 if (arg3
== NULL
) {
22047 SWIG_null_ref("wxDC");
22049 if (SWIG_arg_fail(3)) SWIG_fail
;
22053 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22057 arg5
= (int)(SWIG_As_int(obj4
));
22058 if (SWIG_arg_fail(5)) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 Py_INCREF(Py_None
); resultobj
= Py_None
;
22075 static PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22078 wxWindow
*arg2
= (wxWindow
*) 0 ;
22079 SwigValueWrapper
<wxSplitterRenderParams
> result
;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self",(char *) "win", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) goto fail
;
22087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22088 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22090 if (SWIG_arg_fail(2)) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22099 wxSplitterRenderParams
* resultptr
;
22100 resultptr
= new wxSplitterRenderParams((wxSplitterRenderParams
&)(result
));
22101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
22109 static PyObject
*_wrap_RendererNative_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxRendererNative
*result
;
22112 char *kwnames
[] = {
22116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_Get",kwnames
)) goto fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 wxRendererNative
&_result_ref
= wxRendererNative::Get();
22121 result
= (wxRendererNative
*) &_result_ref
;
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22134 static PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxRendererNative
*result
;
22137 char *kwnames
[] = {
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetGeneric",kwnames
)) goto fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
22146 result
= (wxRendererNative
*) &_result_ref
;
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22159 static PyObject
*_wrap_RendererNative_GetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxRendererNative
*result
;
22162 char *kwnames
[] = {
22166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetDefault",kwnames
)) goto fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
22171 result
= (wxRendererNative
*) &_result_ref
;
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22184 static PyObject
*_wrap_RendererNative_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22187 wxRendererNative
*result
;
22188 PyObject
* obj0
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "renderer", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) goto fail
;
22194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22195 if (SWIG_arg_fail(1)) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22210 static PyObject
*_wrap_RendererNative_GetVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22213 SwigValueWrapper
<wxRendererVersion
> result
;
22214 PyObject
* obj0
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_GetVersion",kwnames
,&obj0
)) goto fail
;
22220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22221 if (SWIG_arg_fail(1)) SWIG_fail
;
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22230 wxRendererVersion
* resultptr
;
22231 resultptr
= new wxRendererVersion((wxRendererVersion
&)(result
));
22232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRendererVersion
, 1);
22240 static PyObject
* RendererNative_swigregister(PyObject
*, PyObject
*args
) {
22242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22243 SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative
, obj
);
22245 return Py_BuildValue((char *)"");
22247 static PyMethodDef SwigMethods
[] = {
22248 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22249 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22250 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22251 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22252 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22253 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
22254 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22255 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22256 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22257 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22258 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22259 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22260 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22261 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22262 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22263 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22264 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22265 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22266 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22267 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22268 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22269 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22270 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
22271 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22272 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22273 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22274 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22275 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22276 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22277 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
22278 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22279 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22280 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22281 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22282 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22283 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22284 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22285 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22286 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22287 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22288 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22289 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22290 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22291 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22292 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22293 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22294 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22295 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22296 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22297 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22298 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22299 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
22300 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22301 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22302 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22303 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22304 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22305 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22306 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22307 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22308 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22309 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22310 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22311 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
22312 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22313 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22314 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22315 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22316 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22317 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22318 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22319 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22320 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22321 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22322 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22323 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22324 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22325 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22326 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22327 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22328 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22329 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22330 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22331 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22332 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22333 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22334 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22335 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22336 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22337 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22338 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22339 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22340 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22341 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22342 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22343 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
22344 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22345 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
22346 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22347 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22348 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22349 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22350 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22351 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22352 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22353 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22354 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22355 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22356 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22357 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22358 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22359 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22360 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22361 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22362 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22363 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22364 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
22365 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22366 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22367 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22368 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22369 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22370 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22371 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22372 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
22373 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22374 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22375 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22376 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22377 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22378 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22379 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22380 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
22381 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22382 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22383 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22384 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22385 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22386 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22387 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22388 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22389 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22390 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22391 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22392 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22393 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22394 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22395 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
22396 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22397 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22398 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22399 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22400 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22401 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22402 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22403 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22404 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22405 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22406 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22407 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22408 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22409 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22410 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22411 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22412 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22413 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22414 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22415 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22416 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22417 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22418 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22419 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22420 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22421 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22422 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22423 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22424 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
22425 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22426 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22427 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22428 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22429 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22430 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22431 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22432 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22433 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22434 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22435 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22436 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22437 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22438 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
22439 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22440 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22441 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22442 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22443 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22444 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22445 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22446 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22447 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22448 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22449 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22450 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22451 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22452 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22453 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22454 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22455 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22456 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22457 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22458 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22459 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22460 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22461 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22462 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22463 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22464 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
22465 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22466 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22467 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22468 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22469 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22470 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22471 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22472 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22473 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
22474 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22475 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22476 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22477 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22478 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22479 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22480 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22481 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22482 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22483 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22484 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22485 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22486 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22487 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22488 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22489 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22490 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22491 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22492 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
22493 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22494 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22495 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22496 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22497 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22498 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22499 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22500 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22501 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22502 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22503 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22504 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22505 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22506 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22507 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22508 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22509 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22510 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22511 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22512 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22513 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22514 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22515 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22516 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22517 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22518 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22519 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22520 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22521 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22522 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22523 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22524 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22525 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22526 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22527 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22528 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22529 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22530 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22531 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22532 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22533 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22534 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
22535 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22536 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22537 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22538 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22539 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22540 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22541 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22542 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
22543 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22544 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22545 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22546 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22547 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22548 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22549 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
22550 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22551 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22552 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22553 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22554 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22555 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22556 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22557 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22558 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22559 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22560 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22561 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22562 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22563 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22564 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22565 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22566 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22567 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22568 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22569 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22570 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22571 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
22572 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22573 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
22574 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22575 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22576 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22577 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22578 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22579 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22580 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22581 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
22582 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22583 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22584 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22585 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22586 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22587 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22588 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22589 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22590 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22591 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22592 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22593 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22594 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22595 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22596 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22597 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22598 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22599 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22600 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22601 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22602 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22603 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22604 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22605 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22606 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22607 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22608 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22609 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22610 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22611 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22612 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22613 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22614 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22615 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22616 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22617 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22618 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22619 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22620 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22621 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22622 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22623 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22624 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22625 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22626 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22627 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22628 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22629 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22630 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22631 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22632 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22633 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22634 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22635 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22636 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22637 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22638 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22639 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22640 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22641 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22642 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22643 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22644 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22645 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22646 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22647 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22648 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22649 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22650 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22651 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22652 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22653 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22654 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22655 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22656 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22657 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22658 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22659 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22660 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22661 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22662 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22663 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22664 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22665 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22666 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22667 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22668 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22669 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22670 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22671 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22672 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22673 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22674 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22675 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22676 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22677 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22678 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22679 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22680 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22681 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22682 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22683 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22684 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22685 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22686 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22687 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22688 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22689 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22690 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22691 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22692 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22693 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22694 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22695 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22696 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22697 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22698 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22699 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22700 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22701 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22702 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22703 { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22704 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22705 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22706 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22707 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22708 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22709 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22710 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
22711 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22712 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22713 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22714 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
22715 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
22716 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22717 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22718 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
22719 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22720 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
22721 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22722 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22723 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22724 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22725 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
22726 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22727 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
22728 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22729 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
22730 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22731 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
22732 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22733 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
22734 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22735 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22736 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22737 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22738 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22739 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
22740 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22741 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22742 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22743 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22744 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22745 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22746 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22747 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22748 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
22749 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22750 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22751 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
22752 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22753 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
22754 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22755 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22756 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22757 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22758 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22759 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22760 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22761 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22762 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22763 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22764 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22765 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22766 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22767 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
22768 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22769 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22770 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22771 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22772 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
22773 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22774 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22775 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22776 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22777 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
22778 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22779 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22780 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22781 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22782 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22783 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22784 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
22785 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22786 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22787 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22788 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22789 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
22790 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22791 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22792 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22793 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22794 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22795 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22796 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22797 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22798 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22799 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22800 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22801 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22802 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22803 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22804 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
22805 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22806 { (char *)"delete_SplitterRenderParams", (PyCFunction
) _wrap_delete_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22807 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
) _wrap_SplitterRenderParams_widthSash_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22808 { (char *)"SplitterRenderParams_border_get", (PyCFunction
) _wrap_SplitterRenderParams_border_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22809 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
) _wrap_SplitterRenderParams_isHotSensitive_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22810 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
22811 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22812 { (char *)"delete_RendererVersion", (PyCFunction
) _wrap_delete_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22813 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22814 { (char *)"RendererVersion_version_get", (PyCFunction
) _wrap_RendererVersion_version_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22815 { (char *)"RendererVersion_age_get", (PyCFunction
) _wrap_RendererVersion_age_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22816 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
22817 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22818 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22819 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22820 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22821 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22822 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22823 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22824 { (char *)"RendererNative_Get", (PyCFunction
) _wrap_RendererNative_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22825 { (char *)"RendererNative_GetGeneric", (PyCFunction
) _wrap_RendererNative_GetGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22826 { (char *)"RendererNative_GetDefault", (PyCFunction
) _wrap_RendererNative_GetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22827 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22828 { (char *)"RendererNative_GetVersion", (PyCFunction
) _wrap_RendererNative_GetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22829 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
22830 { NULL
, NULL
, 0, NULL
}
22834 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
22836 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
22837 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
22839 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
22840 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22842 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
22843 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
22845 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
22846 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
22848 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
22849 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
22851 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
22852 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
22854 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
22855 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
22857 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
22858 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
22860 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
22861 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
22863 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
22864 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
22866 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
22867 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
22869 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
22870 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
22872 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
22873 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
22875 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
22876 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
22878 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
22879 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
22881 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
22882 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
22884 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
22885 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22887 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
22888 return (void *)((wxDC
*) ((wxClientDC
*) x
));
22890 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
22891 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
22893 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
22894 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
22896 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
22897 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
22899 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
22900 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22902 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
22903 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
22905 static void *_p_wxPenTo_p_wxObject(void *x
) {
22906 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
22908 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
22909 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
22911 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
22912 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
22914 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
22915 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
22917 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
22918 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
22920 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
22921 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
22923 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
22924 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
22926 static void *_p_wxIconTo_p_wxObject(void *x
) {
22927 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
22929 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
22930 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
22932 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
22933 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
22935 static void *_p_wxSizerTo_p_wxObject(void *x
) {
22936 return (void *)((wxObject
*) ((wxSizer
*) x
));
22938 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
22939 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
22941 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
22942 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22944 static void *_p_wxPenListTo_p_wxObject(void *x
) {
22945 return (void *)((wxObject
*) ((wxPenList
*) x
));
22947 static void *_p_wxEventTo_p_wxObject(void *x
) {
22948 return (void *)((wxObject
*) ((wxEvent
*) x
));
22950 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
22951 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
22953 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
22954 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
22956 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
22957 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
22959 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
22960 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
22962 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
22963 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
22965 static void *_p_wxDCTo_p_wxObject(void *x
) {
22966 return (void *)((wxObject
*) ((wxDC
*) x
));
22968 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
22969 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
22971 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
22972 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22974 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22975 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22977 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22978 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22980 static void *_p_wxControlTo_p_wxObject(void *x
) {
22981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22983 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22984 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22986 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
22987 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
22989 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22990 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22992 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
22993 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
22995 static void *_p_wxRegionTo_p_wxObject(void *x
) {
22996 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
22998 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22999 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23001 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
23002 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
23004 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
23005 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
23007 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
23008 return (void *)((wxObject
*) ((wxEffects
*) x
));
23010 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23011 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23013 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23014 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23016 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
23017 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
23019 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23020 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23022 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23023 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23025 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
23026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
23028 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23029 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23031 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23034 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23035 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23037 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23038 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23040 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23041 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23043 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23044 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23046 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23047 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23049 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23050 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23052 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23053 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23055 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23056 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23058 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23059 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23061 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23062 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23064 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23065 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23067 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23068 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23070 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23071 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23073 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23074 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23076 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23077 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23079 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
23080 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
23082 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23083 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23085 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23086 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23088 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23089 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23091 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23092 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23094 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
23095 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
23097 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
23098 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
23100 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
23101 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
23103 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
23104 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
23106 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
23107 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
23109 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23110 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23112 static void *_p_wxImageTo_p_wxObject(void *x
) {
23113 return (void *)((wxObject
*) ((wxImage
*) x
));
23115 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23116 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23118 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
23119 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
23121 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
23122 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
23124 static void *_p_wxImageListTo_p_wxObject(void *x
) {
23125 return (void *)((wxObject
*) ((wxImageList
*) x
));
23127 static void *_p_wxCursorTo_p_wxObject(void *x
) {
23128 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
23130 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
23131 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
23133 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
23134 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
23136 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23139 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23140 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23142 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23143 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23145 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23146 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23148 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23149 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23151 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23154 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
23155 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
23157 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
23158 return (void *)((wxObject
*) ((wxBrushList
*) x
));
23160 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
23161 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
23163 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
23164 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
23166 static void *_p_wxMaskTo_p_wxObject(void *x
) {
23167 return (void *)((wxObject
*) ((wxMask
*) x
));
23169 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
23170 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23172 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
23173 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
23175 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
23176 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
23178 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
23179 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
23181 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
23182 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
23184 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
23185 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
23187 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
23188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23190 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
23191 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
23193 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
23194 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
23196 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
23197 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
23199 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
23200 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23202 static void *_p_wxFontTo_p_wxObject(void *x
) {
23203 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
23205 static void *_p_wxBrushTo_p_wxObject(void *x
) {
23206 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
23208 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
23209 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
23211 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
23212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23214 static void *_p_wxColourTo_p_wxObject(void *x
) {
23215 return (void *)((wxObject
*) ((wxColour
*) x
));
23217 static void *_p_wxFontListTo_p_wxObject(void *x
) {
23218 return (void *)((wxObject
*) ((wxFontList
*) x
));
23220 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
23221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
23223 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
23224 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
23226 static void *_p_wxControlTo_p_wxWindow(void *x
) {
23227 return (void *)((wxWindow
*) ((wxControl
*) x
));
23229 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
23230 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
23232 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
23233 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
23235 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}};
23236 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}};
23237 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}};
23238 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}};
23239 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}};
23240 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}};
23241 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}};
23242 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}};
23243 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}};
23244 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}};
23245 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}};
23246 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}};
23247 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}};
23248 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}};
23249 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}};
23250 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}};
23251 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}};
23252 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}};
23253 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}};
23254 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}};
23255 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}};
23256 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}};
23257 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}};
23258 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}};
23259 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPenList", _p_wxPenListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
23260 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}};
23261 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}};
23262 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}};
23263 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}};
23264 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}};
23265 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}};
23266 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}};
23267 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}};
23268 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}};
23269 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}};
23270 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}};
23271 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}};
23272 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}};
23273 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}};
23274 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}};
23275 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}};
23276 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}};
23277 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}};
23278 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}};
23279 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}};
23280 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}};
23281 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}};
23282 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}};
23283 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}};
23284 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}};
23285 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}};
23286 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}};
23287 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}};
23288 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}};
23289 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}};
23290 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}};
23291 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}};
23292 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}};
23293 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}};
23294 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}};
23295 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}};
23296 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}};
23297 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}};
23298 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}};
23300 static swig_type_info
*swig_types_initial
[] = {
23301 _swigt__p_wxPostScriptDC
,
23303 _swigt__p_wxColour
,
23305 _swigt__p_wxMirrorDC
,
23306 _swigt__p_form_ops_t
,
23307 _swigt__p_wxRendererVersion
,
23308 _swigt__p_wxDuplexMode
,
23309 _swigt__p_wxPyFontEnumerator
,
23311 _swigt__p_wxIconLocation
,
23313 _swigt__p_wxMetaFileDC
,
23317 _swigt__p_wxWindow
,
23319 _swigt__p_wxMemoryDC
,
23320 _swigt__p_wxFontMapper
,
23321 _swigt__p_wxEffects
,
23322 _swigt__p_wxNativeEncodingInfo
,
23323 _swigt__p_wxPalette
,
23324 _swigt__p_wxBitmap
,
23325 _swigt__p_wxObject
,
23326 _swigt__p_wxRegionIterator
,
23328 _swigt__p_wxPaperSize
,
23329 _swigt__p_wxString
,
23330 _swigt__unsigned_int
,
23331 _swigt__p_unsigned_int
,
23332 _swigt__p_wxPrinterDC
,
23333 _swigt__p_wxIconBundle
,
23336 _swigt__p_wxScreenDC
,
23337 _swigt__p_wxCursor
,
23338 _swigt__p_wxClientDC
,
23339 _swigt__p_wxBufferedDC
,
23340 _swigt__p_wxImageList
,
23341 _swigt__p_unsigned_char
,
23342 _swigt__p_wxGDIObject
,
23344 _swigt__p_wxLocale
,
23346 _swigt__std__ptrdiff_t
,
23347 _swigt__p_wxRegion
,
23348 _swigt__p_wxLanguageInfo
,
23349 _swigt__p_wxWindowDC
,
23350 _swigt__p_wxPrintData
,
23351 _swigt__p_wxBrushList
,
23352 _swigt__p_wxFontList
,
23354 _swigt__p_wxBufferedPaintDC
,
23355 _swigt__p_wxPaintDC
,
23356 _swigt__p_wxPenList
,
23358 _swigt__p_wxMetaFile
,
23359 _swigt__p_wxRendererNative
,
23360 _swigt__p_unsigned_long
,
23361 _swigt__p_wxNativeFontInfo
,
23362 _swigt__p_wxEncodingConverter
,
23363 _swigt__p_wxSplitterRenderParams
,
23364 _swigt__p_wxColourDatabase
,
23369 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23371 static swig_const_info swig_const_table
[] = {
23372 {0, 0, 0, 0.0, 0, 0}};
23383 /* Python-specific SWIG API */
23384 #define SWIG_newvarlink() SWIG_Python_newvarlink()
23385 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
23386 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
23388 /* -----------------------------------------------------------------------------
23389 * global variable support code.
23390 * ----------------------------------------------------------------------------- */
23392 typedef struct swig_globalvar
{
23393 char *name
; /* Name of global variable */
23394 PyObject
*(*get_attr
)(); /* Return the current value */
23395 int (*set_attr
)(PyObject
*); /* Set the value */
23396 struct swig_globalvar
*next
;
23399 typedef struct swig_varlinkobject
{
23401 swig_globalvar
*vars
;
23402 } swig_varlinkobject
;
23405 swig_varlink_repr(swig_varlinkobject
*v
) {
23407 return PyString_FromString("<Swig global variables>");
23411 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
23412 swig_globalvar
*var
;
23414 fprintf(fp
,"Swig global variables { ");
23415 for (var
= v
->vars
; var
; var
=var
->next
) {
23416 fprintf(fp
,"%s", var
->name
);
23417 if (var
->next
) fprintf(fp
,", ");
23419 fprintf(fp
," }\n");
23424 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
23425 swig_globalvar
*var
= v
->vars
;
23427 if (strcmp(var
->name
,n
) == 0) {
23428 return (*var
->get_attr
)();
23432 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23437 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
23438 swig_globalvar
*var
= v
->vars
;
23440 if (strcmp(var
->name
,n
) == 0) {
23441 return (*var
->set_attr
)(p
);
23445 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23449 static PyTypeObject varlinktype
= {
23450 PyObject_HEAD_INIT(0)
23451 0, /* Number of items in variable part (ob_size) */
23452 (char *)"swigvarlink", /* Type name (tp_name) */
23453 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
23454 0, /* Itemsize (tp_itemsize) */
23455 0, /* Deallocator (tp_dealloc) */
23456 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
23457 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
23458 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
23459 0, /* tp_compare */
23460 (reprfunc
) swig_varlink_repr
, /* tp_repr */
23461 0, /* tp_as_number */
23462 0, /* tp_as_sequence */
23463 0, /* tp_as_mapping */
23467 0, /* tp_getattro */
23468 0, /* tp_setattro */
23469 0, /* tp_as_buffer */
23472 #if PY_VERSION_HEX >= 0x02000000
23473 0, /* tp_traverse */
23476 #if PY_VERSION_HEX >= 0x02010000
23477 0, /* tp_richcompare */
23478 0, /* tp_weaklistoffset */
23480 #if PY_VERSION_HEX >= 0x02020000
23481 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
23483 #if PY_VERSION_HEX >= 0x02030000
23486 #ifdef COUNT_ALLOCS
23487 0,0,0,0 /* tp_alloc -> tp_next */
23491 /* Create a variable linking object for use later */
23493 SWIG_Python_newvarlink(void) {
23494 swig_varlinkobject
*result
= 0;
23495 result
= PyMem_NEW(swig_varlinkobject
,1);
23496 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
23497 result
->ob_type
= &varlinktype
;
23499 result
->ob_refcnt
= 0;
23500 Py_XINCREF((PyObject
*) result
);
23501 return ((PyObject
*) result
);
23505 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
23506 swig_varlinkobject
*v
;
23507 swig_globalvar
*gv
;
23508 v
= (swig_varlinkobject
*) p
;
23509 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
23510 gv
->name
= (char *) malloc(strlen(name
)+1);
23511 strcpy(gv
->name
,name
);
23512 gv
->get_attr
= get_attr
;
23513 gv
->set_attr
= set_attr
;
23514 gv
->next
= v
->vars
;
23518 /* -----------------------------------------------------------------------------
23519 * constants/methods manipulation
23520 * ----------------------------------------------------------------------------- */
23522 /* Install Constants */
23524 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
23527 for (i
= 0; constants
[i
].type
; i
++) {
23528 switch(constants
[i
].type
) {
23530 obj
= PyInt_FromLong(constants
[i
].lvalue
);
23532 case SWIG_PY_FLOAT
:
23533 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
23535 case SWIG_PY_STRING
:
23536 if (constants
[i
].pvalue
) {
23537 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
23539 Py_INCREF(Py_None
);
23543 case SWIG_PY_POINTER
:
23544 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
23546 case SWIG_PY_BINARY
:
23547 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
23554 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
23560 /* -----------------------------------------------------------------------------*/
23561 /* Fix SwigMethods to carry the callback ptrs when needed */
23562 /* -----------------------------------------------------------------------------*/
23565 SWIG_Python_FixMethods(PyMethodDef
*methods
,
23566 swig_const_info
*const_table
,
23567 swig_type_info
**types
,
23568 swig_type_info
**types_initial
) {
23570 for (i
= 0; methods
[i
].ml_name
; ++i
) {
23571 char *c
= methods
[i
].ml_doc
;
23572 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
23574 swig_const_info
*ci
= 0;
23575 char *name
= c
+ 10;
23576 for (j
= 0; const_table
[j
].type
; j
++) {
23577 if (strncmp(const_table
[j
].name
, name
,
23578 strlen(const_table
[j
].name
)) == 0) {
23579 ci
= &(const_table
[j
]);
23584 size_t shift
= (ci
->ptype
) - types
;
23585 swig_type_info
*ty
= types_initial
[shift
];
23586 size_t ldoc
= (c
- methods
[i
].ml_doc
);
23587 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
23588 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
23590 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
23591 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
23593 strncpy(buff
, "swig_ptr: ", 10);
23595 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
23596 methods
[i
].ml_doc
= ndoc
;
23602 /* -----------------------------------------------------------------------------*
23603 * Initialize type list
23604 * -----------------------------------------------------------------------------*/
23606 #if PY_MAJOR_VERSION < 2
23607 /* PyModule_AddObject function was introduced in Python 2.0. The following function
23608 is copied out of Python/modsupport.c in python version 2.3.4 */
23610 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
23613 if (!PyModule_Check(m
)) {
23614 PyErr_SetString(PyExc_TypeError
,
23615 "PyModule_AddObject() needs module as first arg");
23619 PyErr_SetString(PyExc_TypeError
,
23620 "PyModule_AddObject() needs non-NULL value");
23624 dict
= PyModule_GetDict(m
);
23625 if (dict
== NULL
) {
23626 /* Internal error -- modules must have a dict! */
23627 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
23628 PyModule_GetName(m
));
23631 if (PyDict_SetItemString(dict
, name
, o
))
23638 static swig_type_info
**
23639 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
23640 static PyMethodDef swig_empty_runtime_method_table
[] = {
23642 NULL
, NULL
, 0, NULL
23646 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
23647 swig_empty_runtime_method_table
);
23648 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
23649 if (pointer
&& module) {
23650 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
23652 return type_list_handle
;
23655 static swig_type_info
**
23656 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
23657 swig_type_info
**type_pointer
;
23659 /* first check if module already created */
23660 type_pointer
= SWIG_Python_GetTypeListHandle();
23661 if (type_pointer
) {
23662 return type_pointer
;
23664 /* create a new module and variable */
23665 return SWIG_Python_SetTypeListHandle(type_list_handle
);
23673 /* -----------------------------------------------------------------------------*
23674 * Partial Init method
23675 * -----------------------------------------------------------------------------*/
23677 #ifdef SWIG_LINK_RUNTIME
23681 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
23687 SWIGEXPORT(void) SWIG_init(void) {
23688 static PyObject
*SWIG_globals
= 0;
23689 static int typeinit
= 0;
23692 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
23694 /* Fix SwigMethods to carry the callback ptrs when needed */
23695 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
23697 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23698 d
= PyModule_GetDict(m
);
23701 #ifdef SWIG_LINK_RUNTIME
23702 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
23704 # ifndef SWIG_STATIC_RUNTIME
23705 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
23708 for (i
= 0; swig_types_initial
[i
]; i
++) {
23709 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
23713 SWIG_InstallConstants(d
,swig_const_table
);
23716 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));
23719 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));
23722 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));
23725 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));
23728 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));
23731 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));
23734 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));
23737 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));
23740 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));
23743 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));
23746 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));
23749 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));
23752 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));
23755 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));
23758 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));
23761 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));
23764 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));
23767 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));
23770 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));
23773 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));
23776 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));
23779 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));
23782 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));
23785 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));
23788 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));
23791 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));
23794 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));
23797 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));
23800 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));
23803 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));
23806 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));
23809 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));
23812 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));
23815 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));
23818 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));
23821 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));
23824 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));
23827 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));
23830 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));
23833 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));
23836 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));
23839 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));
23842 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));
23845 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));
23848 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));
23851 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));
23854 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));
23857 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));
23860 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));
23863 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));
23866 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));
23869 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));
23872 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));
23875 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));
23878 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));
23881 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));
23884 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));
23887 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));
23890 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));
23893 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));
23896 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));
23899 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));
23902 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));
23905 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));
23908 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));
23911 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));
23914 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));
23917 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));
23920 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));
23923 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));
23926 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));
23929 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));
23932 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));
23935 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));
23938 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));
23941 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));
23944 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));
23947 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));
23950 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));
23953 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));
23956 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));
23959 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));
23962 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));
23965 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));
23968 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));
23971 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));
23974 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));
23977 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));
23980 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));
23983 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));
23986 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));
23989 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));
23992 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));
23995 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));
23998 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));
24001 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));
24004 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));
24007 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));
24010 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));
24013 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));
24016 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));
24019 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));
24022 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));
24025 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));
24028 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));
24031 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));
24034 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));
24037 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));
24040 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));
24043 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));
24046 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));
24049 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));
24052 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));
24055 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));
24058 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));
24061 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));
24064 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));
24067 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));
24070 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));
24073 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));
24076 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));
24079 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));
24082 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));
24085 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));
24088 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));
24091 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));
24094 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));
24097 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
24100 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));
24103 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));
24106 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));
24109 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));
24112 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));
24115 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));
24118 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));
24121 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));
24124 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));
24127 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));
24130 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));
24133 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));
24136 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));
24139 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));
24142 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));
24145 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));
24148 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));
24151 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));
24154 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));
24157 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
24160 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));
24163 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));
24166 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));
24169 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));
24172 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));
24175 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));
24178 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));
24181 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));
24184 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));
24187 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));
24190 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));
24193 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));
24196 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));
24199 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));
24202 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));
24205 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));
24208 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));
24211 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));
24214 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));
24217 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));
24220 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));
24223 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));
24226 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));
24229 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));
24232 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
24235 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));
24238 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));
24241 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));
24244 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));
24247 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));
24250 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));
24253 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));
24256 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));
24259 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));
24262 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));
24265 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));
24268 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));
24271 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));
24274 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));
24277 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
24280 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));
24283 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));
24286 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));
24289 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
24292 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));
24295 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));
24298 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));
24301 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
24304 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
24307 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
24310 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));
24313 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
24316 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));
24319 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));
24322 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));
24325 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));
24328 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));
24331 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));
24334 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));
24337 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));
24340 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));
24343 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
24346 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));
24349 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));
24352 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));
24355 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));
24358 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));
24361 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));
24364 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));
24367 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));
24370 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
24373 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
24376 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));
24379 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));
24382 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));
24385 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));
24388 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));
24391 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));
24394 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));
24397 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));
24400 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));
24403 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));
24406 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));
24409 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));
24412 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));
24415 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));
24418 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));
24421 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));
24424 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));
24427 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));
24430 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));
24433 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));
24436 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));
24439 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));
24442 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));
24445 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));
24448 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));
24451 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));
24454 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));
24457 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));
24460 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));
24463 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));
24466 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));
24469 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));
24472 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));
24475 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));
24478 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));
24481 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));
24484 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));
24487 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));
24490 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));
24493 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));
24496 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
24499 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));
24502 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));
24505 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));
24508 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));
24511 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));
24514 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));
24517 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));
24520 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));
24523 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));
24526 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));
24529 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
24532 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
24535 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));
24538 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));
24541 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));
24544 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));
24547 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));
24550 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));
24553 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
24556 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));
24559 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));
24562 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));
24565 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));
24568 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));
24571 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));
24574 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));
24577 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));
24580 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));
24583 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));
24586 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));
24589 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));
24592 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));
24595 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));
24598 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));
24601 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));
24604 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));
24607 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));
24610 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));
24613 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));
24616 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));
24619 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));
24622 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));
24625 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));
24628 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));
24631 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));
24634 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));
24637 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));
24640 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));
24643 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
24646 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));
24649 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
24652 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));
24655 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));
24658 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));
24661 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));
24664 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));
24667 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));
24670 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));
24673 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));
24676 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
24679 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));
24682 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));
24685 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));
24688 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));
24691 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));
24694 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));
24697 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));
24700 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));
24703 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));
24706 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));
24709 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));
24712 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));
24715 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));
24718 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));
24721 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));
24724 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));
24727 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));
24730 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));
24733 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));
24736 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));
24739 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));
24742 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));
24745 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));
24748 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));
24751 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));
24754 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));
24757 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));
24760 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));
24763 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));
24766 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));
24769 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));
24772 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));
24775 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));
24778 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));
24781 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));
24784 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));
24787 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));
24790 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));
24793 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));
24796 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));
24799 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));
24802 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));
24805 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));
24808 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));
24811 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));
24814 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));
24817 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));
24820 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));
24823 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));
24826 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));
24829 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));
24832 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));
24835 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));
24838 PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int((int)(wxBUFFER_VIRTUAL_AREA
)));
24841 PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int((int)(wxBUFFER_CLIENT_AREA
)));
24844 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));
24847 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));
24850 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));
24853 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));
24856 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));
24859 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));
24862 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));
24864 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24865 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
24866 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
24867 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
24868 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
24869 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
24870 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
24871 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
24872 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
24873 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
24874 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
24875 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
24876 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
24877 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
24878 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
24879 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
24880 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
24881 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
24882 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
24883 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
24884 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
24885 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
24886 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
24887 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
24888 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
24889 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
24890 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
24891 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
24892 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
24893 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
24894 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
24895 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
24896 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
24897 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
24898 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
24899 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
24900 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
24901 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
24902 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
24903 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
24904 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
24905 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
24906 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
24907 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
24908 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
24909 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
24910 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
24912 PyDict_SetItemString(d
,"CONTROL_DISABLED", SWIG_From_int((int)(wxCONTROL_DISABLED
)));
24915 PyDict_SetItemString(d
,"CONTROL_FOCUSED", SWIG_From_int((int)(wxCONTROL_FOCUSED
)));
24918 PyDict_SetItemString(d
,"CONTROL_PRESSED", SWIG_From_int((int)(wxCONTROL_PRESSED
)));
24921 PyDict_SetItemString(d
,"CONTROL_ISDEFAULT", SWIG_From_int((int)(wxCONTROL_ISDEFAULT
)));
24924 PyDict_SetItemString(d
,"CONTROL_ISSUBMENU", SWIG_From_int((int)(wxCONTROL_ISSUBMENU
)));
24927 PyDict_SetItemString(d
,"CONTROL_EXPANDED", SWIG_From_int((int)(wxCONTROL_EXPANDED
)));
24930 PyDict_SetItemString(d
,"CONTROL_CURRENT", SWIG_From_int((int)(wxCONTROL_CURRENT
)));
24933 PyDict_SetItemString(d
,"CONTROL_SELECTED", SWIG_From_int((int)(wxCONTROL_SELECTED
)));
24936 PyDict_SetItemString(d
,"CONTROL_CHECKED", SWIG_From_int((int)(wxCONTROL_CHECKED
)));
24939 PyDict_SetItemString(d
,"CONTROL_CHECKABLE", SWIG_From_int((int)(wxCONTROL_CHECKABLE
)));
24942 PyDict_SetItemString(d
,"CONTROL_UNDETERMINED", SWIG_From_int((int)(wxCONTROL_UNDETERMINED
)));
24945 PyDict_SetItemString(d
,"CONTROL_FLAGS_MASK", SWIG_From_int((int)(wxCONTROL_FLAGS_MASK
)));
24948 PyDict_SetItemString(d
,"CONTROL_DIRTY", SWIG_From_int((int)(wxCONTROL_DIRTY
)));
24951 PyDict_SetItemString(d
,"RendererVersion_Current_Version", SWIG_From_int((int)(wxRendererVersion::Current_Version
)));
24954 PyDict_SetItemString(d
,"RendererVersion_Current_Age", SWIG_From_int((int)(wxRendererVersion::Current_Age
)));
24957 // Work around a chicken/egg problem in drawlist.cpp
24958 wxPyDrawList_SetAPIPtr();