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 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_double swig_types[1]
1437 #define SWIGTYPE_p_form_ops_t swig_types[2]
1438 #define SWIGTYPE_p_int swig_types[3]
1439 #define SWIGTYPE_p_unsigned_char swig_types[4]
1440 #define SWIGTYPE_p_unsigned_int swig_types[5]
1441 #define SWIGTYPE_p_unsigned_long swig_types[6]
1442 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1443 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1444 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1445 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1446 #define SWIGTYPE_p_wxBitmap swig_types[11]
1447 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1448 #define SWIGTYPE_p_wxBrush swig_types[13]
1449 #define SWIGTYPE_p_wxBrushList swig_types[14]
1450 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
1451 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
1452 #define SWIGTYPE_p_wxCURHandler swig_types[17]
1453 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
1454 #define SWIGTYPE_p_wxClientDC swig_types[19]
1455 #define SWIGTYPE_p_wxCloseEvent swig_types[20]
1456 #define SWIGTYPE_p_wxColour swig_types[21]
1457 #define SWIGTYPE_p_wxColourDatabase swig_types[22]
1458 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
1459 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
1460 #define SWIGTYPE_p_wxControl swig_types[25]
1461 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
1462 #define SWIGTYPE_p_wxCursor swig_types[27]
1463 #define SWIGTYPE_p_wxDC swig_types[28]
1464 #define SWIGTYPE_p_wxDash swig_types[29]
1465 #define SWIGTYPE_p_wxDateEvent swig_types[30]
1466 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
1467 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
1468 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
1469 #define SWIGTYPE_p_wxEffects swig_types[34]
1470 #define SWIGTYPE_p_wxEncodingConverter swig_types[35]
1471 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
1472 #define SWIGTYPE_p_wxEvent swig_types[37]
1473 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
1474 #define SWIGTYPE_p_wxFSFile swig_types[39]
1475 #define SWIGTYPE_p_wxFileSystem swig_types[40]
1476 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
1477 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
1478 #define SWIGTYPE_p_wxFont swig_types[43]
1479 #define SWIGTYPE_p_wxFontList swig_types[44]
1480 #define SWIGTYPE_p_wxFontMapper swig_types[45]
1481 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1482 #define SWIGTYPE_p_wxGDIObject swig_types[47]
1483 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
1484 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
1485 #define SWIGTYPE_p_wxGridSizer swig_types[50]
1486 #define SWIGTYPE_p_wxICOHandler swig_types[51]
1487 #define SWIGTYPE_p_wxIcon swig_types[52]
1488 #define SWIGTYPE_p_wxIconBundle swig_types[53]
1489 #define SWIGTYPE_p_wxIconLocation swig_types[54]
1490 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
1491 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1492 #define SWIGTYPE_p_wxImage swig_types[57]
1493 #define SWIGTYPE_p_wxImageHandler swig_types[58]
1494 #define SWIGTYPE_p_wxImageList swig_types[59]
1495 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
1496 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
1497 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
1498 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
1499 #define SWIGTYPE_p_wxLanguageInfo swig_types[64]
1500 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
1501 #define SWIGTYPE_p_wxLocale swig_types[66]
1502 #define SWIGTYPE_p_wxMask swig_types[67]
1503 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
1504 #define SWIGTYPE_p_wxMemoryDC swig_types[69]
1505 #define SWIGTYPE_p_wxMenu swig_types[70]
1506 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1507 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
1508 #define SWIGTYPE_p_wxMenuItem swig_types[73]
1509 #define SWIGTYPE_p_wxMetaFile swig_types[74]
1510 #define SWIGTYPE_p_wxMetaFileDC swig_types[75]
1511 #define SWIGTYPE_p_wxMirrorDC swig_types[76]
1512 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
1513 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
1514 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
1515 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[80]
1516 #define SWIGTYPE_p_wxNativeFontInfo swig_types[81]
1517 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
1518 #define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
1519 #define SWIGTYPE_p_wxNotifyEvent swig_types[84]
1520 #define SWIGTYPE_p_wxObject swig_types[85]
1521 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
1522 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
1523 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
1524 #define SWIGTYPE_p_wxPaintDC swig_types[89]
1525 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
1526 #define SWIGTYPE_p_wxPalette swig_types[91]
1527 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
1528 #define SWIGTYPE_p_wxPaperSize swig_types[93]
1529 #define SWIGTYPE_p_wxPen swig_types[94]
1530 #define SWIGTYPE_p_wxPenList swig_types[95]
1531 #define SWIGTYPE_p_wxPoint swig_types[96]
1532 #define SWIGTYPE_p_wxPostScriptDC swig_types[97]
1533 #define SWIGTYPE_p_wxPrintData swig_types[98]
1534 #define SWIGTYPE_p_wxPrinterDC swig_types[99]
1535 #define SWIGTYPE_p_wxPyApp swig_types[100]
1536 #define SWIGTYPE_p_wxPyCommandEvent swig_types[101]
1537 #define SWIGTYPE_p_wxPyEvent swig_types[102]
1538 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[103]
1539 #define SWIGTYPE_p_wxPyImageHandler swig_types[104]
1540 #define SWIGTYPE_p_wxPySizer swig_types[105]
1541 #define SWIGTYPE_p_wxPyValidator swig_types[106]
1542 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
1543 #define SWIGTYPE_p_wxRect swig_types[108]
1544 #define SWIGTYPE_p_wxRegion swig_types[109]
1545 #define SWIGTYPE_p_wxRegionIterator swig_types[110]
1546 #define SWIGTYPE_p_wxRendererNative swig_types[111]
1547 #define SWIGTYPE_p_wxRendererVersion swig_types[112]
1548 #define SWIGTYPE_p_wxScreenDC swig_types[113]
1549 #define SWIGTYPE_p_wxScrollEvent swig_types[114]
1550 #define SWIGTYPE_p_wxScrollWinEvent swig_types[115]
1551 #define SWIGTYPE_p_wxSetCursorEvent swig_types[116]
1552 #define SWIGTYPE_p_wxShowEvent swig_types[117]
1553 #define SWIGTYPE_p_wxSize swig_types[118]
1554 #define SWIGTYPE_p_wxSizeEvent swig_types[119]
1555 #define SWIGTYPE_p_wxSizer swig_types[120]
1556 #define SWIGTYPE_p_wxSizerItem swig_types[121]
1557 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[122]
1558 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[123]
1559 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124]
1560 #define SWIGTYPE_p_wxString swig_types[125]
1561 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126]
1562 #define SWIGTYPE_p_wxTIFFHandler swig_types[127]
1563 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[128]
1564 #define SWIGTYPE_p_wxValidator swig_types[129]
1565 #define SWIGTYPE_p_wxWindow swig_types[130]
1566 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[131]
1567 #define SWIGTYPE_p_wxWindowDC swig_types[132]
1568 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[133]
1569 #define SWIGTYPE_p_wxXPMHandler swig_types[134]
1570 #define SWIGTYPE_ptrdiff_t swig_types[135]
1571 #define SWIGTYPE_std__ptrdiff_t swig_types[136]
1572 #define SWIGTYPE_unsigned_int swig_types[137]
1573 static swig_type_info
*swig_types
[139];
1574 static swig_module_info swig_module
= {swig_types
, 138, 0, 0, 0, 0};
1575 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1576 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1578 /* -------- TYPES TABLE (END) -------- */
1581 /*-----------------------------------------------
1582 @(target):= _gdi_.so
1583 ------------------------------------------------*/
1584 #define SWIG_init init_gdi_
1586 #define SWIG_name "_gdi_"
1588 #include "wx/wxPython/wxPython.h"
1589 #include "wx/wxPython/pyclasses.h"
1592 static const wxString
wxPyEmptyString(wxEmptyString
);
1598 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1601 if (value
< min_value
) {
1603 PyErr_Format(PyExc_OverflowError
,
1604 "value %ld is less than '%s' minimum %ld",
1605 value
, errmsg
, min_value
);
1608 } else if (value
> max_value
) {
1610 PyErr_Format(PyExc_OverflowError
,
1611 "value %ld is greater than '%s' maximum %ld",
1612 value
, errmsg
, max_value
);
1621 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1623 if (PyNumber_Check(obj
)) {
1624 if (val
) *val
= PyInt_AsLong(obj
);
1628 SWIG_Python_TypeError("number", obj
);
1634 #if INT_MAX != LONG_MAX
1636 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1638 const char* errmsg
= val
? "int" : (char*)0;
1640 if (SWIG_AsVal_long(obj
, &v
)) {
1641 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1642 if (val
) *val
= static_cast<int >(v
);
1651 SWIG_type_error(errmsg
, obj
);
1656 SWIGINTERNINLINE
int
1657 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1659 return SWIG_AsVal_long(obj
,(long*)val
);
1665 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1667 if (obj
== Py_True
) {
1668 if (val
) *val
= true;
1671 if (obj
== Py_False
) {
1672 if (val
) *val
= false;
1676 if (SWIG_AsVal_int(obj
, &res
)) {
1677 if (val
) *val
= res
? true : false;
1683 SWIG_type_error("bool", obj
);
1689 SWIGINTERNINLINE
bool
1690 SWIG_As_bool(PyObject
* obj
)
1693 if (!SWIG_AsVal_bool(obj
, &v
)) {
1695 this is needed to make valgrind/purify happier.
1697 memset((void*)&v
, 0, sizeof(bool));
1703 SWIGINTERNINLINE
int
1704 SWIG_Check_bool(PyObject
* obj
)
1706 return SWIG_AsVal_bool(obj
, (bool*)0);
1711 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1714 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1715 SWIG_Python_TypeError("unsigned number", obj
);
1718 *val
= (unsigned long)v
;
1723 SWIGINTERNINLINE
int
1724 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1725 unsigned long max_value
,
1728 if (value
> max_value
) {
1730 PyErr_Format(PyExc_OverflowError
,
1731 "value %lu is greater than '%s' minimum %lu",
1732 value
, errmsg
, max_value
);
1741 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1743 const char* errmsg
= val
? "unsigned char" : (char*)0;
1745 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1746 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1747 if (val
) *val
= static_cast<unsigned char >(v
);
1756 SWIG_type_error(errmsg
, obj
);
1762 SWIGINTERNINLINE
unsigned char
1763 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1766 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1768 this is needed to make valgrind/purify happier.
1770 memset((void*)&v
, 0, sizeof(unsigned char));
1776 SWIGINTERNINLINE
int
1777 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1779 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1783 SWIGINTERNINLINE
unsigned long
1784 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1787 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1789 this is needed to make valgrind/purify happier.
1791 memset((void*)&v
, 0, sizeof(unsigned long));
1797 SWIGINTERNINLINE
int
1798 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1800 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1804 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1805 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1809 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1810 #define SWIG_From_long PyInt_FromLong
1813 static PyObject
*wxColour_Get(wxColour
*self
){
1814 PyObject
* rv
= PyTuple_New(3);
1820 green
= self
->Green();
1821 blue
= self
->Blue();
1823 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
1824 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
1825 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
1828 static unsigned long wxColour_GetRGB(wxColour
*self
){
1829 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
1832 SWIGINTERNINLINE PyObject
*
1833 SWIG_From_unsigned_SS_long(unsigned long value
)
1835 return (value
> LONG_MAX
) ?
1836 PyLong_FromUnsignedLong(value
)
1837 : PyInt_FromLong(static_cast<long >(value
));
1841 SWIGINTERNINLINE
int
1842 SWIG_As_int(PyObject
* obj
)
1845 if (!SWIG_AsVal_int(obj
, &v
)) {
1847 this is needed to make valgrind/purify happier.
1849 memset((void*)&v
, 0, sizeof(int));
1855 SWIGINTERNINLINE
int
1856 SWIG_Check_int(PyObject
* obj
)
1858 return SWIG_AsVal_int(obj
, (int*)0);
1862 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1863 #define SWIG_From_int PyInt_FromLong
1867 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1873 } else if (result
== Py_None
) {
1877 if (!PyTuple_Check(result
)) {
1879 result
= PyTuple_New(1);
1880 PyTuple_SET_ITEM(result
, 0, o2
);
1882 o3
= PyTuple_New(1);
1883 PyTuple_SetItem(o3
, 0, obj
);
1885 result
= PySequence_Concat(o2
, o3
);
1893 static PyObject
*wxPen_GetDashes(wxPen
*self
){
1895 int count
= self
->GetDashes(&dashes
);
1896 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1897 PyObject
* retval
= PyList_New(0);
1898 for (int x
=0; x
<count
; x
++) {
1899 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
1900 PyList_Append(retval
, pyint
);
1903 wxPyEndBlockThreads(blocked
);
1906 static void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
1907 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1908 int size
= PyList_Size(pyDashes
);
1909 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
1911 // black magic warning! The array of wxDashes needs to exist as
1912 // long as the pen does because wxPen does not copy the array. So
1913 // stick a copy in a Python string object and attach it to _self,
1914 // and then call SetDashes with a pointer to that array. Then
1915 // when the Python pen object is destroyed the array will be
1917 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
1918 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
1920 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
1922 Py_DECREF(strDashes
);
1923 wxPyEndBlockThreads(blocked
);
1925 static bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
1926 static bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
1928 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1929 #define SWIG_From_short PyInt_FromLong
1934 SWIG_AsVal_short(PyObject
*obj
, short *val
)
1936 const char* errmsg
= val
? "short" : (char*)0;
1938 if (SWIG_AsVal_long(obj
, &v
)) {
1939 if (SWIG_CheckLongInRange(v
, SHRT_MIN
, SHRT_MAX
, errmsg
)) {
1940 if (val
) *val
= static_cast<short >(v
);
1949 SWIG_type_error(errmsg
, obj
);
1955 SWIGINTERNINLINE
short
1956 SWIG_As_short(PyObject
* obj
)
1959 if (!SWIG_AsVal_short(obj
, &v
)) {
1961 this is needed to make valgrind/purify happier.
1963 memset((void*)&v
, 0, sizeof(short));
1969 SWIGINTERNINLINE
int
1970 SWIG_Check_short(PyObject
* obj
)
1972 return SWIG_AsVal_short(obj
, (short*)0);
1976 #include <wx/image.h>
1978 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1979 char** cArray
= NULL
;
1982 if (!PyList_Check(listOfStrings
)) {
1983 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1986 count
= PyList_Size(listOfStrings
);
1987 cArray
= new char*[count
];
1989 for(int x
=0; x
<count
; x
++) {
1990 // TODO: Need some validation and error checking here
1991 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1997 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1998 char** cArray
= NULL
;
2001 cArray
= ConvertListOfStrings(listOfStrings
);
2004 bmp
= new wxBitmap(cArray
);
2008 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2011 PyString_AsStringAndSize(bits
, &buf
, &length
);
2012 return new wxBitmap(buf
, width
, height
, depth
);
2014 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2015 wxSize
size(self
->GetWidth(), self
->GetHeight());
2018 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2019 wxMask
*mask
= new wxMask(*self
, colour
);
2020 self
->SetMask(mask
);
2022 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2023 self
->SetWidth(size
.x
);
2024 self
->SetHeight(size
.y
);
2026 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2027 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2028 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2030 return new wxMask(bitmap
, *wxBLACK
);
2032 return new wxMask(bitmap
, colour
);
2035 #include <wx/iconbndl.h>
2037 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2038 wxIcon
* icon
= new wxIcon();
2039 icon
->CopyFromBitmap(bmp
);
2042 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2043 char** cArray
= NULL
;
2046 cArray
= ConvertListOfStrings(listOfStrings
);
2049 icon
= new wxIcon(cArray
);
2053 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2057 return new wxIconLocation(*filename
);
2060 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2067 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
2075 SWIGINTERNINLINE
long
2076 SWIG_As_long(PyObject
* obj
)
2079 if (!SWIG_AsVal_long(obj
, &v
)) {
2081 this is needed to make valgrind/purify happier.
2083 memset((void*)&v
, 0, sizeof(long));
2089 SWIGINTERNINLINE
int
2090 SWIG_Check_long(PyObject
* obj
)
2092 return SWIG_AsVal_long(obj
, (long*)0);
2095 static wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2097 wxImage
img(cursorName
, type
);
2098 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2099 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2100 return new wxCursor(img
);
2102 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2107 static void wxRegionIterator_Next(wxRegionIterator
*self
){
2110 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2111 return self
->operator bool();
2114 #include <wx/fontutil.h>
2115 #include <wx/fontmap.h>
2116 #include <wx/fontenum.h>
2118 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
2119 return self
->ToString();
2122 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
2123 static wxNativeEncodingInfo info
;
2124 if ( wxGetNativeFontEncoding(encoding
, &info
) )
2130 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
2131 wxFontEncoding alt_enc
;
2132 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
2133 return PyInt_FromLong(alt_enc
);
2139 static wxFont
*new_wxFont(wxString
const &info
){
2140 wxNativeFontInfo nfi
;
2141 nfi
.FromString(info
);
2142 return new wxFont(nfi
);
2144 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
2145 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
2147 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
2148 return wxFontBase::New(pixelSize
, family
,
2149 style
, weight
, underlined
,
2152 static wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
2153 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
2155 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
2156 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
2158 class wxPyFontEnumerator
: public wxFontEnumerator
{
2160 wxPyFontEnumerator() {}
2161 ~wxPyFontEnumerator() {}
2163 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
2164 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
2169 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
2170 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
2173 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
2174 wxArrayString
* arr
= self
->GetEncodings();
2176 return wxArrayString2PyList_helper(*arr
);
2178 return PyList_New(0);
2180 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
2181 wxArrayString
* arr
= self
->GetFacenames();
2183 return wxArrayString2PyList_helper(*arr
);
2185 return PyList_New(0);
2190 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2193 loc
= new wxLocale();
2195 loc
= new wxLocale(language
, flags
);
2196 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2197 // for the floating point conversions and such to work right.
2198 #if PY_VERSION_HEX < 0x02040000
2199 setlocale(LC_NUMERIC
, "C");
2203 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
2204 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
2205 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2206 // for the floating point conversions and such to work right.
2207 #if PY_VERSION_HEX < 0x02040000
2208 setlocale(LC_NUMERIC
, "C");
2212 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2213 bool rc
= self
->Init(language
, flags
);
2214 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2215 // for the floating point conversions and such to work right.
2216 #if PY_VERSION_HEX < 0x02040000
2217 setlocale(LC_NUMERIC
, "C");
2222 #include "wx/wxPython/pydrawxxx.h"
2224 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2226 self
->GetPixel(x
, y
, &col
);
2229 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2231 self
->GetPixel(pt
, &col
);
2236 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2238 if (PyNumber_Check(obj
)) {
2239 if (val
) *val
= PyFloat_AsDouble(obj
);
2243 SWIG_Python_TypeError("number", obj
);
2249 SWIGINTERNINLINE
double
2250 SWIG_As_double(PyObject
* obj
)
2253 if (!SWIG_AsVal_double(obj
, &v
)) {
2255 this is needed to make valgrind/purify happier.
2257 memset((void*)&v
, 0, sizeof(double));
2263 SWIGINTERNINLINE
int
2264 SWIG_Check_double(PyObject
* obj
)
2266 return SWIG_AsVal_double(obj
, (double*)0);
2269 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2271 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2275 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2277 self
->GetClippingBox(rect
);
2280 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2282 self
->GetPartialTextExtents(text
, widths
);
2286 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2287 #define SWIG_From_double PyFloat_FromDouble
2291 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2292 self
->SetLogicalOrigin(point
.x
, point
.y
);
2294 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2295 self
->SetDeviceOrigin(point
.x
, point
.y
);
2297 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2298 self
->CalcBoundingBox(point
.x
, point
.y
);
2300 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2301 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2303 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2304 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2306 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2307 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2309 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2310 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2312 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2313 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2315 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2316 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2319 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2327 #include <wx/dcbuffer.h>
2330 #include <wx/dcps.h>
2333 #include <wx/metafile.h>
2337 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2338 self
->AddColour(name
, wxColour(red
, green
, blue
));
2341 #include <wx/effects.h>
2344 #include "wx/renderer.h"
2347 SWIGINTERNINLINE PyObject
*
2348 SWIG_From_bool(bool value
)
2350 PyObject
*obj
= value
? Py_True
: Py_False
;
2358 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
*resultobj
= NULL
;
2360 wxGDIObject
*result
;
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2367 if (!wxPyCheckForApp()) SWIG_fail
;
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 result
= (wxGDIObject
*)new wxGDIObject();
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2381 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
= NULL
;
2383 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2384 PyObject
* obj0
= 0 ;
2386 (char *) "self", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2391 if (SWIG_arg_fail(1)) SWIG_fail
;
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) SWIG_fail
;
2399 Py_INCREF(Py_None
); resultobj
= Py_None
;
2406 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
*resultobj
= NULL
;
2408 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2410 PyObject
* obj0
= 0 ;
2412 (char *) "self", NULL
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2417 if (SWIG_arg_fail(1)) SWIG_fail
;
2419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2420 result
= (bool)(arg1
)->GetVisible();
2422 wxPyEndAllowThreads(__tstate
);
2423 if (PyErr_Occurred()) SWIG_fail
;
2426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2434 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
= NULL
;
2436 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2438 PyObject
* obj0
= 0 ;
2439 PyObject
* obj1
= 0 ;
2441 (char *) "self",(char *) "visible", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2446 if (SWIG_arg_fail(1)) SWIG_fail
;
2448 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
2449 if (SWIG_arg_fail(2)) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 (arg1
)->SetVisible(arg2
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2458 Py_INCREF(Py_None
); resultobj
= Py_None
;
2465 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
*resultobj
= NULL
;
2467 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2469 PyObject
* obj0
= 0 ;
2471 (char *) "self", NULL
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2476 if (SWIG_arg_fail(1)) SWIG_fail
;
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 result
= (bool)(arg1
)->IsNull();
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2493 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2496 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2498 return Py_BuildValue((char *)"");
2500 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
*resultobj
= NULL
;
2502 byte arg1
= (byte
) 0 ;
2503 byte arg2
= (byte
) 0 ;
2504 byte arg3
= (byte
) 0 ;
2506 PyObject
* obj0
= 0 ;
2507 PyObject
* obj1
= 0 ;
2508 PyObject
* obj2
= 0 ;
2510 (char *) "red",(char *) "green",(char *) "blue", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2516 arg1
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj0
));
2517 if (SWIG_arg_fail(1)) SWIG_fail
;
2522 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
2523 if (SWIG_arg_fail(2)) SWIG_fail
;
2528 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
2529 if (SWIG_arg_fail(3)) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2546 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
*resultobj
= NULL
;
2548 wxString
*arg1
= 0 ;
2550 bool temp1
= false ;
2551 PyObject
* obj0
= 0 ;
2553 (char *) "colorName", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2558 arg1
= wxString_in_helper(obj0
);
2559 if (arg1
== NULL
) SWIG_fail
;
2563 if (!wxPyCheckForApp()) SWIG_fail
;
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2585 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
= NULL
;
2587 unsigned long arg1
;
2589 PyObject
* obj0
= 0 ;
2591 (char *) "colRGB", NULL
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2596 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
2597 if (SWIG_arg_fail(1)) SWIG_fail
;
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 result
= (wxColour
*)new wxColour(arg1
);
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2613 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
*resultobj
= NULL
;
2615 wxColour
*arg1
= (wxColour
*) 0 ;
2616 PyObject
* obj0
= 0 ;
2618 (char *) "self", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2623 if (SWIG_arg_fail(1)) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2631 Py_INCREF(Py_None
); resultobj
= Py_None
;
2638 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
= NULL
;
2640 wxColour
*arg1
= (wxColour
*) 0 ;
2642 PyObject
* obj0
= 0 ;
2644 (char *) "self", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2649 if (SWIG_arg_fail(1)) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= (byte
)(arg1
)->Red();
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2658 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2666 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
= NULL
;
2668 wxColour
*arg1
= (wxColour
*) 0 ;
2670 PyObject
* obj0
= 0 ;
2672 (char *) "self", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2677 if (SWIG_arg_fail(1)) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 result
= (byte
)(arg1
)->Green();
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2686 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2694 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
= NULL
;
2696 wxColour
*arg1
= (wxColour
*) 0 ;
2698 PyObject
* obj0
= 0 ;
2700 (char *) "self", NULL
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2705 if (SWIG_arg_fail(1)) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 result
= (byte
)(arg1
)->Blue();
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2714 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2722 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
= NULL
;
2724 wxColour
*arg1
= (wxColour
*) 0 ;
2726 PyObject
* obj0
= 0 ;
2728 (char *) "self", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2733 if (SWIG_arg_fail(1)) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 result
= (bool)(arg1
)->Ok();
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2750 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
= NULL
;
2752 wxColour
*arg1
= (wxColour
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2758 PyObject
* obj2
= 0 ;
2759 PyObject
* obj3
= 0 ;
2761 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2766 if (SWIG_arg_fail(1)) SWIG_fail
;
2768 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
2769 if (SWIG_arg_fail(2)) SWIG_fail
;
2772 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
2773 if (SWIG_arg_fail(3)) SWIG_fail
;
2776 arg4
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj3
));
2777 if (SWIG_arg_fail(4)) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 (arg1
)->Set(arg2
,arg3
,arg4
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2786 Py_INCREF(Py_None
); resultobj
= Py_None
;
2793 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
= NULL
;
2795 wxColour
*arg1
= (wxColour
*) 0 ;
2796 unsigned long arg2
;
2797 PyObject
* obj0
= 0 ;
2798 PyObject
* obj1
= 0 ;
2800 (char *) "self",(char *) "colRGB", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2805 if (SWIG_arg_fail(1)) SWIG_fail
;
2807 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
2808 if (SWIG_arg_fail(2)) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 Py_INCREF(Py_None
); resultobj
= Py_None
;
2824 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
= NULL
;
2826 wxColour
*arg1
= (wxColour
*) 0 ;
2827 wxString
*arg2
= 0 ;
2828 bool temp2
= false ;
2829 PyObject
* obj0
= 0 ;
2830 PyObject
* obj1
= 0 ;
2832 (char *) "self",(char *) "colourName", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2837 if (SWIG_arg_fail(1)) SWIG_fail
;
2839 arg2
= wxString_in_helper(obj1
);
2840 if (arg2
== NULL
) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 (arg1
)->InitFromName((wxString
const &)*arg2
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 Py_INCREF(Py_None
); resultobj
= Py_None
;
2865 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
*resultobj
= NULL
;
2867 wxColour
*arg1
= (wxColour
*) 0 ;
2869 PyObject
* obj0
= 0 ;
2871 (char *) "self", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2876 if (SWIG_arg_fail(1)) SWIG_fail
;
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2885 resultobj
= SWIG_From_long(static_cast<long >(result
));
2893 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
*resultobj
= NULL
;
2895 wxColour
*arg1
= (wxColour
*) 0 ;
2896 wxColour
*arg2
= 0 ;
2899 PyObject
* obj0
= 0 ;
2900 PyObject
* obj1
= 0 ;
2902 (char *) "self",(char *) "colour", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2907 if (SWIG_arg_fail(1)) SWIG_fail
;
2910 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2914 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2916 wxPyEndAllowThreads(__tstate
);
2917 if (PyErr_Occurred()) SWIG_fail
;
2920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2928 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
= NULL
;
2930 wxColour
*arg1
= (wxColour
*) 0 ;
2931 wxColour
*arg2
= 0 ;
2934 PyObject
* obj0
= 0 ;
2935 PyObject
* obj1
= 0 ;
2937 (char *) "self",(char *) "colour", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2942 if (SWIG_arg_fail(1)) SWIG_fail
;
2945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) SWIG_fail
;
2955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2963 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
*resultobj
= NULL
;
2965 wxColour
*arg1
= (wxColour
*) 0 ;
2967 PyObject
* obj0
= 0 ;
2969 (char *) "self", NULL
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2974 if (SWIG_arg_fail(1)) SWIG_fail
;
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 result
= (PyObject
*)wxColour_Get(arg1
);
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2989 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
*resultobj
= NULL
;
2991 wxColour
*arg1
= (wxColour
*) 0 ;
2992 unsigned long result
;
2993 PyObject
* obj0
= 0 ;
2995 (char *) "self", NULL
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
3000 if (SWIG_arg_fail(1)) SWIG_fail
;
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 result
= (unsigned long)wxColour_GetRGB(arg1
);
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) SWIG_fail
;
3009 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
3017 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
3019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3020 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
3022 return Py_BuildValue((char *)"");
3024 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
= NULL
;
3027 unsigned char *arg2
= (unsigned char *) 0 ;
3028 unsigned char *arg3
= (unsigned char *) 0 ;
3029 unsigned char *arg4
= (unsigned char *) 0 ;
3031 PyObject
* obj0
= 0 ;
3032 PyObject
* obj1
= 0 ;
3033 PyObject
* obj2
= 0 ;
3034 PyObject
* obj3
= 0 ;
3036 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3041 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3042 if (SWIG_arg_fail(1)) SWIG_fail
;
3044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
3045 if (SWIG_arg_fail(2)) SWIG_fail
;
3046 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
3047 if (SWIG_arg_fail(3)) SWIG_fail
;
3048 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
3049 if (SWIG_arg_fail(4)) SWIG_fail
;
3051 if (!wxPyCheckForApp()) SWIG_fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
3065 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
= NULL
;
3067 wxPalette
*arg1
= (wxPalette
*) 0 ;
3068 PyObject
* obj0
= 0 ;
3070 (char *) "self", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
3074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3075 if (SWIG_arg_fail(1)) SWIG_fail
;
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) SWIG_fail
;
3083 Py_INCREF(Py_None
); resultobj
= Py_None
;
3090 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
= NULL
;
3092 wxPalette
*arg1
= (wxPalette
*) 0 ;
3097 PyObject
* obj0
= 0 ;
3098 PyObject
* obj1
= 0 ;
3099 PyObject
* obj2
= 0 ;
3100 PyObject
* obj3
= 0 ;
3102 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3107 if (SWIG_arg_fail(1)) SWIG_fail
;
3109 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
3110 if (SWIG_arg_fail(2)) SWIG_fail
;
3113 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
3114 if (SWIG_arg_fail(3)) SWIG_fail
;
3117 arg4
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj3
));
3118 if (SWIG_arg_fail(4)) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3128 resultobj
= SWIG_From_int(static_cast<int >(result
));
3136 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
= NULL
;
3138 wxPalette
*arg1
= (wxPalette
*) 0 ;
3140 byte
*arg3
= (byte
*) 0 ;
3141 byte
*arg4
= (byte
*) 0 ;
3142 byte
*arg5
= (byte
*) 0 ;
3150 PyObject
* obj0
= 0 ;
3151 PyObject
* obj1
= 0 ;
3153 (char *) "self",(char *) "pixel", NULL
3156 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3157 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3158 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
3160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3161 if (SWIG_arg_fail(1)) SWIG_fail
;
3163 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3164 if (SWIG_arg_fail(2)) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3176 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3177 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
3178 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3179 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
3180 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3181 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
3188 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
= NULL
;
3190 wxPalette
*arg1
= (wxPalette
*) 0 ;
3192 PyObject
* obj0
= 0 ;
3194 (char *) "self", NULL
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
3198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3199 if (SWIG_arg_fail(1)) SWIG_fail
;
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3208 resultobj
= SWIG_From_int(static_cast<int >(result
));
3216 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
*resultobj
= NULL
;
3218 wxPalette
*arg1
= (wxPalette
*) 0 ;
3220 PyObject
* obj0
= 0 ;
3222 (char *) "self", NULL
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3227 if (SWIG_arg_fail(1)) SWIG_fail
;
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 result
= (bool)(arg1
)->Ok();
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3244 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3247 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3249 return Py_BuildValue((char *)"");
3251 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
= NULL
;
3253 wxColour
*arg1
= 0 ;
3254 int arg2
= (int) 1 ;
3255 int arg3
= (int) wxSOLID
;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3260 PyObject
* obj2
= 0 ;
3262 (char *) "colour",(char *) "width",(char *) "style", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3268 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3272 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3273 if (SWIG_arg_fail(2)) SWIG_fail
;
3278 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3279 if (SWIG_arg_fail(3)) SWIG_fail
;
3283 if (!wxPyCheckForApp()) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3297 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
*resultobj
= NULL
;
3299 wxPen
*arg1
= (wxPen
*) 0 ;
3300 PyObject
* obj0
= 0 ;
3302 (char *) "self", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3307 if (SWIG_arg_fail(1)) SWIG_fail
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3315 Py_INCREF(Py_None
); resultobj
= Py_None
;
3322 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
*resultobj
= NULL
;
3324 wxPen
*arg1
= (wxPen
*) 0 ;
3326 PyObject
* obj0
= 0 ;
3328 (char *) "self", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3333 if (SWIG_arg_fail(1)) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 result
= (int)(arg1
)->GetCap();
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3342 resultobj
= SWIG_From_int(static_cast<int >(result
));
3350 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
= NULL
;
3352 wxPen
*arg1
= (wxPen
*) 0 ;
3354 PyObject
* obj0
= 0 ;
3356 (char *) "self", NULL
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3361 if (SWIG_arg_fail(1)) SWIG_fail
;
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 result
= (arg1
)->GetColour();
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3370 wxColour
* resultptr
;
3371 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3380 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
*resultobj
= NULL
;
3382 wxPen
*arg1
= (wxPen
*) 0 ;
3384 PyObject
* obj0
= 0 ;
3386 (char *) "self", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3391 if (SWIG_arg_fail(1)) SWIG_fail
;
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 result
= (int)(arg1
)->GetJoin();
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3400 resultobj
= SWIG_From_int(static_cast<int >(result
));
3408 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
= NULL
;
3410 wxPen
*arg1
= (wxPen
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3414 (char *) "self", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3419 if (SWIG_arg_fail(1)) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 result
= (int)(arg1
)->GetStyle();
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3428 resultobj
= SWIG_From_int(static_cast<int >(result
));
3436 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
*resultobj
= NULL
;
3438 wxPen
*arg1
= (wxPen
*) 0 ;
3440 PyObject
* obj0
= 0 ;
3442 (char *) "self", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3447 if (SWIG_arg_fail(1)) SWIG_fail
;
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 result
= (int)(arg1
)->GetWidth();
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3456 resultobj
= SWIG_From_int(static_cast<int >(result
));
3464 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
= NULL
;
3466 wxPen
*arg1
= (wxPen
*) 0 ;
3468 PyObject
* obj0
= 0 ;
3470 (char *) "self", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3475 if (SWIG_arg_fail(1)) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 result
= (bool)(arg1
)->Ok();
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3492 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
= NULL
;
3494 wxPen
*arg1
= (wxPen
*) 0 ;
3496 PyObject
* obj0
= 0 ;
3497 PyObject
* obj1
= 0 ;
3499 (char *) "self",(char *) "cap_style", NULL
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3504 if (SWIG_arg_fail(1)) SWIG_fail
;
3506 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3507 if (SWIG_arg_fail(2)) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 (arg1
)->SetCap(arg2
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 Py_INCREF(Py_None
); resultobj
= Py_None
;
3523 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
*resultobj
= NULL
;
3525 wxPen
*arg1
= (wxPen
*) 0 ;
3526 wxColour
*arg2
= 0 ;
3528 PyObject
* obj0
= 0 ;
3529 PyObject
* obj1
= 0 ;
3531 (char *) "self",(char *) "colour", NULL
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3536 if (SWIG_arg_fail(1)) SWIG_fail
;
3539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 (arg1
)->SetColour(*arg2
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 Py_INCREF(Py_None
); resultobj
= Py_None
;
3555 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
= NULL
;
3557 wxPen
*arg1
= (wxPen
*) 0 ;
3559 PyObject
* obj0
= 0 ;
3560 PyObject
* obj1
= 0 ;
3562 (char *) "self",(char *) "join_style", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3570 if (SWIG_arg_fail(2)) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 (arg1
)->SetJoin(arg2
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3579 Py_INCREF(Py_None
); resultobj
= Py_None
;
3586 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
= NULL
;
3588 wxPen
*arg1
= (wxPen
*) 0 ;
3590 PyObject
* obj0
= 0 ;
3591 PyObject
* obj1
= 0 ;
3593 (char *) "self",(char *) "style", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3598 if (SWIG_arg_fail(1)) SWIG_fail
;
3600 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3601 if (SWIG_arg_fail(2)) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 (arg1
)->SetStyle(arg2
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3610 Py_INCREF(Py_None
); resultobj
= Py_None
;
3617 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
= NULL
;
3619 wxPen
*arg1
= (wxPen
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3622 PyObject
* obj1
= 0 ;
3624 (char *) "self",(char *) "width", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3629 if (SWIG_arg_fail(1)) SWIG_fail
;
3631 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3632 if (SWIG_arg_fail(2)) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 (arg1
)->SetWidth(arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 Py_INCREF(Py_None
); resultobj
= Py_None
;
3648 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
= NULL
;
3650 wxPen
*arg1
= (wxPen
*) 0 ;
3652 wxDash
*arg3
= (wxDash
*) 0 ;
3653 PyObject
* obj0
= 0 ;
3654 PyObject
* obj1
= 0 ;
3656 (char *) "self",(char *) "dashes", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3661 if (SWIG_arg_fail(1)) SWIG_fail
;
3663 arg2
= PyList_Size(obj1
);
3664 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3665 if (arg3
== NULL
) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 (arg1
)->SetDashes(arg2
,arg3
);
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3674 Py_INCREF(Py_None
); resultobj
= Py_None
;
3676 if (arg3
) delete [] arg3
;
3681 if (arg3
) delete [] arg3
;
3687 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
= NULL
;
3689 wxPen
*arg1
= (wxPen
*) 0 ;
3691 PyObject
* obj0
= 0 ;
3693 (char *) "self", NULL
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3698 if (SWIG_arg_fail(1)) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3713 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
= NULL
;
3715 wxPen
*arg1
= (wxPen
*) 0 ;
3716 PyObject
*arg2
= (PyObject
*) 0 ;
3717 PyObject
*arg3
= (PyObject
*) 0 ;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3720 PyObject
* obj2
= 0 ;
3722 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3727 if (SWIG_arg_fail(1)) SWIG_fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 wxPen__SetDashes(arg1
,arg2
,arg3
);
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3737 Py_INCREF(Py_None
); resultobj
= Py_None
;
3744 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
= NULL
;
3746 wxPen
*arg1
= (wxPen
*) 0 ;
3747 wxPen
*arg2
= (wxPen
*) 0 ;
3749 PyObject
* obj0
= 0 ;
3750 PyObject
* obj1
= 0 ;
3752 (char *) "self",(char *) "other", NULL
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3757 if (SWIG_arg_fail(1)) SWIG_fail
;
3758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3759 if (SWIG_arg_fail(2)) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3776 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
= NULL
;
3778 wxPen
*arg1
= (wxPen
*) 0 ;
3779 wxPen
*arg2
= (wxPen
*) 0 ;
3781 PyObject
* obj0
= 0 ;
3782 PyObject
* obj1
= 0 ;
3784 (char *) "self",(char *) "other", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3789 if (SWIG_arg_fail(1)) SWIG_fail
;
3790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3791 if (SWIG_arg_fail(2)) SWIG_fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3808 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3811 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3813 return Py_BuildValue((char *)"");
3815 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
= NULL
;
3817 wxColour
*arg1
= 0 ;
3818 int arg2
= (int) wxSOLID
;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3824 (char *) "colour",(char *) "style", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3830 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3834 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3835 if (SWIG_arg_fail(2)) SWIG_fail
;
3839 if (!wxPyCheckForApp()) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3853 static PyObject
*_wrap_new_BrushFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
= NULL
;
3855 wxBitmap
*arg1
= 0 ;
3857 PyObject
* obj0
= 0 ;
3859 (char *) "stippleBitmap", NULL
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) goto fail
;
3864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3865 if (SWIG_arg_fail(1)) SWIG_fail
;
3867 SWIG_null_ref("wxBitmap");
3869 if (SWIG_arg_fail(1)) SWIG_fail
;
3872 if (!wxPyCheckForApp()) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3886 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
= NULL
;
3888 wxBrush
*arg1
= (wxBrush
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3891 (char *) "self", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3896 if (SWIG_arg_fail(1)) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 Py_INCREF(Py_None
); resultobj
= Py_None
;
3911 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
= NULL
;
3913 wxBrush
*arg1
= (wxBrush
*) 0 ;
3914 wxColour
*arg2
= 0 ;
3916 PyObject
* obj0
= 0 ;
3917 PyObject
* obj1
= 0 ;
3919 (char *) "self",(char *) "col", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3924 if (SWIG_arg_fail(1)) SWIG_fail
;
3927 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 (arg1
)->SetColour((wxColour
const &)*arg2
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 Py_INCREF(Py_None
); resultobj
= Py_None
;
3943 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
= NULL
;
3945 wxBrush
*arg1
= (wxBrush
*) 0 ;
3947 PyObject
* obj0
= 0 ;
3948 PyObject
* obj1
= 0 ;
3950 (char *) "self",(char *) "style", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail
;
3957 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3958 if (SWIG_arg_fail(2)) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 (arg1
)->SetStyle(arg2
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 Py_INCREF(Py_None
); resultobj
= Py_None
;
3974 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
= NULL
;
3976 wxBrush
*arg1
= (wxBrush
*) 0 ;
3977 wxBitmap
*arg2
= 0 ;
3978 PyObject
* obj0
= 0 ;
3979 PyObject
* obj1
= 0 ;
3981 (char *) "self",(char *) "stipple", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3986 if (SWIG_arg_fail(1)) SWIG_fail
;
3988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3989 if (SWIG_arg_fail(2)) SWIG_fail
;
3991 SWIG_null_ref("wxBitmap");
3993 if (SWIG_arg_fail(2)) SWIG_fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4002 Py_INCREF(Py_None
); resultobj
= Py_None
;
4009 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
= NULL
;
4011 wxBrush
*arg1
= (wxBrush
*) 0 ;
4013 PyObject
* obj0
= 0 ;
4015 (char *) "self", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
4019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4020 if (SWIG_arg_fail(1)) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= ((wxBrush
const *)arg1
)->GetColour();
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4029 wxColour
* resultptr
;
4030 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
4031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4039 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
= NULL
;
4041 wxBrush
*arg1
= (wxBrush
*) 0 ;
4043 PyObject
* obj0
= 0 ;
4045 (char *) "self", NULL
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
4049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4050 if (SWIG_arg_fail(1)) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4059 resultobj
= SWIG_From_int(static_cast<int >(result
));
4067 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
= NULL
;
4069 wxBrush
*arg1
= (wxBrush
*) 0 ;
4071 PyObject
* obj0
= 0 ;
4073 (char *) "self", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
4077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4078 if (SWIG_arg_fail(1)) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
4093 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
= NULL
;
4095 wxBrush
*arg1
= (wxBrush
*) 0 ;
4097 PyObject
* obj0
= 0 ;
4099 (char *) "self", NULL
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
4103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4104 if (SWIG_arg_fail(1)) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4121 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
*resultobj
= NULL
;
4123 wxBrush
*arg1
= (wxBrush
*) 0 ;
4125 PyObject
* obj0
= 0 ;
4127 (char *) "self", NULL
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
4131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4132 if (SWIG_arg_fail(1)) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (bool)(arg1
)->Ok();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4149 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
= NULL
;
4151 wxBrush
*arg1
= (wxBrush
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4155 (char *) "self", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
4159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4160 if (SWIG_arg_fail(1)) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (short)(arg1
)->MacGetTheme();
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4169 resultobj
= SWIG_From_short(static_cast<short >(result
));
4177 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
= NULL
;
4179 wxBrush
*arg1
= (wxBrush
*) 0 ;
4181 PyObject
* obj0
= 0 ;
4182 PyObject
* obj1
= 0 ;
4184 (char *) "self",(char *) "macThemeBrush", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
4188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4189 if (SWIG_arg_fail(1)) SWIG_fail
;
4191 arg2
= static_cast<short >(SWIG_As_short(obj1
));
4192 if (SWIG_arg_fail(2)) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 (arg1
)->MacSetTheme(arg2
);
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 Py_INCREF(Py_None
); resultobj
= Py_None
;
4208 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
4210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4211 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
4213 return Py_BuildValue((char *)"");
4215 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
*resultobj
= NULL
;
4217 wxString
*arg1
= 0 ;
4218 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
4220 bool temp1
= false ;
4221 PyObject
* obj0
= 0 ;
4222 PyObject
* obj1
= 0 ;
4224 (char *) "name",(char *) "type", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4229 arg1
= wxString_in_helper(obj0
);
4230 if (arg1
== NULL
) SWIG_fail
;
4235 arg2
= static_cast<wxBitmapType
>(SWIG_As_int(obj1
));
4236 if (SWIG_arg_fail(2)) SWIG_fail
;
4240 if (!wxPyCheckForApp()) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4262 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
= NULL
;
4264 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4272 if (SWIG_arg_fail(1)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 Py_INCREF(Py_None
); resultobj
= Py_None
;
4287 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
= NULL
;
4291 int arg3
= (int) -1 ;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4295 PyObject
* obj2
= 0 ;
4297 (char *) "width",(char *) "height",(char *) "depth", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4302 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4303 if (SWIG_arg_fail(1)) SWIG_fail
;
4306 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4307 if (SWIG_arg_fail(2)) SWIG_fail
;
4311 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4312 if (SWIG_arg_fail(3)) SWIG_fail
;
4316 if (!wxPyCheckForApp()) SWIG_fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4330 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
*resultobj
= NULL
;
4334 PyObject
* obj0
= 0 ;
4336 (char *) "icon", NULL
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4342 if (SWIG_arg_fail(1)) SWIG_fail
;
4344 SWIG_null_ref("wxIcon");
4346 if (SWIG_arg_fail(1)) SWIG_fail
;
4349 if (!wxPyCheckForApp()) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4363 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
= NULL
;
4366 int arg2
= (int) -1 ;
4368 PyObject
* obj0
= 0 ;
4369 PyObject
* obj1
= 0 ;
4371 (char *) "image",(char *) "depth", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4377 if (SWIG_arg_fail(1)) SWIG_fail
;
4379 SWIG_null_ref("wxImage");
4381 if (SWIG_arg_fail(1)) SWIG_fail
;
4385 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4386 if (SWIG_arg_fail(2)) SWIG_fail
;
4390 if (!wxPyCheckForApp()) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4404 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
= NULL
;
4406 PyObject
*arg1
= (PyObject
*) 0 ;
4408 PyObject
* obj0
= 0 ;
4410 (char *) "listOfStrings", NULL
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4416 if (!wxPyCheckForApp()) SWIG_fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4430 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
= NULL
;
4432 PyObject
*arg1
= (PyObject
*) 0 ;
4435 int arg4
= (int) 1 ;
4437 PyObject
* obj0
= 0 ;
4438 PyObject
* obj1
= 0 ;
4439 PyObject
* obj2
= 0 ;
4440 PyObject
* obj3
= 0 ;
4442 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4448 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4449 if (SWIG_arg_fail(2)) SWIG_fail
;
4452 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4453 if (SWIG_arg_fail(3)) SWIG_fail
;
4457 arg4
= static_cast<int >(SWIG_As_int(obj3
));
4458 if (SWIG_arg_fail(4)) SWIG_fail
;
4462 if (!wxPyCheckForApp()) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4476 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
= NULL
;
4478 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "self", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4487 if (SWIG_arg_fail(1)) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (bool)(arg1
)->Ok();
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4504 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
= NULL
;
4506 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4508 PyObject
* obj0
= 0 ;
4510 (char *) "self", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4515 if (SWIG_arg_fail(1)) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 result
= (int)(arg1
)->GetWidth();
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= SWIG_From_int(static_cast<int >(result
));
4532 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
= NULL
;
4534 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4536 PyObject
* obj0
= 0 ;
4538 (char *) "self", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4543 if (SWIG_arg_fail(1)) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (int)(arg1
)->GetHeight();
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= SWIG_From_int(static_cast<int >(result
));
4560 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
= NULL
;
4562 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4566 (char *) "self", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4571 if (SWIG_arg_fail(1)) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= (int)(arg1
)->GetDepth();
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4580 resultobj
= SWIG_From_int(static_cast<int >(result
));
4588 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
= NULL
;
4590 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4592 PyObject
* obj0
= 0 ;
4594 (char *) "self", NULL
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4599 if (SWIG_arg_fail(1)) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 result
= wxBitmap_GetSize(arg1
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4609 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
4610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4618 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
*resultobj
= NULL
;
4620 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4621 SwigValueWrapper
<wxImage
> result
;
4622 PyObject
* obj0
= 0 ;
4624 (char *) "self", NULL
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4629 if (SWIG_arg_fail(1)) SWIG_fail
;
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4638 wxImage
* resultptr
;
4639 resultptr
= new wxImage(static_cast<wxImage
& >(result
));
4640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4648 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
= NULL
;
4650 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4652 PyObject
* obj0
= 0 ;
4654 (char *) "self", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4659 if (SWIG_arg_fail(1)) SWIG_fail
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4674 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
= NULL
;
4676 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4677 wxMask
*arg2
= (wxMask
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4681 (char *) "self",(char *) "mask", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail
;
4687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4688 if (SWIG_arg_fail(2)) SWIG_fail
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 (arg1
)->SetMask(arg2
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 Py_INCREF(Py_None
); resultobj
= Py_None
;
4703 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
*resultobj
= NULL
;
4705 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4706 wxColour
*arg2
= 0 ;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4711 (char *) "self",(char *) "colour", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4716 if (SWIG_arg_fail(1)) SWIG_fail
;
4719 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 Py_INCREF(Py_None
); resultobj
= Py_None
;
4735 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
= NULL
;
4737 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4739 SwigValueWrapper
<wxBitmap
> result
;
4741 PyObject
* obj0
= 0 ;
4742 PyObject
* obj1
= 0 ;
4744 (char *) "self",(char *) "rect", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4749 if (SWIG_arg_fail(1)) SWIG_fail
;
4752 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4762 wxBitmap
* resultptr
;
4763 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
4764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4772 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
= NULL
;
4774 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4775 wxString
*arg2
= 0 ;
4777 wxPalette
*arg4
= (wxPalette
*) NULL
;
4779 bool temp2
= false ;
4780 PyObject
* obj0
= 0 ;
4781 PyObject
* obj1
= 0 ;
4782 PyObject
* obj2
= 0 ;
4783 PyObject
* obj3
= 0 ;
4785 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4790 if (SWIG_arg_fail(1)) SWIG_fail
;
4792 arg2
= wxString_in_helper(obj1
);
4793 if (arg2
== NULL
) SWIG_fail
;
4797 arg3
= static_cast<wxBitmapType
>(SWIG_As_int(obj2
));
4798 if (SWIG_arg_fail(3)) SWIG_fail
;
4801 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4802 if (SWIG_arg_fail(4)) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4828 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
= NULL
;
4830 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4831 wxString
*arg2
= 0 ;
4834 bool temp2
= false ;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4837 PyObject
* obj2
= 0 ;
4839 (char *) "self",(char *) "name",(char *) "type", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4844 if (SWIG_arg_fail(1)) SWIG_fail
;
4846 arg2
= wxString_in_helper(obj1
);
4847 if (arg2
== NULL
) SWIG_fail
;
4851 arg3
= static_cast<wxBitmapType
>(SWIG_As_int(obj2
));
4852 if (SWIG_arg_fail(3)) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4878 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
= NULL
;
4880 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4882 PyObject
* obj0
= 0 ;
4884 (char *) "self", NULL
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4889 if (SWIG_arg_fail(1)) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4904 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
= NULL
;
4906 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4909 PyObject
* obj0
= 0 ;
4910 PyObject
* obj1
= 0 ;
4912 (char *) "self",(char *) "icon", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4917 if (SWIG_arg_fail(1)) SWIG_fail
;
4919 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4920 if (SWIG_arg_fail(2)) SWIG_fail
;
4922 SWIG_null_ref("wxIcon");
4924 if (SWIG_arg_fail(2)) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4942 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
= NULL
;
4944 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4946 PyObject
* obj0
= 0 ;
4947 PyObject
* obj1
= 0 ;
4949 (char *) "self",(char *) "height", NULL
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4954 if (SWIG_arg_fail(1)) SWIG_fail
;
4956 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4957 if (SWIG_arg_fail(2)) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 (arg1
)->SetHeight(arg2
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 Py_INCREF(Py_None
); resultobj
= Py_None
;
4973 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
= NULL
;
4975 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4977 PyObject
* obj0
= 0 ;
4978 PyObject
* obj1
= 0 ;
4980 (char *) "self",(char *) "width", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail
;
4987 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4988 if (SWIG_arg_fail(2)) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 (arg1
)->SetWidth(arg2
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 Py_INCREF(Py_None
); resultobj
= Py_None
;
5004 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
= NULL
;
5006 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5011 (char *) "self",(char *) "depth", NULL
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5016 if (SWIG_arg_fail(1)) SWIG_fail
;
5018 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5019 if (SWIG_arg_fail(2)) SWIG_fail
;
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 (arg1
)->SetDepth(arg2
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 Py_INCREF(Py_None
); resultobj
= Py_None
;
5035 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
= NULL
;
5037 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5040 PyObject
* obj0
= 0 ;
5041 PyObject
* obj1
= 0 ;
5043 (char *) "self",(char *) "size", NULL
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5048 if (SWIG_arg_fail(1)) SWIG_fail
;
5051 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 Py_INCREF(Py_None
); resultobj
= Py_None
;
5067 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
= NULL
;
5069 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5070 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5075 (char *) "self",(char *) "other", NULL
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5080 if (SWIG_arg_fail(1)) SWIG_fail
;
5081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5082 if (SWIG_arg_fail(2)) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5099 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
= NULL
;
5101 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5102 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5105 PyObject
* obj1
= 0 ;
5107 (char *) "self",(char *) "other", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5112 if (SWIG_arg_fail(1)) SWIG_fail
;
5113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5114 if (SWIG_arg_fail(2)) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5131 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
5133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5134 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
5136 return Py_BuildValue((char *)"");
5138 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
= NULL
;
5140 wxBitmap
*arg1
= 0 ;
5141 wxColour
const &arg2_defvalue
= wxNullColour
;
5142 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5145 PyObject
* obj0
= 0 ;
5146 PyObject
* obj1
= 0 ;
5148 (char *) "bitmap",(char *) "colour", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
5153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5154 if (SWIG_arg_fail(1)) SWIG_fail
;
5156 SWIG_null_ref("wxBitmap");
5158 if (SWIG_arg_fail(1)) SWIG_fail
;
5163 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5167 if (!wxPyCheckForApp()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
5181 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
5183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5184 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
5186 return Py_BuildValue((char *)"");
5188 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
= NULL
;
5190 wxString
*arg1
= 0 ;
5192 int arg3
= (int) -1 ;
5193 int arg4
= (int) -1 ;
5195 bool temp1
= false ;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5198 PyObject
* obj2
= 0 ;
5199 PyObject
* obj3
= 0 ;
5201 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5206 arg1
= wxString_in_helper(obj0
);
5207 if (arg1
== NULL
) SWIG_fail
;
5211 arg2
= static_cast<wxBitmapType
>(SWIG_As_int(obj1
));
5212 if (SWIG_arg_fail(2)) SWIG_fail
;
5216 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5217 if (SWIG_arg_fail(3)) SWIG_fail
;
5222 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5223 if (SWIG_arg_fail(4)) SWIG_fail
;
5227 if (!wxPyCheckForApp()) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5249 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
= NULL
;
5251 wxIcon
*arg1
= (wxIcon
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5254 (char *) "self", NULL
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5259 if (SWIG_arg_fail(1)) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 Py_INCREF(Py_None
); resultobj
= Py_None
;
5274 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
= NULL
;
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5283 if (!wxPyCheckForApp()) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= (wxIcon
*)new wxIcon();
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5297 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
= NULL
;
5299 wxIconLocation
*arg1
= 0 ;
5301 PyObject
* obj0
= 0 ;
5303 (char *) "loc", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5309 if (SWIG_arg_fail(1)) SWIG_fail
;
5311 SWIG_null_ref("wxIconLocation");
5313 if (SWIG_arg_fail(1)) SWIG_fail
;
5316 if (!wxPyCheckForApp()) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5330 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
= NULL
;
5332 wxBitmap
*arg1
= 0 ;
5334 PyObject
* obj0
= 0 ;
5336 (char *) "bmp", NULL
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5342 if (SWIG_arg_fail(1)) SWIG_fail
;
5344 SWIG_null_ref("wxBitmap");
5346 if (SWIG_arg_fail(1)) SWIG_fail
;
5349 if (!wxPyCheckForApp()) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5363 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= NULL
;
5365 PyObject
*arg1
= (PyObject
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5369 (char *) "listOfStrings", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5375 if (!wxPyCheckForApp()) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 result
= (wxIcon
*)new_wxIcon(arg1
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5389 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
= NULL
;
5391 wxIcon
*arg1
= (wxIcon
*) 0 ;
5393 PyObject
* obj0
= 0 ;
5395 (char *) "self", NULL
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5400 if (SWIG_arg_fail(1)) SWIG_fail
;
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (bool)(arg1
)->Ok();
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5417 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= NULL
;
5419 wxIcon
*arg1
= (wxIcon
*) 0 ;
5421 PyObject
* obj0
= 0 ;
5423 (char *) "self", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5428 if (SWIG_arg_fail(1)) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 result
= (int)(arg1
)->GetWidth();
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= SWIG_From_int(static_cast<int >(result
));
5445 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= NULL
;
5447 wxIcon
*arg1
= (wxIcon
*) 0 ;
5449 PyObject
* obj0
= 0 ;
5451 (char *) "self", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5456 if (SWIG_arg_fail(1)) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (int)(arg1
)->GetHeight();
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= SWIG_From_int(static_cast<int >(result
));
5473 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
= NULL
;
5475 wxIcon
*arg1
= (wxIcon
*) 0 ;
5477 PyObject
* obj0
= 0 ;
5479 (char *) "self", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5484 if (SWIG_arg_fail(1)) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 result
= (int)(arg1
)->GetDepth();
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= SWIG_From_int(static_cast<int >(result
));
5501 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
= NULL
;
5503 wxIcon
*arg1
= (wxIcon
*) 0 ;
5505 PyObject
* obj0
= 0 ;
5506 PyObject
* obj1
= 0 ;
5508 (char *) "self",(char *) "w", NULL
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5513 if (SWIG_arg_fail(1)) SWIG_fail
;
5515 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5516 if (SWIG_arg_fail(2)) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 (arg1
)->SetWidth(arg2
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 Py_INCREF(Py_None
); resultobj
= Py_None
;
5532 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
= NULL
;
5534 wxIcon
*arg1
= (wxIcon
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5539 (char *) "self",(char *) "h", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5544 if (SWIG_arg_fail(1)) SWIG_fail
;
5546 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5547 if (SWIG_arg_fail(2)) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 (arg1
)->SetHeight(arg2
);
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 Py_INCREF(Py_None
); resultobj
= Py_None
;
5563 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
= NULL
;
5565 wxIcon
*arg1
= (wxIcon
*) 0 ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5570 (char *) "self",(char *) "d", NULL
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5575 if (SWIG_arg_fail(1)) SWIG_fail
;
5577 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5578 if (SWIG_arg_fail(2)) SWIG_fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 (arg1
)->SetDepth(arg2
);
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 Py_INCREF(Py_None
); resultobj
= Py_None
;
5594 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
= NULL
;
5596 wxIcon
*arg1
= (wxIcon
*) 0 ;
5597 wxBitmap
*arg2
= 0 ;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5601 (char *) "self",(char *) "bmp", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5606 if (SWIG_arg_fail(1)) SWIG_fail
;
5608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5609 if (SWIG_arg_fail(2)) SWIG_fail
;
5611 SWIG_null_ref("wxBitmap");
5613 if (SWIG_arg_fail(2)) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 Py_INCREF(Py_None
); resultobj
= Py_None
;
5629 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5632 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5634 return Py_BuildValue((char *)"");
5636 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
= NULL
;
5638 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5639 int arg2
= (int) 0 ;
5640 wxIconLocation
*result
;
5641 bool temp1
= false ;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj1
= 0 ;
5645 (char *) "filename",(char *) "num", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5651 arg1
= wxString_in_helper(obj0
);
5652 if (arg1
== NULL
) SWIG_fail
;
5658 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5659 if (SWIG_arg_fail(2)) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5684 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
= NULL
;
5686 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5689 (char *) "self", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5694 if (SWIG_arg_fail(1)) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 Py_INCREF(Py_None
); resultobj
= Py_None
;
5709 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
= NULL
;
5711 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5715 (char *) "self", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5720 if (SWIG_arg_fail(1)) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5737 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
= NULL
;
5739 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5740 wxString
*arg2
= 0 ;
5741 bool temp2
= false ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5745 (char *) "self",(char *) "filename", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5750 if (SWIG_arg_fail(1)) SWIG_fail
;
5752 arg2
= wxString_in_helper(obj1
);
5753 if (arg2
== NULL
) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 (arg1
)->SetFileName((wxString
const &)*arg2
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 Py_INCREF(Py_None
); resultobj
= Py_None
;
5778 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
= NULL
;
5780 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5782 PyObject
* obj0
= 0 ;
5784 (char *) "self", NULL
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5789 if (SWIG_arg_fail(1)) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5794 result
= (wxString
*) &_result_ref
;
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5804 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5813 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
= NULL
;
5815 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5817 PyObject
* obj0
= 0 ;
5818 PyObject
* obj1
= 0 ;
5820 (char *) "self",(char *) "num", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5825 if (SWIG_arg_fail(1)) SWIG_fail
;
5827 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5828 if (SWIG_arg_fail(2)) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 wxIconLocation_SetIndex(arg1
,arg2
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 Py_INCREF(Py_None
); resultobj
= Py_None
;
5844 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
= NULL
;
5846 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5850 (char *) "self", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5855 if (SWIG_arg_fail(1)) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (int)wxIconLocation_GetIndex(arg1
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= SWIG_From_int(static_cast<int >(result
));
5872 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5875 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5877 return Py_BuildValue((char *)"");
5879 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
= NULL
;
5881 wxIconBundle
*result
;
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 result
= (wxIconBundle
*)new wxIconBundle();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5901 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
= NULL
;
5903 wxString
*arg1
= 0 ;
5905 wxIconBundle
*result
;
5906 bool temp1
= false ;
5907 PyObject
* obj0
= 0 ;
5908 PyObject
* obj1
= 0 ;
5910 (char *) "file",(char *) "type", NULL
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5915 arg1
= wxString_in_helper(obj0
);
5916 if (arg1
== NULL
) SWIG_fail
;
5920 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5921 if (SWIG_arg_fail(2)) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5945 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
= NULL
;
5948 wxIconBundle
*result
;
5949 PyObject
* obj0
= 0 ;
5951 (char *) "icon", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
5956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5957 if (SWIG_arg_fail(1)) SWIG_fail
;
5959 SWIG_null_ref("wxIcon");
5961 if (SWIG_arg_fail(1)) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5977 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
= NULL
;
5979 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5980 PyObject
* obj0
= 0 ;
5982 (char *) "self", NULL
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
5986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5987 if (SWIG_arg_fail(1)) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5995 Py_INCREF(Py_None
); resultobj
= Py_None
;
6002 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
*resultobj
= NULL
;
6004 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6009 (char *) "self",(char *) "icon", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6014 if (SWIG_arg_fail(1)) SWIG_fail
;
6016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6017 if (SWIG_arg_fail(2)) SWIG_fail
;
6019 SWIG_null_ref("wxIcon");
6021 if (SWIG_arg_fail(2)) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 Py_INCREF(Py_None
); resultobj
= Py_None
;
6037 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
= NULL
;
6039 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6040 wxString
*arg2
= 0 ;
6042 bool temp2
= false ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6045 PyObject
* obj2
= 0 ;
6047 (char *) "self",(char *) "file",(char *) "type", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6052 if (SWIG_arg_fail(1)) SWIG_fail
;
6054 arg2
= wxString_in_helper(obj1
);
6055 if (arg2
== NULL
) SWIG_fail
;
6059 arg3
= static_cast<long >(SWIG_As_long(obj2
));
6060 if (SWIG_arg_fail(3)) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 Py_INCREF(Py_None
); resultobj
= Py_None
;
6084 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
= NULL
;
6086 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6091 PyObject
* obj1
= 0 ;
6093 (char *) "self",(char *) "size", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6098 if (SWIG_arg_fail(1)) SWIG_fail
;
6101 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
6107 result
= (wxIcon
*) &_result_ref
;
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6114 wxIcon
* resultptr
= new wxIcon(*result
);
6115 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
6123 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
6125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6126 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
6128 return Py_BuildValue((char *)"");
6130 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
= NULL
;
6132 wxString
*arg1
= 0 ;
6134 int arg3
= (int) 0 ;
6135 int arg4
= (int) 0 ;
6137 bool temp1
= false ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6140 PyObject
* obj2
= 0 ;
6141 PyObject
* obj3
= 0 ;
6143 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6148 arg1
= wxString_in_helper(obj0
);
6149 if (arg1
== NULL
) SWIG_fail
;
6153 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6154 if (SWIG_arg_fail(2)) SWIG_fail
;
6158 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6159 if (SWIG_arg_fail(3)) SWIG_fail
;
6164 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6165 if (SWIG_arg_fail(4)) SWIG_fail
;
6169 if (!wxPyCheckForApp()) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6191 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
= NULL
;
6193 wxCursor
*arg1
= (wxCursor
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "self", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
6200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6201 if (SWIG_arg_fail(1)) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 Py_INCREF(Py_None
); resultobj
= Py_None
;
6216 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
= NULL
;
6220 PyObject
* obj0
= 0 ;
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6227 arg1
= static_cast<int >(SWIG_As_int(obj0
));
6228 if (SWIG_arg_fail(1)) SWIG_fail
;
6231 if (!wxPyCheckForApp()) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (wxCursor
*)new wxCursor(arg1
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6245 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
= NULL
;
6249 PyObject
* obj0
= 0 ;
6251 (char *) "image", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6257 if (SWIG_arg_fail(1)) SWIG_fail
;
6259 SWIG_null_ref("wxImage");
6261 if (SWIG_arg_fail(1)) SWIG_fail
;
6264 if (!wxPyCheckForApp()) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6278 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
= NULL
;
6280 wxCursor
*arg1
= (wxCursor
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6284 (char *) "self", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6289 if (SWIG_arg_fail(1)) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (bool)(arg1
)->Ok();
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6306 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6309 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6311 return Py_BuildValue((char *)"");
6313 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
= NULL
;
6315 int arg1
= (int) 0 ;
6316 int arg2
= (int) 0 ;
6317 int arg3
= (int) 0 ;
6318 int arg4
= (int) 0 ;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6322 PyObject
* obj2
= 0 ;
6323 PyObject
* obj3
= 0 ;
6325 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6331 arg1
= static_cast<int >(SWIG_As_int(obj0
));
6332 if (SWIG_arg_fail(1)) SWIG_fail
;
6337 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6338 if (SWIG_arg_fail(2)) SWIG_fail
;
6343 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6344 if (SWIG_arg_fail(3)) SWIG_fail
;
6349 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6350 if (SWIG_arg_fail(4)) SWIG_fail
;
6354 if (!wxPyCheckForApp()) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6368 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
= NULL
;
6370 wxBitmap
*arg1
= 0 ;
6372 PyObject
* obj0
= 0 ;
6374 (char *) "bmp", NULL
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6380 if (SWIG_arg_fail(1)) SWIG_fail
;
6382 SWIG_null_ref("wxBitmap");
6384 if (SWIG_arg_fail(1)) SWIG_fail
;
6387 if (!wxPyCheckForApp()) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6401 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
= NULL
;
6403 wxBitmap
*arg1
= 0 ;
6404 wxColour
*arg2
= 0 ;
6405 int arg3
= (int) 0 ;
6408 PyObject
* obj0
= 0 ;
6409 PyObject
* obj1
= 0 ;
6410 PyObject
* obj2
= 0 ;
6412 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6418 if (SWIG_arg_fail(1)) SWIG_fail
;
6420 SWIG_null_ref("wxBitmap");
6422 if (SWIG_arg_fail(1)) SWIG_fail
;
6426 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6430 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6431 if (SWIG_arg_fail(3)) SWIG_fail
;
6435 if (!wxPyCheckForApp()) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6449 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
= NULL
;
6452 wxPoint
*arg2
= (wxPoint
*) 0 ;
6453 int arg3
= (int) wxWINDING_RULE
;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6458 (char *) "points",(char *) "fillStyle", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6463 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6464 if (arg2
== NULL
) SWIG_fail
;
6468 arg3
= static_cast<int >(SWIG_As_int(obj1
));
6469 if (SWIG_arg_fail(3)) SWIG_fail
;
6473 if (!wxPyCheckForApp()) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6482 if (arg2
) delete [] arg2
;
6487 if (arg2
) delete [] arg2
;
6493 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
= NULL
;
6495 wxRegion
*arg1
= (wxRegion
*) 0 ;
6496 PyObject
* obj0
= 0 ;
6498 (char *) "self", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6503 if (SWIG_arg_fail(1)) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 Py_INCREF(Py_None
); resultobj
= Py_None
;
6518 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
= NULL
;
6520 wxRegion
*arg1
= (wxRegion
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6523 (char *) "self", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6528 if (SWIG_arg_fail(1)) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6536 Py_INCREF(Py_None
); resultobj
= Py_None
;
6543 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
= NULL
;
6545 wxRegion
*arg1
= (wxRegion
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6551 PyObject
* obj2
= 0 ;
6553 (char *) "self",(char *) "x",(char *) "y", NULL
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6558 if (SWIG_arg_fail(1)) SWIG_fail
;
6560 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6561 if (SWIG_arg_fail(2)) SWIG_fail
;
6564 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6565 if (SWIG_arg_fail(3)) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6583 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
= NULL
;
6585 wxRegion
*arg1
= (wxRegion
*) 0 ;
6588 wxRegionContain result
;
6589 PyObject
* obj0
= 0 ;
6590 PyObject
* obj1
= 0 ;
6591 PyObject
* obj2
= 0 ;
6593 (char *) "self",(char *) "x",(char *) "y", NULL
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6598 if (SWIG_arg_fail(1)) SWIG_fail
;
6600 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6601 if (SWIG_arg_fail(2)) SWIG_fail
;
6604 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6605 if (SWIG_arg_fail(3)) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= SWIG_From_int((result
));
6621 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
= NULL
;
6623 wxRegion
*arg1
= (wxRegion
*) 0 ;
6625 wxRegionContain result
;
6627 PyObject
* obj0
= 0 ;
6628 PyObject
* obj1
= 0 ;
6630 (char *) "self",(char *) "pt", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6635 if (SWIG_arg_fail(1)) SWIG_fail
;
6638 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6647 resultobj
= SWIG_From_int((result
));
6654 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
*resultobj
= NULL
;
6656 wxRegion
*arg1
= (wxRegion
*) 0 ;
6658 wxRegionContain result
;
6660 PyObject
* obj0
= 0 ;
6661 PyObject
* obj1
= 0 ;
6663 (char *) "self",(char *) "rect", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6668 if (SWIG_arg_fail(1)) SWIG_fail
;
6671 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= SWIG_From_int((result
));
6687 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
= NULL
;
6689 wxRegion
*arg1
= (wxRegion
*) 0 ;
6694 wxRegionContain result
;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6697 PyObject
* obj2
= 0 ;
6698 PyObject
* obj3
= 0 ;
6699 PyObject
* obj4
= 0 ;
6701 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6706 if (SWIG_arg_fail(1)) SWIG_fail
;
6708 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6709 if (SWIG_arg_fail(2)) SWIG_fail
;
6712 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6713 if (SWIG_arg_fail(3)) SWIG_fail
;
6716 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6717 if (SWIG_arg_fail(4)) SWIG_fail
;
6720 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6721 if (SWIG_arg_fail(5)) SWIG_fail
;
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= SWIG_From_int((result
));
6737 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
= NULL
;
6739 wxRegion
*arg1
= (wxRegion
*) 0 ;
6741 PyObject
* obj0
= 0 ;
6743 (char *) "self", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
6747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6748 if (SWIG_arg_fail(1)) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 result
= (arg1
)->GetBox();
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6758 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
6759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6767 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
= NULL
;
6769 wxRegion
*arg1
= (wxRegion
*) 0 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6777 PyObject
* obj2
= 0 ;
6778 PyObject
* obj3
= 0 ;
6779 PyObject
* obj4
= 0 ;
6781 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6786 if (SWIG_arg_fail(1)) SWIG_fail
;
6788 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6789 if (SWIG_arg_fail(2)) SWIG_fail
;
6792 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6793 if (SWIG_arg_fail(3)) SWIG_fail
;
6796 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6797 if (SWIG_arg_fail(4)) SWIG_fail
;
6800 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6801 if (SWIG_arg_fail(5)) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6819 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
= NULL
;
6821 wxRegion
*arg1
= (wxRegion
*) 0 ;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6828 (char *) "self",(char *) "rect", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6833 if (SWIG_arg_fail(1)) SWIG_fail
;
6836 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6854 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= NULL
;
6856 wxRegion
*arg1
= (wxRegion
*) 0 ;
6857 wxRegion
*arg2
= 0 ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6862 (char *) "self",(char *) "region", NULL
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6867 if (SWIG_arg_fail(1)) SWIG_fail
;
6869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6870 if (SWIG_arg_fail(2)) SWIG_fail
;
6872 SWIG_null_ref("wxRegion");
6874 if (SWIG_arg_fail(2)) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6892 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
= NULL
;
6894 wxRegion
*arg1
= (wxRegion
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6898 (char *) "self", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
6902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6903 if (SWIG_arg_fail(1)) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (bool)(arg1
)->IsEmpty();
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6920 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
= NULL
;
6922 wxRegion
*arg1
= (wxRegion
*) 0 ;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6930 PyObject
* obj2
= 0 ;
6931 PyObject
* obj3
= 0 ;
6932 PyObject
* obj4
= 0 ;
6934 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6939 if (SWIG_arg_fail(1)) SWIG_fail
;
6941 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6942 if (SWIG_arg_fail(2)) SWIG_fail
;
6945 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6946 if (SWIG_arg_fail(3)) SWIG_fail
;
6949 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6950 if (SWIG_arg_fail(4)) SWIG_fail
;
6953 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6954 if (SWIG_arg_fail(5)) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6972 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
= NULL
;
6974 wxRegion
*arg1
= (wxRegion
*) 0 ;
6978 PyObject
* obj0
= 0 ;
6979 PyObject
* obj1
= 0 ;
6981 (char *) "self",(char *) "rect", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6986 if (SWIG_arg_fail(1)) SWIG_fail
;
6989 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7007 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
= NULL
;
7009 wxRegion
*arg1
= (wxRegion
*) 0 ;
7010 wxRegion
*arg2
= 0 ;
7012 PyObject
* obj0
= 0 ;
7013 PyObject
* obj1
= 0 ;
7015 (char *) "self",(char *) "region", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7020 if (SWIG_arg_fail(1)) SWIG_fail
;
7022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7023 if (SWIG_arg_fail(2)) SWIG_fail
;
7025 SWIG_null_ref("wxRegion");
7027 if (SWIG_arg_fail(2)) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7045 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
= NULL
;
7047 wxRegion
*arg1
= (wxRegion
*) 0 ;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7055 PyObject
* obj2
= 0 ;
7056 PyObject
* obj3
= 0 ;
7057 PyObject
* obj4
= 0 ;
7059 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7064 if (SWIG_arg_fail(1)) SWIG_fail
;
7066 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7067 if (SWIG_arg_fail(2)) SWIG_fail
;
7070 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7071 if (SWIG_arg_fail(3)) SWIG_fail
;
7074 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7075 if (SWIG_arg_fail(4)) SWIG_fail
;
7078 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7079 if (SWIG_arg_fail(5)) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7097 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
= NULL
;
7099 wxRegion
*arg1
= (wxRegion
*) 0 ;
7103 PyObject
* obj0
= 0 ;
7104 PyObject
* obj1
= 0 ;
7106 (char *) "self",(char *) "rect", NULL
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7111 if (SWIG_arg_fail(1)) SWIG_fail
;
7114 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7132 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
= NULL
;
7134 wxRegion
*arg1
= (wxRegion
*) 0 ;
7135 wxRegion
*arg2
= 0 ;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj1
= 0 ;
7140 (char *) "self",(char *) "region", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7145 if (SWIG_arg_fail(1)) SWIG_fail
;
7147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7148 if (SWIG_arg_fail(2)) SWIG_fail
;
7150 SWIG_null_ref("wxRegion");
7152 if (SWIG_arg_fail(2)) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7170 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
= NULL
;
7172 wxRegion
*arg1
= (wxRegion
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7180 PyObject
* obj2
= 0 ;
7181 PyObject
* obj3
= 0 ;
7182 PyObject
* obj4
= 0 ;
7184 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7189 if (SWIG_arg_fail(1)) SWIG_fail
;
7191 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7192 if (SWIG_arg_fail(2)) SWIG_fail
;
7195 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7196 if (SWIG_arg_fail(3)) SWIG_fail
;
7199 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7200 if (SWIG_arg_fail(4)) SWIG_fail
;
7203 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7204 if (SWIG_arg_fail(5)) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7222 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
= NULL
;
7224 wxRegion
*arg1
= (wxRegion
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7231 (char *) "self",(char *) "rect", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7236 if (SWIG_arg_fail(1)) SWIG_fail
;
7239 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7257 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
= NULL
;
7259 wxRegion
*arg1
= (wxRegion
*) 0 ;
7260 wxRegion
*arg2
= 0 ;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7265 (char *) "self",(char *) "region", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7270 if (SWIG_arg_fail(1)) SWIG_fail
;
7272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7273 if (SWIG_arg_fail(2)) SWIG_fail
;
7275 SWIG_null_ref("wxRegion");
7277 if (SWIG_arg_fail(2)) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7295 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
= NULL
;
7297 wxRegion
*arg1
= (wxRegion
*) 0 ;
7298 SwigValueWrapper
<wxBitmap
> result
;
7299 PyObject
* obj0
= 0 ;
7301 (char *) "self", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7306 if (SWIG_arg_fail(1)) SWIG_fail
;
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 result
= (arg1
)->ConvertToBitmap();
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7315 wxBitmap
* resultptr
;
7316 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
7317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7325 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
= NULL
;
7327 wxRegion
*arg1
= (wxRegion
*) 0 ;
7328 wxBitmap
*arg2
= 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7333 (char *) "self",(char *) "bmp", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7338 if (SWIG_arg_fail(1)) SWIG_fail
;
7340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7341 if (SWIG_arg_fail(2)) SWIG_fail
;
7343 SWIG_null_ref("wxBitmap");
7345 if (SWIG_arg_fail(2)) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7363 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
= NULL
;
7365 wxRegion
*arg1
= (wxRegion
*) 0 ;
7366 wxBitmap
*arg2
= 0 ;
7367 wxColour
*arg3
= 0 ;
7368 int arg4
= (int) 0 ;
7371 PyObject
* obj0
= 0 ;
7372 PyObject
* obj1
= 0 ;
7373 PyObject
* obj2
= 0 ;
7374 PyObject
* obj3
= 0 ;
7376 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7381 if (SWIG_arg_fail(1)) SWIG_fail
;
7383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7384 if (SWIG_arg_fail(2)) SWIG_fail
;
7386 SWIG_null_ref("wxBitmap");
7388 if (SWIG_arg_fail(2)) SWIG_fail
;
7392 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7396 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7397 if (SWIG_arg_fail(4)) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7416 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7419 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7421 return Py_BuildValue((char *)"");
7423 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
= NULL
;
7425 wxRegion
*arg1
= 0 ;
7426 wxRegionIterator
*result
;
7427 PyObject
* obj0
= 0 ;
7429 (char *) "region", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7435 if (SWIG_arg_fail(1)) SWIG_fail
;
7437 SWIG_null_ref("wxRegion");
7439 if (SWIG_arg_fail(1)) SWIG_fail
;
7442 if (!wxPyCheckForApp()) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7456 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
= NULL
;
7458 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7461 (char *) "self", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7466 if (SWIG_arg_fail(1)) SWIG_fail
;
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 Py_INCREF(Py_None
); resultobj
= Py_None
;
7481 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
= NULL
;
7483 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7485 PyObject
* obj0
= 0 ;
7487 (char *) "self", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7492 if (SWIG_arg_fail(1)) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= (int)(arg1
)->GetX();
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= SWIG_From_int(static_cast<int >(result
));
7509 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
= NULL
;
7511 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7513 PyObject
* obj0
= 0 ;
7515 (char *) "self", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7520 if (SWIG_arg_fail(1)) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= (int)(arg1
)->GetY();
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_From_int(static_cast<int >(result
));
7537 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
= NULL
;
7539 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7543 (char *) "self", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7548 if (SWIG_arg_fail(1)) SWIG_fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 result
= (int)(arg1
)->GetW();
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= SWIG_From_int(static_cast<int >(result
));
7565 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
= NULL
;
7567 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7569 PyObject
* obj0
= 0 ;
7571 (char *) "self", NULL
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7576 if (SWIG_arg_fail(1)) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (int)(arg1
)->GetWidth();
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_From_int(static_cast<int >(result
));
7593 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
= NULL
;
7595 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "self", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 result
= (int)(arg1
)->GetH();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_From_int(static_cast<int >(result
));
7621 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
= NULL
;
7623 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7627 (char *) "self", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7632 if (SWIG_arg_fail(1)) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (int)(arg1
)->GetHeight();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_From_int(static_cast<int >(result
));
7649 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
= NULL
;
7651 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "self", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
7659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (arg1
)->GetRect();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7670 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7679 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
= NULL
;
7681 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "self", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
7689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7690 if (SWIG_arg_fail(1)) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= (bool)(arg1
)->HaveRects();
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7707 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
= NULL
;
7709 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
7716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7717 if (SWIG_arg_fail(1)) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7725 Py_INCREF(Py_None
); resultobj
= Py_None
;
7732 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
= NULL
;
7734 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7735 PyObject
* obj0
= 0 ;
7737 (char *) "self", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
7741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 wxRegionIterator_Next(arg1
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 Py_INCREF(Py_None
); resultobj
= Py_None
;
7757 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
= NULL
;
7759 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7761 PyObject
* obj0
= 0 ;
7763 (char *) "self", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
7767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7768 if (SWIG_arg_fail(1)) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 result
= (bool)wxRegionIterator___nonzero__(arg1
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7785 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
7787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7788 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
7790 return Py_BuildValue((char *)"");
7792 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
= NULL
;
7794 wxNativeFontInfo
*result
;
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
7814 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
= NULL
;
7816 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7817 PyObject
* obj0
= 0 ;
7819 (char *) "self", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
7823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7824 if (SWIG_arg_fail(1)) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 Py_INCREF(Py_None
); resultobj
= Py_None
;
7839 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
= NULL
;
7841 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 Py_INCREF(Py_None
); resultobj
= Py_None
;
7864 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
= NULL
;
7866 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7871 (char *) "self",(char *) "font", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
7875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail
;
7878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7879 if (SWIG_arg_fail(2)) SWIG_fail
;
7881 SWIG_null_ref("wxFont");
7883 if (SWIG_arg_fail(2)) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 Py_INCREF(Py_None
); resultobj
= Py_None
;
7899 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
= NULL
;
7901 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7905 (char *) "self", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
7909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7910 if (SWIG_arg_fail(1)) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7919 resultobj
= SWIG_From_int(static_cast<int >(result
));
7927 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
= NULL
;
7929 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7933 (char *) "self", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
7937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= SWIG_From_int((result
));
7953 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
= NULL
;
7955 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7956 wxFontWeight result
;
7957 PyObject
* obj0
= 0 ;
7959 (char *) "self", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
7963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7964 if (SWIG_arg_fail(1)) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= SWIG_From_int((result
));
7979 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
= NULL
;
7981 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7983 PyObject
* obj0
= 0 ;
7985 (char *) "self", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7990 if (SWIG_arg_fail(1)) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8007 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
= NULL
;
8009 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8013 (char *) "self", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
8017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8018 if (SWIG_arg_fail(1)) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8039 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
= NULL
;
8041 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8042 wxFontFamily result
;
8043 PyObject
* obj0
= 0 ;
8045 (char *) "self", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
8049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= SWIG_From_int((result
));
8065 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
= NULL
;
8067 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8068 wxFontEncoding result
;
8069 PyObject
* obj0
= 0 ;
8071 (char *) "self", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
8075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8076 if (SWIG_arg_fail(1)) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8084 resultobj
= SWIG_From_int((result
));
8091 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
*resultobj
= NULL
;
8093 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8095 PyObject
* obj0
= 0 ;
8096 PyObject
* obj1
= 0 ;
8098 (char *) "self",(char *) "pointsize", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8103 if (SWIG_arg_fail(1)) SWIG_fail
;
8105 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8106 if (SWIG_arg_fail(2)) SWIG_fail
;
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 (arg1
)->SetPointSize(arg2
);
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8115 Py_INCREF(Py_None
); resultobj
= Py_None
;
8122 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
*resultobj
= NULL
;
8124 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8126 PyObject
* obj0
= 0 ;
8127 PyObject
* obj1
= 0 ;
8129 (char *) "self",(char *) "style", NULL
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8134 if (SWIG_arg_fail(1)) SWIG_fail
;
8136 arg2
= static_cast<wxFontStyle
>(SWIG_As_int(obj1
));
8137 if (SWIG_arg_fail(2)) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 (arg1
)->SetStyle(arg2
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 Py_INCREF(Py_None
); resultobj
= Py_None
;
8153 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
= NULL
;
8155 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8160 (char *) "self",(char *) "weight", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail
;
8167 arg2
= static_cast<wxFontWeight
>(SWIG_As_int(obj1
));
8168 if (SWIG_arg_fail(2)) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 (arg1
)->SetWeight(arg2
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 Py_INCREF(Py_None
); resultobj
= Py_None
;
8184 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
= NULL
;
8186 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8191 (char *) "self",(char *) "underlined", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8196 if (SWIG_arg_fail(1)) SWIG_fail
;
8198 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8199 if (SWIG_arg_fail(2)) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 (arg1
)->SetUnderlined(arg2
);
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 Py_INCREF(Py_None
); resultobj
= Py_None
;
8215 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
= NULL
;
8217 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8222 (char *) "self",(char *) "facename", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8227 if (SWIG_arg_fail(1)) SWIG_fail
;
8229 wxString
* sptr
= wxString_in_helper(obj1
);
8230 if (sptr
== NULL
) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 (arg1
)->SetFaceName(arg2
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 Py_INCREF(Py_None
); resultobj
= Py_None
;
8248 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
= NULL
;
8250 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8255 (char *) "self",(char *) "family", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8260 if (SWIG_arg_fail(1)) SWIG_fail
;
8262 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
8263 if (SWIG_arg_fail(2)) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 (arg1
)->SetFamily(arg2
);
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 Py_INCREF(Py_None
); resultobj
= Py_None
;
8279 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
= NULL
;
8281 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8282 wxFontEncoding arg2
;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8286 (char *) "self",(char *) "encoding", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail
;
8293 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
8294 if (SWIG_arg_fail(2)) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 (arg1
)->SetEncoding(arg2
);
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 Py_INCREF(Py_None
); resultobj
= Py_None
;
8310 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
= NULL
;
8312 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8313 wxString
*arg2
= 0 ;
8315 bool temp2
= false ;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8319 (char *) "self",(char *) "s", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8324 if (SWIG_arg_fail(1)) SWIG_fail
;
8326 arg2
= wxString_in_helper(obj1
);
8327 if (arg2
== NULL
) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8354 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
= NULL
;
8356 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8358 PyObject
* obj0
= 0 ;
8360 (char *) "self", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8365 if (SWIG_arg_fail(1)) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8386 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
= NULL
;
8388 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8390 PyObject
* obj0
= 0 ;
8392 (char *) "self", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8397 if (SWIG_arg_fail(1)) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= wxNativeFontInfo___str__(arg1
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8418 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
= NULL
;
8420 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8421 wxString
*arg2
= 0 ;
8423 bool temp2
= false ;
8424 PyObject
* obj0
= 0 ;
8425 PyObject
* obj1
= 0 ;
8427 (char *) "self",(char *) "s", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
8431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8432 if (SWIG_arg_fail(1)) SWIG_fail
;
8434 arg2
= wxString_in_helper(obj1
);
8435 if (arg2
== NULL
) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8462 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
= NULL
;
8464 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8466 PyObject
* obj0
= 0 ;
8468 (char *) "self", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8473 if (SWIG_arg_fail(1)) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8494 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8497 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8499 return Py_BuildValue((char *)"");
8501 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
= NULL
;
8503 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8504 wxString
*arg2
= (wxString
*) 0 ;
8505 bool temp2
= false ;
8506 PyObject
* obj0
= 0 ;
8507 PyObject
* obj1
= 0 ;
8509 (char *) "self",(char *) "facename", NULL
8512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8514 if (SWIG_arg_fail(1)) SWIG_fail
;
8516 arg2
= wxString_in_helper(obj1
);
8517 if (arg2
== NULL
) SWIG_fail
;
8520 if (arg1
) (arg1
)->facename
= *arg2
;
8522 Py_INCREF(Py_None
); resultobj
= Py_None
;
8537 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
= NULL
;
8539 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8541 PyObject
* obj0
= 0 ;
8543 (char *) "self", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8548 if (SWIG_arg_fail(1)) SWIG_fail
;
8549 result
= (wxString
*)& ((arg1
)->facename
);
8553 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8555 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8564 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
*resultobj
= NULL
;
8566 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8567 wxFontEncoding arg2
;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8571 (char *) "self",(char *) "encoding", NULL
8574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8576 if (SWIG_arg_fail(1)) SWIG_fail
;
8578 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
8579 if (SWIG_arg_fail(2)) SWIG_fail
;
8581 if (arg1
) (arg1
)->encoding
= arg2
;
8583 Py_INCREF(Py_None
); resultobj
= Py_None
;
8590 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
= NULL
;
8592 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8593 wxFontEncoding result
;
8594 PyObject
* obj0
= 0 ;
8596 (char *) "self", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
8600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8601 if (SWIG_arg_fail(1)) SWIG_fail
;
8602 result
= (wxFontEncoding
) ((arg1
)->encoding
);
8604 resultobj
= SWIG_From_int((result
));
8611 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
= NULL
;
8613 wxNativeEncodingInfo
*result
;
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
8633 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
= NULL
;
8635 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8636 PyObject
* obj0
= 0 ;
8638 (char *) "self", NULL
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
8642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8643 if (SWIG_arg_fail(1)) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8651 Py_INCREF(Py_None
); resultobj
= Py_None
;
8658 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
*resultobj
= NULL
;
8660 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8661 wxString
*arg2
= 0 ;
8663 bool temp2
= false ;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8667 (char *) "self",(char *) "s", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8672 if (SWIG_arg_fail(1)) SWIG_fail
;
8674 arg2
= wxString_in_helper(obj1
);
8675 if (arg2
== NULL
) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8702 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
= NULL
;
8704 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8706 PyObject
* obj0
= 0 ;
8708 (char *) "self", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
8712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8734 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
8736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8737 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
8739 return Py_BuildValue((char *)"");
8741 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
= NULL
;
8743 wxFontEncoding arg1
;
8744 wxNativeEncodingInfo
*result
;
8745 PyObject
* obj0
= 0 ;
8747 (char *) "encoding", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
8752 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
8753 if (SWIG_arg_fail(1)) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
8769 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
= NULL
;
8771 wxNativeEncodingInfo
*arg1
= 0 ;
8773 PyObject
* obj0
= 0 ;
8775 (char *) "info", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
8780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8781 if (SWIG_arg_fail(1)) SWIG_fail
;
8783 SWIG_null_ref("wxNativeEncodingInfo");
8785 if (SWIG_arg_fail(1)) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8803 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
= NULL
;
8805 wxFontMapper
*result
;
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 result
= (wxFontMapper
*)new wxFontMapper();
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
8825 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
= NULL
;
8827 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8828 PyObject
* obj0
= 0 ;
8830 (char *) "self", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
8834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8835 if (SWIG_arg_fail(1)) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 Py_INCREF(Py_None
); resultobj
= Py_None
;
8850 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
= NULL
;
8852 wxFontMapper
*result
;
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 result
= (wxFontMapper
*)wxFontMapper::Get();
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8872 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
= NULL
;
8874 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8875 wxFontMapper
*result
;
8876 PyObject
* obj0
= 0 ;
8878 (char *) "mapper", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
8882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8883 if (SWIG_arg_fail(1)) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8898 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
= NULL
;
8900 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8901 wxString
*arg2
= 0 ;
8902 bool arg3
= (bool) true ;
8903 wxFontEncoding result
;
8904 bool temp2
= false ;
8905 PyObject
* obj0
= 0 ;
8906 PyObject
* obj1
= 0 ;
8907 PyObject
* obj2
= 0 ;
8909 (char *) "self",(char *) "charset",(char *) "interactive", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8914 if (SWIG_arg_fail(1)) SWIG_fail
;
8916 arg2
= wxString_in_helper(obj1
);
8917 if (arg2
== NULL
) SWIG_fail
;
8922 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8923 if (SWIG_arg_fail(3)) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= SWIG_From_int((result
));
8948 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
= NULL
;
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8972 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
= NULL
;
8975 wxFontEncoding result
;
8976 PyObject
* obj0
= 0 ;
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
8983 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8984 if (SWIG_arg_fail(1)) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_From_int((result
));
9000 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
= NULL
;
9002 wxFontEncoding arg1
;
9004 PyObject
* obj0
= 0 ;
9006 (char *) "encoding", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
9011 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
9012 if (SWIG_arg_fail(1)) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 result
= wxFontMapper::GetEncodingName(arg1
);
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9034 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
= NULL
;
9036 wxFontEncoding arg1
;
9038 PyObject
* obj0
= 0 ;
9040 (char *) "encoding", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
9045 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
9046 if (SWIG_arg_fail(1)) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= wxFontMapper::GetEncodingDescription(arg1
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9068 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
= NULL
;
9070 wxString
*arg1
= 0 ;
9071 wxFontEncoding result
;
9072 bool temp1
= false ;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "name", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
9080 arg1
= wxString_in_helper(obj0
);
9081 if (arg1
== NULL
) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= SWIG_From_int((result
));
9106 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
= NULL
;
9108 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9109 wxString
*arg2
= 0 ;
9110 bool temp2
= false ;
9111 PyObject
* obj0
= 0 ;
9112 PyObject
* obj1
= 0 ;
9114 (char *) "self",(char *) "prefix", NULL
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9119 if (SWIG_arg_fail(1)) SWIG_fail
;
9121 arg2
= wxString_in_helper(obj1
);
9122 if (arg2
== NULL
) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 Py_INCREF(Py_None
); resultobj
= Py_None
;
9147 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
= NULL
;
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= wxFontMapper::GetDefaultConfigPath();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9175 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
= NULL
;
9177 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9178 wxFontEncoding arg2
;
9179 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9180 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9181 bool arg4
= (bool) true ;
9183 bool temp3
= false ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9186 PyObject
* obj2
= 0 ;
9187 PyObject
* obj3
= 0 ;
9189 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9194 if (SWIG_arg_fail(1)) SWIG_fail
;
9196 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
9197 if (SWIG_arg_fail(2)) SWIG_fail
;
9201 arg3
= wxString_in_helper(obj2
);
9202 if (arg3
== NULL
) SWIG_fail
;
9208 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
9209 if (SWIG_arg_fail(4)) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9234 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
= NULL
;
9236 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9237 wxFontEncoding arg2
;
9238 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9239 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9241 bool temp3
= false ;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9244 PyObject
* obj2
= 0 ;
9246 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9251 if (SWIG_arg_fail(1)) SWIG_fail
;
9253 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
9254 if (SWIG_arg_fail(2)) SWIG_fail
;
9258 arg3
= wxString_in_helper(obj2
);
9259 if (arg3
== NULL
) SWIG_fail
;
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9287 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
= NULL
;
9289 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9290 wxWindow
*arg2
= (wxWindow
*) 0 ;
9291 PyObject
* obj0
= 0 ;
9292 PyObject
* obj1
= 0 ;
9294 (char *) "self",(char *) "parent", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9299 if (SWIG_arg_fail(1)) SWIG_fail
;
9300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9301 if (SWIG_arg_fail(2)) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 (arg1
)->SetDialogParent(arg2
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 Py_INCREF(Py_None
); resultobj
= Py_None
;
9316 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
= NULL
;
9318 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9319 wxString
*arg2
= 0 ;
9320 bool temp2
= false ;
9321 PyObject
* obj0
= 0 ;
9322 PyObject
* obj1
= 0 ;
9324 (char *) "self",(char *) "title", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9329 if (SWIG_arg_fail(1)) SWIG_fail
;
9331 arg2
= wxString_in_helper(obj1
);
9332 if (arg2
== NULL
) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 Py_INCREF(Py_None
); resultobj
= Py_None
;
9357 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9360 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9362 return Py_BuildValue((char *)"");
9364 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
= NULL
;
9370 bool arg5
= (bool) false ;
9371 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9373 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9375 bool temp6
= false ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 PyObject
* obj2
= 0 ;
9379 PyObject
* obj3
= 0 ;
9380 PyObject
* obj4
= 0 ;
9381 PyObject
* obj5
= 0 ;
9382 PyObject
* obj6
= 0 ;
9384 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9389 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9390 if (SWIG_arg_fail(1)) SWIG_fail
;
9393 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9394 if (SWIG_arg_fail(2)) SWIG_fail
;
9397 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9398 if (SWIG_arg_fail(3)) SWIG_fail
;
9401 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9402 if (SWIG_arg_fail(4)) SWIG_fail
;
9406 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
9407 if (SWIG_arg_fail(5)) SWIG_fail
;
9412 arg6
= wxString_in_helper(obj5
);
9413 if (arg6
== NULL
) SWIG_fail
;
9419 arg7
= static_cast<wxFontEncoding
>(SWIG_As_int(obj6
));
9420 if (SWIG_arg_fail(7)) SWIG_fail
;
9424 if (!wxPyCheckForApp()) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9446 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
= NULL
;
9448 wxFont
*arg1
= (wxFont
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
9455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9456 if (SWIG_arg_fail(1)) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 Py_INCREF(Py_None
); resultobj
= Py_None
;
9471 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
= NULL
;
9473 wxNativeFontInfo
*arg1
= 0 ;
9475 PyObject
* obj0
= 0 ;
9477 (char *) "info", NULL
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9483 if (SWIG_arg_fail(1)) SWIG_fail
;
9485 SWIG_null_ref("wxNativeFontInfo");
9487 if (SWIG_arg_fail(1)) SWIG_fail
;
9490 if (!wxPyCheckForApp()) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9504 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
= NULL
;
9506 wxString
*arg1
= 0 ;
9508 bool temp1
= false ;
9509 PyObject
* obj0
= 0 ;
9511 (char *) "info", NULL
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9516 arg1
= wxString_in_helper(obj0
);
9517 if (arg1
== NULL
) SWIG_fail
;
9521 if (!wxPyCheckForApp()) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9543 static PyObject
*_wrap_new_FFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
= NULL
;
9547 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9550 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9552 bool temp4
= false ;
9553 PyObject
* obj0
= 0 ;
9554 PyObject
* obj1
= 0 ;
9555 PyObject
* obj2
= 0 ;
9556 PyObject
* obj3
= 0 ;
9557 PyObject
* obj4
= 0 ;
9559 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9564 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9565 if (SWIG_arg_fail(1)) SWIG_fail
;
9568 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
9569 if (SWIG_arg_fail(2)) SWIG_fail
;
9573 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9574 if (SWIG_arg_fail(3)) SWIG_fail
;
9579 arg4
= wxString_in_helper(obj3
);
9580 if (arg4
== NULL
) SWIG_fail
;
9586 arg5
= static_cast<wxFontEncoding
>(SWIG_As_int(obj4
));
9587 if (SWIG_arg_fail(5)) SWIG_fail
;
9591 if (!wxPyCheckForApp()) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9613 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
= NULL
;
9619 bool arg5
= (bool) false ;
9620 wxString
const &arg6_defvalue
= wxEmptyString
;
9621 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9622 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9625 bool temp6
= false ;
9626 PyObject
* obj0
= 0 ;
9627 PyObject
* obj1
= 0 ;
9628 PyObject
* obj2
= 0 ;
9629 PyObject
* obj3
= 0 ;
9630 PyObject
* obj4
= 0 ;
9631 PyObject
* obj5
= 0 ;
9632 PyObject
* obj6
= 0 ;
9634 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9640 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9643 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9644 if (SWIG_arg_fail(2)) SWIG_fail
;
9647 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9648 if (SWIG_arg_fail(3)) SWIG_fail
;
9651 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9652 if (SWIG_arg_fail(4)) SWIG_fail
;
9656 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
9657 if (SWIG_arg_fail(5)) SWIG_fail
;
9662 arg6
= wxString_in_helper(obj5
);
9663 if (arg6
== NULL
) SWIG_fail
;
9669 arg7
= static_cast<wxFontEncoding
>(SWIG_As_int(obj6
));
9670 if (SWIG_arg_fail(7)) SWIG_fail
;
9674 if (!wxPyCheckForApp()) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9696 static PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
= NULL
;
9700 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9701 wxString
const &arg4_defvalue
= wxEmptyString
;
9702 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9703 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9706 bool temp4
= false ;
9707 PyObject
* obj0
= 0 ;
9708 PyObject
* obj1
= 0 ;
9709 PyObject
* obj2
= 0 ;
9710 PyObject
* obj3
= 0 ;
9711 PyObject
* obj4
= 0 ;
9713 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9719 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9722 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
9723 if (SWIG_arg_fail(2)) SWIG_fail
;
9727 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9728 if (SWIG_arg_fail(3)) SWIG_fail
;
9733 arg4
= wxString_in_helper(obj3
);
9734 if (arg4
== NULL
) SWIG_fail
;
9740 arg5
= static_cast<wxFontEncoding
>(SWIG_As_int(obj4
));
9741 if (SWIG_arg_fail(5)) SWIG_fail
;
9745 if (!wxPyCheckForApp()) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9767 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
= NULL
;
9769 wxFont
*arg1
= (wxFont
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "self", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
9777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9778 if (SWIG_arg_fail(1)) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (bool)((wxFont
const *)arg1
)->Ok();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9795 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
= NULL
;
9797 wxFont
*arg1
= (wxFont
*) 0 ;
9798 wxFont
*arg2
= (wxFont
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9803 (char *) "self",(char *) "other", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9810 if (SWIG_arg_fail(2)) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9827 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
= NULL
;
9829 wxFont
*arg1
= (wxFont
*) 0 ;
9830 wxFont
*arg2
= (wxFont
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9833 PyObject
* obj1
= 0 ;
9835 (char *) "self",(char *) "other", NULL
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9840 if (SWIG_arg_fail(1)) SWIG_fail
;
9841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9842 if (SWIG_arg_fail(2)) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9859 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
= NULL
;
9861 wxFont
*arg1
= (wxFont
*) 0 ;
9863 PyObject
* obj0
= 0 ;
9865 (char *) "self", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
9869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9870 if (SWIG_arg_fail(1)) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= SWIG_From_int(static_cast<int >(result
));
9887 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= NULL
;
9889 wxFont
*arg1
= (wxFont
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "self", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
9897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= ((wxFont
const *)arg1
)->GetPixelSize();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9908 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
9909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9917 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
= NULL
;
9919 wxFont
*arg1
= (wxFont
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "self", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
9927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9928 if (SWIG_arg_fail(1)) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9945 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
= NULL
;
9947 wxFont
*arg1
= (wxFont
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9951 (char *) "self", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
9955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9956 if (SWIG_arg_fail(1)) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= (int)((wxFont
const *)arg1
)->GetFamily();
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= SWIG_From_int(static_cast<int >(result
));
9973 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
= NULL
;
9975 wxFont
*arg1
= (wxFont
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9979 (char *) "self", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
9983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9984 if (SWIG_arg_fail(1)) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (int)((wxFont
const *)arg1
)->GetStyle();
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_From_int(static_cast<int >(result
));
10001 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
= NULL
;
10003 wxFont
*arg1
= (wxFont
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
10011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10012 if (SWIG_arg_fail(1)) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= (int)((wxFont
const *)arg1
)->GetWeight();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_From_int(static_cast<int >(result
));
10029 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
= NULL
;
10031 wxFont
*arg1
= (wxFont
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
10039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10040 if (SWIG_arg_fail(1)) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10057 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
= NULL
;
10059 wxFont
*arg1
= (wxFont
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
10067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10068 if (SWIG_arg_fail(1)) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= ((wxFont
const *)arg1
)->GetFaceName();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10089 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
= NULL
;
10091 wxFont
*arg1
= (wxFont
*) 0 ;
10092 wxFontEncoding result
;
10093 PyObject
* obj0
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
10099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10100 if (SWIG_arg_fail(1)) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_From_int((result
));
10115 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
*resultobj
= NULL
;
10117 wxFont
*arg1
= (wxFont
*) 0 ;
10118 wxNativeFontInfo
*result
;
10119 PyObject
* obj0
= 0 ;
10120 char *kwnames
[] = {
10121 (char *) "self", NULL
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
10125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10126 if (SWIG_arg_fail(1)) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
10141 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
= NULL
;
10143 wxFont
*arg1
= (wxFont
*) 0 ;
10145 PyObject
* obj0
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "self", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
10151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10152 if (SWIG_arg_fail(1)) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10169 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
= NULL
;
10171 wxFont
*arg1
= (wxFont
*) 0 ;
10173 PyObject
* obj0
= 0 ;
10174 char *kwnames
[] = {
10175 (char *) "self", NULL
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
10179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10180 if (SWIG_arg_fail(1)) SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10201 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
= NULL
;
10203 wxFont
*arg1
= (wxFont
*) 0 ;
10205 PyObject
* obj0
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
10211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10212 if (SWIG_arg_fail(1)) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10233 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
= NULL
;
10235 wxFont
*arg1
= (wxFont
*) 0 ;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self",(char *) "pointSize", NULL
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10245 if (SWIG_arg_fail(1)) SWIG_fail
;
10247 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10248 if (SWIG_arg_fail(2)) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 (arg1
)->SetPointSize(arg2
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 Py_INCREF(Py_None
); resultobj
= Py_None
;
10264 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
= NULL
;
10266 wxFont
*arg1
= (wxFont
*) 0 ;
10269 PyObject
* obj0
= 0 ;
10270 PyObject
* obj1
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self",(char *) "pixelSize", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10277 if (SWIG_arg_fail(1)) SWIG_fail
;
10280 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 Py_INCREF(Py_None
); resultobj
= Py_None
;
10296 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
= NULL
;
10298 wxFont
*arg1
= (wxFont
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self",(char *) "family", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10308 if (SWIG_arg_fail(1)) SWIG_fail
;
10310 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10311 if (SWIG_arg_fail(2)) SWIG_fail
;
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 (arg1
)->SetFamily(arg2
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 Py_INCREF(Py_None
); resultobj
= Py_None
;
10327 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10328 PyObject
*resultobj
= NULL
;
10329 wxFont
*arg1
= (wxFont
*) 0 ;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self",(char *) "style", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10339 if (SWIG_arg_fail(1)) SWIG_fail
;
10341 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10342 if (SWIG_arg_fail(2)) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 (arg1
)->SetStyle(arg2
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 Py_INCREF(Py_None
); resultobj
= Py_None
;
10358 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
= NULL
;
10360 wxFont
*arg1
= (wxFont
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self",(char *) "weight", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10370 if (SWIG_arg_fail(1)) SWIG_fail
;
10372 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10373 if (SWIG_arg_fail(2)) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 (arg1
)->SetWeight(arg2
);
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 Py_INCREF(Py_None
); resultobj
= Py_None
;
10389 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
= NULL
;
10391 wxFont
*arg1
= (wxFont
*) 0 ;
10392 wxString
*arg2
= 0 ;
10393 bool temp2
= false ;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self",(char *) "faceName", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10402 if (SWIG_arg_fail(1)) SWIG_fail
;
10404 arg2
= wxString_in_helper(obj1
);
10405 if (arg2
== NULL
) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 Py_INCREF(Py_None
); resultobj
= Py_None
;
10430 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
= NULL
;
10432 wxFont
*arg1
= (wxFont
*) 0 ;
10434 PyObject
* obj0
= 0 ;
10435 PyObject
* obj1
= 0 ;
10436 char *kwnames
[] = {
10437 (char *) "self",(char *) "underlined", NULL
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10442 if (SWIG_arg_fail(1)) SWIG_fail
;
10444 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10445 if (SWIG_arg_fail(2)) SWIG_fail
;
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 (arg1
)->SetUnderlined(arg2
);
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10454 Py_INCREF(Py_None
); resultobj
= Py_None
;
10461 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
= NULL
;
10463 wxFont
*arg1
= (wxFont
*) 0 ;
10464 wxFontEncoding arg2
;
10465 PyObject
* obj0
= 0 ;
10466 PyObject
* obj1
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self",(char *) "encoding", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10473 if (SWIG_arg_fail(1)) SWIG_fail
;
10475 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
10476 if (SWIG_arg_fail(2)) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 (arg1
)->SetEncoding(arg2
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 Py_INCREF(Py_None
); resultobj
= Py_None
;
10492 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
= NULL
;
10494 wxFont
*arg1
= (wxFont
*) 0 ;
10495 wxNativeFontInfo
*arg2
= 0 ;
10496 PyObject
* obj0
= 0 ;
10497 PyObject
* obj1
= 0 ;
10498 char *kwnames
[] = {
10499 (char *) "self",(char *) "info", NULL
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10504 if (SWIG_arg_fail(1)) SWIG_fail
;
10506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10507 if (SWIG_arg_fail(2)) SWIG_fail
;
10508 if (arg2
== NULL
) {
10509 SWIG_null_ref("wxNativeFontInfo");
10511 if (SWIG_arg_fail(2)) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 Py_INCREF(Py_None
); resultobj
= Py_None
;
10527 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
= NULL
;
10529 wxFont
*arg1
= (wxFont
*) 0 ;
10530 wxString
*arg2
= 0 ;
10531 bool temp2
= false ;
10532 PyObject
* obj0
= 0 ;
10533 PyObject
* obj1
= 0 ;
10534 char *kwnames
[] = {
10535 (char *) "self",(char *) "info", NULL
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10540 if (SWIG_arg_fail(1)) SWIG_fail
;
10542 arg2
= wxString_in_helper(obj1
);
10543 if (arg2
== NULL
) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 Py_INCREF(Py_None
); resultobj
= Py_None
;
10568 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
= NULL
;
10570 wxFont
*arg1
= (wxFont
*) 0 ;
10571 wxString
*arg2
= 0 ;
10572 bool temp2
= false ;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self",(char *) "info", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10581 if (SWIG_arg_fail(1)) SWIG_fail
;
10583 arg2
= wxString_in_helper(obj1
);
10584 if (arg2
== NULL
) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 Py_INCREF(Py_None
); resultobj
= Py_None
;
10609 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
= NULL
;
10611 wxFont
*arg1
= (wxFont
*) 0 ;
10613 PyObject
* obj0
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
10619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10620 if (SWIG_arg_fail(1)) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= ((wxFont
const *)arg1
)->GetFamilyString();
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10641 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
= NULL
;
10643 wxFont
*arg1
= (wxFont
*) 0 ;
10645 PyObject
* obj0
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
10651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10652 if (SWIG_arg_fail(1)) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= ((wxFont
const *)arg1
)->GetStyleString();
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10673 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
= NULL
;
10675 wxFont
*arg1
= (wxFont
*) 0 ;
10677 PyObject
* obj0
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
10683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10684 if (SWIG_arg_fail(1)) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= ((wxFont
const *)arg1
)->GetWeightString();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10705 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
= NULL
;
10707 wxFont
*arg1
= (wxFont
*) 0 ;
10708 bool arg2
= (bool) true ;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self",(char *) "no", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
10716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10717 if (SWIG_arg_fail(1)) SWIG_fail
;
10720 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10721 if (SWIG_arg_fail(2)) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 (arg1
)->SetNoAntiAliasing(arg2
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 Py_INCREF(Py_None
); resultobj
= Py_None
;
10738 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
= NULL
;
10740 wxFont
*arg1
= (wxFont
*) 0 ;
10742 PyObject
* obj0
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "self", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
10748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10749 if (SWIG_arg_fail(1)) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10766 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
*resultobj
= NULL
;
10768 wxFontEncoding result
;
10769 char *kwnames
[] = {
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
10775 if (!wxPyCheckForApp()) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= SWIG_From_int((result
));
10789 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
= NULL
;
10791 wxFontEncoding arg1
;
10792 PyObject
* obj0
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "encoding", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
10799 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
10800 if (SWIG_arg_fail(1)) SWIG_fail
;
10803 if (!wxPyCheckForApp()) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 wxFont::SetDefaultEncoding(arg1
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 Py_INCREF(Py_None
); resultobj
= Py_None
;
10817 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
10819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10820 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
10822 return Py_BuildValue((char *)"");
10824 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
= NULL
;
10826 wxPyFontEnumerator
*result
;
10827 char *kwnames
[] = {
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
10833 if (!wxPyCheckForApp()) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
10847 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
= NULL
;
10849 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self", NULL
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
10856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10857 if (SWIG_arg_fail(1)) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 Py_INCREF(Py_None
); resultobj
= Py_None
;
10872 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
= NULL
;
10874 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10875 PyObject
*arg2
= (PyObject
*) 0 ;
10876 PyObject
*arg3
= (PyObject
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 PyObject
* obj2
= 0 ;
10881 PyObject
* obj3
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10888 if (SWIG_arg_fail(1)) SWIG_fail
;
10892 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10893 if (SWIG_arg_fail(4)) SWIG_fail
;
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 Py_INCREF(Py_None
); resultobj
= Py_None
;
10909 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
= NULL
;
10911 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10912 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
10913 bool arg3
= (bool) false ;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 PyObject
* obj2
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail
;
10927 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
10928 if (SWIG_arg_fail(2)) SWIG_fail
;
10933 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10934 if (SWIG_arg_fail(3)) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10953 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
= NULL
;
10955 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10956 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10957 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10959 bool temp2
= false ;
10960 PyObject
* obj0
= 0 ;
10961 PyObject
* obj1
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self",(char *) "facename", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
10967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10968 if (SWIG_arg_fail(1)) SWIG_fail
;
10971 arg2
= wxString_in_helper(obj1
);
10972 if (arg2
== NULL
) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11000 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
= NULL
;
11002 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11004 PyObject
* obj0
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
11010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11011 if (SWIG_arg_fail(1)) SWIG_fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 resultobj
= result
;
11026 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
= NULL
;
11028 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11030 PyObject
* obj0
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
11036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11037 if (SWIG_arg_fail(1)) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
;
11052 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
11054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11055 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
11057 return Py_BuildValue((char *)"");
11059 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
= NULL
;
11061 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 PyObject
* obj1
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self",(char *) "Language", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11071 if (SWIG_arg_fail(1)) SWIG_fail
;
11073 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11074 if (SWIG_arg_fail(2)) SWIG_fail
;
11076 if (arg1
) (arg1
)->Language
= arg2
;
11078 Py_INCREF(Py_None
); resultobj
= Py_None
;
11085 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
= NULL
;
11087 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
11095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11096 if (SWIG_arg_fail(1)) SWIG_fail
;
11097 result
= (int) ((arg1
)->Language
);
11100 resultobj
= SWIG_From_int(static_cast<int >(result
));
11108 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
= NULL
;
11110 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11111 wxString
*arg2
= (wxString
*) 0 ;
11112 bool temp2
= false ;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self",(char *) "CanonicalName", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail
;
11123 arg2
= wxString_in_helper(obj1
);
11124 if (arg2
== NULL
) SWIG_fail
;
11127 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
11129 Py_INCREF(Py_None
); resultobj
= Py_None
;
11144 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
= NULL
;
11146 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11148 PyObject
* obj0
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
11154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11155 if (SWIG_arg_fail(1)) SWIG_fail
;
11156 result
= (wxString
*)& ((arg1
)->CanonicalName
);
11160 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11162 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11171 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
= NULL
;
11173 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11174 wxString
*arg2
= (wxString
*) 0 ;
11175 bool temp2
= false ;
11176 PyObject
* obj0
= 0 ;
11177 PyObject
* obj1
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self",(char *) "Description", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail
;
11186 arg2
= wxString_in_helper(obj1
);
11187 if (arg2
== NULL
) SWIG_fail
;
11190 if (arg1
) (arg1
)->Description
= *arg2
;
11192 Py_INCREF(Py_None
); resultobj
= Py_None
;
11207 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
= NULL
;
11209 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11211 PyObject
* obj0
= 0 ;
11212 char *kwnames
[] = {
11213 (char *) "self", NULL
11216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
11217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11218 if (SWIG_arg_fail(1)) SWIG_fail
;
11219 result
= (wxString
*)& ((arg1
)->Description
);
11223 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11225 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11234 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
11236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11237 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
11239 return Py_BuildValue((char *)"");
11241 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
= NULL
;
11243 int arg1
= (int) -1 ;
11244 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11246 PyObject
* obj0
= 0 ;
11247 PyObject
* obj1
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "language",(char *) "flags", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
11255 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11256 if (SWIG_arg_fail(1)) SWIG_fail
;
11261 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11262 if (SWIG_arg_fail(2)) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11279 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
= NULL
;
11281 wxLocale
*arg1
= (wxLocale
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11289 if (SWIG_arg_fail(1)) SWIG_fail
;
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 Py_INCREF(Py_None
); resultobj
= Py_None
;
11304 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
= NULL
;
11306 wxLocale
*arg1
= (wxLocale
*) 0 ;
11307 wxString
*arg2
= 0 ;
11308 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11309 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11310 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11311 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11312 bool arg5
= (bool) true ;
11313 bool arg6
= (bool) false ;
11315 bool temp2
= false ;
11316 bool temp3
= false ;
11317 bool temp4
= false ;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 PyObject
* obj2
= 0 ;
11321 PyObject
* obj3
= 0 ;
11322 PyObject
* obj4
= 0 ;
11323 PyObject
* obj5
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11330 if (SWIG_arg_fail(1)) SWIG_fail
;
11332 arg2
= wxString_in_helper(obj1
);
11333 if (arg2
== NULL
) SWIG_fail
;
11338 arg3
= wxString_in_helper(obj2
);
11339 if (arg3
== NULL
) SWIG_fail
;
11345 arg4
= wxString_in_helper(obj3
);
11346 if (arg4
== NULL
) SWIG_fail
;
11352 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
11353 if (SWIG_arg_fail(5)) SWIG_fail
;
11358 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
11359 if (SWIG_arg_fail(6)) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11402 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
= NULL
;
11404 wxLocale
*arg1
= (wxLocale
*) 0 ;
11405 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11406 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11408 PyObject
* obj0
= 0 ;
11409 PyObject
* obj1
= 0 ;
11410 PyObject
* obj2
= 0 ;
11411 char *kwnames
[] = {
11412 (char *) "self",(char *) "language",(char *) "flags", NULL
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11417 if (SWIG_arg_fail(1)) SWIG_fail
;
11420 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11421 if (SWIG_arg_fail(2)) SWIG_fail
;
11426 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11427 if (SWIG_arg_fail(3)) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11446 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
= NULL
;
11449 char *kwnames
[] = {
11453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 result
= (int)wxLocale::GetSystemLanguage();
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_From_int(static_cast<int >(result
));
11470 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
= NULL
;
11472 wxFontEncoding result
;
11473 char *kwnames
[] = {
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_From_int((result
));
11492 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
= NULL
;
11495 char *kwnames
[] = {
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= wxLocale::GetSystemEncodingName();
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11520 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
= NULL
;
11522 wxLocale
*arg1
= (wxLocale
*) 0 ;
11524 PyObject
* obj0
= 0 ;
11525 char *kwnames
[] = {
11526 (char *) "self", NULL
11529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
11530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11531 if (SWIG_arg_fail(1)) SWIG_fail
;
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11548 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
= NULL
;
11550 wxLocale
*arg1
= (wxLocale
*) 0 ;
11552 PyObject
* obj0
= 0 ;
11553 char *kwnames
[] = {
11554 (char *) "self", NULL
11557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
11558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11559 if (SWIG_arg_fail(1)) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= ((wxLocale
const *)arg1
)->GetLocale();
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11580 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
= NULL
;
11582 wxLocale
*arg1
= (wxLocale
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "self", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
11590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11591 if (SWIG_arg_fail(1)) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= SWIG_From_int(static_cast<int >(result
));
11608 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
= NULL
;
11610 wxLocale
*arg1
= (wxLocale
*) 0 ;
11612 PyObject
* obj0
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
11618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11619 if (SWIG_arg_fail(1)) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 result
= ((wxLocale
const *)arg1
)->GetSysName();
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11640 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
= NULL
;
11642 wxLocale
*arg1
= (wxLocale
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 char *kwnames
[] = {
11646 (char *) "self", NULL
11649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
11650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11651 if (SWIG_arg_fail(1)) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11672 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
= NULL
;
11674 wxString
*arg1
= 0 ;
11675 bool temp1
= false ;
11676 PyObject
* obj0
= 0 ;
11677 char *kwnames
[] = {
11678 (char *) "prefix", NULL
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
11683 arg1
= wxString_in_helper(obj0
);
11684 if (arg1
== NULL
) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 Py_INCREF(Py_None
); resultobj
= Py_None
;
11709 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
= NULL
;
11711 wxLocale
*arg1
= (wxLocale
*) 0 ;
11712 wxString
*arg2
= 0 ;
11714 bool temp2
= false ;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "self",(char *) "szDomain", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
11722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11723 if (SWIG_arg_fail(1)) SWIG_fail
;
11725 arg2
= wxString_in_helper(obj1
);
11726 if (arg2
== NULL
) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11753 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
= NULL
;
11755 wxLocale
*arg1
= (wxLocale
*) 0 ;
11756 wxString
*arg2
= 0 ;
11758 bool temp2
= false ;
11759 PyObject
* obj0
= 0 ;
11760 PyObject
* obj1
= 0 ;
11761 char *kwnames
[] = {
11762 (char *) "self",(char *) "szDomain", NULL
11765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
11766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11767 if (SWIG_arg_fail(1)) SWIG_fail
;
11769 arg2
= wxString_in_helper(obj1
);
11770 if (arg2
== NULL
) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11797 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
= NULL
;
11800 wxLanguageInfo
*result
;
11801 PyObject
* obj0
= 0 ;
11802 char *kwnames
[] = {
11803 (char *) "lang", NULL
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
11808 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11809 if (SWIG_arg_fail(1)) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11825 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
= NULL
;
11829 PyObject
* obj0
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "lang", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
11836 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11837 if (SWIG_arg_fail(1)) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= wxLocale::GetLanguageName(arg1
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11859 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
= NULL
;
11861 wxString
*arg1
= 0 ;
11862 wxLanguageInfo
*result
;
11863 bool temp1
= false ;
11864 PyObject
* obj0
= 0 ;
11865 char *kwnames
[] = {
11866 (char *) "locale", NULL
11869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
11871 arg1
= wxString_in_helper(obj0
);
11872 if (arg1
== NULL
) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11897 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
= NULL
;
11899 wxLanguageInfo
*arg1
= 0 ;
11900 PyObject
* obj0
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "info", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
11907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11908 if (SWIG_arg_fail(1)) SWIG_fail
;
11909 if (arg1
== NULL
) {
11910 SWIG_null_ref("wxLanguageInfo");
11912 if (SWIG_arg_fail(1)) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 Py_INCREF(Py_None
); resultobj
= Py_None
;
11928 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
= NULL
;
11930 wxLocale
*arg1
= (wxLocale
*) 0 ;
11931 wxString
*arg2
= 0 ;
11932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11935 bool temp2
= false ;
11936 bool temp3
= false ;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj1
= 0 ;
11939 PyObject
* obj2
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11946 if (SWIG_arg_fail(1)) SWIG_fail
;
11948 arg2
= wxString_in_helper(obj1
);
11949 if (arg2
== NULL
) SWIG_fail
;
11954 arg3
= wxString_in_helper(obj2
);
11955 if (arg3
== NULL
) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11995 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
= NULL
;
11997 wxLocale
*arg1
= (wxLocale
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
12005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12006 if (SWIG_arg_fail(1)) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
12011 result
= (wxString
*) &_result_ref
;
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12030 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
12032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12033 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
12035 return Py_BuildValue((char *)"");
12037 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
= NULL
;
12040 char *kwnames
[] = {
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (wxLocale
*)wxGetLocale();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
12059 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
12060 PyObject
*resultobj
= NULL
;
12061 wxString
*arg1
= 0 ;
12063 bool temp1
= false ;
12064 PyObject
* obj0
= 0 ;
12066 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
12068 arg1
= wxString_in_helper(obj0
);
12069 if (arg1
== NULL
) SWIG_fail
;
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= wxGetTranslation((wxString
const &)*arg1
);
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12100 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
12101 PyObject
*resultobj
= NULL
;
12102 wxString
*arg1
= 0 ;
12103 wxString
*arg2
= 0 ;
12106 bool temp1
= false ;
12107 bool temp2
= false ;
12108 PyObject
* obj0
= 0 ;
12109 PyObject
* obj1
= 0 ;
12110 PyObject
* obj2
= 0 ;
12112 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
12114 arg1
= wxString_in_helper(obj0
);
12115 if (arg1
== NULL
) SWIG_fail
;
12119 arg2
= wxString_in_helper(obj1
);
12120 if (arg2
== NULL
) SWIG_fail
;
12124 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12125 if (SWIG_arg_fail(3)) SWIG_fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12163 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
12168 argc
= PyObject_Length(args
);
12169 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
12170 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12175 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12178 return _wrap_GetTranslation__SWIG_0(self
,args
);
12184 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12188 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
12191 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
12193 return _wrap_GetTranslation__SWIG_1(self
,args
);
12199 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
12204 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
= NULL
;
12206 wxEncodingConverter
*result
;
12207 char *kwnames
[] = {
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= (wxEncodingConverter
*)new wxEncodingConverter();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
12226 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
= NULL
;
12228 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
12235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12236 if (SWIG_arg_fail(1)) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 Py_INCREF(Py_None
); resultobj
= Py_None
;
12251 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
= NULL
;
12253 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12254 wxFontEncoding arg2
;
12255 wxFontEncoding arg3
;
12256 int arg4
= (int) wxCONVERT_STRICT
;
12258 PyObject
* obj0
= 0 ;
12259 PyObject
* obj1
= 0 ;
12260 PyObject
* obj2
= 0 ;
12261 PyObject
* obj3
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12268 if (SWIG_arg_fail(1)) SWIG_fail
;
12270 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
12271 if (SWIG_arg_fail(2)) SWIG_fail
;
12274 arg3
= static_cast<wxFontEncoding
>(SWIG_As_int(obj2
));
12275 if (SWIG_arg_fail(3)) SWIG_fail
;
12279 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12280 if (SWIG_arg_fail(4)) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12299 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
= NULL
;
12301 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12302 wxString
*arg2
= 0 ;
12304 bool temp2
= false ;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self",(char *) "input", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12313 if (SWIG_arg_fail(1)) SWIG_fail
;
12315 arg2
= wxString_in_helper(obj1
);
12316 if (arg2
== NULL
) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12347 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
= NULL
;
12349 wxFontEncoding arg1
;
12350 int arg2
= (int) wxPLATFORM_CURRENT
;
12351 wxFontEncodingArray result
;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "enc",(char *) "platform", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12360 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
12361 if (SWIG_arg_fail(1)) SWIG_fail
;
12365 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12366 if (SWIG_arg_fail(2)) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= PyList_New(0);
12378 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12379 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12380 PyList_Append(resultobj
, number
);
12390 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
= NULL
;
12392 wxFontEncoding arg1
;
12393 wxFontEncodingArray result
;
12394 PyObject
* obj0
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "enc", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12401 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
12402 if (SWIG_arg_fail(1)) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= PyList_New(0);
12413 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12414 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12415 PyList_Append(resultobj
, number
);
12425 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
= NULL
;
12427 wxFontEncoding arg1
;
12428 wxFontEncoding arg2
;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "encIn",(char *) "encOut", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12438 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
12439 if (SWIG_arg_fail(1)) SWIG_fail
;
12442 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
12443 if (SWIG_arg_fail(2)) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12461 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12464 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12466 return Py_BuildValue((char *)"");
12468 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
= NULL
;
12470 wxDC
*arg1
= (wxDC
*) 0 ;
12471 PyObject
* obj0
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
12477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12478 if (SWIG_arg_fail(1)) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 Py_INCREF(Py_None
); resultobj
= Py_None
;
12493 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
= NULL
;
12495 wxDC
*arg1
= (wxDC
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12503 if (SWIG_arg_fail(1)) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 (arg1
)->BeginDrawing();
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 Py_INCREF(Py_None
); resultobj
= Py_None
;
12518 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
= NULL
;
12520 wxDC
*arg1
= (wxDC
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12528 if (SWIG_arg_fail(1)) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 (arg1
)->EndDrawing();
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 Py_INCREF(Py_None
); resultobj
= Py_None
;
12543 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
= NULL
;
12545 wxDC
*arg1
= (wxDC
*) 0 ;
12548 wxColour
*arg4
= 0 ;
12549 int arg5
= (int) wxFLOOD_SURFACE
;
12552 PyObject
* obj0
= 0 ;
12553 PyObject
* obj1
= 0 ;
12554 PyObject
* obj2
= 0 ;
12555 PyObject
* obj3
= 0 ;
12556 PyObject
* obj4
= 0 ;
12557 char *kwnames
[] = {
12558 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12563 if (SWIG_arg_fail(1)) SWIG_fail
;
12565 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12566 if (SWIG_arg_fail(2)) SWIG_fail
;
12569 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12570 if (SWIG_arg_fail(3)) SWIG_fail
;
12574 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12578 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12579 if (SWIG_arg_fail(5)) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12598 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
= NULL
;
12600 wxDC
*arg1
= (wxDC
*) 0 ;
12601 wxPoint
*arg2
= 0 ;
12602 wxColour
*arg3
= 0 ;
12603 int arg4
= (int) wxFLOOD_SURFACE
;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 PyObject
* obj2
= 0 ;
12610 PyObject
* obj3
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12617 if (SWIG_arg_fail(1)) SWIG_fail
;
12620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12624 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12628 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12629 if (SWIG_arg_fail(4)) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12648 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
= NULL
;
12650 wxDC
*arg1
= (wxDC
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 PyObject
* obj2
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self",(char *) "x",(char *) "y", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12663 if (SWIG_arg_fail(1)) SWIG_fail
;
12665 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12666 if (SWIG_arg_fail(2)) SWIG_fail
;
12669 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12670 if (SWIG_arg_fail(3)) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12680 wxColour
* resultptr
;
12681 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12690 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
= NULL
;
12692 wxDC
*arg1
= (wxDC
*) 0 ;
12693 wxPoint
*arg2
= 0 ;
12696 PyObject
* obj0
= 0 ;
12697 PyObject
* obj1
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self",(char *) "pt", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12704 if (SWIG_arg_fail(1)) SWIG_fail
;
12707 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12717 wxColour
* resultptr
;
12718 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12727 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
= NULL
;
12729 wxDC
*arg1
= (wxDC
*) 0 ;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 PyObject
* obj2
= 0 ;
12737 PyObject
* obj3
= 0 ;
12738 PyObject
* obj4
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12745 if (SWIG_arg_fail(1)) SWIG_fail
;
12747 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12748 if (SWIG_arg_fail(2)) SWIG_fail
;
12751 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12752 if (SWIG_arg_fail(3)) SWIG_fail
;
12755 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12756 if (SWIG_arg_fail(4)) SWIG_fail
;
12759 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12760 if (SWIG_arg_fail(5)) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 Py_INCREF(Py_None
); resultobj
= Py_None
;
12776 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
= NULL
;
12778 wxDC
*arg1
= (wxDC
*) 0 ;
12779 wxPoint
*arg2
= 0 ;
12780 wxPoint
*arg3
= 0 ;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 PyObject
* obj2
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12792 if (SWIG_arg_fail(1)) SWIG_fail
;
12795 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12799 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 Py_INCREF(Py_None
); resultobj
= Py_None
;
12815 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
= NULL
;
12817 wxDC
*arg1
= (wxDC
*) 0 ;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 PyObject
* obj2
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self",(char *) "x",(char *) "y", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12829 if (SWIG_arg_fail(1)) SWIG_fail
;
12831 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12832 if (SWIG_arg_fail(2)) SWIG_fail
;
12835 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12836 if (SWIG_arg_fail(3)) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 (arg1
)->CrossHair(arg2
,arg3
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 Py_INCREF(Py_None
); resultobj
= Py_None
;
12852 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
= NULL
;
12854 wxDC
*arg1
= (wxDC
*) 0 ;
12855 wxPoint
*arg2
= 0 ;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self",(char *) "pt", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12865 if (SWIG_arg_fail(1)) SWIG_fail
;
12868 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 Py_INCREF(Py_None
); resultobj
= Py_None
;
12884 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
= NULL
;
12886 wxDC
*arg1
= (wxDC
*) 0 ;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 PyObject
* obj2
= 0 ;
12896 PyObject
* obj3
= 0 ;
12897 PyObject
* obj4
= 0 ;
12898 PyObject
* obj5
= 0 ;
12899 PyObject
* obj6
= 0 ;
12900 char *kwnames
[] = {
12901 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
12904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12906 if (SWIG_arg_fail(1)) SWIG_fail
;
12908 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12909 if (SWIG_arg_fail(2)) SWIG_fail
;
12912 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12913 if (SWIG_arg_fail(3)) SWIG_fail
;
12916 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12917 if (SWIG_arg_fail(4)) SWIG_fail
;
12920 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12921 if (SWIG_arg_fail(5)) SWIG_fail
;
12924 arg6
= static_cast<int >(SWIG_As_int(obj5
));
12925 if (SWIG_arg_fail(6)) SWIG_fail
;
12928 arg7
= static_cast<int >(SWIG_As_int(obj6
));
12929 if (SWIG_arg_fail(7)) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 Py_INCREF(Py_None
); resultobj
= Py_None
;
12945 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
= NULL
;
12947 wxDC
*arg1
= (wxDC
*) 0 ;
12948 wxPoint
*arg2
= 0 ;
12949 wxPoint
*arg3
= 0 ;
12950 wxPoint
*arg4
= 0 ;
12954 PyObject
* obj0
= 0 ;
12955 PyObject
* obj1
= 0 ;
12956 PyObject
* obj2
= 0 ;
12957 PyObject
* obj3
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12964 if (SWIG_arg_fail(1)) SWIG_fail
;
12967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12975 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 Py_INCREF(Py_None
); resultobj
= Py_None
;
12991 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
= NULL
;
12993 wxDC
*arg1
= (wxDC
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 PyObject
* obj2
= 0 ;
13001 PyObject
* obj3
= 0 ;
13002 PyObject
* obj4
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13009 if (SWIG_arg_fail(1)) SWIG_fail
;
13011 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13012 if (SWIG_arg_fail(2)) SWIG_fail
;
13015 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13016 if (SWIG_arg_fail(3)) SWIG_fail
;
13019 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13020 if (SWIG_arg_fail(4)) SWIG_fail
;
13023 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13024 if (SWIG_arg_fail(5)) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 Py_INCREF(Py_None
); resultobj
= Py_None
;
13040 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= NULL
;
13042 wxDC
*arg1
= (wxDC
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "self",(char *) "rect", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13053 if (SWIG_arg_fail(1)) SWIG_fail
;
13056 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 Py_INCREF(Py_None
); resultobj
= Py_None
;
13072 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
= NULL
;
13074 wxDC
*arg1
= (wxDC
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 PyObject
* obj2
= 0 ;
13084 PyObject
* obj3
= 0 ;
13085 PyObject
* obj4
= 0 ;
13086 PyObject
* obj5
= 0 ;
13087 PyObject
* obj6
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13094 if (SWIG_arg_fail(1)) SWIG_fail
;
13096 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13097 if (SWIG_arg_fail(2)) SWIG_fail
;
13100 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13101 if (SWIG_arg_fail(3)) SWIG_fail
;
13104 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13105 if (SWIG_arg_fail(4)) SWIG_fail
;
13108 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13109 if (SWIG_arg_fail(5)) SWIG_fail
;
13112 arg6
= static_cast<double >(SWIG_As_double(obj5
));
13113 if (SWIG_arg_fail(6)) SWIG_fail
;
13116 arg7
= static_cast<double >(SWIG_As_double(obj6
));
13117 if (SWIG_arg_fail(7)) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 Py_INCREF(Py_None
); resultobj
= Py_None
;
13133 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
= NULL
;
13135 wxDC
*arg1
= (wxDC
*) 0 ;
13136 wxPoint
*arg2
= 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj2
= 0 ;
13145 PyObject
* obj3
= 0 ;
13146 PyObject
* obj4
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13153 if (SWIG_arg_fail(1)) SWIG_fail
;
13156 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13160 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13163 arg4
= static_cast<double >(SWIG_As_double(obj3
));
13164 if (SWIG_arg_fail(4)) SWIG_fail
;
13167 arg5
= static_cast<double >(SWIG_As_double(obj4
));
13168 if (SWIG_arg_fail(5)) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 Py_INCREF(Py_None
); resultobj
= Py_None
;
13184 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
= NULL
;
13186 wxDC
*arg1
= (wxDC
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 PyObject
* obj2
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self",(char *) "x",(char *) "y", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13198 if (SWIG_arg_fail(1)) SWIG_fail
;
13200 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13201 if (SWIG_arg_fail(2)) SWIG_fail
;
13204 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13205 if (SWIG_arg_fail(3)) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 (arg1
)->DrawPoint(arg2
,arg3
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 Py_INCREF(Py_None
); resultobj
= Py_None
;
13221 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
= NULL
;
13223 wxDC
*arg1
= (wxDC
*) 0 ;
13224 wxPoint
*arg2
= 0 ;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self",(char *) "pt", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail
;
13237 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 Py_INCREF(Py_None
); resultobj
= Py_None
;
13253 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
= NULL
;
13255 wxDC
*arg1
= (wxDC
*) 0 ;
13260 PyObject
* obj0
= 0 ;
13261 PyObject
* obj1
= 0 ;
13262 PyObject
* obj2
= 0 ;
13263 PyObject
* obj3
= 0 ;
13264 PyObject
* obj4
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13271 if (SWIG_arg_fail(1)) SWIG_fail
;
13273 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13274 if (SWIG_arg_fail(2)) SWIG_fail
;
13277 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13278 if (SWIG_arg_fail(3)) SWIG_fail
;
13281 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13282 if (SWIG_arg_fail(4)) SWIG_fail
;
13285 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13286 if (SWIG_arg_fail(5)) SWIG_fail
;
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 Py_INCREF(Py_None
); resultobj
= Py_None
;
13302 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
= NULL
;
13304 wxDC
*arg1
= (wxDC
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "rect", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13315 if (SWIG_arg_fail(1)) SWIG_fail
;
13318 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 Py_INCREF(Py_None
); resultobj
= Py_None
;
13334 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
= NULL
;
13336 wxDC
*arg1
= (wxDC
*) 0 ;
13337 wxPoint
*arg2
= 0 ;
13341 PyObject
* obj0
= 0 ;
13342 PyObject
* obj1
= 0 ;
13343 PyObject
* obj2
= 0 ;
13344 char *kwnames
[] = {
13345 (char *) "self",(char *) "pt",(char *) "sz", NULL
13348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13350 if (SWIG_arg_fail(1)) SWIG_fail
;
13353 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13357 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 Py_INCREF(Py_None
); resultobj
= Py_None
;
13373 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
= NULL
;
13375 wxDC
*arg1
= (wxDC
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 PyObject
* obj1
= 0 ;
13383 PyObject
* obj2
= 0 ;
13384 PyObject
* obj3
= 0 ;
13385 PyObject
* obj4
= 0 ;
13386 PyObject
* obj5
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13393 if (SWIG_arg_fail(1)) SWIG_fail
;
13395 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13396 if (SWIG_arg_fail(2)) SWIG_fail
;
13399 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13400 if (SWIG_arg_fail(3)) SWIG_fail
;
13403 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13404 if (SWIG_arg_fail(4)) SWIG_fail
;
13407 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13408 if (SWIG_arg_fail(5)) SWIG_fail
;
13411 arg6
= static_cast<double >(SWIG_As_double(obj5
));
13412 if (SWIG_arg_fail(6)) SWIG_fail
;
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 Py_INCREF(Py_None
); resultobj
= Py_None
;
13428 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
= NULL
;
13430 wxDC
*arg1
= (wxDC
*) 0 ;
13434 PyObject
* obj0
= 0 ;
13435 PyObject
* obj1
= 0 ;
13436 PyObject
* obj2
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self",(char *) "r",(char *) "radius", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13443 if (SWIG_arg_fail(1)) SWIG_fail
;
13446 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13449 arg3
= static_cast<double >(SWIG_As_double(obj2
));
13450 if (SWIG_arg_fail(3)) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 Py_INCREF(Py_None
); resultobj
= Py_None
;
13466 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
= NULL
;
13468 wxDC
*arg1
= (wxDC
*) 0 ;
13469 wxPoint
*arg2
= 0 ;
13474 PyObject
* obj0
= 0 ;
13475 PyObject
* obj1
= 0 ;
13476 PyObject
* obj2
= 0 ;
13477 PyObject
* obj3
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13484 if (SWIG_arg_fail(1)) SWIG_fail
;
13487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13491 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13494 arg4
= static_cast<double >(SWIG_As_double(obj3
));
13495 if (SWIG_arg_fail(4)) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 Py_INCREF(Py_None
); resultobj
= Py_None
;
13511 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
= NULL
;
13513 wxDC
*arg1
= (wxDC
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 PyObject
* obj1
= 0 ;
13519 PyObject
* obj2
= 0 ;
13520 PyObject
* obj3
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13527 if (SWIG_arg_fail(1)) SWIG_fail
;
13529 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13530 if (SWIG_arg_fail(2)) SWIG_fail
;
13533 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13534 if (SWIG_arg_fail(3)) SWIG_fail
;
13537 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13538 if (SWIG_arg_fail(4)) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13547 Py_INCREF(Py_None
); resultobj
= Py_None
;
13554 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
= NULL
;
13556 wxDC
*arg1
= (wxDC
*) 0 ;
13557 wxPoint
*arg2
= 0 ;
13560 PyObject
* obj0
= 0 ;
13561 PyObject
* obj1
= 0 ;
13562 PyObject
* obj2
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "pt",(char *) "radius", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13569 if (SWIG_arg_fail(1)) SWIG_fail
;
13572 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13575 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13576 if (SWIG_arg_fail(3)) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 Py_INCREF(Py_None
); resultobj
= Py_None
;
13592 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
= NULL
;
13594 wxDC
*arg1
= (wxDC
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 PyObject
* obj1
= 0 ;
13601 PyObject
* obj2
= 0 ;
13602 PyObject
* obj3
= 0 ;
13603 PyObject
* obj4
= 0 ;
13604 char *kwnames
[] = {
13605 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13610 if (SWIG_arg_fail(1)) SWIG_fail
;
13612 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13613 if (SWIG_arg_fail(2)) SWIG_fail
;
13616 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13617 if (SWIG_arg_fail(3)) SWIG_fail
;
13620 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13621 if (SWIG_arg_fail(4)) SWIG_fail
;
13624 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13625 if (SWIG_arg_fail(5)) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 Py_INCREF(Py_None
); resultobj
= Py_None
;
13641 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
= NULL
;
13643 wxDC
*arg1
= (wxDC
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self",(char *) "rect", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13654 if (SWIG_arg_fail(1)) SWIG_fail
;
13657 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 Py_INCREF(Py_None
); resultobj
= Py_None
;
13673 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
= NULL
;
13675 wxDC
*arg1
= (wxDC
*) 0 ;
13676 wxPoint
*arg2
= 0 ;
13680 PyObject
* obj0
= 0 ;
13681 PyObject
* obj1
= 0 ;
13682 PyObject
* obj2
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self",(char *) "pt",(char *) "sz", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13689 if (SWIG_arg_fail(1)) SWIG_fail
;
13692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13696 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 Py_INCREF(Py_None
); resultobj
= Py_None
;
13712 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
= NULL
;
13714 wxDC
*arg1
= (wxDC
*) 0 ;
13718 PyObject
* obj0
= 0 ;
13719 PyObject
* obj1
= 0 ;
13720 PyObject
* obj2
= 0 ;
13721 PyObject
* obj3
= 0 ;
13722 char *kwnames
[] = {
13723 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
13726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13728 if (SWIG_arg_fail(1)) SWIG_fail
;
13730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13731 if (SWIG_arg_fail(2)) SWIG_fail
;
13732 if (arg2
== NULL
) {
13733 SWIG_null_ref("wxIcon");
13735 if (SWIG_arg_fail(2)) SWIG_fail
;
13738 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13739 if (SWIG_arg_fail(3)) SWIG_fail
;
13742 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13743 if (SWIG_arg_fail(4)) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 Py_INCREF(Py_None
); resultobj
= Py_None
;
13759 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
= NULL
;
13761 wxDC
*arg1
= (wxDC
*) 0 ;
13763 wxPoint
*arg3
= 0 ;
13765 PyObject
* obj0
= 0 ;
13766 PyObject
* obj1
= 0 ;
13767 PyObject
* obj2
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self",(char *) "icon",(char *) "pt", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13774 if (SWIG_arg_fail(1)) SWIG_fail
;
13776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13777 if (SWIG_arg_fail(2)) SWIG_fail
;
13778 if (arg2
== NULL
) {
13779 SWIG_null_ref("wxIcon");
13781 if (SWIG_arg_fail(2)) SWIG_fail
;
13785 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 Py_INCREF(Py_None
); resultobj
= Py_None
;
13801 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
= NULL
;
13803 wxDC
*arg1
= (wxDC
*) 0 ;
13804 wxBitmap
*arg2
= 0 ;
13807 bool arg5
= (bool) false ;
13808 PyObject
* obj0
= 0 ;
13809 PyObject
* obj1
= 0 ;
13810 PyObject
* obj2
= 0 ;
13811 PyObject
* obj3
= 0 ;
13812 PyObject
* obj4
= 0 ;
13813 char *kwnames
[] = {
13814 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
13817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13819 if (SWIG_arg_fail(1)) SWIG_fail
;
13821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13822 if (SWIG_arg_fail(2)) SWIG_fail
;
13823 if (arg2
== NULL
) {
13824 SWIG_null_ref("wxBitmap");
13826 if (SWIG_arg_fail(2)) SWIG_fail
;
13829 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13830 if (SWIG_arg_fail(3)) SWIG_fail
;
13833 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13834 if (SWIG_arg_fail(4)) SWIG_fail
;
13838 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
13839 if (SWIG_arg_fail(5)) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 Py_INCREF(Py_None
); resultobj
= Py_None
;
13856 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
= NULL
;
13858 wxDC
*arg1
= (wxDC
*) 0 ;
13859 wxBitmap
*arg2
= 0 ;
13860 wxPoint
*arg3
= 0 ;
13861 bool arg4
= (bool) false ;
13863 PyObject
* obj0
= 0 ;
13864 PyObject
* obj1
= 0 ;
13865 PyObject
* obj2
= 0 ;
13866 PyObject
* obj3
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13873 if (SWIG_arg_fail(1)) SWIG_fail
;
13875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13876 if (SWIG_arg_fail(2)) SWIG_fail
;
13877 if (arg2
== NULL
) {
13878 SWIG_null_ref("wxBitmap");
13880 if (SWIG_arg_fail(2)) SWIG_fail
;
13884 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13888 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
13889 if (SWIG_arg_fail(4)) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13899 Py_INCREF(Py_None
); resultobj
= Py_None
;
13906 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
= NULL
;
13908 wxDC
*arg1
= (wxDC
*) 0 ;
13909 wxString
*arg2
= 0 ;
13912 bool temp2
= false ;
13913 PyObject
* obj0
= 0 ;
13914 PyObject
* obj1
= 0 ;
13915 PyObject
* obj2
= 0 ;
13916 PyObject
* obj3
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13923 if (SWIG_arg_fail(1)) SWIG_fail
;
13925 arg2
= wxString_in_helper(obj1
);
13926 if (arg2
== NULL
) SWIG_fail
;
13930 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13931 if (SWIG_arg_fail(3)) SWIG_fail
;
13934 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13935 if (SWIG_arg_fail(4)) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 Py_INCREF(Py_None
); resultobj
= Py_None
;
13959 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
= NULL
;
13961 wxDC
*arg1
= (wxDC
*) 0 ;
13962 wxString
*arg2
= 0 ;
13963 wxPoint
*arg3
= 0 ;
13964 bool temp2
= false ;
13966 PyObject
* obj0
= 0 ;
13967 PyObject
* obj1
= 0 ;
13968 PyObject
* obj2
= 0 ;
13969 char *kwnames
[] = {
13970 (char *) "self",(char *) "text",(char *) "pt", NULL
13973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13975 if (SWIG_arg_fail(1)) SWIG_fail
;
13977 arg2
= wxString_in_helper(obj1
);
13978 if (arg2
== NULL
) SWIG_fail
;
13983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 Py_INCREF(Py_None
); resultobj
= Py_None
;
14007 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
= NULL
;
14009 wxDC
*arg1
= (wxDC
*) 0 ;
14010 wxString
*arg2
= 0 ;
14014 bool temp2
= false ;
14015 PyObject
* obj0
= 0 ;
14016 PyObject
* obj1
= 0 ;
14017 PyObject
* obj2
= 0 ;
14018 PyObject
* obj3
= 0 ;
14019 PyObject
* obj4
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14026 if (SWIG_arg_fail(1)) SWIG_fail
;
14028 arg2
= wxString_in_helper(obj1
);
14029 if (arg2
== NULL
) SWIG_fail
;
14033 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14034 if (SWIG_arg_fail(3)) SWIG_fail
;
14037 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14038 if (SWIG_arg_fail(4)) SWIG_fail
;
14041 arg5
= static_cast<double >(SWIG_As_double(obj4
));
14042 if (SWIG_arg_fail(5)) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 Py_INCREF(Py_None
); resultobj
= Py_None
;
14066 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
= NULL
;
14068 wxDC
*arg1
= (wxDC
*) 0 ;
14069 wxString
*arg2
= 0 ;
14070 wxPoint
*arg3
= 0 ;
14072 bool temp2
= false ;
14074 PyObject
* obj0
= 0 ;
14075 PyObject
* obj1
= 0 ;
14076 PyObject
* obj2
= 0 ;
14077 PyObject
* obj3
= 0 ;
14078 char *kwnames
[] = {
14079 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
14082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14084 if (SWIG_arg_fail(1)) SWIG_fail
;
14086 arg2
= wxString_in_helper(obj1
);
14087 if (arg2
== NULL
) SWIG_fail
;
14092 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14095 arg4
= static_cast<double >(SWIG_As_double(obj3
));
14096 if (SWIG_arg_fail(4)) SWIG_fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 Py_INCREF(Py_None
); resultobj
= Py_None
;
14120 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
= NULL
;
14122 wxDC
*arg1
= (wxDC
*) 0 ;
14127 wxDC
*arg6
= (wxDC
*) 0 ;
14130 int arg9
= (int) wxCOPY
;
14131 bool arg10
= (bool) false ;
14132 int arg11
= (int) -1 ;
14133 int arg12
= (int) -1 ;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 PyObject
* obj2
= 0 ;
14138 PyObject
* obj3
= 0 ;
14139 PyObject
* obj4
= 0 ;
14140 PyObject
* obj5
= 0 ;
14141 PyObject
* obj6
= 0 ;
14142 PyObject
* obj7
= 0 ;
14143 PyObject
* obj8
= 0 ;
14144 PyObject
* obj9
= 0 ;
14145 PyObject
* obj10
= 0 ;
14146 PyObject
* obj11
= 0 ;
14147 char *kwnames
[] = {
14148 (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
14151 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
;
14152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14153 if (SWIG_arg_fail(1)) SWIG_fail
;
14155 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14156 if (SWIG_arg_fail(2)) SWIG_fail
;
14159 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14160 if (SWIG_arg_fail(3)) SWIG_fail
;
14163 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14164 if (SWIG_arg_fail(4)) SWIG_fail
;
14167 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14168 if (SWIG_arg_fail(5)) SWIG_fail
;
14170 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14171 if (SWIG_arg_fail(6)) SWIG_fail
;
14173 arg7
= static_cast<int >(SWIG_As_int(obj6
));
14174 if (SWIG_arg_fail(7)) SWIG_fail
;
14177 arg8
= static_cast<int >(SWIG_As_int(obj7
));
14178 if (SWIG_arg_fail(8)) SWIG_fail
;
14182 arg9
= static_cast<int >(SWIG_As_int(obj8
));
14183 if (SWIG_arg_fail(9)) SWIG_fail
;
14188 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
14189 if (SWIG_arg_fail(10)) SWIG_fail
;
14194 arg11
= static_cast<int >(SWIG_As_int(obj10
));
14195 if (SWIG_arg_fail(11)) SWIG_fail
;
14200 arg12
= static_cast<int >(SWIG_As_int(obj11
));
14201 if (SWIG_arg_fail(12)) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14220 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
= NULL
;
14222 wxDC
*arg1
= (wxDC
*) 0 ;
14223 wxPoint
*arg2
= 0 ;
14225 wxDC
*arg4
= (wxDC
*) 0 ;
14226 wxPoint
*arg5
= 0 ;
14227 int arg6
= (int) wxCOPY
;
14228 bool arg7
= (bool) false ;
14229 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
14230 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
14236 PyObject
* obj0
= 0 ;
14237 PyObject
* obj1
= 0 ;
14238 PyObject
* obj2
= 0 ;
14239 PyObject
* obj3
= 0 ;
14240 PyObject
* obj4
= 0 ;
14241 PyObject
* obj5
= 0 ;
14242 PyObject
* obj6
= 0 ;
14243 PyObject
* obj7
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14250 if (SWIG_arg_fail(1)) SWIG_fail
;
14253 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14257 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14259 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14260 if (SWIG_arg_fail(4)) SWIG_fail
;
14263 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14267 arg6
= static_cast<int >(SWIG_As_int(obj5
));
14268 if (SWIG_arg_fail(6)) SWIG_fail
;
14273 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
14274 if (SWIG_arg_fail(7)) SWIG_fail
;
14280 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14299 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
= NULL
;
14301 wxDC
*arg1
= (wxDC
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 PyObject
* obj2
= 0 ;
14309 PyObject
* obj3
= 0 ;
14310 PyObject
* obj4
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14317 if (SWIG_arg_fail(1)) SWIG_fail
;
14319 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14320 if (SWIG_arg_fail(2)) SWIG_fail
;
14323 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14324 if (SWIG_arg_fail(3)) SWIG_fail
;
14327 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14328 if (SWIG_arg_fail(4)) SWIG_fail
;
14331 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14332 if (SWIG_arg_fail(5)) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 Py_INCREF(Py_None
); resultobj
= Py_None
;
14348 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
= NULL
;
14350 wxDC
*arg1
= (wxDC
*) 0 ;
14351 wxPoint
*arg2
= 0 ;
14355 PyObject
* obj0
= 0 ;
14356 PyObject
* obj1
= 0 ;
14357 PyObject
* obj2
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self",(char *) "pt",(char *) "sz", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14364 if (SWIG_arg_fail(1)) SWIG_fail
;
14367 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14371 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 Py_INCREF(Py_None
); resultobj
= Py_None
;
14387 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
= NULL
;
14389 wxDC
*arg1
= (wxDC
*) 0 ;
14390 wxRegion
*arg2
= 0 ;
14391 PyObject
* obj0
= 0 ;
14392 PyObject
* obj1
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self",(char *) "region", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14399 if (SWIG_arg_fail(1)) SWIG_fail
;
14401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14402 if (SWIG_arg_fail(2)) SWIG_fail
;
14403 if (arg2
== NULL
) {
14404 SWIG_null_ref("wxRegion");
14406 if (SWIG_arg_fail(2)) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 Py_INCREF(Py_None
); resultobj
= Py_None
;
14422 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
= NULL
;
14424 wxDC
*arg1
= (wxDC
*) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 PyObject
* obj1
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self",(char *) "rect", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14435 if (SWIG_arg_fail(1)) SWIG_fail
;
14438 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 Py_INCREF(Py_None
); resultobj
= Py_None
;
14454 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
= NULL
;
14456 wxDC
*arg1
= (wxDC
*) 0 ;
14458 wxPoint
*arg3
= (wxPoint
*) 0 ;
14459 int arg4
= (int) 0 ;
14460 int arg5
= (int) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 PyObject
* obj2
= 0 ;
14464 PyObject
* obj3
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14471 if (SWIG_arg_fail(1)) SWIG_fail
;
14473 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14474 if (arg3
== NULL
) SWIG_fail
;
14478 arg4
= static_cast<int >(SWIG_As_int(obj2
));
14479 if (SWIG_arg_fail(4)) SWIG_fail
;
14484 arg5
= static_cast<int >(SWIG_As_int(obj3
));
14485 if (SWIG_arg_fail(5)) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 Py_INCREF(Py_None
); resultobj
= Py_None
;
14497 if (arg3
) delete [] arg3
;
14502 if (arg3
) delete [] arg3
;
14508 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
= NULL
;
14510 wxDC
*arg1
= (wxDC
*) 0 ;
14512 wxPoint
*arg3
= (wxPoint
*) 0 ;
14513 int arg4
= (int) 0 ;
14514 int arg5
= (int) 0 ;
14515 int arg6
= (int) wxODDEVEN_RULE
;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 PyObject
* obj2
= 0 ;
14519 PyObject
* obj3
= 0 ;
14520 PyObject
* obj4
= 0 ;
14521 char *kwnames
[] = {
14522 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14527 if (SWIG_arg_fail(1)) SWIG_fail
;
14529 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14530 if (arg3
== NULL
) SWIG_fail
;
14534 arg4
= static_cast<int >(SWIG_As_int(obj2
));
14535 if (SWIG_arg_fail(4)) SWIG_fail
;
14540 arg5
= static_cast<int >(SWIG_As_int(obj3
));
14541 if (SWIG_arg_fail(5)) SWIG_fail
;
14546 arg6
= static_cast<int >(SWIG_As_int(obj4
));
14547 if (SWIG_arg_fail(6)) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 Py_INCREF(Py_None
); resultobj
= Py_None
;
14559 if (arg3
) delete [] arg3
;
14564 if (arg3
) delete [] arg3
;
14570 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14571 PyObject
*resultobj
= NULL
;
14572 wxDC
*arg1
= (wxDC
*) 0 ;
14573 wxString
*arg2
= 0 ;
14575 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14576 int arg5
= (int) -1 ;
14577 bool temp2
= false ;
14579 PyObject
* obj0
= 0 ;
14580 PyObject
* obj1
= 0 ;
14581 PyObject
* obj2
= 0 ;
14582 PyObject
* obj3
= 0 ;
14583 PyObject
* obj4
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14590 if (SWIG_arg_fail(1)) SWIG_fail
;
14592 arg2
= wxString_in_helper(obj1
);
14593 if (arg2
== NULL
) SWIG_fail
;
14598 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
14602 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14603 if (SWIG_arg_fail(4)) SWIG_fail
;
14608 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14609 if (SWIG_arg_fail(5)) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 Py_INCREF(Py_None
); resultobj
= Py_None
;
14634 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
= NULL
;
14636 wxDC
*arg1
= (wxDC
*) 0 ;
14637 wxString
*arg2
= 0 ;
14638 wxBitmap
*arg3
= 0 ;
14640 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14641 int arg6
= (int) -1 ;
14643 bool temp2
= false ;
14645 PyObject
* obj0
= 0 ;
14646 PyObject
* obj1
= 0 ;
14647 PyObject
* obj2
= 0 ;
14648 PyObject
* obj3
= 0 ;
14649 PyObject
* obj4
= 0 ;
14650 PyObject
* obj5
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14657 if (SWIG_arg_fail(1)) SWIG_fail
;
14659 arg2
= wxString_in_helper(obj1
);
14660 if (arg2
== NULL
) SWIG_fail
;
14664 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14665 if (SWIG_arg_fail(3)) SWIG_fail
;
14666 if (arg3
== NULL
) {
14667 SWIG_null_ref("wxBitmap");
14669 if (SWIG_arg_fail(3)) SWIG_fail
;
14673 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
14677 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14678 if (SWIG_arg_fail(5)) SWIG_fail
;
14683 arg6
= static_cast<int >(SWIG_As_int(obj5
));
14684 if (SWIG_arg_fail(6)) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14695 wxRect
* resultptr
;
14696 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
14697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14713 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
= NULL
;
14715 wxDC
*arg1
= (wxDC
*) 0 ;
14717 wxPoint
*arg3
= (wxPoint
*) 0 ;
14718 PyObject
* obj0
= 0 ;
14719 PyObject
* obj1
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "self",(char *) "points", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
14725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14726 if (SWIG_arg_fail(1)) SWIG_fail
;
14728 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14729 if (arg3
== NULL
) SWIG_fail
;
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 (arg1
)->DrawSpline(arg2
,arg3
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 Py_INCREF(Py_None
); resultobj
= Py_None
;
14740 if (arg3
) delete [] arg3
;
14745 if (arg3
) delete [] arg3
;
14751 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
= NULL
;
14753 wxDC
*arg1
= (wxDC
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
14760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14761 if (SWIG_arg_fail(1)) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 Py_INCREF(Py_None
); resultobj
= Py_None
;
14776 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
= NULL
;
14778 wxDC
*arg1
= (wxDC
*) 0 ;
14779 wxString
*arg2
= 0 ;
14781 bool temp2
= false ;
14782 PyObject
* obj0
= 0 ;
14783 PyObject
* obj1
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self",(char *) "message", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
14789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14790 if (SWIG_arg_fail(1)) SWIG_fail
;
14792 arg2
= wxString_in_helper(obj1
);
14793 if (arg2
== NULL
) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14820 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
= NULL
;
14822 wxDC
*arg1
= (wxDC
*) 0 ;
14823 PyObject
* obj0
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "self", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
14829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14830 if (SWIG_arg_fail(1)) SWIG_fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 Py_INCREF(Py_None
); resultobj
= Py_None
;
14845 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
= NULL
;
14847 wxDC
*arg1
= (wxDC
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
14854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14855 if (SWIG_arg_fail(1)) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 (arg1
)->StartPage();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 Py_INCREF(Py_None
); resultobj
= Py_None
;
14870 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
= NULL
;
14872 wxDC
*arg1
= (wxDC
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 char *kwnames
[] = {
14875 (char *) "self", NULL
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
14879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14880 if (SWIG_arg_fail(1)) SWIG_fail
;
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 Py_INCREF(Py_None
); resultobj
= Py_None
;
14895 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
= NULL
;
14897 wxDC
*arg1
= (wxDC
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 PyObject
* obj1
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "self",(char *) "font", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14907 if (SWIG_arg_fail(1)) SWIG_fail
;
14909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14910 if (SWIG_arg_fail(2)) SWIG_fail
;
14911 if (arg2
== NULL
) {
14912 SWIG_null_ref("wxFont");
14914 if (SWIG_arg_fail(2)) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 (arg1
)->SetFont((wxFont
const &)*arg2
);
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 Py_INCREF(Py_None
); resultobj
= Py_None
;
14930 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
= NULL
;
14932 wxDC
*arg1
= (wxDC
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self",(char *) "pen", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14942 if (SWIG_arg_fail(1)) SWIG_fail
;
14944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
14945 if (SWIG_arg_fail(2)) SWIG_fail
;
14946 if (arg2
== NULL
) {
14947 SWIG_null_ref("wxPen");
14949 if (SWIG_arg_fail(2)) SWIG_fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 (arg1
)->SetPen((wxPen
const &)*arg2
);
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 Py_INCREF(Py_None
); resultobj
= Py_None
;
14965 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
= NULL
;
14967 wxDC
*arg1
= (wxDC
*) 0 ;
14968 wxBrush
*arg2
= 0 ;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 char *kwnames
[] = {
14972 (char *) "self",(char *) "brush", NULL
14975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14977 if (SWIG_arg_fail(1)) SWIG_fail
;
14979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14980 if (SWIG_arg_fail(2)) SWIG_fail
;
14981 if (arg2
== NULL
) {
14982 SWIG_null_ref("wxBrush");
14984 if (SWIG_arg_fail(2)) SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 Py_INCREF(Py_None
); resultobj
= Py_None
;
15000 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
= NULL
;
15002 wxDC
*arg1
= (wxDC
*) 0 ;
15003 wxBrush
*arg2
= 0 ;
15004 PyObject
* obj0
= 0 ;
15005 PyObject
* obj1
= 0 ;
15006 char *kwnames
[] = {
15007 (char *) "self",(char *) "brush", NULL
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15012 if (SWIG_arg_fail(1)) SWIG_fail
;
15014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15015 if (SWIG_arg_fail(2)) SWIG_fail
;
15016 if (arg2
== NULL
) {
15017 SWIG_null_ref("wxBrush");
15019 if (SWIG_arg_fail(2)) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 Py_INCREF(Py_None
); resultobj
= Py_None
;
15035 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
= NULL
;
15037 wxDC
*arg1
= (wxDC
*) 0 ;
15039 PyObject
* obj0
= 0 ;
15040 PyObject
* obj1
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self",(char *) "mode", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15047 if (SWIG_arg_fail(1)) SWIG_fail
;
15049 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15050 if (SWIG_arg_fail(2)) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 (arg1
)->SetBackgroundMode(arg2
);
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 Py_INCREF(Py_None
); resultobj
= Py_None
;
15066 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
= NULL
;
15068 wxDC
*arg1
= (wxDC
*) 0 ;
15069 wxPalette
*arg2
= 0 ;
15070 PyObject
* obj0
= 0 ;
15071 PyObject
* obj1
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "self",(char *) "palette", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
15077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15078 if (SWIG_arg_fail(1)) SWIG_fail
;
15080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
15081 if (SWIG_arg_fail(2)) SWIG_fail
;
15082 if (arg2
== NULL
) {
15083 SWIG_null_ref("wxPalette");
15085 if (SWIG_arg_fail(2)) SWIG_fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 Py_INCREF(Py_None
); resultobj
= Py_None
;
15101 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
= NULL
;
15103 wxDC
*arg1
= (wxDC
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
15110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15111 if (SWIG_arg_fail(1)) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 (arg1
)->DestroyClippingRegion();
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 Py_INCREF(Py_None
); resultobj
= Py_None
;
15126 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
= NULL
;
15128 wxDC
*arg1
= (wxDC
*) 0 ;
15129 int *arg2
= (int *) 0 ;
15130 int *arg3
= (int *) 0 ;
15131 int *arg4
= (int *) 0 ;
15132 int *arg5
= (int *) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "self", NULL
15146 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15147 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15148 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15149 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
15151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15152 if (SWIG_arg_fail(1)) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 Py_INCREF(Py_None
); resultobj
= Py_None
;
15161 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15162 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15163 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15164 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15165 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15166 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15167 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15168 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15175 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
= NULL
;
15177 wxDC
*arg1
= (wxDC
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
15185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15186 if (SWIG_arg_fail(1)) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= wxDC_GetClippingRect(arg1
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15195 wxRect
* resultptr
;
15196 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
15197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15205 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
= NULL
;
15207 wxDC
*arg1
= (wxDC
*) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 char *kwnames
[] = {
15211 (char *) "self", NULL
15214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
15215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15216 if (SWIG_arg_fail(1)) SWIG_fail
;
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= SWIG_From_int(static_cast<int >(result
));
15233 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15234 PyObject
*resultobj
= NULL
;
15235 wxDC
*arg1
= (wxDC
*) 0 ;
15237 PyObject
* obj0
= 0 ;
15238 char *kwnames
[] = {
15239 (char *) "self", NULL
15242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
15243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15244 if (SWIG_arg_fail(1)) SWIG_fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15253 resultobj
= SWIG_From_int(static_cast<int >(result
));
15261 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
= NULL
;
15263 wxDC
*arg1
= (wxDC
*) 0 ;
15264 wxString
*arg2
= 0 ;
15265 int *arg3
= (int *) 0 ;
15266 int *arg4
= (int *) 0 ;
15267 bool temp2
= false ;
15272 PyObject
* obj0
= 0 ;
15273 PyObject
* obj1
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self",(char *) "string", NULL
15278 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15279 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15282 if (SWIG_arg_fail(1)) SWIG_fail
;
15284 arg2
= wxString_in_helper(obj1
);
15285 if (arg2
== NULL
) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 Py_INCREF(Py_None
); resultobj
= Py_None
;
15296 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15297 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15298 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15299 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15314 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15315 PyObject
*resultobj
= NULL
;
15316 wxDC
*arg1
= (wxDC
*) 0 ;
15317 wxString
*arg2
= 0 ;
15318 int *arg3
= (int *) 0 ;
15319 int *arg4
= (int *) 0 ;
15320 int *arg5
= (int *) 0 ;
15321 int *arg6
= (int *) 0 ;
15322 wxFont
*arg7
= (wxFont
*) NULL
;
15323 bool temp2
= false ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 PyObject
* obj2
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self",(char *) "string",(char *) "font", NULL
15339 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15340 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15341 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15342 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15345 if (SWIG_arg_fail(1)) SWIG_fail
;
15347 arg2
= wxString_in_helper(obj1
);
15348 if (arg2
== NULL
) SWIG_fail
;
15352 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15353 if (SWIG_arg_fail(7)) SWIG_fail
;
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15362 Py_INCREF(Py_None
); resultobj
= Py_None
;
15363 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15364 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15365 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15366 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15367 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15368 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15369 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15370 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15385 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
= NULL
;
15387 wxDC
*arg1
= (wxDC
*) 0 ;
15388 wxString
*arg2
= 0 ;
15389 int *arg3
= (int *) 0 ;
15390 int *arg4
= (int *) 0 ;
15391 int *arg5
= (int *) 0 ;
15392 wxFont
*arg6
= (wxFont
*) NULL
;
15393 bool temp2
= false ;
15400 PyObject
* obj0
= 0 ;
15401 PyObject
* obj1
= 0 ;
15402 PyObject
* obj2
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self",(char *) "text",(char *) "font", NULL
15407 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15408 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15409 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15412 if (SWIG_arg_fail(1)) SWIG_fail
;
15414 arg2
= wxString_in_helper(obj1
);
15415 if (arg2
== NULL
) SWIG_fail
;
15419 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15420 if (SWIG_arg_fail(6)) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 Py_INCREF(Py_None
); resultobj
= Py_None
;
15430 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15431 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15432 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15433 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15434 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15435 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15450 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
= NULL
;
15452 wxDC
*arg1
= (wxDC
*) 0 ;
15453 wxString
*arg2
= 0 ;
15455 bool temp2
= false ;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self",(char *) "text", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",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
= wxString_in_helper(obj1
);
15467 if (arg2
== NULL
) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= PyList_New(0);
15480 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15481 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15482 PyList_Append(resultobj
, val
);
15500 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15501 PyObject
*resultobj
= NULL
;
15502 wxDC
*arg1
= (wxDC
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 char *kwnames
[] = {
15506 (char *) "self", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15511 if (SWIG_arg_fail(1)) SWIG_fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 result
= (arg1
)->GetSize();
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15520 wxSize
* resultptr
;
15521 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
15522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15530 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
= NULL
;
15532 wxDC
*arg1
= (wxDC
*) 0 ;
15533 int *arg2
= (int *) 0 ;
15534 int *arg3
= (int *) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self", NULL
15544 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15545 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15548 if (SWIG_arg_fail(1)) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 (arg1
)->GetSize(arg2
,arg3
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 Py_INCREF(Py_None
); resultobj
= Py_None
;
15557 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15558 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15559 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15560 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15567 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
= NULL
;
15569 wxDC
*arg1
= (wxDC
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
15577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15578 if (SWIG_arg_fail(1)) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= ((wxDC
const *)arg1
)->GetSizeMM();
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15587 wxSize
* resultptr
;
15588 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
15589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15597 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
= NULL
;
15599 wxDC
*arg1
= (wxDC
*) 0 ;
15600 int *arg2
= (int *) 0 ;
15601 int *arg3
= (int *) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 char *kwnames
[] = {
15608 (char *) "self", NULL
15611 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15612 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
15614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15615 if (SWIG_arg_fail(1)) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 Py_INCREF(Py_None
); resultobj
= Py_None
;
15624 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15625 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15626 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15627 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15634 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
= NULL
;
15636 wxDC
*arg1
= (wxDC
*) 0 ;
15639 PyObject
* obj0
= 0 ;
15640 PyObject
* obj1
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self",(char *) "x", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
15646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15647 if (SWIG_arg_fail(1)) SWIG_fail
;
15649 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15650 if (SWIG_arg_fail(2)) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_From_int(static_cast<int >(result
));
15668 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
= NULL
;
15670 wxDC
*arg1
= (wxDC
*) 0 ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 char *kwnames
[] = {
15676 (char *) "self",(char *) "y", NULL
15679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
15680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15681 if (SWIG_arg_fail(1)) SWIG_fail
;
15683 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15684 if (SWIG_arg_fail(2)) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_From_int(static_cast<int >(result
));
15702 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
= NULL
;
15704 wxDC
*arg1
= (wxDC
*) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 PyObject
* obj1
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self",(char *) "x", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15715 if (SWIG_arg_fail(1)) SWIG_fail
;
15717 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15718 if (SWIG_arg_fail(2)) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15728 resultobj
= SWIG_From_int(static_cast<int >(result
));
15736 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
= NULL
;
15738 wxDC
*arg1
= (wxDC
*) 0 ;
15741 PyObject
* obj0
= 0 ;
15742 PyObject
* obj1
= 0 ;
15743 char *kwnames
[] = {
15744 (char *) "self",(char *) "y", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15749 if (SWIG_arg_fail(1)) SWIG_fail
;
15751 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15752 if (SWIG_arg_fail(2)) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= SWIG_From_int(static_cast<int >(result
));
15770 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
= NULL
;
15772 wxDC
*arg1
= (wxDC
*) 0 ;
15775 PyObject
* obj0
= 0 ;
15776 PyObject
* obj1
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "self",(char *) "x", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
15782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15783 if (SWIG_arg_fail(1)) SWIG_fail
;
15785 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15786 if (SWIG_arg_fail(2)) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= SWIG_From_int(static_cast<int >(result
));
15804 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
= NULL
;
15806 wxDC
*arg1
= (wxDC
*) 0 ;
15809 PyObject
* obj0
= 0 ;
15810 PyObject
* obj1
= 0 ;
15811 char *kwnames
[] = {
15812 (char *) "self",(char *) "y", NULL
15815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
15816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15817 if (SWIG_arg_fail(1)) SWIG_fail
;
15819 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15820 if (SWIG_arg_fail(2)) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15830 resultobj
= SWIG_From_int(static_cast<int >(result
));
15838 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
= NULL
;
15840 wxDC
*arg1
= (wxDC
*) 0 ;
15843 PyObject
* obj0
= 0 ;
15844 PyObject
* obj1
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self",(char *) "x", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15851 if (SWIG_arg_fail(1)) SWIG_fail
;
15853 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15854 if (SWIG_arg_fail(2)) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15864 resultobj
= SWIG_From_int(static_cast<int >(result
));
15872 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
= NULL
;
15874 wxDC
*arg1
= (wxDC
*) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 PyObject
* obj1
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self",(char *) "y", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15885 if (SWIG_arg_fail(1)) SWIG_fail
;
15887 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15888 if (SWIG_arg_fail(2)) SWIG_fail
;
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= SWIG_From_int(static_cast<int >(result
));
15906 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15907 PyObject
*resultobj
= NULL
;
15908 wxDC
*arg1
= (wxDC
*) 0 ;
15910 PyObject
* obj0
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "self", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
15916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15917 if (SWIG_arg_fail(1)) SWIG_fail
;
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15934 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
= NULL
;
15936 wxDC
*arg1
= (wxDC
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
15944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15945 if (SWIG_arg_fail(1)) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15962 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
= NULL
;
15964 wxDC
*arg1
= (wxDC
*) 0 ;
15966 PyObject
* obj0
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
15972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15973 if (SWIG_arg_fail(1)) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= (int)((wxDC
const *)arg1
)->GetDepth();
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15982 resultobj
= SWIG_From_int(static_cast<int >(result
));
15990 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
= NULL
;
15992 wxDC
*arg1
= (wxDC
*) 0 ;
15994 PyObject
* obj0
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
16000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16001 if (SWIG_arg_fail(1)) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 result
= ((wxDC
const *)arg1
)->GetPPI();
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16010 wxSize
* resultptr
;
16011 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16020 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
= NULL
;
16022 wxDC
*arg1
= (wxDC
*) 0 ;
16024 PyObject
* obj0
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
16030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16031 if (SWIG_arg_fail(1)) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 result
= (bool)((wxDC
const *)arg1
)->Ok();
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16048 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
= NULL
;
16050 wxDC
*arg1
= (wxDC
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
16058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16059 if (SWIG_arg_fail(1)) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= SWIG_From_int(static_cast<int >(result
));
16076 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
= NULL
;
16078 wxDC
*arg1
= (wxDC
*) 0 ;
16080 PyObject
* obj0
= 0 ;
16081 char *kwnames
[] = {
16082 (char *) "self", NULL
16085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
16086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16087 if (SWIG_arg_fail(1)) SWIG_fail
;
16089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
16092 result
= (wxBrush
*) &_result_ref
;
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16099 wxBrush
* resultptr
= new wxBrush(*result
);
16100 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16108 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
= NULL
;
16110 wxDC
*arg1
= (wxDC
*) 0 ;
16112 PyObject
* obj0
= 0 ;
16113 char *kwnames
[] = {
16114 (char *) "self", NULL
16117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
16118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16119 if (SWIG_arg_fail(1)) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
16124 result
= (wxBrush
*) &_result_ref
;
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16131 wxBrush
* resultptr
= new wxBrush(*result
);
16132 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16140 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
= NULL
;
16142 wxDC
*arg1
= (wxDC
*) 0 ;
16144 PyObject
* obj0
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
16150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16151 if (SWIG_arg_fail(1)) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
16156 result
= (wxFont
*) &_result_ref
;
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 wxFont
* resultptr
= new wxFont(*result
);
16164 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16172 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
= NULL
;
16174 wxDC
*arg1
= (wxDC
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
16182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16183 if (SWIG_arg_fail(1)) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
16188 result
= (wxPen
*) &_result_ref
;
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16195 wxPen
* resultptr
= new wxPen(*result
);
16196 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
16204 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
= NULL
;
16206 wxDC
*arg1
= (wxDC
*) 0 ;
16208 PyObject
* obj0
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "self", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
16214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16215 if (SWIG_arg_fail(1)) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
16220 result
= (wxColour
*) &_result_ref
;
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16233 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
= NULL
;
16235 wxDC
*arg1
= (wxDC
*) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
16243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16244 if (SWIG_arg_fail(1)) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
16249 result
= (wxColour
*) &_result_ref
;
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16262 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
= NULL
;
16264 wxDC
*arg1
= (wxDC
*) 0 ;
16265 wxColour
*arg2
= 0 ;
16267 PyObject
* obj0
= 0 ;
16268 PyObject
* obj1
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "self",(char *) "colour", NULL
16273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16275 if (SWIG_arg_fail(1)) SWIG_fail
;
16278 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16287 Py_INCREF(Py_None
); resultobj
= Py_None
;
16294 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
= NULL
;
16296 wxDC
*arg1
= (wxDC
*) 0 ;
16297 wxColour
*arg2
= 0 ;
16299 PyObject
* obj0
= 0 ;
16300 PyObject
* obj1
= 0 ;
16301 char *kwnames
[] = {
16302 (char *) "self",(char *) "colour", NULL
16305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16307 if (SWIG_arg_fail(1)) SWIG_fail
;
16310 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 Py_INCREF(Py_None
); resultobj
= Py_None
;
16326 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
= NULL
;
16328 wxDC
*arg1
= (wxDC
*) 0 ;
16330 PyObject
* obj0
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16337 if (SWIG_arg_fail(1)) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= SWIG_From_int(static_cast<int >(result
));
16354 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
= NULL
;
16356 wxDC
*arg1
= (wxDC
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 PyObject
* obj1
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "self",(char *) "mode", NULL
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16366 if (SWIG_arg_fail(1)) SWIG_fail
;
16368 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16369 if (SWIG_arg_fail(2)) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 (arg1
)->SetMapMode(arg2
);
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16378 Py_INCREF(Py_None
); resultobj
= Py_None
;
16385 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
= NULL
;
16387 wxDC
*arg1
= (wxDC
*) 0 ;
16388 double *arg2
= (double *) 0 ;
16389 double *arg3
= (double *) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self", NULL
16399 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16400 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16403 if (SWIG_arg_fail(1)) SWIG_fail
;
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16411 Py_INCREF(Py_None
); resultobj
= Py_None
;
16412 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16413 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16414 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16415 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16422 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
= NULL
;
16424 wxDC
*arg1
= (wxDC
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 PyObject
* obj1
= 0 ;
16429 PyObject
* obj2
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self",(char *) "x",(char *) "y", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16436 if (SWIG_arg_fail(1)) SWIG_fail
;
16438 arg2
= static_cast<double >(SWIG_As_double(obj1
));
16439 if (SWIG_arg_fail(2)) SWIG_fail
;
16442 arg3
= static_cast<double >(SWIG_As_double(obj2
));
16443 if (SWIG_arg_fail(3)) SWIG_fail
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 (arg1
)->SetUserScale(arg2
,arg3
);
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16452 Py_INCREF(Py_None
); resultobj
= Py_None
;
16459 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
= NULL
;
16461 wxDC
*arg1
= (wxDC
*) 0 ;
16462 double *arg2
= (double *) 0 ;
16463 double *arg3
= (double *) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self", NULL
16473 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16474 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16477 if (SWIG_arg_fail(1)) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 (arg1
)->GetLogicalScale(arg2
,arg3
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 Py_INCREF(Py_None
); resultobj
= Py_None
;
16486 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16487 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16488 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16489 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16496 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
= NULL
;
16498 wxDC
*arg1
= (wxDC
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 PyObject
* obj1
= 0 ;
16503 PyObject
* obj2
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self",(char *) "x",(char *) "y", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16510 if (SWIG_arg_fail(1)) SWIG_fail
;
16512 arg2
= static_cast<double >(SWIG_As_double(obj1
));
16513 if (SWIG_arg_fail(2)) SWIG_fail
;
16516 arg3
= static_cast<double >(SWIG_As_double(obj2
));
16517 if (SWIG_arg_fail(3)) SWIG_fail
;
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 (arg1
)->SetLogicalScale(arg2
,arg3
);
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 Py_INCREF(Py_None
); resultobj
= Py_None
;
16533 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
= NULL
;
16535 wxDC
*arg1
= (wxDC
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16544 if (SWIG_arg_fail(1)) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16553 wxPoint
* resultptr
;
16554 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
16555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16563 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
= NULL
;
16565 wxDC
*arg1
= (wxDC
*) 0 ;
16566 int *arg2
= (int *) 0 ;
16567 int *arg3
= (int *) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self", NULL
16577 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16578 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
16580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16581 if (SWIG_arg_fail(1)) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 Py_INCREF(Py_None
); resultobj
= Py_None
;
16590 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16591 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16592 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16593 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16600 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
= NULL
;
16602 wxDC
*arg1
= (wxDC
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 PyObject
* obj2
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self",(char *) "x",(char *) "y", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16614 if (SWIG_arg_fail(1)) SWIG_fail
;
16616 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16617 if (SWIG_arg_fail(2)) SWIG_fail
;
16620 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16621 if (SWIG_arg_fail(3)) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 Py_INCREF(Py_None
); resultobj
= Py_None
;
16637 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
= NULL
;
16639 wxDC
*arg1
= (wxDC
*) 0 ;
16640 wxPoint
*arg2
= 0 ;
16642 PyObject
* obj0
= 0 ;
16643 PyObject
* obj1
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "self",(char *) "point", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16650 if (SWIG_arg_fail(1)) SWIG_fail
;
16653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16662 Py_INCREF(Py_None
); resultobj
= Py_None
;
16669 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
= NULL
;
16671 wxDC
*arg1
= (wxDC
*) 0 ;
16673 PyObject
* obj0
= 0 ;
16674 char *kwnames
[] = {
16675 (char *) "self", NULL
16678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
16679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16680 if (SWIG_arg_fail(1)) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16689 wxPoint
* resultptr
;
16690 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
16691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16699 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
= NULL
;
16701 wxDC
*arg1
= (wxDC
*) 0 ;
16702 int *arg2
= (int *) 0 ;
16703 int *arg3
= (int *) 0 ;
16708 PyObject
* obj0
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "self", NULL
16713 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16714 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
16716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16717 if (SWIG_arg_fail(1)) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 Py_INCREF(Py_None
); resultobj
= Py_None
;
16726 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16727 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16728 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16729 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16736 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
= NULL
;
16738 wxDC
*arg1
= (wxDC
*) 0 ;
16741 PyObject
* obj0
= 0 ;
16742 PyObject
* obj1
= 0 ;
16743 PyObject
* obj2
= 0 ;
16744 char *kwnames
[] = {
16745 (char *) "self",(char *) "x",(char *) "y", NULL
16748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16750 if (SWIG_arg_fail(1)) SWIG_fail
;
16752 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16753 if (SWIG_arg_fail(2)) SWIG_fail
;
16756 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16757 if (SWIG_arg_fail(3)) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 Py_INCREF(Py_None
); resultobj
= Py_None
;
16773 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
= NULL
;
16775 wxDC
*arg1
= (wxDC
*) 0 ;
16776 wxPoint
*arg2
= 0 ;
16778 PyObject
* obj0
= 0 ;
16779 PyObject
* obj1
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "self",(char *) "point", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16786 if (SWIG_arg_fail(1)) SWIG_fail
;
16789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 Py_INCREF(Py_None
); resultobj
= Py_None
;
16805 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
= NULL
;
16807 wxDC
*arg1
= (wxDC
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 PyObject
* obj2
= 0 ;
16813 char *kwnames
[] = {
16814 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
16817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16819 if (SWIG_arg_fail(1)) SWIG_fail
;
16821 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16822 if (SWIG_arg_fail(2)) SWIG_fail
;
16825 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16826 if (SWIG_arg_fail(3)) SWIG_fail
;
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 (arg1
)->SetAxisOrientation(arg2
,arg3
);
16832 wxPyEndAllowThreads(__tstate
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16835 Py_INCREF(Py_None
); resultobj
= Py_None
;
16842 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
= NULL
;
16844 wxDC
*arg1
= (wxDC
*) 0 ;
16846 PyObject
* obj0
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= SWIG_From_int(static_cast<int >(result
));
16870 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
= NULL
;
16872 wxDC
*arg1
= (wxDC
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 PyObject
* obj1
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self",(char *) "function", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
16881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16882 if (SWIG_arg_fail(1)) SWIG_fail
;
16884 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16885 if (SWIG_arg_fail(2)) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 (arg1
)->SetLogicalFunction(arg2
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 Py_INCREF(Py_None
); resultobj
= Py_None
;
16901 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
= NULL
;
16903 wxDC
*arg1
= (wxDC
*) 0 ;
16904 PyObject
* obj0
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
16910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16911 if (SWIG_arg_fail(1)) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 (arg1
)->ComputeScaleAndOrigin();
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 Py_INCREF(Py_None
); resultobj
= Py_None
;
16926 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
= NULL
;
16928 wxDC
*arg1
= (wxDC
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 PyObject
* obj1
= 0 ;
16933 PyObject
* obj2
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "self",(char *) "x",(char *) "y", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16940 if (SWIG_arg_fail(1)) SWIG_fail
;
16942 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16943 if (SWIG_arg_fail(2)) SWIG_fail
;
16946 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16947 if (SWIG_arg_fail(3)) SWIG_fail
;
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 (arg1
)->CalcBoundingBox(arg2
,arg3
);
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 Py_INCREF(Py_None
); resultobj
= Py_None
;
16963 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
= NULL
;
16965 wxDC
*arg1
= (wxDC
*) 0 ;
16966 wxPoint
*arg2
= 0 ;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self",(char *) "point", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16976 if (SWIG_arg_fail(1)) SWIG_fail
;
16979 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 Py_INCREF(Py_None
); resultobj
= Py_None
;
16995 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
= NULL
;
16997 wxDC
*arg1
= (wxDC
*) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
17004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17005 if (SWIG_arg_fail(1)) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 (arg1
)->ResetBoundingBox();
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 Py_INCREF(Py_None
); resultobj
= Py_None
;
17020 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
= NULL
;
17022 wxDC
*arg1
= (wxDC
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (int)((wxDC
const *)arg1
)->MinX();
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= SWIG_From_int(static_cast<int >(result
));
17048 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
= NULL
;
17050 wxDC
*arg1
= (wxDC
*) 0 ;
17052 PyObject
* obj0
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "self", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
17058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17059 if (SWIG_arg_fail(1)) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (int)((wxDC
const *)arg1
)->MaxX();
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= SWIG_From_int(static_cast<int >(result
));
17076 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
= NULL
;
17078 wxDC
*arg1
= (wxDC
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 char *kwnames
[] = {
17082 (char *) "self", NULL
17085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
17086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17087 if (SWIG_arg_fail(1)) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (int)((wxDC
const *)arg1
)->MinY();
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_From_int(static_cast<int >(result
));
17104 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
= NULL
;
17106 wxDC
*arg1
= (wxDC
*) 0 ;
17108 PyObject
* obj0
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
17114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17115 if (SWIG_arg_fail(1)) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= (int)((wxDC
const *)arg1
)->MaxY();
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 resultobj
= SWIG_From_int(static_cast<int >(result
));
17132 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
= NULL
;
17134 wxDC
*arg1
= (wxDC
*) 0 ;
17135 int *arg2
= (int *) 0 ;
17136 int *arg3
= (int *) 0 ;
17137 int *arg4
= (int *) 0 ;
17138 int *arg5
= (int *) 0 ;
17147 PyObject
* obj0
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self", NULL
17152 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17153 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17154 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17155 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
17157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17158 if (SWIG_arg_fail(1)) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 Py_INCREF(Py_None
); resultobj
= Py_None
;
17167 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17168 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17169 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17170 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17171 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17172 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17173 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
17174 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
17181 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
= NULL
;
17183 wxDC
*arg1
= (wxDC
*) 0 ;
17184 PyObject
*arg2
= (PyObject
*) 0 ;
17185 PyObject
*arg3
= (PyObject
*) 0 ;
17186 PyObject
*arg4
= (PyObject
*) 0 ;
17188 PyObject
* obj0
= 0 ;
17189 PyObject
* obj1
= 0 ;
17190 PyObject
* obj2
= 0 ;
17191 PyObject
* obj3
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17198 if (SWIG_arg_fail(1)) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= result
;
17216 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
= NULL
;
17218 wxDC
*arg1
= (wxDC
*) 0 ;
17219 PyObject
*arg2
= (PyObject
*) 0 ;
17220 PyObject
*arg3
= (PyObject
*) 0 ;
17221 PyObject
*arg4
= (PyObject
*) 0 ;
17223 PyObject
* obj0
= 0 ;
17224 PyObject
* obj1
= 0 ;
17225 PyObject
* obj2
= 0 ;
17226 PyObject
* obj3
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17233 if (SWIG_arg_fail(1)) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= result
;
17251 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
= NULL
;
17253 wxDC
*arg1
= (wxDC
*) 0 ;
17254 PyObject
*arg2
= (PyObject
*) 0 ;
17255 PyObject
*arg3
= (PyObject
*) 0 ;
17256 PyObject
*arg4
= (PyObject
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 PyObject
* obj2
= 0 ;
17261 PyObject
* obj3
= 0 ;
17262 char *kwnames
[] = {
17263 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17268 if (SWIG_arg_fail(1)) SWIG_fail
;
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= result
;
17286 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
= NULL
;
17288 wxDC
*arg1
= (wxDC
*) 0 ;
17289 PyObject
*arg2
= (PyObject
*) 0 ;
17290 PyObject
*arg3
= (PyObject
*) 0 ;
17291 PyObject
*arg4
= (PyObject
*) 0 ;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 PyObject
* obj2
= 0 ;
17296 PyObject
* obj3
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17303 if (SWIG_arg_fail(1)) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= result
;
17321 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
= NULL
;
17323 wxDC
*arg1
= (wxDC
*) 0 ;
17324 PyObject
*arg2
= (PyObject
*) 0 ;
17325 PyObject
*arg3
= (PyObject
*) 0 ;
17326 PyObject
*arg4
= (PyObject
*) 0 ;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 PyObject
* obj2
= 0 ;
17331 PyObject
* obj3
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17338 if (SWIG_arg_fail(1)) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= result
;
17356 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
= NULL
;
17358 wxDC
*arg1
= (wxDC
*) 0 ;
17359 PyObject
*arg2
= (PyObject
*) 0 ;
17360 PyObject
*arg3
= (PyObject
*) 0 ;
17361 PyObject
*arg4
= (PyObject
*) 0 ;
17362 PyObject
*arg5
= (PyObject
*) 0 ;
17364 PyObject
* obj0
= 0 ;
17365 PyObject
* obj1
= 0 ;
17366 PyObject
* obj2
= 0 ;
17367 PyObject
* obj3
= 0 ;
17368 PyObject
* obj4
= 0 ;
17369 char *kwnames
[] = {
17370 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17375 if (SWIG_arg_fail(1)) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= result
;
17394 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17397 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17399 return Py_BuildValue((char *)"");
17401 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
= NULL
;
17403 wxMemoryDC
*result
;
17404 char *kwnames
[] = {
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17410 if (!wxPyCheckForApp()) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (wxMemoryDC
*)new wxMemoryDC();
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17424 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
= NULL
;
17426 wxDC
*arg1
= (wxDC
*) 0 ;
17427 wxMemoryDC
*result
;
17428 PyObject
* obj0
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "oldDC", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17435 if (SWIG_arg_fail(1)) SWIG_fail
;
17437 if (!wxPyCheckForApp()) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17451 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
= NULL
;
17453 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17454 wxBitmap
*arg2
= 0 ;
17455 PyObject
* obj0
= 0 ;
17456 PyObject
* obj1
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self",(char *) "bitmap", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17463 if (SWIG_arg_fail(1)) SWIG_fail
;
17465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17466 if (SWIG_arg_fail(2)) SWIG_fail
;
17467 if (arg2
== NULL
) {
17468 SWIG_null_ref("wxBitmap");
17470 if (SWIG_arg_fail(2)) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 Py_INCREF(Py_None
); resultobj
= Py_None
;
17486 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17489 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17491 return Py_BuildValue((char *)"");
17493 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17494 PyObject
*resultobj
= NULL
;
17495 wxDC
*arg1
= (wxDC
*) 0 ;
17496 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17497 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17498 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17499 wxBufferedDC
*result
;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 PyObject
* obj2
= 0 ;
17504 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17506 if (SWIG_arg_fail(1)) SWIG_fail
;
17509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17510 if (SWIG_arg_fail(2)) SWIG_fail
;
17511 if (arg2
== NULL
) {
17512 SWIG_null_ref("wxBitmap");
17514 if (SWIG_arg_fail(2)) SWIG_fail
;
17519 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17520 if (SWIG_arg_fail(3)) SWIG_fail
;
17524 if (!wxPyCheckForApp()) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17538 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
17539 PyObject
*resultobj
= NULL
;
17540 wxDC
*arg1
= (wxDC
*) 0 ;
17542 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17543 wxBufferedDC
*result
;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 PyObject
* obj2
= 0 ;
17549 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17551 if (SWIG_arg_fail(1)) SWIG_fail
;
17554 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17558 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17559 if (SWIG_arg_fail(3)) SWIG_fail
;
17563 if (!wxPyCheckForApp()) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17577 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
17582 argc
= PyObject_Length(args
);
17583 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
17584 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17586 if ((argc
>= 1) && (argc
<= 3)) {
17590 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17599 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17603 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
17612 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17614 _v
= SWIG_Check_int(argv
[2]);
17616 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17621 if ((argc
>= 2) && (argc
<= 3)) {
17625 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17634 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
17638 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17640 _v
= SWIG_Check_int(argv
[2]);
17642 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17648 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
17653 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
= NULL
;
17655 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17656 PyObject
* obj0
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
17662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17663 if (SWIG_arg_fail(1)) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 Py_INCREF(Py_None
); resultobj
= Py_None
;
17678 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
= NULL
;
17680 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17681 PyObject
* obj0
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
17687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17688 if (SWIG_arg_fail(1)) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 Py_INCREF(Py_None
); resultobj
= Py_None
;
17703 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
17705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17706 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
17708 return Py_BuildValue((char *)"");
17710 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
= NULL
;
17712 wxWindow
*arg1
= (wxWindow
*) 0 ;
17713 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17714 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17715 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17716 wxBufferedPaintDC
*result
;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 PyObject
* obj2
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "window",(char *) "buffer",(char *) "style", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17726 if (SWIG_arg_fail(1)) SWIG_fail
;
17729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17730 if (SWIG_arg_fail(2)) SWIG_fail
;
17731 if (arg2
== NULL
) {
17732 SWIG_null_ref("wxBitmap");
17734 if (SWIG_arg_fail(2)) SWIG_fail
;
17739 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17740 if (SWIG_arg_fail(3)) SWIG_fail
;
17744 if (!wxPyCheckForApp()) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
17758 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
17760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17761 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
17763 return Py_BuildValue((char *)"");
17765 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
= NULL
;
17767 wxScreenDC
*result
;
17768 char *kwnames
[] = {
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
17774 if (!wxPyCheckForApp()) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (wxScreenDC
*)new wxScreenDC();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
17788 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
= NULL
;
17790 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17791 wxWindow
*arg2
= (wxWindow
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 PyObject
* obj1
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self",(char *) "window", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
17800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17801 if (SWIG_arg_fail(1)) SWIG_fail
;
17802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17803 if (SWIG_arg_fail(2)) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17820 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
= NULL
;
17822 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17823 wxRect
*arg2
= (wxRect
*) NULL
;
17825 PyObject
* obj0
= 0 ;
17826 PyObject
* obj1
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "self",(char *) "rect", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
17832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17833 if (SWIG_arg_fail(1)) SWIG_fail
;
17835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
17836 if (SWIG_arg_fail(2)) SWIG_fail
;
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17854 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
= NULL
;
17856 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17858 PyObject
* obj0
= 0 ;
17859 char *kwnames
[] = {
17860 (char *) "self", NULL
17863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
17864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17865 if (SWIG_arg_fail(1)) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 result
= (bool)(arg1
)->EndDrawingOnTop();
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17882 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
17884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17885 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
17887 return Py_BuildValue((char *)"");
17889 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17890 PyObject
*resultobj
= NULL
;
17891 wxWindow
*arg1
= (wxWindow
*) 0 ;
17892 wxClientDC
*result
;
17893 PyObject
* obj0
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "win", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
17899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17900 if (SWIG_arg_fail(1)) SWIG_fail
;
17902 if (!wxPyCheckForApp()) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 result
= (wxClientDC
*)new wxClientDC(arg1
);
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
17916 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
17918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17919 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
17921 return Py_BuildValue((char *)"");
17923 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
= NULL
;
17925 wxWindow
*arg1
= (wxWindow
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "win", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
17933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17934 if (SWIG_arg_fail(1)) SWIG_fail
;
17936 if (!wxPyCheckForApp()) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
17950 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
17952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17953 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
17955 return Py_BuildValue((char *)"");
17957 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
= NULL
;
17959 wxWindow
*arg1
= (wxWindow
*) 0 ;
17960 wxWindowDC
*result
;
17961 PyObject
* obj0
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "win", NULL
17966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
17967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17968 if (SWIG_arg_fail(1)) SWIG_fail
;
17970 if (!wxPyCheckForApp()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
17984 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
17986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17987 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
17989 return Py_BuildValue((char *)"");
17991 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
= NULL
;
17995 wxMirrorDC
*result
;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "dc",(char *) "mirror", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18005 if (SWIG_arg_fail(1)) SWIG_fail
;
18006 if (arg1
== NULL
) {
18007 SWIG_null_ref("wxDC");
18009 if (SWIG_arg_fail(1)) SWIG_fail
;
18012 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18013 if (SWIG_arg_fail(2)) SWIG_fail
;
18016 if (!wxPyCheckForApp()) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
18030 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
18032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18033 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
18035 return Py_BuildValue((char *)"");
18037 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
= NULL
;
18039 wxPrintData
*arg1
= 0 ;
18040 wxPostScriptDC
*result
;
18041 PyObject
* obj0
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "printData", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
18048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18049 if (SWIG_arg_fail(1)) SWIG_fail
;
18050 if (arg1
== NULL
) {
18051 SWIG_null_ref("wxPrintData");
18053 if (SWIG_arg_fail(1)) SWIG_fail
;
18056 if (!wxPyCheckForApp()) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
18070 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18071 PyObject
*resultobj
= NULL
;
18072 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18073 wxPrintData
*result
;
18074 PyObject
* obj0
= 0 ;
18075 char *kwnames
[] = {
18076 (char *) "self", NULL
18079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
18080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18081 if (SWIG_arg_fail(1)) SWIG_fail
;
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18086 result
= (wxPrintData
*) &_result_ref
;
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18099 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
= NULL
;
18101 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18102 wxPrintData
*arg2
= 0 ;
18103 PyObject
* obj0
= 0 ;
18104 PyObject
* obj1
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self",(char *) "data", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18111 if (SWIG_arg_fail(1)) SWIG_fail
;
18113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18114 if (SWIG_arg_fail(2)) SWIG_fail
;
18115 if (arg2
== NULL
) {
18116 SWIG_null_ref("wxPrintData");
18118 if (SWIG_arg_fail(2)) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 Py_INCREF(Py_None
); resultobj
= Py_None
;
18134 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
= NULL
;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "ppi", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
18144 arg1
= static_cast<int >(SWIG_As_int(obj0
));
18145 if (SWIG_arg_fail(1)) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 wxPostScriptDC::SetResolution(arg1
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 Py_INCREF(Py_None
); resultobj
= Py_None
;
18161 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
= NULL
;
18164 char *kwnames
[] = {
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= (int)wxPostScriptDC::GetResolution();
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_From_int(static_cast<int >(result
));
18185 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
18187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18188 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
18190 return Py_BuildValue((char *)"");
18192 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= NULL
;
18194 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18195 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18196 wxMetaFile
*result
;
18197 bool temp1
= false ;
18198 PyObject
* obj0
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "filename", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
18206 arg1
= wxString_in_helper(obj0
);
18207 if (arg1
== NULL
) SWIG_fail
;
18212 if (!wxPyCheckForApp()) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
18234 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
= NULL
;
18236 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18237 PyObject
* obj0
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
18243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18244 if (SWIG_arg_fail(1)) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 Py_INCREF(Py_None
); resultobj
= Py_None
;
18259 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
= NULL
;
18261 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
18269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18270 if (SWIG_arg_fail(1)) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 result
= (bool)(arg1
)->Ok();
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18287 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
= NULL
;
18289 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18290 int arg2
= (int) 0 ;
18291 int arg3
= (int) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 PyObject
* obj1
= 0 ;
18295 PyObject
* obj2
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self",(char *) "width",(char *) "height", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18302 if (SWIG_arg_fail(1)) SWIG_fail
;
18305 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18306 if (SWIG_arg_fail(2)) SWIG_fail
;
18311 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18312 if (SWIG_arg_fail(3)) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18331 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
= NULL
;
18333 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
18341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18342 if (SWIG_arg_fail(1)) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (arg1
)->GetSize();
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18351 wxSize
* resultptr
;
18352 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18361 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
= NULL
;
18363 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
18371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18372 if (SWIG_arg_fail(1)) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 result
= (int)(arg1
)->GetWidth();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= SWIG_From_int(static_cast<int >(result
));
18389 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
= NULL
;
18391 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18393 PyObject
* obj0
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
18399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(1)) SWIG_fail
;
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 result
= (int)(arg1
)->GetHeight();
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= SWIG_From_int(static_cast<int >(result
));
18417 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
18419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18420 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
18422 return Py_BuildValue((char *)"");
18424 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
= NULL
;
18426 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18427 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18428 int arg2
= (int) 0 ;
18429 int arg3
= (int) 0 ;
18430 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18431 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18432 wxMetaFileDC
*result
;
18433 bool temp1
= false ;
18434 bool temp4
= false ;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj1
= 0 ;
18437 PyObject
* obj2
= 0 ;
18438 PyObject
* obj3
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18446 arg1
= wxString_in_helper(obj0
);
18447 if (arg1
== NULL
) SWIG_fail
;
18453 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18454 if (SWIG_arg_fail(2)) SWIG_fail
;
18459 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18460 if (SWIG_arg_fail(3)) SWIG_fail
;
18465 arg4
= wxString_in_helper(obj3
);
18466 if (arg4
== NULL
) SWIG_fail
;
18471 if (!wxPyCheckForApp()) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
18501 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
= NULL
;
18503 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
18504 wxMetaFile
*result
;
18505 PyObject
* obj0
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
18511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION
| 0);
18512 if (SWIG_arg_fail(1)) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (wxMetaFile
*)(arg1
)->Close();
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
18527 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
18529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18530 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
18532 return Py_BuildValue((char *)"");
18534 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
= NULL
;
18536 wxPrintData
*arg1
= 0 ;
18537 wxPrinterDC
*result
;
18538 PyObject
* obj0
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "printData", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
18545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18546 if (SWIG_arg_fail(1)) SWIG_fail
;
18547 if (arg1
== NULL
) {
18548 SWIG_null_ref("wxPrintData");
18550 if (SWIG_arg_fail(1)) SWIG_fail
;
18553 if (!wxPyCheckForApp()) SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
18567 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
18569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18570 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
18572 return Py_BuildValue((char *)"");
18574 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
= NULL
;
18578 int arg3
= (int) true ;
18579 int arg4
= (int) 1 ;
18580 wxImageList
*result
;
18581 PyObject
* obj0
= 0 ;
18582 PyObject
* obj1
= 0 ;
18583 PyObject
* obj2
= 0 ;
18584 PyObject
* obj3
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18591 arg1
= static_cast<int >(SWIG_As_int(obj0
));
18592 if (SWIG_arg_fail(1)) SWIG_fail
;
18595 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18596 if (SWIG_arg_fail(2)) SWIG_fail
;
18600 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18601 if (SWIG_arg_fail(3)) SWIG_fail
;
18606 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18607 if (SWIG_arg_fail(4)) SWIG_fail
;
18611 if (!wxPyCheckForApp()) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= wxPyMake_wxObject(result
, (bool)1);
18627 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
= NULL
;
18629 wxImageList
*arg1
= (wxImageList
*) 0 ;
18630 PyObject
* obj0
= 0 ;
18631 char *kwnames
[] = {
18632 (char *) "self", NULL
18635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
18636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18637 if (SWIG_arg_fail(1)) SWIG_fail
;
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18645 Py_INCREF(Py_None
); resultobj
= Py_None
;
18652 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18653 PyObject
*resultobj
= NULL
;
18654 wxImageList
*arg1
= (wxImageList
*) 0 ;
18655 wxBitmap
*arg2
= 0 ;
18656 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
18657 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
18659 PyObject
* obj0
= 0 ;
18660 PyObject
* obj1
= 0 ;
18661 PyObject
* obj2
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18668 if (SWIG_arg_fail(1)) SWIG_fail
;
18670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18671 if (SWIG_arg_fail(2)) SWIG_fail
;
18672 if (arg2
== NULL
) {
18673 SWIG_null_ref("wxBitmap");
18675 if (SWIG_arg_fail(2)) SWIG_fail
;
18679 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18680 if (SWIG_arg_fail(3)) SWIG_fail
;
18681 if (arg3
== NULL
) {
18682 SWIG_null_ref("wxBitmap");
18684 if (SWIG_arg_fail(3)) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= SWIG_From_int(static_cast<int >(result
));
18703 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
= NULL
;
18705 wxImageList
*arg1
= (wxImageList
*) 0 ;
18706 wxBitmap
*arg2
= 0 ;
18707 wxColour
*arg3
= 0 ;
18710 PyObject
* obj0
= 0 ;
18711 PyObject
* obj1
= 0 ;
18712 PyObject
* obj2
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18719 if (SWIG_arg_fail(1)) SWIG_fail
;
18721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18722 if (SWIG_arg_fail(2)) SWIG_fail
;
18723 if (arg2
== NULL
) {
18724 SWIG_null_ref("wxBitmap");
18726 if (SWIG_arg_fail(2)) SWIG_fail
;
18730 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_From_int(static_cast<int >(result
));
18748 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
= NULL
;
18750 wxImageList
*arg1
= (wxImageList
*) 0 ;
18753 PyObject
* obj0
= 0 ;
18754 PyObject
* obj1
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self",(char *) "icon", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail
;
18763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
18764 if (SWIG_arg_fail(2)) SWIG_fail
;
18765 if (arg2
== NULL
) {
18766 SWIG_null_ref("wxIcon");
18768 if (SWIG_arg_fail(2)) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= SWIG_From_int(static_cast<int >(result
));
18786 static PyObject
*_wrap_ImageList_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
= NULL
;
18788 wxImageList
*arg1
= (wxImageList
*) 0 ;
18790 SwigValueWrapper
<wxBitmap
> result
;
18791 PyObject
* obj0
= 0 ;
18792 PyObject
* obj1
= 0 ;
18793 char *kwnames
[] = {
18794 (char *) "self",(char *) "index", NULL
18797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
18798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18799 if (SWIG_arg_fail(1)) SWIG_fail
;
18801 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18802 if (SWIG_arg_fail(2)) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18812 wxBitmap
* resultptr
;
18813 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
18814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18822 static PyObject
*_wrap_ImageList_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
= NULL
;
18824 wxImageList
*arg1
= (wxImageList
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 PyObject
* obj1
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "self",(char *) "index", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18835 if (SWIG_arg_fail(1)) SWIG_fail
;
18837 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18838 if (SWIG_arg_fail(2)) SWIG_fail
;
18841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18842 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18848 wxIcon
* resultptr
;
18849 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
18850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
18858 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
= NULL
;
18860 wxImageList
*arg1
= (wxImageList
*) 0 ;
18862 wxBitmap
*arg3
= 0 ;
18864 PyObject
* obj0
= 0 ;
18865 PyObject
* obj1
= 0 ;
18866 PyObject
* obj2
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "self",(char *) "index",(char *) "bitmap", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18873 if (SWIG_arg_fail(1)) SWIG_fail
;
18875 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18876 if (SWIG_arg_fail(2)) SWIG_fail
;
18879 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18880 if (SWIG_arg_fail(3)) SWIG_fail
;
18881 if (arg3
== NULL
) {
18882 SWIG_null_ref("wxBitmap");
18884 if (SWIG_arg_fail(3)) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18902 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
= NULL
;
18904 wxImageList
*arg1
= (wxImageList
*) 0 ;
18909 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
18910 bool arg7
= (bool) (bool)false ;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 PyObject
* obj2
= 0 ;
18915 PyObject
* obj3
= 0 ;
18916 PyObject
* obj4
= 0 ;
18917 PyObject
* obj5
= 0 ;
18918 PyObject
* obj6
= 0 ;
18919 char *kwnames
[] = {
18920 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18925 if (SWIG_arg_fail(1)) SWIG_fail
;
18927 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18928 if (SWIG_arg_fail(2)) SWIG_fail
;
18931 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18932 if (SWIG_arg_fail(3)) SWIG_fail
;
18933 if (arg3
== NULL
) {
18934 SWIG_null_ref("wxDC");
18936 if (SWIG_arg_fail(3)) SWIG_fail
;
18939 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18940 if (SWIG_arg_fail(4)) SWIG_fail
;
18943 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18944 if (SWIG_arg_fail(5)) SWIG_fail
;
18948 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18949 if (SWIG_arg_fail(6)) SWIG_fail
;
18954 arg7
= static_cast<bool const >(SWIG_As_bool(obj6
));
18955 if (SWIG_arg_fail(7)) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18974 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
= NULL
;
18976 wxImageList
*arg1
= (wxImageList
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
18984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18985 if (SWIG_arg_fail(1)) SWIG_fail
;
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 result
= (int)(arg1
)->GetImageCount();
18990 wxPyEndAllowThreads(__tstate
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18994 resultobj
= SWIG_From_int(static_cast<int >(result
));
19002 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
= NULL
;
19004 wxImageList
*arg1
= (wxImageList
*) 0 ;
19007 PyObject
* obj0
= 0 ;
19008 PyObject
* obj1
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "self",(char *) "index", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
19014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19015 if (SWIG_arg_fail(1)) SWIG_fail
;
19017 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19018 if (SWIG_arg_fail(2)) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 result
= (bool)(arg1
)->Remove(arg2
);
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19036 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
= NULL
;
19038 wxImageList
*arg1
= (wxImageList
*) 0 ;
19040 PyObject
* obj0
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
19046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19047 if (SWIG_arg_fail(1)) SWIG_fail
;
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 result
= (bool)(arg1
)->RemoveAll();
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19064 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
= NULL
;
19066 wxImageList
*arg1
= (wxImageList
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "index", NULL
19080 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19081 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail
;
19086 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19087 if (SWIG_arg_fail(2)) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19096 Py_INCREF(Py_None
); resultobj
= Py_None
;
19097 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19098 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19099 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
19100 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
19107 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
19109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19110 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
19112 return Py_BuildValue((char *)"");
19114 static int _wrap_NORMAL_FONT_set(PyObject
*) {
19115 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
19120 static PyObject
*_wrap_NORMAL_FONT_get(void) {
19121 PyObject
*pyobj
= NULL
;
19123 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
19128 static int _wrap_SMALL_FONT_set(PyObject
*) {
19129 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
19134 static PyObject
*_wrap_SMALL_FONT_get(void) {
19135 PyObject
*pyobj
= NULL
;
19137 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
19142 static int _wrap_ITALIC_FONT_set(PyObject
*) {
19143 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
19148 static PyObject
*_wrap_ITALIC_FONT_get(void) {
19149 PyObject
*pyobj
= NULL
;
19151 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
19156 static int _wrap_SWISS_FONT_set(PyObject
*) {
19157 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
19162 static PyObject
*_wrap_SWISS_FONT_get(void) {
19163 PyObject
*pyobj
= NULL
;
19165 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
19170 static int _wrap_RED_PEN_set(PyObject
*) {
19171 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
19176 static PyObject
*_wrap_RED_PEN_get(void) {
19177 PyObject
*pyobj
= NULL
;
19179 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
19184 static int _wrap_CYAN_PEN_set(PyObject
*) {
19185 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
19190 static PyObject
*_wrap_CYAN_PEN_get(void) {
19191 PyObject
*pyobj
= NULL
;
19193 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
19198 static int _wrap_GREEN_PEN_set(PyObject
*) {
19199 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
19204 static PyObject
*_wrap_GREEN_PEN_get(void) {
19205 PyObject
*pyobj
= NULL
;
19207 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
19212 static int _wrap_BLACK_PEN_set(PyObject
*) {
19213 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
19218 static PyObject
*_wrap_BLACK_PEN_get(void) {
19219 PyObject
*pyobj
= NULL
;
19221 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
19226 static int _wrap_WHITE_PEN_set(PyObject
*) {
19227 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
19232 static PyObject
*_wrap_WHITE_PEN_get(void) {
19233 PyObject
*pyobj
= NULL
;
19235 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
19240 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
19241 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
19246 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
19247 PyObject
*pyobj
= NULL
;
19249 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
19254 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
19255 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
19260 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
19261 PyObject
*pyobj
= NULL
;
19263 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
19268 static int _wrap_GREY_PEN_set(PyObject
*) {
19269 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
19274 static PyObject
*_wrap_GREY_PEN_get(void) {
19275 PyObject
*pyobj
= NULL
;
19277 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19282 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
19283 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
19288 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
19289 PyObject
*pyobj
= NULL
;
19291 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19296 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
19297 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
19302 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
19303 PyObject
*pyobj
= NULL
;
19305 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19310 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
19311 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
19316 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
19317 PyObject
*pyobj
= NULL
;
19319 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19324 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
19325 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
19330 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
19331 PyObject
*pyobj
= NULL
;
19333 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19338 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
19339 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
19344 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
19345 PyObject
*pyobj
= NULL
;
19347 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19352 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
19353 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
19358 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
19359 PyObject
*pyobj
= NULL
;
19361 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19366 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
19367 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
19372 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
19373 PyObject
*pyobj
= NULL
;
19375 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19380 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19381 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19386 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19387 PyObject
*pyobj
= NULL
;
19389 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19394 static int _wrap_RED_BRUSH_set(PyObject
*) {
19395 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
19400 static PyObject
*_wrap_RED_BRUSH_get(void) {
19401 PyObject
*pyobj
= NULL
;
19403 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19408 static int _wrap_GREY_BRUSH_set(PyObject
*) {
19409 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
19414 static PyObject
*_wrap_GREY_BRUSH_get(void) {
19415 PyObject
*pyobj
= NULL
;
19417 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19422 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
19423 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
19428 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
19429 PyObject
*pyobj
= NULL
;
19431 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19436 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
19437 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
19442 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
19443 PyObject
*pyobj
= NULL
;
19445 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19450 static int _wrap_BLACK_set(PyObject
*) {
19451 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
19456 static PyObject
*_wrap_BLACK_get(void) {
19457 PyObject
*pyobj
= NULL
;
19459 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
19464 static int _wrap_WHITE_set(PyObject
*) {
19465 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
19470 static PyObject
*_wrap_WHITE_get(void) {
19471 PyObject
*pyobj
= NULL
;
19473 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
19478 static int _wrap_RED_set(PyObject
*) {
19479 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
19484 static PyObject
*_wrap_RED_get(void) {
19485 PyObject
*pyobj
= NULL
;
19487 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
19492 static int _wrap_BLUE_set(PyObject
*) {
19493 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
19498 static PyObject
*_wrap_BLUE_get(void) {
19499 PyObject
*pyobj
= NULL
;
19501 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
19506 static int _wrap_GREEN_set(PyObject
*) {
19507 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
19512 static PyObject
*_wrap_GREEN_get(void) {
19513 PyObject
*pyobj
= NULL
;
19515 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
19520 static int _wrap_CYAN_set(PyObject
*) {
19521 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
19526 static PyObject
*_wrap_CYAN_get(void) {
19527 PyObject
*pyobj
= NULL
;
19529 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
19534 static int _wrap_LIGHT_GREY_set(PyObject
*) {
19535 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
19540 static PyObject
*_wrap_LIGHT_GREY_get(void) {
19541 PyObject
*pyobj
= NULL
;
19543 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
19548 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
19549 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
19554 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
19555 PyObject
*pyobj
= NULL
;
19557 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19562 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
19563 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
19568 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
19569 PyObject
*pyobj
= NULL
;
19571 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19576 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
19577 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
19582 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
19583 PyObject
*pyobj
= NULL
;
19585 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19590 static int _wrap_NullBitmap_set(PyObject
*) {
19591 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
19596 static PyObject
*_wrap_NullBitmap_get(void) {
19597 PyObject
*pyobj
= NULL
;
19599 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
19604 static int _wrap_NullIcon_set(PyObject
*) {
19605 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
19610 static PyObject
*_wrap_NullIcon_get(void) {
19611 PyObject
*pyobj
= NULL
;
19613 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
19618 static int _wrap_NullCursor_set(PyObject
*) {
19619 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
19624 static PyObject
*_wrap_NullCursor_get(void) {
19625 PyObject
*pyobj
= NULL
;
19627 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
19632 static int _wrap_NullPen_set(PyObject
*) {
19633 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
19638 static PyObject
*_wrap_NullPen_get(void) {
19639 PyObject
*pyobj
= NULL
;
19641 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
19646 static int _wrap_NullBrush_set(PyObject
*) {
19647 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
19652 static PyObject
*_wrap_NullBrush_get(void) {
19653 PyObject
*pyobj
= NULL
;
19655 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
19660 static int _wrap_NullPalette_set(PyObject
*) {
19661 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
19666 static PyObject
*_wrap_NullPalette_get(void) {
19667 PyObject
*pyobj
= NULL
;
19669 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
19674 static int _wrap_NullFont_set(PyObject
*) {
19675 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
19680 static PyObject
*_wrap_NullFont_get(void) {
19681 PyObject
*pyobj
= NULL
;
19683 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
19688 static int _wrap_NullColour_set(PyObject
*) {
19689 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
19694 static PyObject
*_wrap_NullColour_get(void) {
19695 PyObject
*pyobj
= NULL
;
19697 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
19702 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
= NULL
;
19704 wxPenList
*arg1
= (wxPenList
*) 0 ;
19705 wxPen
*arg2
= (wxPen
*) 0 ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self",(char *) "pen", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
19713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19714 if (SWIG_arg_fail(1)) SWIG_fail
;
19715 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19716 if (SWIG_arg_fail(2)) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 (arg1
)->AddPen(arg2
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19724 Py_INCREF(Py_None
); resultobj
= Py_None
;
19731 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
= NULL
;
19733 wxPenList
*arg1
= (wxPenList
*) 0 ;
19734 wxColour
*arg2
= 0 ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 PyObject
* obj2
= 0 ;
19742 PyObject
* obj3
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19749 if (SWIG_arg_fail(1)) SWIG_fail
;
19752 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19755 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19756 if (SWIG_arg_fail(3)) SWIG_fail
;
19759 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19760 if (SWIG_arg_fail(4)) SWIG_fail
;
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
19776 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
= NULL
;
19778 wxPenList
*arg1
= (wxPenList
*) 0 ;
19779 wxPen
*arg2
= (wxPen
*) 0 ;
19780 PyObject
* obj0
= 0 ;
19781 PyObject
* obj1
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self",(char *) "pen", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
19787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19788 if (SWIG_arg_fail(1)) SWIG_fail
;
19789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19790 if (SWIG_arg_fail(2)) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 (arg1
)->RemovePen(arg2
);
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19798 Py_INCREF(Py_None
); resultobj
= Py_None
;
19805 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
= NULL
;
19807 wxPenList
*arg1
= (wxPenList
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
19815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19816 if (SWIG_arg_fail(1)) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 result
= (int)(arg1
)->GetCount();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= SWIG_From_int(static_cast<int >(result
));
19833 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
19835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19836 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
19838 return Py_BuildValue((char *)"");
19840 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
= NULL
;
19842 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19843 wxBrush
*arg2
= (wxBrush
*) 0 ;
19844 PyObject
* obj0
= 0 ;
19845 PyObject
* obj1
= 0 ;
19846 char *kwnames
[] = {
19847 (char *) "self",(char *) "brush", NULL
19850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19852 if (SWIG_arg_fail(1)) SWIG_fail
;
19853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19854 if (SWIG_arg_fail(2)) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 (arg1
)->AddBrush(arg2
);
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 Py_INCREF(Py_None
); resultobj
= Py_None
;
19869 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
= NULL
;
19871 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19872 wxColour
*arg2
= 0 ;
19873 int arg3
= (int) wxSOLID
;
19876 PyObject
* obj0
= 0 ;
19877 PyObject
* obj1
= 0 ;
19878 PyObject
* obj2
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self",(char *) "colour",(char *) "style", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail
;
19888 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19892 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19893 if (SWIG_arg_fail(3)) SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
19910 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
= NULL
;
19912 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19913 wxBrush
*arg2
= (wxBrush
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 PyObject
* obj1
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self",(char *) "brush", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19922 if (SWIG_arg_fail(1)) SWIG_fail
;
19923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19924 if (SWIG_arg_fail(2)) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 (arg1
)->RemoveBrush(arg2
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 Py_INCREF(Py_None
); resultobj
= Py_None
;
19939 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
= NULL
;
19941 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
19949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19950 if (SWIG_arg_fail(1)) SWIG_fail
;
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= (int)(arg1
)->GetCount();
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_From_int(static_cast<int >(result
));
19967 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
19969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19970 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
19972 return Py_BuildValue((char *)"");
19974 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
= NULL
;
19976 wxColourDatabase
*result
;
19977 char *kwnames
[] = {
19981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
19983 if (!wxPyCheckForApp()) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (wxColourDatabase
*)new wxColourDatabase();
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
19997 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
= NULL
;
19999 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20000 PyObject
* obj0
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
20006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20007 if (SWIG_arg_fail(1)) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 Py_INCREF(Py_None
); resultobj
= Py_None
;
20022 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
= NULL
;
20024 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20025 wxString
*arg2
= 0 ;
20027 bool temp2
= false ;
20028 PyObject
* obj0
= 0 ;
20029 PyObject
* obj1
= 0 ;
20030 char *kwnames
[] = {
20031 (char *) "self",(char *) "name", NULL
20034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
20035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20036 if (SWIG_arg_fail(1)) SWIG_fail
;
20038 arg2
= wxString_in_helper(obj1
);
20039 if (arg2
== NULL
) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20050 wxColour
* resultptr
;
20051 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20068 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
= NULL
;
20070 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20071 wxColour
*arg2
= 0 ;
20074 PyObject
* obj0
= 0 ;
20075 PyObject
* obj1
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self",(char *) "colour", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
20081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20082 if (SWIG_arg_fail(1)) SWIG_fail
;
20085 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20107 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
= NULL
;
20109 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20110 wxString
*arg2
= 0 ;
20111 wxColour
*arg3
= 0 ;
20112 bool temp2
= false ;
20114 PyObject
* obj0
= 0 ;
20115 PyObject
* obj1
= 0 ;
20116 PyObject
* obj2
= 0 ;
20117 char *kwnames
[] = {
20118 (char *) "self",(char *) "name",(char *) "colour", NULL
20121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20123 if (SWIG_arg_fail(1)) SWIG_fail
;
20125 arg2
= wxString_in_helper(obj1
);
20126 if (arg2
== NULL
) SWIG_fail
;
20131 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 Py_INCREF(Py_None
); resultobj
= Py_None
;
20155 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
= NULL
;
20157 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20158 wxString
*arg2
= 0 ;
20162 bool temp2
= false ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 PyObject
* obj2
= 0 ;
20166 PyObject
* obj3
= 0 ;
20167 PyObject
* obj4
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20174 if (SWIG_arg_fail(1)) SWIG_fail
;
20176 arg2
= wxString_in_helper(obj1
);
20177 if (arg2
== NULL
) SWIG_fail
;
20181 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20182 if (SWIG_arg_fail(3)) SWIG_fail
;
20185 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20186 if (SWIG_arg_fail(4)) SWIG_fail
;
20189 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20190 if (SWIG_arg_fail(5)) SWIG_fail
;
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 Py_INCREF(Py_None
); resultobj
= Py_None
;
20214 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
20216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20217 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
20219 return Py_BuildValue((char *)"");
20221 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20222 PyObject
*resultobj
= NULL
;
20223 wxFontList
*arg1
= (wxFontList
*) 0 ;
20224 wxFont
*arg2
= (wxFont
*) 0 ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 char *kwnames
[] = {
20228 (char *) "self",(char *) "font", NULL
20231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20233 if (SWIG_arg_fail(1)) SWIG_fail
;
20234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20235 if (SWIG_arg_fail(2)) SWIG_fail
;
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 (arg1
)->AddFont(arg2
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 Py_INCREF(Py_None
); resultobj
= Py_None
;
20250 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
= NULL
;
20252 wxFontList
*arg1
= (wxFontList
*) 0 ;
20257 bool arg6
= (bool) false ;
20258 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20259 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20260 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
20262 bool temp7
= false ;
20263 PyObject
* obj0
= 0 ;
20264 PyObject
* obj1
= 0 ;
20265 PyObject
* obj2
= 0 ;
20266 PyObject
* obj3
= 0 ;
20267 PyObject
* obj4
= 0 ;
20268 PyObject
* obj5
= 0 ;
20269 PyObject
* obj6
= 0 ;
20270 PyObject
* obj7
= 0 ;
20271 char *kwnames
[] = {
20272 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20277 if (SWIG_arg_fail(1)) SWIG_fail
;
20279 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20280 if (SWIG_arg_fail(2)) SWIG_fail
;
20283 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20284 if (SWIG_arg_fail(3)) SWIG_fail
;
20287 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20288 if (SWIG_arg_fail(4)) SWIG_fail
;
20291 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20292 if (SWIG_arg_fail(5)) SWIG_fail
;
20296 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
20297 if (SWIG_arg_fail(6)) SWIG_fail
;
20302 arg7
= wxString_in_helper(obj6
);
20303 if (arg7
== NULL
) SWIG_fail
;
20309 arg8
= static_cast<wxFontEncoding
>(SWIG_As_int(obj7
));
20310 if (SWIG_arg_fail(8)) SWIG_fail
;
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20315 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
20335 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
= NULL
;
20337 wxFontList
*arg1
= (wxFontList
*) 0 ;
20338 wxFont
*arg2
= (wxFont
*) 0 ;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self",(char *) "font", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20347 if (SWIG_arg_fail(1)) SWIG_fail
;
20348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20349 if (SWIG_arg_fail(2)) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->RemoveFont(arg2
);
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 Py_INCREF(Py_None
); resultobj
= Py_None
;
20364 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
= NULL
;
20366 wxFontList
*arg1
= (wxFontList
*) 0 ;
20368 PyObject
* obj0
= 0 ;
20369 char *kwnames
[] = {
20370 (char *) "self", NULL
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
20374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20375 if (SWIG_arg_fail(1)) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= (int)(arg1
)->GetCount();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= SWIG_From_int(static_cast<int >(result
));
20392 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
20394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20395 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
20397 return Py_BuildValue((char *)"");
20399 static int _wrap_TheFontList_set(PyObject
*) {
20400 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
20405 static PyObject
*_wrap_TheFontList_get(void) {
20406 PyObject
*pyobj
= NULL
;
20408 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
20413 static int _wrap_ThePenList_set(PyObject
*) {
20414 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
20419 static PyObject
*_wrap_ThePenList_get(void) {
20420 PyObject
*pyobj
= NULL
;
20422 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
20427 static int _wrap_TheBrushList_set(PyObject
*) {
20428 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
20433 static PyObject
*_wrap_TheBrushList_get(void) {
20434 PyObject
*pyobj
= NULL
;
20436 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
20441 static int _wrap_TheColourDatabase_set(PyObject
*) {
20442 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
20447 static PyObject
*_wrap_TheColourDatabase_get(void) {
20448 PyObject
*pyobj
= NULL
;
20450 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
20455 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
= NULL
;
20458 char *kwnames
[] = {
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= (wxEffects
*)new wxEffects();
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
20477 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
= NULL
;
20479 wxEffects
*arg1
= (wxEffects
*) 0 ;
20481 PyObject
* obj0
= 0 ;
20482 char *kwnames
[] = {
20483 (char *) "self", NULL
20486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
20487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20488 if (SWIG_arg_fail(1)) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20497 wxColour
* resultptr
;
20498 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20507 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
= NULL
;
20509 wxEffects
*arg1
= (wxEffects
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 char *kwnames
[] = {
20513 (char *) "self", NULL
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
20517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20518 if (SWIG_arg_fail(1)) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20527 wxColour
* resultptr
;
20528 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20537 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
= NULL
;
20539 wxEffects
*arg1
= (wxEffects
*) 0 ;
20541 PyObject
* obj0
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
20547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20548 if (SWIG_arg_fail(1)) SWIG_fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20557 wxColour
* resultptr
;
20558 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20567 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
= NULL
;
20569 wxEffects
*arg1
= (wxEffects
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
20577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20578 if (SWIG_arg_fail(1)) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20587 wxColour
* resultptr
;
20588 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20597 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
= NULL
;
20599 wxEffects
*arg1
= (wxEffects
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "self", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
20607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20608 if (SWIG_arg_fail(1)) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20617 wxColour
* resultptr
;
20618 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20627 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20628 PyObject
*resultobj
= NULL
;
20629 wxEffects
*arg1
= (wxEffects
*) 0 ;
20630 wxColour
*arg2
= 0 ;
20632 PyObject
* obj0
= 0 ;
20633 PyObject
* obj1
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "self",(char *) "c", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20640 if (SWIG_arg_fail(1)) SWIG_fail
;
20643 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 Py_INCREF(Py_None
); resultobj
= Py_None
;
20659 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
= NULL
;
20661 wxEffects
*arg1
= (wxEffects
*) 0 ;
20662 wxColour
*arg2
= 0 ;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "self",(char *) "c", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20672 if (SWIG_arg_fail(1)) SWIG_fail
;
20675 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 Py_INCREF(Py_None
); resultobj
= Py_None
;
20691 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
= NULL
;
20693 wxEffects
*arg1
= (wxEffects
*) 0 ;
20694 wxColour
*arg2
= 0 ;
20696 PyObject
* obj0
= 0 ;
20697 PyObject
* obj1
= 0 ;
20698 char *kwnames
[] = {
20699 (char *) "self",(char *) "c", NULL
20702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20704 if (SWIG_arg_fail(1)) SWIG_fail
;
20707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 Py_INCREF(Py_None
); resultobj
= Py_None
;
20723 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
= NULL
;
20725 wxEffects
*arg1
= (wxEffects
*) 0 ;
20726 wxColour
*arg2
= 0 ;
20728 PyObject
* obj0
= 0 ;
20729 PyObject
* obj1
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self",(char *) "c", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20736 if (SWIG_arg_fail(1)) SWIG_fail
;
20739 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 Py_INCREF(Py_None
); resultobj
= Py_None
;
20755 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
= NULL
;
20757 wxEffects
*arg1
= (wxEffects
*) 0 ;
20758 wxColour
*arg2
= 0 ;
20760 PyObject
* obj0
= 0 ;
20761 PyObject
* obj1
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self",(char *) "c", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20768 if (SWIG_arg_fail(1)) SWIG_fail
;
20771 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20780 Py_INCREF(Py_None
); resultobj
= Py_None
;
20787 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
= NULL
;
20789 wxEffects
*arg1
= (wxEffects
*) 0 ;
20790 wxColour
*arg2
= 0 ;
20791 wxColour
*arg3
= 0 ;
20792 wxColour
*arg4
= 0 ;
20793 wxColour
*arg5
= 0 ;
20794 wxColour
*arg6
= 0 ;
20800 PyObject
* obj0
= 0 ;
20801 PyObject
* obj1
= 0 ;
20802 PyObject
* obj2
= 0 ;
20803 PyObject
* obj3
= 0 ;
20804 PyObject
* obj4
= 0 ;
20805 PyObject
* obj5
= 0 ;
20806 char *kwnames
[] = {
20807 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
20810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20812 if (SWIG_arg_fail(1)) SWIG_fail
;
20815 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20819 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20823 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
20827 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
20831 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 Py_INCREF(Py_None
); resultobj
= Py_None
;
20847 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
= NULL
;
20849 wxEffects
*arg1
= (wxEffects
*) 0 ;
20852 int arg4
= (int) 1 ;
20854 PyObject
* obj0
= 0 ;
20855 PyObject
* obj1
= 0 ;
20856 PyObject
* obj2
= 0 ;
20857 PyObject
* obj3
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20864 if (SWIG_arg_fail(1)) SWIG_fail
;
20866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20867 if (SWIG_arg_fail(2)) SWIG_fail
;
20868 if (arg2
== NULL
) {
20869 SWIG_null_ref("wxDC");
20871 if (SWIG_arg_fail(2)) SWIG_fail
;
20875 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20879 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20880 if (SWIG_arg_fail(4)) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 Py_INCREF(Py_None
); resultobj
= Py_None
;
20897 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
= NULL
;
20899 wxEffects
*arg1
= (wxEffects
*) 0 ;
20902 wxBitmap
*arg4
= 0 ;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 PyObject
* obj2
= 0 ;
20908 PyObject
* obj3
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail
;
20918 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20921 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20922 if (SWIG_arg_fail(3)) SWIG_fail
;
20923 if (arg3
== NULL
) {
20924 SWIG_null_ref("wxDC");
20926 if (SWIG_arg_fail(3)) SWIG_fail
;
20929 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20930 if (SWIG_arg_fail(4)) SWIG_fail
;
20931 if (arg4
== NULL
) {
20932 SWIG_null_ref("wxBitmap");
20934 if (SWIG_arg_fail(4)) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20952 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
20954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20955 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
20957 return Py_BuildValue((char *)"");
20959 static PyObject
*_wrap_new_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
= NULL
;
20964 wxSplitterRenderParams
*result
;
20965 PyObject
* obj0
= 0 ;
20966 PyObject
* obj1
= 0 ;
20967 PyObject
* obj2
= 0 ;
20968 char *kwnames
[] = {
20969 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20974 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20975 if (SWIG_arg_fail(1)) SWIG_fail
;
20978 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20979 if (SWIG_arg_fail(2)) SWIG_fail
;
20982 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
20983 if (SWIG_arg_fail(3)) SWIG_fail
;
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
20999 static PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21000 PyObject
*resultobj
= NULL
;
21001 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21002 PyObject
* obj0
= 0 ;
21003 char *kwnames
[] = {
21004 (char *) "self", NULL
21007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SplitterRenderParams",kwnames
,&obj0
)) goto fail
;
21008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21009 if (SWIG_arg_fail(1)) SWIG_fail
;
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 Py_INCREF(Py_None
); resultobj
= Py_None
;
21024 static PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
= NULL
;
21026 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_widthSash_get",kwnames
,&obj0
)) goto fail
;
21034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21035 if (SWIG_arg_fail(1)) SWIG_fail
;
21036 result
= (int)(int) ((arg1
)->widthSash
);
21039 resultobj
= SWIG_From_int(static_cast<int >(result
));
21047 static PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
= NULL
;
21049 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 char *kwnames
[] = {
21053 (char *) "self", NULL
21056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_border_get",kwnames
,&obj0
)) goto fail
;
21057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21058 if (SWIG_arg_fail(1)) SWIG_fail
;
21059 result
= (int)(int) ((arg1
)->border
);
21062 resultobj
= SWIG_From_int(static_cast<int >(result
));
21070 static PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
= NULL
;
21072 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21074 PyObject
* obj0
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames
,&obj0
)) goto fail
;
21080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail
;
21082 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
21085 resultobj
= SWIG_From_bool(static_cast<bool >(result
));
21093 static PyObject
* SplitterRenderParams_swigregister(PyObject
*, PyObject
*args
) {
21095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21096 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams
, obj
);
21098 return Py_BuildValue((char *)"");
21100 static PyObject
*_wrap_new_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
= NULL
;
21104 wxRendererVersion
*result
;
21105 PyObject
* obj0
= 0 ;
21106 PyObject
* obj1
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "version_",(char *) "age_", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) goto fail
;
21113 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21114 if (SWIG_arg_fail(1)) SWIG_fail
;
21117 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21118 if (SWIG_arg_fail(2)) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererVersion
, 1);
21134 static PyObject
*_wrap_delete_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
= NULL
;
21136 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "self", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RendererVersion",kwnames
,&obj0
)) goto fail
;
21143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21144 if (SWIG_arg_fail(1)) SWIG_fail
;
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 Py_INCREF(Py_None
); resultobj
= Py_None
;
21159 static PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
= NULL
;
21161 wxRendererVersion
*arg1
= 0 ;
21163 PyObject
* obj0
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "ver", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) goto fail
;
21170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21171 if (SWIG_arg_fail(1)) SWIG_fail
;
21172 if (arg1
== NULL
) {
21173 SWIG_null_ref("wxRendererVersion");
21175 if (SWIG_arg_fail(1)) SWIG_fail
;
21178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21179 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21193 static PyObject
*_wrap_RendererVersion_version_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
= NULL
;
21195 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21197 PyObject
* obj0
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_version_get",kwnames
,&obj0
)) goto fail
;
21203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21204 if (SWIG_arg_fail(1)) SWIG_fail
;
21205 result
= (int)(int) ((arg1
)->version
);
21208 resultobj
= SWIG_From_int(static_cast<int >(result
));
21216 static PyObject
*_wrap_RendererVersion_age_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
= NULL
;
21218 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21220 PyObject
* obj0
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "self", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_age_get",kwnames
,&obj0
)) goto fail
;
21226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21227 if (SWIG_arg_fail(1)) SWIG_fail
;
21228 result
= (int)(int) ((arg1
)->age
);
21231 resultobj
= SWIG_From_int(static_cast<int >(result
));
21239 static PyObject
* RendererVersion_swigregister(PyObject
*, PyObject
*args
) {
21241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21242 SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion
, obj
);
21244 return Py_BuildValue((char *)"");
21246 static PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
= NULL
;
21248 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21249 wxWindow
*arg2
= (wxWindow
*) 0 ;
21252 int arg5
= (int) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 PyObject
* obj2
= 0 ;
21257 PyObject
* obj3
= 0 ;
21258 PyObject
* obj4
= 0 ;
21259 char *kwnames
[] = {
21260 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21265 if (SWIG_arg_fail(1)) SWIG_fail
;
21266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21267 if (SWIG_arg_fail(2)) SWIG_fail
;
21269 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21270 if (SWIG_arg_fail(3)) SWIG_fail
;
21271 if (arg3
== NULL
) {
21272 SWIG_null_ref("wxDC");
21274 if (SWIG_arg_fail(3)) SWIG_fail
;
21278 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21282 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21283 if (SWIG_arg_fail(5)) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 Py_INCREF(Py_None
); resultobj
= Py_None
;
21300 static PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
= NULL
;
21302 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21303 wxWindow
*arg2
= (wxWindow
*) 0 ;
21306 int arg5
= (int) 0 ;
21308 PyObject
* obj0
= 0 ;
21309 PyObject
* obj1
= 0 ;
21310 PyObject
* obj2
= 0 ;
21311 PyObject
* obj3
= 0 ;
21312 PyObject
* obj4
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21319 if (SWIG_arg_fail(1)) SWIG_fail
;
21320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21321 if (SWIG_arg_fail(2)) SWIG_fail
;
21323 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21324 if (SWIG_arg_fail(3)) SWIG_fail
;
21325 if (arg3
== NULL
) {
21326 SWIG_null_ref("wxDC");
21328 if (SWIG_arg_fail(3)) SWIG_fail
;
21332 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21336 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21337 if (SWIG_arg_fail(5)) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 Py_INCREF(Py_None
); resultobj
= Py_None
;
21354 static PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
= NULL
;
21356 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21357 wxWindow
*arg2
= (wxWindow
*) 0 ;
21360 int arg5
= (int) 0 ;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21364 PyObject
* obj2
= 0 ;
21365 PyObject
* obj3
= 0 ;
21366 PyObject
* obj4
= 0 ;
21367 char *kwnames
[] = {
21368 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21373 if (SWIG_arg_fail(1)) SWIG_fail
;
21374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21375 if (SWIG_arg_fail(2)) SWIG_fail
;
21377 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21378 if (SWIG_arg_fail(3)) SWIG_fail
;
21379 if (arg3
== NULL
) {
21380 SWIG_null_ref("wxDC");
21382 if (SWIG_arg_fail(3)) SWIG_fail
;
21386 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21390 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21391 if (SWIG_arg_fail(5)) SWIG_fail
;
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 Py_INCREF(Py_None
); resultobj
= Py_None
;
21408 static PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
= NULL
;
21410 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21411 wxWindow
*arg2
= (wxWindow
*) 0 ;
21415 wxOrientation arg6
;
21416 int arg7
= (int) 0 ;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 PyObject
* obj2
= 0 ;
21421 PyObject
* obj3
= 0 ;
21422 PyObject
* obj4
= 0 ;
21423 PyObject
* obj5
= 0 ;
21424 PyObject
* obj6
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail
;
21432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21433 if (SWIG_arg_fail(2)) SWIG_fail
;
21435 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21436 if (SWIG_arg_fail(3)) SWIG_fail
;
21437 if (arg3
== NULL
) {
21438 SWIG_null_ref("wxDC");
21440 if (SWIG_arg_fail(3)) SWIG_fail
;
21444 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21447 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21448 if (SWIG_arg_fail(5)) SWIG_fail
;
21451 arg6
= static_cast<wxOrientation
>(SWIG_As_int(obj5
));
21452 if (SWIG_arg_fail(6)) SWIG_fail
;
21456 arg7
= static_cast<int >(SWIG_As_int(obj6
));
21457 if (SWIG_arg_fail(7)) SWIG_fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 Py_INCREF(Py_None
); resultobj
= Py_None
;
21474 static PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
= NULL
;
21476 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21477 wxWindow
*arg2
= (wxWindow
*) 0 ;
21480 int arg5
= (int) 0 ;
21482 PyObject
* obj0
= 0 ;
21483 PyObject
* obj1
= 0 ;
21484 PyObject
* obj2
= 0 ;
21485 PyObject
* obj3
= 0 ;
21486 PyObject
* obj4
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21493 if (SWIG_arg_fail(1)) SWIG_fail
;
21494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21495 if (SWIG_arg_fail(2)) SWIG_fail
;
21497 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21498 if (SWIG_arg_fail(3)) SWIG_fail
;
21499 if (arg3
== NULL
) {
21500 SWIG_null_ref("wxDC");
21502 if (SWIG_arg_fail(3)) SWIG_fail
;
21506 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21510 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21511 if (SWIG_arg_fail(5)) SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 Py_INCREF(Py_None
); resultobj
= Py_None
;
21528 static PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
= NULL
;
21530 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21531 wxWindow
*arg2
= (wxWindow
*) 0 ;
21534 int arg5
= (int) 0 ;
21536 PyObject
* obj0
= 0 ;
21537 PyObject
* obj1
= 0 ;
21538 PyObject
* obj2
= 0 ;
21539 PyObject
* obj3
= 0 ;
21540 PyObject
* obj4
= 0 ;
21541 char *kwnames
[] = {
21542 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21547 if (SWIG_arg_fail(1)) SWIG_fail
;
21548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21549 if (SWIG_arg_fail(2)) SWIG_fail
;
21551 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21552 if (SWIG_arg_fail(3)) SWIG_fail
;
21553 if (arg3
== NULL
) {
21554 SWIG_null_ref("wxDC");
21556 if (SWIG_arg_fail(3)) SWIG_fail
;
21560 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21564 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21565 if (SWIG_arg_fail(5)) SWIG_fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21575 Py_INCREF(Py_None
); resultobj
= Py_None
;
21582 static PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21583 PyObject
*resultobj
= NULL
;
21584 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21585 wxWindow
*arg2
= (wxWindow
*) 0 ;
21586 SwigValueWrapper
<wxSplitterRenderParams
> result
;
21587 PyObject
* obj0
= 0 ;
21588 PyObject
* obj1
= 0 ;
21589 char *kwnames
[] = {
21590 (char *) "self",(char *) "win", NULL
21593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) goto fail
;
21594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21595 if (SWIG_arg_fail(1)) SWIG_fail
;
21596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21597 if (SWIG_arg_fail(2)) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21606 wxSplitterRenderParams
* resultptr
;
21607 resultptr
= new wxSplitterRenderParams(static_cast<wxSplitterRenderParams
& >(result
));
21608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
21616 static PyObject
*_wrap_RendererNative_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
= NULL
;
21618 wxRendererNative
*result
;
21619 char *kwnames
[] = {
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_Get",kwnames
)) goto fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 wxRendererNative
&_result_ref
= wxRendererNative::Get();
21628 result
= (wxRendererNative
*) &_result_ref
;
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21641 static PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
= NULL
;
21643 wxRendererNative
*result
;
21644 char *kwnames
[] = {
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetGeneric",kwnames
)) goto fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
21653 result
= (wxRendererNative
*) &_result_ref
;
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21666 static PyObject
*_wrap_RendererNative_GetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
= NULL
;
21668 wxRendererNative
*result
;
21669 char *kwnames
[] = {
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetDefault",kwnames
)) goto fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
21678 result
= (wxRendererNative
*) &_result_ref
;
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21691 static PyObject
*_wrap_RendererNative_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
= NULL
;
21693 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21694 wxRendererNative
*result
;
21695 PyObject
* obj0
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "renderer", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) goto fail
;
21701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21702 if (SWIG_arg_fail(1)) SWIG_fail
;
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21717 static PyObject
*_wrap_RendererNative_GetVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
= NULL
;
21719 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21720 SwigValueWrapper
<wxRendererVersion
> result
;
21721 PyObject
* obj0
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_GetVersion",kwnames
,&obj0
)) goto fail
;
21727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21728 if (SWIG_arg_fail(1)) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 wxRendererVersion
* resultptr
;
21738 resultptr
= new wxRendererVersion(static_cast<wxRendererVersion
& >(result
));
21739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRendererVersion
, 1);
21747 static PyObject
* RendererNative_swigregister(PyObject
*, PyObject
*args
) {
21749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21750 SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative
, obj
);
21752 return Py_BuildValue((char *)"");
21754 static PyMethodDef SwigMethods
[] = {
21755 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21756 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21757 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21758 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21759 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21760 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
21761 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21762 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21763 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21764 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21765 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21766 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21767 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21768 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21769 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21770 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21771 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21772 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21773 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21774 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21775 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21776 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21777 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
21778 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21779 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21780 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21781 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21782 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21783 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21784 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
21785 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21786 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21787 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21788 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21789 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21790 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21791 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21792 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21793 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21794 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21795 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21796 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21797 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21798 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21799 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21800 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21801 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21802 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21803 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
21804 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21805 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21806 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21807 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21808 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21809 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21810 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21811 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21812 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21813 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21814 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21815 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21816 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21817 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
21818 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21819 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21820 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21821 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21822 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21823 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21824 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21825 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21826 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21827 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21828 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21829 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21830 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21831 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21832 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21833 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21834 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21835 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21836 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21837 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21838 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21839 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21840 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21841 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21842 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21843 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21844 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21845 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
21846 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21847 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
21848 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21849 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21850 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21851 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21852 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21853 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21854 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21855 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21856 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21857 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21858 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21859 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21860 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21861 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21862 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
21863 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21864 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21865 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21866 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21867 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21868 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21869 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21870 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
21871 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21872 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21873 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21874 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21875 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21876 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21877 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21878 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
21879 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21880 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21881 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21882 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21883 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21884 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
21885 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21886 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21887 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21888 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21889 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21890 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21891 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21892 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21893 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21894 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21895 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21896 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21897 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21898 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21899 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21900 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21901 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21902 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21903 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21904 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21905 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21906 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21907 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21908 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21909 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21910 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21911 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21912 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21913 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
21914 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21915 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21916 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21917 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21918 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21919 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21920 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21921 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21922 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21923 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21924 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21925 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21926 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21927 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
21928 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21929 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21930 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21931 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21932 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21933 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21934 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21935 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21936 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21937 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21938 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21939 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21940 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21941 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21942 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21943 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21944 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21945 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21946 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21947 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21948 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21949 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21950 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21951 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
21952 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21953 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21954 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21955 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21956 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21957 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21958 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21959 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21960 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
21961 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21962 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21963 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21964 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21965 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21966 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21967 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21968 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21969 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21970 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21971 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21972 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21973 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21974 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21975 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21976 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21977 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21978 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21979 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
21980 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21981 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21982 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21983 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21984 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21985 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21986 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21987 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21988 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21989 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21990 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21991 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21992 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21993 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21994 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21995 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21996 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21997 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21998 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21999 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22000 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22001 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22002 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22003 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22004 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22005 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22006 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22007 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22008 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22009 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22010 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22011 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22012 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22013 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22014 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22015 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22016 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22017 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22018 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22019 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22020 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22021 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
22022 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22023 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22024 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22025 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22026 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22027 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22028 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22029 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
22030 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22031 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22032 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22033 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22034 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22035 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22036 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
22037 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22038 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22039 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22040 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22041 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22042 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22043 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22044 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22045 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22046 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22047 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22048 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22049 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22050 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22051 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22052 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22053 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22054 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22055 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22056 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22057 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22058 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
22059 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22060 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
22061 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22062 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22063 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22064 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22065 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22066 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22067 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22068 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
22069 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22070 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22071 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22072 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22073 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22074 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22075 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22076 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22077 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22078 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22079 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22080 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22081 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22082 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22083 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22084 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22085 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22086 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22087 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22088 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22089 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22090 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22091 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22092 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22093 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22094 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22095 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22096 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22097 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22098 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22099 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22100 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22101 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22102 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22103 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22104 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22105 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22106 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22107 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22108 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22109 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22110 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22111 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22112 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22113 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22114 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22115 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22116 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22117 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22118 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22119 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22120 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22121 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22122 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22123 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22124 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22125 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22126 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22127 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22128 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22129 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22130 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22131 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22132 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22133 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22134 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22135 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22136 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22137 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22138 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22139 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22140 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22141 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22142 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22143 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22144 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22145 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22146 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22147 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22148 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22149 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22150 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22151 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22152 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22153 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22154 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22155 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22156 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22157 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22158 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22159 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22160 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22161 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22162 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22163 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22164 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22165 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22166 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22167 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22168 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22169 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22170 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22171 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22172 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22173 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22174 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22175 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22176 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22177 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22178 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22179 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22180 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22181 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22182 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22183 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22184 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22185 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22186 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22187 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22188 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22189 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22190 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22191 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22192 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22193 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22194 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22195 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22196 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
22197 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22198 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22199 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22200 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
22201 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
22202 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22203 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22204 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
22205 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22206 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
22207 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22208 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22209 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22210 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22211 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
22212 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22213 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
22214 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22215 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
22216 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22217 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
22218 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22219 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
22220 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22221 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22222 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22223 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22224 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22225 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
22226 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22227 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22228 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22229 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22230 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22231 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22232 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22233 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
22234 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22235 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22236 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
22237 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22238 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
22239 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22240 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22241 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22242 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22243 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22244 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22245 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22246 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22247 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22248 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22249 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22250 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22251 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22252 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
22253 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22254 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22255 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22256 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22257 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
22258 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22259 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22260 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22261 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22262 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
22263 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22264 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22265 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22266 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22267 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22268 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22269 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
22270 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22271 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22272 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22273 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22274 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
22275 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22276 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22277 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22278 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22279 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22280 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22281 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22282 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22283 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22284 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22285 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22286 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22287 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22288 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22289 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
22290 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22291 { (char *)"delete_SplitterRenderParams", (PyCFunction
) _wrap_delete_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22292 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
) _wrap_SplitterRenderParams_widthSash_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22293 { (char *)"SplitterRenderParams_border_get", (PyCFunction
) _wrap_SplitterRenderParams_border_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22294 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
) _wrap_SplitterRenderParams_isHotSensitive_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22295 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
22296 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22297 { (char *)"delete_RendererVersion", (PyCFunction
) _wrap_delete_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22298 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22299 { (char *)"RendererVersion_version_get", (PyCFunction
) _wrap_RendererVersion_version_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22300 { (char *)"RendererVersion_age_get", (PyCFunction
) _wrap_RendererVersion_age_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22301 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
22302 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22303 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22304 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22305 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22306 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22307 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22308 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22309 { (char *)"RendererNative_Get", (PyCFunction
) _wrap_RendererNative_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22310 { (char *)"RendererNative_GetGeneric", (PyCFunction
) _wrap_RendererNative_GetGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22311 { (char *)"RendererNative_GetDefault", (PyCFunction
) _wrap_RendererNative_GetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22312 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22313 { (char *)"RendererNative_GetVersion", (PyCFunction
) _wrap_RendererNative_GetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22314 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
22315 { NULL
, NULL
, 0, NULL
}
22319 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
22321 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
22322 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
22324 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
22325 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22327 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
22328 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
22330 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
22331 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
22333 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
22334 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
22336 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
22337 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
22339 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
22340 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
22342 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
22343 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
22345 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
22346 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
22348 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
22349 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
22351 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
22352 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
22354 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
22355 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
22357 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
22358 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
22360 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
22361 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
22363 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
22364 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
22366 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
22367 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
22369 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
22370 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22372 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
22373 return (void *)((wxDC
*) ((wxClientDC
*) x
));
22375 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
22376 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
22378 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
22379 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
22381 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
22382 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
22384 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
22385 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22387 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
22388 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
22390 static void *_p_wxPenTo_p_wxObject(void *x
) {
22391 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
22393 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
22394 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
22396 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
22397 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
22399 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
22400 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
22402 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
22403 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
22405 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
22406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
22408 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
22409 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
22411 static void *_p_wxIconTo_p_wxObject(void *x
) {
22412 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
22414 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
22415 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
22417 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
22418 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
22420 static void *_p_wxSizerTo_p_wxObject(void *x
) {
22421 return (void *)((wxObject
*) ((wxSizer
*) x
));
22423 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
22424 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
22426 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
22427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22429 static void *_p_wxPenListTo_p_wxObject(void *x
) {
22430 return (void *)((wxObject
*) ((wxPenList
*) x
));
22432 static void *_p_wxEventTo_p_wxObject(void *x
) {
22433 return (void *)((wxObject
*) ((wxEvent
*) x
));
22435 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
22436 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
22438 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
22439 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
22441 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
22442 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
22444 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
22445 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
22447 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
22448 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
22450 static void *_p_wxDCTo_p_wxObject(void *x
) {
22451 return (void *)((wxObject
*) ((wxDC
*) x
));
22453 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
22454 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
22456 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
22457 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22459 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22460 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22462 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22463 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22465 static void *_p_wxControlTo_p_wxObject(void *x
) {
22466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22468 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22469 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22471 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
22472 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
22474 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22475 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22477 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
22478 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
22480 static void *_p_wxRegionTo_p_wxObject(void *x
) {
22481 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
22483 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22484 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22486 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
22487 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
22489 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
22490 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
22492 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
22493 return (void *)((wxObject
*) ((wxEffects
*) x
));
22495 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22496 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22498 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22501 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
22502 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
22504 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22505 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22507 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22508 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22510 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
22511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
22513 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22514 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22516 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22519 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22520 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22522 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22523 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22525 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22526 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22528 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22529 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22531 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22532 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22534 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22535 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22537 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22538 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22540 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22541 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22543 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22544 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22546 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22549 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22550 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22552 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22553 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22555 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22556 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22558 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22559 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22561 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22562 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22564 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
22565 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
22567 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22568 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22570 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22573 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22576 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22577 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22579 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
22580 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22582 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
22583 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
22585 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
22586 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
22588 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
22589 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
22591 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
22592 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
22594 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22595 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22597 static void *_p_wxImageTo_p_wxObject(void *x
) {
22598 return (void *)((wxObject
*) ((wxImage
*) x
));
22600 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22601 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22603 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
22604 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
22606 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
22607 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
22609 static void *_p_wxImageListTo_p_wxObject(void *x
) {
22610 return (void *)((wxObject
*) ((wxImageList
*) x
));
22612 static void *_p_wxCursorTo_p_wxObject(void *x
) {
22613 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
22615 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
22616 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
22618 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
22619 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
22621 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22624 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22625 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22627 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22628 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22630 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22631 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22633 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22634 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22636 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22639 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
22640 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
22642 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
22643 return (void *)((wxObject
*) ((wxBrushList
*) x
));
22645 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22646 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22648 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
22649 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
22651 static void *_p_wxMaskTo_p_wxObject(void *x
) {
22652 return (void *)((wxObject
*) ((wxMask
*) x
));
22654 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22657 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22658 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22660 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22661 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22663 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22664 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22666 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22667 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22669 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22670 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22672 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22675 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22676 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22678 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22679 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22681 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22682 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22684 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22685 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22687 static void *_p_wxFontTo_p_wxObject(void *x
) {
22688 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
22690 static void *_p_wxBrushTo_p_wxObject(void *x
) {
22691 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
22693 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
22694 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
22696 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22699 static void *_p_wxColourTo_p_wxObject(void *x
) {
22700 return (void *)((wxObject
*) ((wxColour
*) x
));
22702 static void *_p_wxFontListTo_p_wxObject(void *x
) {
22703 return (void *)((wxObject
*) ((wxFontList
*) x
));
22705 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22708 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22709 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22711 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22712 return (void *)((wxWindow
*) ((wxControl
*) x
));
22714 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22715 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22717 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22718 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22720 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
22721 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, 0};
22722 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
22723 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
22724 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
22725 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
22726 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
22727 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
22728 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, 0};
22729 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, 0};
22730 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, 0};
22731 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, 0};
22732 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, 0};
22733 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
22734 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, 0};
22735 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
22736 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
22737 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, 0};
22738 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
22739 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, 0};
22740 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, 0};
22741 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
22742 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, 0};
22743 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, 0};
22744 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, 0};
22745 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
22746 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
22747 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, 0};
22748 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, 0};
22749 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, 0};
22750 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, 0};
22751 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, 0};
22752 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, 0};
22753 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
22754 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, 0};
22755 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, 0};
22756 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, 0};
22757 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, 0};
22758 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, 0};
22759 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
22760 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
22761 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
22762 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
22763 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
22764 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
22765 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
22766 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
22767 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
22768 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
22769 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
22770 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
22771 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0};
22772 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
22773 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
22774 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
22775 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
22776 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
22777 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
22778 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
22779 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
22780 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
22781 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
22782 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
22783 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
22784 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
22785 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
22786 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
22787 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
22788 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
22789 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
22790 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
22791 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
22792 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
22793 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
22794 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
22795 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
22796 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
22797 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
22798 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
22799 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
22800 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
22801 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
22802 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
22803 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
22804 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
22805 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
22806 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0};
22807 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
22808 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
22809 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
22810 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
22811 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
22812 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
22813 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
22814 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
22815 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
22816 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
22817 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
22818 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
22819 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
22820 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
22821 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
22822 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
22823 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
22824 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
22825 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
22826 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
22827 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
22828 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
22829 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
22830 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
22831 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
22832 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
22833 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
22834 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, 0};
22835 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, 0};
22836 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
22837 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, 0};
22838 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, 0};
22839 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
22840 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, 0};
22841 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
22842 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, 0};
22843 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, 0};
22844 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
22845 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
22846 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, 0};
22847 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, 0};
22848 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, 0};
22849 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, 0};
22850 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
22851 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, 0};
22852 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
22853 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
22854 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, 0};
22855 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
22856 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
22857 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
22859 static swig_type_info
*swig_type_initial
[] = {
22862 &_swigt__p_form_ops_t
,
22864 &_swigt__p_unsigned_char
,
22865 &_swigt__p_unsigned_int
,
22866 &_swigt__p_unsigned_long
,
22867 &_swigt__p_wxANIHandler
,
22868 &_swigt__p_wxAcceleratorTable
,
22869 &_swigt__p_wxActivateEvent
,
22870 &_swigt__p_wxBMPHandler
,
22871 &_swigt__p_wxBitmap
,
22872 &_swigt__p_wxBoxSizer
,
22873 &_swigt__p_wxBrush
,
22874 &_swigt__p_wxBrushList
,
22875 &_swigt__p_wxBufferedDC
,
22876 &_swigt__p_wxBufferedPaintDC
,
22877 &_swigt__p_wxCURHandler
,
22878 &_swigt__p_wxChildFocusEvent
,
22879 &_swigt__p_wxClientDC
,
22880 &_swigt__p_wxCloseEvent
,
22881 &_swigt__p_wxColour
,
22882 &_swigt__p_wxColourDatabase
,
22883 &_swigt__p_wxCommandEvent
,
22884 &_swigt__p_wxContextMenuEvent
,
22885 &_swigt__p_wxControl
,
22886 &_swigt__p_wxControlWithItems
,
22887 &_swigt__p_wxCursor
,
22890 &_swigt__p_wxDateEvent
,
22891 &_swigt__p_wxDisplayChangedEvent
,
22892 &_swigt__p_wxDropFilesEvent
,
22893 &_swigt__p_wxDuplexMode
,
22894 &_swigt__p_wxEffects
,
22895 &_swigt__p_wxEncodingConverter
,
22896 &_swigt__p_wxEraseEvent
,
22897 &_swigt__p_wxEvent
,
22898 &_swigt__p_wxEvtHandler
,
22899 &_swigt__p_wxFSFile
,
22900 &_swigt__p_wxFileSystem
,
22901 &_swigt__p_wxFlexGridSizer
,
22902 &_swigt__p_wxFocusEvent
,
22904 &_swigt__p_wxFontList
,
22905 &_swigt__p_wxFontMapper
,
22906 &_swigt__p_wxGBSizerItem
,
22907 &_swigt__p_wxGDIObject
,
22908 &_swigt__p_wxGIFHandler
,
22909 &_swigt__p_wxGridBagSizer
,
22910 &_swigt__p_wxGridSizer
,
22911 &_swigt__p_wxICOHandler
,
22913 &_swigt__p_wxIconBundle
,
22914 &_swigt__p_wxIconLocation
,
22915 &_swigt__p_wxIconizeEvent
,
22916 &_swigt__p_wxIdleEvent
,
22917 &_swigt__p_wxImage
,
22918 &_swigt__p_wxImageHandler
,
22919 &_swigt__p_wxImageList
,
22920 &_swigt__p_wxIndividualLayoutConstraint
,
22921 &_swigt__p_wxInitDialogEvent
,
22922 &_swigt__p_wxJPEGHandler
,
22923 &_swigt__p_wxKeyEvent
,
22924 &_swigt__p_wxLanguageInfo
,
22925 &_swigt__p_wxLayoutConstraints
,
22926 &_swigt__p_wxLocale
,
22928 &_swigt__p_wxMaximizeEvent
,
22929 &_swigt__p_wxMemoryDC
,
22931 &_swigt__p_wxMenuBar
,
22932 &_swigt__p_wxMenuEvent
,
22933 &_swigt__p_wxMenuItem
,
22934 &_swigt__p_wxMetaFile
,
22935 &_swigt__p_wxMetaFileDC
,
22936 &_swigt__p_wxMirrorDC
,
22937 &_swigt__p_wxMouseCaptureChangedEvent
,
22938 &_swigt__p_wxMouseEvent
,
22939 &_swigt__p_wxMoveEvent
,
22940 &_swigt__p_wxNativeEncodingInfo
,
22941 &_swigt__p_wxNativeFontInfo
,
22942 &_swigt__p_wxNavigationKeyEvent
,
22943 &_swigt__p_wxNcPaintEvent
,
22944 &_swigt__p_wxNotifyEvent
,
22945 &_swigt__p_wxObject
,
22946 &_swigt__p_wxPCXHandler
,
22947 &_swigt__p_wxPNGHandler
,
22948 &_swigt__p_wxPNMHandler
,
22949 &_swigt__p_wxPaintDC
,
22950 &_swigt__p_wxPaintEvent
,
22951 &_swigt__p_wxPalette
,
22952 &_swigt__p_wxPaletteChangedEvent
,
22953 &_swigt__p_wxPaperSize
,
22955 &_swigt__p_wxPenList
,
22956 &_swigt__p_wxPoint
,
22957 &_swigt__p_wxPostScriptDC
,
22958 &_swigt__p_wxPrintData
,
22959 &_swigt__p_wxPrinterDC
,
22960 &_swigt__p_wxPyApp
,
22961 &_swigt__p_wxPyCommandEvent
,
22962 &_swigt__p_wxPyEvent
,
22963 &_swigt__p_wxPyFontEnumerator
,
22964 &_swigt__p_wxPyImageHandler
,
22965 &_swigt__p_wxPySizer
,
22966 &_swigt__p_wxPyValidator
,
22967 &_swigt__p_wxQueryNewPaletteEvent
,
22969 &_swigt__p_wxRegion
,
22970 &_swigt__p_wxRegionIterator
,
22971 &_swigt__p_wxRendererNative
,
22972 &_swigt__p_wxRendererVersion
,
22973 &_swigt__p_wxScreenDC
,
22974 &_swigt__p_wxScrollEvent
,
22975 &_swigt__p_wxScrollWinEvent
,
22976 &_swigt__p_wxSetCursorEvent
,
22977 &_swigt__p_wxShowEvent
,
22979 &_swigt__p_wxSizeEvent
,
22980 &_swigt__p_wxSizer
,
22981 &_swigt__p_wxSizerItem
,
22982 &_swigt__p_wxSplitterRenderParams
,
22983 &_swigt__p_wxStaticBoxSizer
,
22984 &_swigt__p_wxStdDialogButtonSizer
,
22985 &_swigt__p_wxString
,
22986 &_swigt__p_wxSysColourChangedEvent
,
22987 &_swigt__p_wxTIFFHandler
,
22988 &_swigt__p_wxUpdateUIEvent
,
22989 &_swigt__p_wxValidator
,
22990 &_swigt__p_wxWindow
,
22991 &_swigt__p_wxWindowCreateEvent
,
22992 &_swigt__p_wxWindowDC
,
22993 &_swigt__p_wxWindowDestroyEvent
,
22994 &_swigt__p_wxXPMHandler
,
22995 &_swigt__ptrdiff_t
,
22996 &_swigt__std__ptrdiff_t
,
22997 &_swigt__unsigned_int
,
23000 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
23001 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
23002 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
23003 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
23004 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
23005 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
23006 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
23007 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
23008 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
23009 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
23010 static swig_cast_info _swigc__p_wxBufferedDC
[] = { {&_swigt__p_wxBufferedDC
, 0, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxBufferedDC
, 0, 0},{0, 0, 0, 0}};
23011 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
23012 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
23013 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
23014 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
23015 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
23016 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
23017 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
23018 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
23019 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
23020 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
23021 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
23022 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
23023 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
23024 static swig_cast_info _swigc__p_wxGDIObject
[] = { {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxGDIObject
, 0, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxGDIObject
, 0, 0},{0, 0, 0, 0}};
23025 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
23026 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
23027 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
23028 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
23029 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
23030 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
23031 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
23032 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
23033 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxMemoryDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, 0, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxMemoryDC
, 0, 0},{0, 0, 0, 0}};
23034 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
23035 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
23036 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
23037 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
23038 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
23039 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
23040 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
23041 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
23042 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
23043 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
23044 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
23045 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
23046 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
23047 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
23048 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
23049 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
23050 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
23051 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
23052 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
23053 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
23054 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
23055 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
23056 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23057 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23058 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23059 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23060 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
23061 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
23062 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
23063 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
23064 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23065 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23066 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
23067 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
23068 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
23069 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
23070 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
23071 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
23072 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
23073 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
23074 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
23075 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
23076 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
23077 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
23078 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
23079 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
23080 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
23081 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
23082 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
23083 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
23084 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
23085 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
23086 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
23087 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
23088 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
23089 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
23090 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
23091 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
23092 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
23093 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
23094 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23095 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23096 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23097 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
23098 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
23099 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
23100 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
23101 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
23102 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
23103 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
23104 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
23105 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
23106 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
23107 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
23108 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
23109 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
23110 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
23111 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
23112 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
23113 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDatabase
, _p_wxColourDatabaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPenList
, _p_wxPenListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrushList
, _p_wxBrushListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontList
, _p_wxFontListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
23114 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
23115 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
23116 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
23117 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
23118 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
23119 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
23120 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
23121 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
23122 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
23123 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
23124 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
23125 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
23126 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
23127 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
23128 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
23129 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
23130 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
23131 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
23132 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
23133 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
23134 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
23135 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
23136 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
23137 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
23139 static swig_cast_info
*swig_cast_initial
[] = {
23142 _swigc__p_form_ops_t
,
23144 _swigc__p_unsigned_char
,
23145 _swigc__p_unsigned_int
,
23146 _swigc__p_unsigned_long
,
23147 _swigc__p_wxANIHandler
,
23148 _swigc__p_wxAcceleratorTable
,
23149 _swigc__p_wxActivateEvent
,
23150 _swigc__p_wxBMPHandler
,
23151 _swigc__p_wxBitmap
,
23152 _swigc__p_wxBoxSizer
,
23154 _swigc__p_wxBrushList
,
23155 _swigc__p_wxBufferedDC
,
23156 _swigc__p_wxBufferedPaintDC
,
23157 _swigc__p_wxCURHandler
,
23158 _swigc__p_wxChildFocusEvent
,
23159 _swigc__p_wxClientDC
,
23160 _swigc__p_wxCloseEvent
,
23161 _swigc__p_wxColour
,
23162 _swigc__p_wxColourDatabase
,
23163 _swigc__p_wxCommandEvent
,
23164 _swigc__p_wxContextMenuEvent
,
23165 _swigc__p_wxControl
,
23166 _swigc__p_wxControlWithItems
,
23167 _swigc__p_wxCursor
,
23170 _swigc__p_wxDateEvent
,
23171 _swigc__p_wxDisplayChangedEvent
,
23172 _swigc__p_wxDropFilesEvent
,
23173 _swigc__p_wxDuplexMode
,
23174 _swigc__p_wxEffects
,
23175 _swigc__p_wxEncodingConverter
,
23176 _swigc__p_wxEraseEvent
,
23178 _swigc__p_wxEvtHandler
,
23179 _swigc__p_wxFSFile
,
23180 _swigc__p_wxFileSystem
,
23181 _swigc__p_wxFlexGridSizer
,
23182 _swigc__p_wxFocusEvent
,
23184 _swigc__p_wxFontList
,
23185 _swigc__p_wxFontMapper
,
23186 _swigc__p_wxGBSizerItem
,
23187 _swigc__p_wxGDIObject
,
23188 _swigc__p_wxGIFHandler
,
23189 _swigc__p_wxGridBagSizer
,
23190 _swigc__p_wxGridSizer
,
23191 _swigc__p_wxICOHandler
,
23193 _swigc__p_wxIconBundle
,
23194 _swigc__p_wxIconLocation
,
23195 _swigc__p_wxIconizeEvent
,
23196 _swigc__p_wxIdleEvent
,
23198 _swigc__p_wxImageHandler
,
23199 _swigc__p_wxImageList
,
23200 _swigc__p_wxIndividualLayoutConstraint
,
23201 _swigc__p_wxInitDialogEvent
,
23202 _swigc__p_wxJPEGHandler
,
23203 _swigc__p_wxKeyEvent
,
23204 _swigc__p_wxLanguageInfo
,
23205 _swigc__p_wxLayoutConstraints
,
23206 _swigc__p_wxLocale
,
23208 _swigc__p_wxMaximizeEvent
,
23209 _swigc__p_wxMemoryDC
,
23211 _swigc__p_wxMenuBar
,
23212 _swigc__p_wxMenuEvent
,
23213 _swigc__p_wxMenuItem
,
23214 _swigc__p_wxMetaFile
,
23215 _swigc__p_wxMetaFileDC
,
23216 _swigc__p_wxMirrorDC
,
23217 _swigc__p_wxMouseCaptureChangedEvent
,
23218 _swigc__p_wxMouseEvent
,
23219 _swigc__p_wxMoveEvent
,
23220 _swigc__p_wxNativeEncodingInfo
,
23221 _swigc__p_wxNativeFontInfo
,
23222 _swigc__p_wxNavigationKeyEvent
,
23223 _swigc__p_wxNcPaintEvent
,
23224 _swigc__p_wxNotifyEvent
,
23225 _swigc__p_wxObject
,
23226 _swigc__p_wxPCXHandler
,
23227 _swigc__p_wxPNGHandler
,
23228 _swigc__p_wxPNMHandler
,
23229 _swigc__p_wxPaintDC
,
23230 _swigc__p_wxPaintEvent
,
23231 _swigc__p_wxPalette
,
23232 _swigc__p_wxPaletteChangedEvent
,
23233 _swigc__p_wxPaperSize
,
23235 _swigc__p_wxPenList
,
23237 _swigc__p_wxPostScriptDC
,
23238 _swigc__p_wxPrintData
,
23239 _swigc__p_wxPrinterDC
,
23241 _swigc__p_wxPyCommandEvent
,
23242 _swigc__p_wxPyEvent
,
23243 _swigc__p_wxPyFontEnumerator
,
23244 _swigc__p_wxPyImageHandler
,
23245 _swigc__p_wxPySizer
,
23246 _swigc__p_wxPyValidator
,
23247 _swigc__p_wxQueryNewPaletteEvent
,
23249 _swigc__p_wxRegion
,
23250 _swigc__p_wxRegionIterator
,
23251 _swigc__p_wxRendererNative
,
23252 _swigc__p_wxRendererVersion
,
23253 _swigc__p_wxScreenDC
,
23254 _swigc__p_wxScrollEvent
,
23255 _swigc__p_wxScrollWinEvent
,
23256 _swigc__p_wxSetCursorEvent
,
23257 _swigc__p_wxShowEvent
,
23259 _swigc__p_wxSizeEvent
,
23261 _swigc__p_wxSizerItem
,
23262 _swigc__p_wxSplitterRenderParams
,
23263 _swigc__p_wxStaticBoxSizer
,
23264 _swigc__p_wxStdDialogButtonSizer
,
23265 _swigc__p_wxString
,
23266 _swigc__p_wxSysColourChangedEvent
,
23267 _swigc__p_wxTIFFHandler
,
23268 _swigc__p_wxUpdateUIEvent
,
23269 _swigc__p_wxValidator
,
23270 _swigc__p_wxWindow
,
23271 _swigc__p_wxWindowCreateEvent
,
23272 _swigc__p_wxWindowDC
,
23273 _swigc__p_wxWindowDestroyEvent
,
23274 _swigc__p_wxXPMHandler
,
23276 _swigc__std__ptrdiff_t
,
23277 _swigc__unsigned_int
,
23281 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23283 static swig_const_info swig_const_table
[] = {
23284 {0, 0, 0, 0.0, 0, 0}};
23289 /*************************************************************************
23290 * Type initialization:
23291 * This problem is tough by the requirement that no dynamic
23292 * memory is used. Also, since swig_type_info structures store pointers to
23293 * swig_cast_info structures and swig_cast_info structures store pointers back
23294 * to swig_type_info structures, we need some lookup code at initialization.
23295 * The idea is that swig generates all the structures that are needed.
23296 * The runtime then collects these partially filled structures.
23297 * The SWIG_InitializeModule function takes these initial arrays out of
23298 * swig_module, and does all the lookup, filling in the swig_module.types
23299 * array with the correct data and linking the correct swig_cast_info
23300 * structures together.
23302 * The generated swig_type_info structures are assigned staticly to an initial
23303 * array. We just loop though that array, and handle each type individually.
23304 * First we lookup if this type has been already loaded, and if so, use the
23305 * loaded structure instead of the generated one. Then we have to fill in the
23306 * cast linked list. The cast data is initially stored in something like a
23307 * two-dimensional array. Each row corresponds to a type (there are the same
23308 * number of rows as there are in the swig_type_initial array). Each entry in
23309 * a column is one of the swig_cast_info structures for that type.
23310 * The cast_initial array is actually an array of arrays, because each row has
23311 * a variable number of columns. So to actually build the cast linked list,
23312 * we find the array of casts associated with the type, and loop through it
23313 * adding the casts to the list. The one last trick we need to do is making
23314 * sure the type pointer in the swig_cast_info struct is correct.
23316 * First off, we lookup the cast->type name to see if it is already loaded.
23317 * There are three cases to handle:
23318 * 1) If the cast->type has already been loaded AND the type we are adding
23319 * casting info to has not been loaded (it is in this module), THEN we
23320 * replace the cast->type pointer with the type pointer that has already
23322 * 2) If BOTH types (the one we are adding casting info to, and the
23323 * cast->type) are loaded, THEN the cast info has already been loaded by
23324 * the previous module so we just ignore it.
23325 * 3) Finally, if cast->type has not already been loaded, then we add that
23326 * swig_cast_info to the linked list (because the cast->type) pointer will
23338 #define SWIGRUNTIME_DEBUG
23342 SWIG_InitializeModule(void *clientdata
) {
23344 swig_module_info
*module_head
;
23345 static int init_run
= 0;
23347 clientdata
= clientdata
;
23349 if (init_run
) return;
23352 /* Initialize the swig_module */
23353 swig_module
.type_initial
= swig_type_initial
;
23354 swig_module
.cast_initial
= swig_cast_initial
;
23356 /* Try and load any already created modules */
23357 module_head
= SWIG_GetModule(clientdata
);
23359 swig_module
.next
= module_head
->next
;
23360 module_head
->next
= &swig_module
;
23362 /* This is the first module loaded */
23363 swig_module
.next
= &swig_module
;
23364 SWIG_SetModule(clientdata
, &swig_module
);
23367 /* Now work on filling in swig_module.types */
23368 #ifdef SWIGRUNTIME_DEBUG
23369 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
23371 for (i
= 0; i
< swig_module
.size
; ++i
) {
23372 swig_type_info
*type
= 0;
23373 swig_type_info
*ret
;
23374 swig_cast_info
*cast
;
23376 #ifdef SWIGRUNTIME_DEBUG
23377 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
23380 /* if there is another module already loaded */
23381 if (swig_module
.next
!= &swig_module
) {
23382 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
23385 /* Overwrite clientdata field */
23386 #ifdef SWIGRUNTIME_DEBUG
23387 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
23389 if (swig_module
.type_initial
[i
]->clientdata
) {
23390 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
23391 #ifdef SWIGRUNTIME_DEBUG
23392 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
23396 type
= swig_module
.type_initial
[i
];
23399 /* Insert casting types */
23400 cast
= swig_module
.cast_initial
[i
];
23401 while (cast
->type
) {
23402 /* Don't need to add information already in the list */
23404 #ifdef SWIGRUNTIME_DEBUG
23405 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
23407 if (swig_module
.next
!= &swig_module
) {
23408 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
23409 #ifdef SWIGRUNTIME_DEBUG
23410 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
23414 if (type
== swig_module
.type_initial
[i
]) {
23415 #ifdef SWIGRUNTIME_DEBUG
23416 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
23421 /* Check for casting already in the list */
23422 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
23423 #ifdef SWIGRUNTIME_DEBUG
23424 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
23426 if (!ocast
) ret
= 0;
23431 #ifdef SWIGRUNTIME_DEBUG
23432 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
23435 type
->cast
->prev
= cast
;
23436 cast
->next
= type
->cast
;
23442 /* Set entry in modules->types array equal to the type */
23443 swig_module
.types
[i
] = type
;
23445 swig_module
.types
[i
] = 0;
23447 #ifdef SWIGRUNTIME_DEBUG
23448 printf("**** SWIG_InitializeModule: Cast List ******\n");
23449 for (i
= 0; i
< swig_module
.size
; ++i
) {
23451 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
23452 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
23453 while (cast
->type
) {
23454 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
23458 printf("---- Total casts: %d\n",j
);
23460 printf("**** SWIG_InitializeModule: Cast List ******\n");
23464 /* This function will propagate the clientdata field of type to
23465 * any new swig_type_info structures that have been added into the list
23466 * of equivalent types. It is like calling
23467 * SWIG_TypeClientData(type, clientdata) a second time.
23470 SWIG_PropagateClientData(void) {
23472 swig_cast_info
*equiv
;
23473 static int init_run
= 0;
23475 if (init_run
) return;
23478 for (i
= 0; i
< swig_module
.size
; i
++) {
23479 if (swig_module
.types
[i
]->clientdata
) {
23480 equiv
= swig_module
.types
[i
]->cast
;
23482 if (!equiv
->converter
) {
23483 if (equiv
->type
&& !equiv
->type
->clientdata
)
23484 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
23486 equiv
= equiv
->next
;
23506 /* Python-specific SWIG API */
23507 #define SWIG_newvarlink() SWIG_Python_newvarlink()
23508 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
23509 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
23511 /* -----------------------------------------------------------------------------
23512 * global variable support code.
23513 * ----------------------------------------------------------------------------- */
23515 typedef struct swig_globalvar
{
23516 char *name
; /* Name of global variable */
23517 PyObject
*(*get_attr
)(void); /* Return the current value */
23518 int (*set_attr
)(PyObject
*); /* Set the value */
23519 struct swig_globalvar
*next
;
23522 typedef struct swig_varlinkobject
{
23524 swig_globalvar
*vars
;
23525 } swig_varlinkobject
;
23527 SWIGINTERN PyObject
*
23528 swig_varlink_repr(swig_varlinkobject
*v
) {
23530 return PyString_FromString("<Swig global variables>");
23534 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
23535 swig_globalvar
*var
;
23537 fprintf(fp
,"Swig global variables { ");
23538 for (var
= v
->vars
; var
; var
=var
->next
) {
23539 fprintf(fp
,"%s", var
->name
);
23540 if (var
->next
) fprintf(fp
,", ");
23542 fprintf(fp
," }\n");
23546 SWIGINTERN PyObject
*
23547 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
23548 swig_globalvar
*var
= v
->vars
;
23550 if (strcmp(var
->name
,n
) == 0) {
23551 return (*var
->get_attr
)();
23555 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23560 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
23561 swig_globalvar
*var
= v
->vars
;
23563 if (strcmp(var
->name
,n
) == 0) {
23564 return (*var
->set_attr
)(p
);
23568 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23572 SWIGINTERN PyTypeObject
*
23573 swig_varlink_type(void) {
23574 static char varlink__doc__
[] = "Swig var link object";
23575 static PyTypeObject varlink_type
23576 #if !defined(__cplusplus)
23578 static int type_init
= 0;
23583 PyObject_HEAD_INIT(&PyType_Type
)
23584 0, /* Number of items in variable part (ob_size) */
23585 (char *)"swigvarlink", /* Type name (tp_name) */
23586 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
23587 0, /* Itemsize (tp_itemsize) */
23588 0, /* Deallocator (tp_dealloc) */
23589 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
23590 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
23591 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
23592 0, /* tp_compare */
23593 (reprfunc
) swig_varlink_repr
, /* tp_repr */
23594 0, /* tp_as_number */
23595 0, /* tp_as_sequence */
23596 0, /* tp_as_mapping */
23600 0, /* tp_getattro */
23601 0, /* tp_setattro */
23602 0, /* tp_as_buffer */
23604 varlink__doc__
, /* tp_doc */
23605 #if PY_VERSION_HEX >= 0x02000000
23606 0, /* tp_traverse */
23609 #if PY_VERSION_HEX >= 0x02010000
23610 0, /* tp_richcompare */
23611 0, /* tp_weaklistoffset */
23613 #if PY_VERSION_HEX >= 0x02020000
23614 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
23616 #if PY_VERSION_HEX >= 0x02030000
23619 #ifdef COUNT_ALLOCS
23620 0,0,0,0 /* tp_alloc -> tp_next */
23623 #if !defined(__cplusplus)
23624 varlink_type
= tmp
;
23628 return &varlink_type
;
23631 /* Create a variable linking object for use later */
23632 SWIGINTERN PyObject
*
23633 SWIG_Python_newvarlink(void) {
23634 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
23638 return ((PyObject
*) result
);
23642 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
23643 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
23644 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
23646 size_t size
= strlen(name
)+1;
23647 gv
->name
= (char *)malloc(size
);
23649 strncpy(gv
->name
,name
,size
);
23650 gv
->get_attr
= get_attr
;
23651 gv
->set_attr
= set_attr
;
23652 gv
->next
= v
->vars
;
23658 /* -----------------------------------------------------------------------------
23659 * constants/methods manipulation
23660 * ----------------------------------------------------------------------------- */
23662 /* Install Constants */
23664 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
23667 for (i
= 0; constants
[i
].type
; ++i
) {
23668 switch(constants
[i
].type
) {
23670 obj
= PyInt_FromLong(constants
[i
].lvalue
);
23672 case SWIG_PY_FLOAT
:
23673 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
23675 case SWIG_PY_STRING
:
23676 if (constants
[i
].pvalue
) {
23677 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
23679 Py_INCREF(Py_None
);
23683 case SWIG_PY_POINTER
:
23684 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
23686 case SWIG_PY_BINARY
:
23687 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
23694 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
23700 /* -----------------------------------------------------------------------------*/
23701 /* Fix SwigMethods to carry the callback ptrs when needed */
23702 /* -----------------------------------------------------------------------------*/
23705 SWIG_Python_FixMethods(PyMethodDef
*methods
,
23706 swig_const_info
*const_table
,
23707 swig_type_info
**types
,
23708 swig_type_info
**types_initial
) {
23710 for (i
= 0; methods
[i
].ml_name
; ++i
) {
23711 char *c
= methods
[i
].ml_doc
;
23712 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
23714 swig_const_info
*ci
= 0;
23715 char *name
= c
+ 10;
23716 for (j
= 0; const_table
[j
].type
; ++j
) {
23717 if (strncmp(const_table
[j
].name
, name
,
23718 strlen(const_table
[j
].name
)) == 0) {
23719 ci
= &(const_table
[j
]);
23724 size_t shift
= (ci
->ptype
) - types
;
23725 swig_type_info
*ty
= types_initial
[shift
];
23726 size_t ldoc
= (c
- methods
[i
].ml_doc
);
23727 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
23728 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
23731 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
23733 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
23735 strncpy(buff
, "swig_ptr: ", 10);
23737 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
23738 methods
[i
].ml_doc
= ndoc
;
23746 /* -----------------------------------------------------------------------------*
23747 * Initialize type list
23748 * -----------------------------------------------------------------------------*/
23754 /* -----------------------------------------------------------------------------*
23755 * Partial Init method
23756 * -----------------------------------------------------------------------------*/
23761 SWIGEXPORT
void SWIG_init(void) {
23762 static PyObject
*SWIG_globals
= 0;
23764 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
23766 /* Fix SwigMethods to carry the callback ptrs when needed */
23767 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
23769 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23770 d
= PyModule_GetDict(m
);
23772 SWIG_InitializeModule(0);
23773 SWIG_InstallConstants(d
,swig_const_table
);
23776 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int(static_cast<int >(wxOutRegion
)));
23779 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int(static_cast<int >(wxPartRegion
)));
23782 PyDict_SetItemString(d
,"InRegion", SWIG_From_int(static_cast<int >(wxInRegion
)));
23785 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DEFAULT
)));
23788 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DECORATIVE
)));
23791 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_ROMAN
)));
23794 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SCRIPT
)));
23797 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SWISS
)));
23800 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MODERN
)));
23803 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_TELETYPE
)));
23806 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MAX
)));
23809 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_UNKNOWN
)));
23812 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int(static_cast<int >(wxFONTSTYLE_NORMAL
)));
23815 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int(static_cast<int >(wxFONTSTYLE_ITALIC
)));
23818 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int(static_cast<int >(wxFONTSTYLE_SLANT
)));
23821 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int(static_cast<int >(wxFONTSTYLE_MAX
)));
23824 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_NORMAL
)));
23827 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_LIGHT
)));
23830 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_BOLD
)));
23833 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_MAX
)));
23836 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFLAG_DEFAULT
)));
23839 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int(static_cast<int >(wxFONTFLAG_ITALIC
)));
23842 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int(static_cast<int >(wxFONTFLAG_SLANT
)));
23845 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int(static_cast<int >(wxFONTFLAG_LIGHT
)));
23848 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int(static_cast<int >(wxFONTFLAG_BOLD
)));
23851 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_ANTIALIASED
)));
23854 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_NOT_ANTIALIASED
)));
23857 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int(static_cast<int >(wxFONTFLAG_UNDERLINED
)));
23860 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int(static_cast<int >(wxFONTFLAG_STRIKETHROUGH
)));
23863 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int(static_cast<int >(wxFONTFLAG_MASK
)));
23866 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int(static_cast<int >(wxFONTENCODING_SYSTEM
)));
23869 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTENCODING_DEFAULT
)));
23872 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_1
)));
23875 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_2
)));
23878 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_3
)));
23881 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_4
)));
23884 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_5
)));
23887 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_6
)));
23890 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_7
)));
23893 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_8
)));
23896 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_9
)));
23899 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_10
)));
23902 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_11
)));
23905 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_12
)));
23908 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_13
)));
23911 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_14
)));
23914 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_15
)));
23917 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_MAX
)));
23920 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8
)));
23923 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8_U
)));
23926 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int(static_cast<int >(wxFONTENCODING_ALTERNATIVE
)));
23929 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_BULGARIAN
)));
23932 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP437
)));
23935 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP850
)));
23938 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP852
)));
23941 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP855
)));
23944 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP866
)));
23947 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP874
)));
23950 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP932
)));
23953 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP936
)));
23956 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP949
)));
23959 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP950
)));
23962 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1250
)));
23965 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1251
)));
23968 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1252
)));
23971 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1253
)));
23974 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1254
)));
23977 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1255
)));
23980 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1256
)));
23983 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1257
)));
23986 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP12_MAX
)));
23989 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF7
)));
23992 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF8
)));
23995 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int(static_cast<int >(wxFONTENCODING_EUC_JP
)));
23998 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16BE
)));
24001 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16LE
)));
24004 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32BE
)));
24007 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32LE
)));
24010 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMAN
)));
24013 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACJAPANESE
)));
24016 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESETRAD
)));
24019 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKOREAN
)));
24022 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABIC
)));
24025 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACHEBREW
)));
24028 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGREEK
)));
24031 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCYRILLIC
)));
24034 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDEVANAGARI
)));
24037 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGURMUKHI
)));
24040 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGUJARATI
)));
24043 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACORIYA
)));
24046 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBENGALI
)));
24049 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTAMIL
)));
24052 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTELUGU
)));
24055 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKANNADA
)));
24058 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMALAJALAM
)));
24061 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSINHALESE
)));
24064 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBURMESE
)));
24067 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKHMER
)));
24070 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTHAI
)));
24073 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACLAOTIAN
)));
24076 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGEORGIAN
)));
24079 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARMENIAN
)));
24082 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESESIMP
)));
24085 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTIBETAN
)));
24088 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMONGOLIAN
)));
24091 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACETHIOPIC
)));
24094 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCENTRALEUR
)));
24097 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACVIATNAMESE
)));
24100 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABICEXT
)));
24103 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSYMBOL
)));
24106 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDINGBATS
)));
24109 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTURKISH
)));
24112 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCROATIAN
)));
24115 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACICELANDIC
)));
24118 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMANIAN
)));
24121 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCELTIC
)));
24124 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGAELIC
)));
24127 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKEYBOARD
)));
24130 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMIN
)));
24133 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMAX
)));
24136 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MAX
)));
24139 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16
)));
24142 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32
)));
24145 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UNICODE
)));
24148 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int(static_cast<int >(wxFONTENCODING_GB2312
)));
24151 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int(static_cast<int >(wxFONTENCODING_BIG5
)));
24154 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int(static_cast<int >(wxFONTENCODING_SHIFT_JIS
)));
24157 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
24160 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int(static_cast<int >(wxLANGUAGE_DEFAULT
)));
24163 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UNKNOWN
)));
24166 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ABKHAZIAN
)));
24169 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFAR
)));
24172 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFRIKAANS
)));
24175 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ALBANIAN
)));
24178 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AMHARIC
)));
24181 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC
)));
24184 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_ALGERIA
)));
24187 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
24190 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_EGYPT
)));
24193 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_IRAQ
)));
24196 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_JORDAN
)));
24199 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_KUWAIT
)));
24202 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LEBANON
)));
24205 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LIBYA
)));
24208 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_MOROCCO
)));
24211 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_OMAN
)));
24214 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_QATAR
)));
24217 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
24220 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SUDAN
)));
24223 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SYRIA
)));
24226 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_TUNISIA
)));
24229 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_UAE
)));
24232 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_YEMEN
)));
24235 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARMENIAN
)));
24238 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ASSAMESE
)));
24241 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int(static_cast<int >(wxLANGUAGE_AYMARA
)));
24244 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI
)));
24247 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_CYRILLIC
)));
24250 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_LATIN
)));
24253 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASHKIR
)));
24256 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASQUE
)));
24259 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BELARUSIAN
)));
24262 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BENGALI
)));
24265 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BHUTANI
)));
24268 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BIHARI
)));
24271 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_BISLAMA
)));
24274 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int(static_cast<int >(wxLANGUAGE_BRETON
)));
24277 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BULGARIAN
)));
24280 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BURMESE
)));
24283 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CAMBODIAN
)));
24286 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CATALAN
)));
24289 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE
)));
24292 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
24295 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
24298 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_HONGKONG
)));
24301 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_MACAU
)));
24304 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
24307 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TAIWAN
)));
24310 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CORSICAN
)));
24313 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CROATIAN
)));
24316 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int(static_cast<int >(wxLANGUAGE_CZECH
)));
24319 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DANISH
)));
24322 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH
)));
24325 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH_BELGIAN
)));
24328 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH
)));
24331 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_UK
)));
24334 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_US
)));
24337 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
24340 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BELIZE
)));
24343 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
24346 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CANADA
)));
24349 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
24352 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_DENMARK
)));
24355 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_EIRE
)));
24358 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
24361 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
24364 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
24367 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
24370 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
24373 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
24376 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESPERANTO
)));
24379 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESTONIAN
)));
24382 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_FAEROESE
)));
24385 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FARSI
)));
24388 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FIJI
)));
24391 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FINNISH
)));
24394 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH
)));
24397 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_BELGIAN
)));
24400 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_CANADIAN
)));
24403 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
24406 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_MONACO
)));
24409 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_SWISS
)));
24412 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRISIAN
)));
24415 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GALICIAN
)));
24418 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GEORGIAN
)));
24421 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN
)));
24424 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
24427 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_BELGIUM
)));
24430 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
24433 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
24436 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_SWISS
)));
24439 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREEK
)));
24442 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREENLANDIC
)));
24445 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUARANI
)));
24448 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUJARATI
)));
24451 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_HAUSA
)));
24454 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int(static_cast<int >(wxLANGUAGE_HEBREW
)));
24457 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_HINDI
)));
24460 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_HUNGARIAN
)));
24463 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ICELANDIC
)));
24466 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_INDONESIAN
)));
24469 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUA
)));
24472 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUE
)));
24475 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUKTITUT
)));
24478 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUPIAK
)));
24481 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_IRISH
)));
24484 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN
)));
24487 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN_SWISS
)));
24490 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAPANESE
)));
24493 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAVANESE
)));
24496 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KANNADA
)));
24499 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI
)));
24502 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI_INDIA
)));
24505 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KAZAKH
)));
24508 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_KERNEWEK
)));
24511 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KINYARWANDA
)));
24514 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRGHIZ
)));
24517 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRUNDI
)));
24520 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KONKANI
)));
24523 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_KOREAN
)));
24526 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KURDISH
)));
24529 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LAOTHIAN
)));
24532 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATIN
)));
24535 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATVIAN
)));
24538 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_LINGALA
)));
24541 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LITHUANIAN
)));
24544 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MACEDONIAN
)));
24547 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAGASY
)));
24550 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY
)));
24553 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAYALAM
)));
24556 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
24559 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_MALAYSIA
)));
24562 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALTESE
)));
24565 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MANIPURI
)));
24568 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MAORI
)));
24571 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MARATHI
)));
24574 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MOLDAVIAN
)));
24577 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MONGOLIAN
)));
24580 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int(static_cast<int >(wxLANGUAGE_NAURU
)));
24583 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI
)));
24586 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI_INDIA
)));
24589 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
24592 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
24595 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_OCCITAN
)));
24598 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ORIYA
)));
24601 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int(static_cast<int >(wxLANGUAGE_OROMO
)));
24604 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_PASHTO
)));
24607 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_POLISH
)));
24610 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE
)));
24613 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
24616 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int(static_cast<int >(wxLANGUAGE_PUNJABI
)));
24619 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_QUECHUA
)));
24622 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RHAETO_ROMANCE
)));
24625 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ROMANIAN
)));
24628 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN
)));
24631 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
24634 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SAMOAN
)));
24637 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANGHO
)));
24640 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANSKRIT
)));
24643 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SCOTS_GAELIC
)));
24646 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN
)));
24649 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
24652 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_LATIN
)));
24655 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBO_CROATIAN
)));
24658 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SESOTHO
)));
24661 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SETSWANA
)));
24664 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SHONA
)));
24667 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINDHI
)));
24670 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINHALESE
)));
24673 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SISWATI
)));
24676 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVAK
)));
24679 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVENIAN
)));
24682 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SOMALI
)));
24685 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH
)));
24688 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
24691 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
24694 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_CHILE
)));
24697 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
24700 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
24703 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
24706 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ECUADOR
)));
24709 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
24712 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
24715 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_HONDURAS
)));
24718 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MEXICAN
)));
24721 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MODERN
)));
24724 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
24727 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PANAMA
)));
24730 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
24733 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PERU
)));
24736 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
24739 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_URUGUAY
)));
24742 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_US
)));
24745 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
24748 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SUNDANESE
)));
24751 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWAHILI
)));
24754 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH
)));
24757 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH_FINLAND
)));
24760 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAGALOG
)));
24763 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAJIK
)));
24766 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAMIL
)));
24769 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_TATAR
)));
24772 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int(static_cast<int >(wxLANGUAGE_TELUGU
)));
24775 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int(static_cast<int >(wxLANGUAGE_THAI
)));
24778 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIBETAN
)));
24781 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIGRINYA
)));
24784 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TONGA
)));
24787 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TSONGA
)));
24790 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKISH
)));
24793 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKMEN
)));
24796 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int(static_cast<int >(wxLANGUAGE_TWI
)));
24799 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int(static_cast<int >(wxLANGUAGE_UIGHUR
)));
24802 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UKRAINIAN
)));
24805 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU
)));
24808 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_INDIA
)));
24811 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_PAKISTAN
)));
24814 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK
)));
24817 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
24820 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_LATIN
)));
24823 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_VIETNAMESE
)));
24826 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int(static_cast<int >(wxLANGUAGE_VOLAPUK
)));
24829 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int(static_cast<int >(wxLANGUAGE_WELSH
)));
24832 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int(static_cast<int >(wxLANGUAGE_WOLOF
)));
24835 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_XHOSA
)));
24838 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_YIDDISH
)));
24841 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int(static_cast<int >(wxLANGUAGE_YORUBA
)));
24844 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZHUANG
)));
24847 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZULU
)));
24850 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int(static_cast<int >(wxLANGUAGE_USER_DEFINED
)));
24853 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_NUMBER
)));
24856 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_DATE
)));
24859 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MONEY
)));
24862 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MAX
)));
24865 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int(static_cast<int >(wxLOCALE_THOUSANDS_SEP
)));
24868 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int(static_cast<int >(wxLOCALE_DECIMAL_POINT
)));
24871 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int(static_cast<int >(wxLOCALE_LOAD_DEFAULT
)));
24874 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int(static_cast<int >(wxLOCALE_CONV_ENCODING
)));
24877 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int(static_cast<int >(wxCONVERT_STRICT
)));
24880 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int(static_cast<int >(wxCONVERT_SUBSTITUTE
)));
24883 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int(static_cast<int >(wxPLATFORM_CURRENT
)));
24886 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int(static_cast<int >(wxPLATFORM_UNIX
)));
24889 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int(static_cast<int >(wxPLATFORM_WINDOWS
)));
24892 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int(static_cast<int >(wxPLATFORM_OS2
)));
24895 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int(static_cast<int >(wxPLATFORM_MAC
)));
24898 PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_VIRTUAL_AREA
)));
24901 PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_CLIENT_AREA
)));
24904 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_NORMAL
)));
24907 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
24910 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_SELECTED
)));
24913 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_FOCUSED
)));
24916 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_NORMAL
)));
24919 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_SMALL
)));
24922 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_STATE
)));
24924 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24925 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
24926 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
24927 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
24928 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
24929 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
24930 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
24931 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
24932 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
24933 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
24934 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
24935 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
24936 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
24937 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
24938 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
24939 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
24940 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
24941 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
24942 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
24943 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
24944 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
24945 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
24946 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
24947 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
24948 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
24949 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
24950 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
24951 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
24952 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
24953 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
24954 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
24955 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
24956 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
24957 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
24958 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
24959 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
24960 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
24961 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
24962 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
24963 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
24964 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
24965 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
24966 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
24967 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
24968 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
24969 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
24970 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
24972 PyDict_SetItemString(d
,"CONTROL_DISABLED", SWIG_From_int(static_cast<int >(wxCONTROL_DISABLED
)));
24975 PyDict_SetItemString(d
,"CONTROL_FOCUSED", SWIG_From_int(static_cast<int >(wxCONTROL_FOCUSED
)));
24978 PyDict_SetItemString(d
,"CONTROL_PRESSED", SWIG_From_int(static_cast<int >(wxCONTROL_PRESSED
)));
24981 PyDict_SetItemString(d
,"CONTROL_ISDEFAULT", SWIG_From_int(static_cast<int >(wxCONTROL_ISDEFAULT
)));
24984 PyDict_SetItemString(d
,"CONTROL_ISSUBMENU", SWIG_From_int(static_cast<int >(wxCONTROL_ISSUBMENU
)));
24987 PyDict_SetItemString(d
,"CONTROL_EXPANDED", SWIG_From_int(static_cast<int >(wxCONTROL_EXPANDED
)));
24990 PyDict_SetItemString(d
,"CONTROL_CURRENT", SWIG_From_int(static_cast<int >(wxCONTROL_CURRENT
)));
24993 PyDict_SetItemString(d
,"CONTROL_SELECTED", SWIG_From_int(static_cast<int >(wxCONTROL_SELECTED
)));
24996 PyDict_SetItemString(d
,"CONTROL_CHECKED", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKED
)));
24999 PyDict_SetItemString(d
,"CONTROL_CHECKABLE", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKABLE
)));
25002 PyDict_SetItemString(d
,"CONTROL_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCONTROL_UNDETERMINED
)));
25005 PyDict_SetItemString(d
,"CONTROL_FLAGS_MASK", SWIG_From_int(static_cast<int >(wxCONTROL_FLAGS_MASK
)));
25008 PyDict_SetItemString(d
,"CONTROL_DIRTY", SWIG_From_int(static_cast<int >(wxCONTROL_DIRTY
)));
25011 PyDict_SetItemString(d
,"RendererVersion_Current_Version", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Version
)));
25014 PyDict_SetItemString(d
,"RendererVersion_Current_Age", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Age
)));
25017 // Work around a chicken/egg problem in drawlist.cpp
25018 wxPyDrawList_SetAPIPtr();