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 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1805 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1809 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\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 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\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 #include <wx/image.h>
1930 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1931 char** cArray
= NULL
;
1934 if (!PyList_Check(listOfStrings
)) {
1935 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1938 count
= PyList_Size(listOfStrings
);
1939 cArray
= new char*[count
];
1941 for(int x
=0; x
<count
; x
++) {
1942 // TODO: Need some validation and error checking here
1943 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1949 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1950 char** cArray
= NULL
;
1953 cArray
= ConvertListOfStrings(listOfStrings
);
1956 bmp
= new wxBitmap(cArray
);
1960 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1963 PyString_AsStringAndSize(bits
, &buf
, &length
);
1964 return new wxBitmap(buf
, width
, height
, depth
);
1967 SWIGINTERNINLINE
long
1968 SWIG_As_long(PyObject
* obj
)
1971 if (!SWIG_AsVal_long(obj
, &v
)) {
1973 this is needed to make valgrind/purify happier.
1975 memset((void*)&v
, 0, sizeof(long));
1981 SWIGINTERNINLINE
int
1982 SWIG_Check_long(PyObject
* obj
)
1984 return SWIG_AsVal_long(obj
, (long*)0);
1987 static void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
1988 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1989 wxSize
size(self
->GetWidth(), self
->GetHeight());
1992 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1993 wxMask
*mask
= new wxMask(*self
, colour
);
1994 self
->SetMask(mask
);
1996 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1997 self
->SetWidth(size
.x
);
1998 self
->SetHeight(size
.y
);
2000 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2001 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2002 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2004 return new wxMask(bitmap
, *wxBLACK
);
2006 return new wxMask(bitmap
, colour
);
2009 #include <wx/iconbndl.h>
2011 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2012 wxIcon
* icon
= new wxIcon();
2013 icon
->CopyFromBitmap(bmp
);
2016 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2017 char** cArray
= NULL
;
2020 cArray
= ConvertListOfStrings(listOfStrings
);
2023 icon
= new wxIcon(cArray
);
2027 static void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2028 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2030 return new wxIconLocation(*filename
, num
);
2035 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2037 self
->SetIndex(num
);
2042 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
2044 return self
->GetIndex();
2049 static wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2051 wxImage
img(cursorName
, type
);
2052 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2053 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2054 return new wxCursor(img
);
2056 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2059 static void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2062 static void wxRegionIterator_Next(wxRegionIterator
*self
){
2065 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2066 return self
->operator bool();
2069 #include <wx/fontutil.h>
2070 #include <wx/fontmap.h>
2071 #include <wx/fontenum.h>
2073 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
2074 return self
->ToString();
2077 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
2078 { wxPyRaiseNotImplemented(); return NULL
; }
2080 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
2081 { wxPyRaiseNotImplemented(); return false; }
2083 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
2084 wxFontEncoding alt_enc
;
2085 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
2086 return PyInt_FromLong(alt_enc
);
2092 static wxFont
*new_wxFont(wxString
const &info
){
2093 wxNativeFontInfo nfi
;
2094 nfi
.FromString(info
);
2095 return new wxFont(nfi
);
2097 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
2098 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
2100 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
2101 return wxFontBase::New(pixelSize
, family
,
2102 style
, weight
, underlined
,
2105 static wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
2106 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
2108 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
2109 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
2111 class wxPyFontEnumerator
: public wxFontEnumerator
{
2113 wxPyFontEnumerator() {}
2114 ~wxPyFontEnumerator() {}
2116 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
2117 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
2122 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
2123 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
2126 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
2127 wxArrayString
* arr
= self
->GetEncodings();
2129 return wxArrayString2PyList_helper(*arr
);
2131 return PyList_New(0);
2133 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
2134 wxArrayString
* arr
= self
->GetFacenames();
2136 return wxArrayString2PyList_helper(*arr
);
2138 return PyList_New(0);
2143 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2146 loc
= new wxLocale();
2148 loc
= new wxLocale(language
, flags
);
2149 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2150 // for the floating point conversions and such to work right.
2151 #if PY_VERSION_HEX < 0x02040000
2152 setlocale(LC_NUMERIC
, "C");
2156 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
2157 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
2158 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2159 // for the floating point conversions and such to work right.
2160 #if PY_VERSION_HEX < 0x02040000
2161 setlocale(LC_NUMERIC
, "C");
2165 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2166 bool rc
= self
->Init(language
, flags
);
2167 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2168 // for the floating point conversions and such to work right.
2169 #if PY_VERSION_HEX < 0x02040000
2170 setlocale(LC_NUMERIC
, "C");
2175 #include "wx/wxPython/pydrawxxx.h"
2177 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2179 self
->GetPixel(x
, y
, &col
);
2182 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2184 self
->GetPixel(pt
, &col
);
2189 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2191 if (PyNumber_Check(obj
)) {
2192 if (val
) *val
= PyFloat_AsDouble(obj
);
2196 SWIG_Python_TypeError("number", obj
);
2202 SWIGINTERNINLINE
double
2203 SWIG_As_double(PyObject
* obj
)
2206 if (!SWIG_AsVal_double(obj
, &v
)) {
2208 this is needed to make valgrind/purify happier.
2210 memset((void*)&v
, 0, sizeof(double));
2216 SWIGINTERNINLINE
int
2217 SWIG_Check_double(PyObject
* obj
)
2219 return SWIG_AsVal_double(obj
, (double*)0);
2222 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2224 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2228 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2230 self
->GetClippingBox(rect
);
2233 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2235 self
->GetPartialTextExtents(text
, widths
);
2239 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2240 #define SWIG_From_double PyFloat_FromDouble
2244 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2245 self
->SetLogicalOrigin(point
.x
, point
.y
);
2247 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2248 self
->SetDeviceOrigin(point
.x
, point
.y
);
2250 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2251 self
->CalcBoundingBox(point
.x
, point
.y
);
2253 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2254 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2256 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2257 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2259 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2260 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2262 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2263 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2265 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2266 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2268 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2269 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2272 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2280 #include <wx/dcbuffer.h>
2283 #include <wx/dcps.h>
2286 #include <wx/metafile.h>
2290 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2291 self
->AddColour(name
, wxColour(red
, green
, blue
));
2294 #include <wx/effects.h>
2297 #include "wx/renderer.h"
2300 SWIGINTERNINLINE PyObject
*
2301 SWIG_From_bool(bool value
)
2303 PyObject
*obj
= value
? Py_True
: Py_False
;
2311 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
= NULL
;
2313 wxGDIObject
*result
;
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2320 if (!wxPyCheckForApp()) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 result
= (wxGDIObject
*)new wxGDIObject();
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2334 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
= NULL
;
2336 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2337 PyObject
* obj0
= 0 ;
2339 (char *) "self", NULL
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2344 if (SWIG_arg_fail(1)) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 Py_INCREF(Py_None
); resultobj
= Py_None
;
2359 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
*resultobj
= NULL
;
2361 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2363 PyObject
* obj0
= 0 ;
2365 (char *) "self", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2370 if (SWIG_arg_fail(1)) SWIG_fail
;
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 result
= (bool)(arg1
)->GetVisible();
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2387 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
*resultobj
= NULL
;
2389 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2391 PyObject
* obj0
= 0 ;
2392 PyObject
* obj1
= 0 ;
2394 (char *) "self",(char *) "visible", NULL
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2399 if (SWIG_arg_fail(1)) SWIG_fail
;
2401 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
2402 if (SWIG_arg_fail(2)) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 (arg1
)->SetVisible(arg2
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 Py_INCREF(Py_None
); resultobj
= Py_None
;
2418 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
= NULL
;
2420 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2422 PyObject
* obj0
= 0 ;
2424 (char *) "self", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2429 if (SWIG_arg_fail(1)) SWIG_fail
;
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 result
= (bool)(arg1
)->IsNull();
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2446 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2449 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2451 return Py_BuildValue((char *)"");
2453 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
= NULL
;
2455 byte arg1
= (byte
) 0 ;
2456 byte arg2
= (byte
) 0 ;
2457 byte arg3
= (byte
) 0 ;
2459 PyObject
* obj0
= 0 ;
2460 PyObject
* obj1
= 0 ;
2461 PyObject
* obj2
= 0 ;
2463 (char *) "red",(char *) "green",(char *) "blue", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2469 arg1
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj0
));
2470 if (SWIG_arg_fail(1)) SWIG_fail
;
2475 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
2476 if (SWIG_arg_fail(2)) SWIG_fail
;
2481 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
2482 if (SWIG_arg_fail(3)) SWIG_fail
;
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2499 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
*resultobj
= NULL
;
2501 wxString
*arg1
= 0 ;
2503 bool temp1
= false ;
2504 PyObject
* obj0
= 0 ;
2506 (char *) "colorName", NULL
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2511 arg1
= wxString_in_helper(obj0
);
2512 if (arg1
== NULL
) SWIG_fail
;
2516 if (!wxPyCheckForApp()) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2538 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
*resultobj
= NULL
;
2540 unsigned long arg1
;
2542 PyObject
* obj0
= 0 ;
2544 (char *) "colRGB", NULL
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2549 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
2550 if (SWIG_arg_fail(1)) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 result
= (wxColour
*)new wxColour(arg1
);
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2566 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
= NULL
;
2568 wxColour
*arg1
= (wxColour
*) 0 ;
2569 PyObject
* obj0
= 0 ;
2571 (char *) "self", NULL
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2576 if (SWIG_arg_fail(1)) SWIG_fail
;
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2584 Py_INCREF(Py_None
); resultobj
= Py_None
;
2591 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
*resultobj
= NULL
;
2593 wxColour
*arg1
= (wxColour
*) 0 ;
2595 PyObject
* obj0
= 0 ;
2597 (char *) "self", NULL
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2602 if (SWIG_arg_fail(1)) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 result
= (byte
)(arg1
)->Red();
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2611 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2619 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
= NULL
;
2621 wxColour
*arg1
= (wxColour
*) 0 ;
2623 PyObject
* obj0
= 0 ;
2625 (char *) "self", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2630 if (SWIG_arg_fail(1)) SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= (byte
)(arg1
)->Green();
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2639 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2647 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
= NULL
;
2649 wxColour
*arg1
= (wxColour
*) 0 ;
2651 PyObject
* obj0
= 0 ;
2653 (char *) "self", NULL
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2658 if (SWIG_arg_fail(1)) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 result
= (byte
)(arg1
)->Blue();
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2667 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2675 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
= NULL
;
2677 wxColour
*arg1
= (wxColour
*) 0 ;
2679 PyObject
* obj0
= 0 ;
2681 (char *) "self", NULL
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2686 if (SWIG_arg_fail(1)) SWIG_fail
;
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 result
= (bool)(arg1
)->Ok();
2691 wxPyEndAllowThreads(__tstate
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2703 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
*resultobj
= NULL
;
2705 wxColour
*arg1
= (wxColour
*) 0 ;
2709 PyObject
* obj0
= 0 ;
2710 PyObject
* obj1
= 0 ;
2711 PyObject
* obj2
= 0 ;
2712 PyObject
* obj3
= 0 ;
2714 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2719 if (SWIG_arg_fail(1)) SWIG_fail
;
2721 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
2722 if (SWIG_arg_fail(2)) SWIG_fail
;
2725 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
2726 if (SWIG_arg_fail(3)) SWIG_fail
;
2729 arg4
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj3
));
2730 if (SWIG_arg_fail(4)) SWIG_fail
;
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 (arg1
)->Set(arg2
,arg3
,arg4
);
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2739 Py_INCREF(Py_None
); resultobj
= Py_None
;
2746 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
*resultobj
= NULL
;
2748 wxColour
*arg1
= (wxColour
*) 0 ;
2749 unsigned long arg2
;
2750 PyObject
* obj0
= 0 ;
2751 PyObject
* obj1
= 0 ;
2753 (char *) "self",(char *) "colRGB", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2758 if (SWIG_arg_fail(1)) SWIG_fail
;
2760 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
2761 if (SWIG_arg_fail(2)) SWIG_fail
;
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) SWIG_fail
;
2770 Py_INCREF(Py_None
); resultobj
= Py_None
;
2777 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
*resultobj
= NULL
;
2779 wxColour
*arg1
= (wxColour
*) 0 ;
2780 wxString
*arg2
= 0 ;
2781 bool temp2
= false ;
2782 PyObject
* obj0
= 0 ;
2783 PyObject
* obj1
= 0 ;
2785 (char *) "self",(char *) "colourName", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2790 if (SWIG_arg_fail(1)) SWIG_fail
;
2792 arg2
= wxString_in_helper(obj1
);
2793 if (arg2
== NULL
) SWIG_fail
;
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 (arg1
)->InitFromName((wxString
const &)*arg2
);
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2803 Py_INCREF(Py_None
); resultobj
= Py_None
;
2818 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
*resultobj
= NULL
;
2820 wxColour
*arg1
= (wxColour
*) 0 ;
2822 PyObject
* obj0
= 0 ;
2824 (char *) "self", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2829 if (SWIG_arg_fail(1)) SWIG_fail
;
2831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2832 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2834 wxPyEndAllowThreads(__tstate
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2838 resultobj
= SWIG_From_long(static_cast<long >(result
));
2846 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
*resultobj
= NULL
;
2848 wxColour
*arg1
= (wxColour
*) 0 ;
2849 wxColour
*arg2
= 0 ;
2852 PyObject
* obj0
= 0 ;
2853 PyObject
* obj1
= 0 ;
2855 (char *) "self",(char *) "colour", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2860 if (SWIG_arg_fail(1)) SWIG_fail
;
2863 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2881 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
= NULL
;
2883 wxColour
*arg1
= (wxColour
*) 0 ;
2884 wxColour
*arg2
= 0 ;
2887 PyObject
* obj0
= 0 ;
2888 PyObject
* obj1
= 0 ;
2890 (char *) "self",(char *) "colour", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2895 if (SWIG_arg_fail(1)) SWIG_fail
;
2898 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2916 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
= NULL
;
2918 wxColour
*arg1
= (wxColour
*) 0 ;
2920 PyObject
* obj0
= 0 ;
2922 (char *) "self", NULL
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2927 if (SWIG_arg_fail(1)) SWIG_fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 result
= (PyObject
*)wxColour_Get(arg1
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2942 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
= NULL
;
2944 wxColour
*arg1
= (wxColour
*) 0 ;
2945 unsigned long result
;
2946 PyObject
* obj0
= 0 ;
2948 (char *) "self", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2953 if (SWIG_arg_fail(1)) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 result
= (unsigned long)wxColour_GetRGB(arg1
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2962 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
2970 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2973 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2975 return Py_BuildValue((char *)"");
2977 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
*resultobj
= NULL
;
2980 unsigned char *arg2
= (unsigned char *) 0 ;
2981 unsigned char *arg3
= (unsigned char *) 0 ;
2982 unsigned char *arg4
= (unsigned char *) 0 ;
2984 PyObject
* obj0
= 0 ;
2985 PyObject
* obj1
= 0 ;
2986 PyObject
* obj2
= 0 ;
2987 PyObject
* obj3
= 0 ;
2989 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2994 arg1
= static_cast<int >(SWIG_As_int(obj0
));
2995 if (SWIG_arg_fail(1)) SWIG_fail
;
2997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2998 if (SWIG_arg_fail(2)) SWIG_fail
;
2999 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
3000 if (SWIG_arg_fail(3)) SWIG_fail
;
3001 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
3002 if (SWIG_arg_fail(4)) SWIG_fail
;
3004 if (!wxPyCheckForApp()) SWIG_fail
;
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
3018 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
*resultobj
= NULL
;
3020 wxPalette
*arg1
= (wxPalette
*) 0 ;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "self", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
3027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3028 if (SWIG_arg_fail(1)) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3036 Py_INCREF(Py_None
); resultobj
= Py_None
;
3043 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
= NULL
;
3045 wxPalette
*arg1
= (wxPalette
*) 0 ;
3050 PyObject
* obj0
= 0 ;
3051 PyObject
* obj1
= 0 ;
3052 PyObject
* obj2
= 0 ;
3053 PyObject
* obj3
= 0 ;
3055 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3060 if (SWIG_arg_fail(1)) SWIG_fail
;
3062 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
3063 if (SWIG_arg_fail(2)) SWIG_fail
;
3066 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
3067 if (SWIG_arg_fail(3)) SWIG_fail
;
3070 arg4
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj3
));
3071 if (SWIG_arg_fail(4)) SWIG_fail
;
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3081 resultobj
= SWIG_From_int(static_cast<int >(result
));
3089 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
*resultobj
= NULL
;
3091 wxPalette
*arg1
= (wxPalette
*) 0 ;
3093 byte
*arg3
= (byte
*) 0 ;
3094 byte
*arg4
= (byte
*) 0 ;
3095 byte
*arg5
= (byte
*) 0 ;
3103 PyObject
* obj0
= 0 ;
3104 PyObject
* obj1
= 0 ;
3106 (char *) "self",(char *) "pixel", NULL
3109 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3110 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3111 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
3113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3114 if (SWIG_arg_fail(1)) SWIG_fail
;
3116 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3117 if (SWIG_arg_fail(2)) SWIG_fail
;
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3129 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3130 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
3131 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3132 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
3133 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3134 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
3141 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
= NULL
;
3143 wxPalette
*arg1
= (wxPalette
*) 0 ;
3145 PyObject
* obj0
= 0 ;
3147 (char *) "self", NULL
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
3151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3152 if (SWIG_arg_fail(1)) SWIG_fail
;
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3161 resultobj
= SWIG_From_int(static_cast<int >(result
));
3169 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
= NULL
;
3171 wxPalette
*arg1
= (wxPalette
*) 0 ;
3173 PyObject
* obj0
= 0 ;
3175 (char *) "self", NULL
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3180 if (SWIG_arg_fail(1)) SWIG_fail
;
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 result
= (bool)(arg1
)->Ok();
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3197 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3200 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3202 return Py_BuildValue((char *)"");
3204 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
= NULL
;
3206 wxColour
*arg1
= 0 ;
3207 int arg2
= (int) 1 ;
3208 int arg3
= (int) wxSOLID
;
3211 PyObject
* obj0
= 0 ;
3212 PyObject
* obj1
= 0 ;
3213 PyObject
* obj2
= 0 ;
3215 (char *) "colour",(char *) "width",(char *) "style", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3221 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3225 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3226 if (SWIG_arg_fail(2)) SWIG_fail
;
3231 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3232 if (SWIG_arg_fail(3)) SWIG_fail
;
3236 if (!wxPyCheckForApp()) SWIG_fail
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3250 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
= NULL
;
3252 wxPen
*arg1
= (wxPen
*) 0 ;
3253 PyObject
* obj0
= 0 ;
3255 (char *) "self", NULL
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3260 if (SWIG_arg_fail(1)) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 Py_INCREF(Py_None
); resultobj
= Py_None
;
3275 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
= NULL
;
3277 wxPen
*arg1
= (wxPen
*) 0 ;
3279 PyObject
* obj0
= 0 ;
3281 (char *) "self", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3286 if (SWIG_arg_fail(1)) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 result
= (int)(arg1
)->GetCap();
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3295 resultobj
= SWIG_From_int(static_cast<int >(result
));
3303 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
= NULL
;
3305 wxPen
*arg1
= (wxPen
*) 0 ;
3307 PyObject
* obj0
= 0 ;
3309 (char *) "self", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3314 if (SWIG_arg_fail(1)) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 result
= (arg1
)->GetColour();
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3323 wxColour
* resultptr
;
3324 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3333 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
*resultobj
= NULL
;
3335 wxPen
*arg1
= (wxPen
*) 0 ;
3337 PyObject
* obj0
= 0 ;
3339 (char *) "self", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3344 if (SWIG_arg_fail(1)) SWIG_fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 result
= (int)(arg1
)->GetJoin();
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3353 resultobj
= SWIG_From_int(static_cast<int >(result
));
3361 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
= NULL
;
3363 wxPen
*arg1
= (wxPen
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3367 (char *) "self", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3372 if (SWIG_arg_fail(1)) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (int)(arg1
)->GetStyle();
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3381 resultobj
= SWIG_From_int(static_cast<int >(result
));
3389 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
= NULL
;
3391 wxPen
*arg1
= (wxPen
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3395 (char *) "self", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3400 if (SWIG_arg_fail(1)) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 result
= (int)(arg1
)->GetWidth();
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3409 resultobj
= SWIG_From_int(static_cast<int >(result
));
3417 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
= NULL
;
3419 wxPen
*arg1
= (wxPen
*) 0 ;
3421 PyObject
* obj0
= 0 ;
3423 (char *) "self", NULL
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3428 if (SWIG_arg_fail(1)) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 result
= (bool)(arg1
)->Ok();
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3445 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
= NULL
;
3447 wxPen
*arg1
= (wxPen
*) 0 ;
3449 PyObject
* obj0
= 0 ;
3450 PyObject
* obj1
= 0 ;
3452 (char *) "self",(char *) "cap_style", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3457 if (SWIG_arg_fail(1)) SWIG_fail
;
3459 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3460 if (SWIG_arg_fail(2)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 (arg1
)->SetCap(arg2
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 Py_INCREF(Py_None
); resultobj
= Py_None
;
3476 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
= NULL
;
3478 wxPen
*arg1
= (wxPen
*) 0 ;
3479 wxColour
*arg2
= 0 ;
3481 PyObject
* obj0
= 0 ;
3482 PyObject
* obj1
= 0 ;
3484 (char *) "self",(char *) "colour", NULL
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3489 if (SWIG_arg_fail(1)) SWIG_fail
;
3492 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 (arg1
)->SetColour(*arg2
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 Py_INCREF(Py_None
); resultobj
= Py_None
;
3508 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
*resultobj
= NULL
;
3510 wxPen
*arg1
= (wxPen
*) 0 ;
3512 PyObject
* obj0
= 0 ;
3513 PyObject
* obj1
= 0 ;
3515 (char *) "self",(char *) "join_style", NULL
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3520 if (SWIG_arg_fail(1)) SWIG_fail
;
3522 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3523 if (SWIG_arg_fail(2)) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 (arg1
)->SetJoin(arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 Py_INCREF(Py_None
); resultobj
= Py_None
;
3539 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
= NULL
;
3541 wxPen
*arg1
= (wxPen
*) 0 ;
3543 PyObject
* obj0
= 0 ;
3544 PyObject
* obj1
= 0 ;
3546 (char *) "self",(char *) "style", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3551 if (SWIG_arg_fail(1)) SWIG_fail
;
3553 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3554 if (SWIG_arg_fail(2)) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 (arg1
)->SetStyle(arg2
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3563 Py_INCREF(Py_None
); resultobj
= Py_None
;
3570 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
= NULL
;
3572 wxPen
*arg1
= (wxPen
*) 0 ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3577 (char *) "self",(char *) "width", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3582 if (SWIG_arg_fail(1)) SWIG_fail
;
3584 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3585 if (SWIG_arg_fail(2)) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 (arg1
)->SetWidth(arg2
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3594 Py_INCREF(Py_None
); resultobj
= Py_None
;
3601 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
= NULL
;
3603 wxPen
*arg1
= (wxPen
*) 0 ;
3605 wxDash
*arg3
= (wxDash
*) 0 ;
3606 PyObject
* obj0
= 0 ;
3607 PyObject
* obj1
= 0 ;
3609 (char *) "self",(char *) "dashes", NULL
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3614 if (SWIG_arg_fail(1)) SWIG_fail
;
3616 arg2
= PyList_Size(obj1
);
3617 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3618 if (arg3
== NULL
) SWIG_fail
;
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3622 (arg1
)->SetDashes(arg2
,arg3
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) SWIG_fail
;
3627 Py_INCREF(Py_None
); resultobj
= Py_None
;
3629 if (arg3
) delete [] arg3
;
3634 if (arg3
) delete [] arg3
;
3640 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
*resultobj
= NULL
;
3642 wxPen
*arg1
= (wxPen
*) 0 ;
3644 PyObject
* obj0
= 0 ;
3646 (char *) "self", NULL
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3651 if (SWIG_arg_fail(1)) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3666 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
*resultobj
= NULL
;
3668 wxPen
*arg1
= (wxPen
*) 0 ;
3669 PyObject
*arg2
= (PyObject
*) 0 ;
3670 PyObject
*arg3
= (PyObject
*) 0 ;
3671 PyObject
* obj0
= 0 ;
3672 PyObject
* obj1
= 0 ;
3673 PyObject
* obj2
= 0 ;
3675 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3680 if (SWIG_arg_fail(1)) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 wxPen__SetDashes(arg1
,arg2
,arg3
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 Py_INCREF(Py_None
); resultobj
= Py_None
;
3697 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
= NULL
;
3699 wxPen
*arg1
= (wxPen
*) 0 ;
3701 PyObject
* obj0
= 0 ;
3703 (char *) "self", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
3707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3708 if (SWIG_arg_fail(1)) SWIG_fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_From_int(static_cast<int >(result
));
3725 static PyObject
*_wrap_Pen_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
= NULL
;
3727 wxPen
*arg1
= (wxPen
*) 0 ;
3729 PyObject
* obj0
= 0 ;
3731 (char *) "self", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
3735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3736 if (SWIG_arg_fail(1)) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 result
= (wxBitmap
*)(arg1
)->GetStipple();
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3751 static PyObject
*_wrap_Pen_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
= NULL
;
3753 wxPen
*arg1
= (wxPen
*) 0 ;
3754 wxBitmap
*arg2
= 0 ;
3755 PyObject
* obj0
= 0 ;
3756 PyObject
* obj1
= 0 ;
3758 (char *) "self",(char *) "stipple", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3763 if (SWIG_arg_fail(1)) SWIG_fail
;
3765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3766 if (SWIG_arg_fail(2)) SWIG_fail
;
3768 SWIG_null_ref("wxBitmap");
3770 if (SWIG_arg_fail(2)) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 (arg1
)->SetStipple(*arg2
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 Py_INCREF(Py_None
); resultobj
= Py_None
;
3786 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
= NULL
;
3788 wxPen
*arg1
= (wxPen
*) 0 ;
3789 wxPen
*arg2
= (wxPen
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3792 PyObject
* obj1
= 0 ;
3794 (char *) "self",(char *) "other", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3799 if (SWIG_arg_fail(1)) SWIG_fail
;
3800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3801 if (SWIG_arg_fail(2)) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3818 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
= NULL
;
3820 wxPen
*arg1
= (wxPen
*) 0 ;
3821 wxPen
*arg2
= (wxPen
*) 0 ;
3823 PyObject
* obj0
= 0 ;
3824 PyObject
* obj1
= 0 ;
3826 (char *) "self",(char *) "other", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3831 if (SWIG_arg_fail(1)) SWIG_fail
;
3832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3833 if (SWIG_arg_fail(2)) SWIG_fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3850 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3853 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3855 return Py_BuildValue((char *)"");
3857 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
= NULL
;
3859 wxColour
*arg1
= 0 ;
3860 int arg2
= (int) wxSOLID
;
3863 PyObject
* obj0
= 0 ;
3864 PyObject
* obj1
= 0 ;
3866 (char *) "colour",(char *) "style", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3872 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3876 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3877 if (SWIG_arg_fail(2)) SWIG_fail
;
3881 if (!wxPyCheckForApp()) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3895 static PyObject
*_wrap_new_BrushFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
= NULL
;
3897 wxBitmap
*arg1
= 0 ;
3899 PyObject
* obj0
= 0 ;
3901 (char *) "stippleBitmap", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) goto fail
;
3906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3907 if (SWIG_arg_fail(1)) SWIG_fail
;
3909 SWIG_null_ref("wxBitmap");
3911 if (SWIG_arg_fail(1)) SWIG_fail
;
3914 if (!wxPyCheckForApp()) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3928 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
= NULL
;
3930 wxBrush
*arg1
= (wxBrush
*) 0 ;
3931 PyObject
* obj0
= 0 ;
3933 (char *) "self", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3938 if (SWIG_arg_fail(1)) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 Py_INCREF(Py_None
); resultobj
= Py_None
;
3953 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
= NULL
;
3955 wxBrush
*arg1
= (wxBrush
*) 0 ;
3956 wxColour
*arg2
= 0 ;
3958 PyObject
* obj0
= 0 ;
3959 PyObject
* obj1
= 0 ;
3961 (char *) "self",(char *) "col", NULL
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3966 if (SWIG_arg_fail(1)) SWIG_fail
;
3969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 (arg1
)->SetColour((wxColour
const &)*arg2
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 Py_INCREF(Py_None
); resultobj
= Py_None
;
3985 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
= NULL
;
3987 wxBrush
*arg1
= (wxBrush
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3990 PyObject
* obj1
= 0 ;
3992 (char *) "self",(char *) "style", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3997 if (SWIG_arg_fail(1)) SWIG_fail
;
3999 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4000 if (SWIG_arg_fail(2)) SWIG_fail
;
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 (arg1
)->SetStyle(arg2
);
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4009 Py_INCREF(Py_None
); resultobj
= Py_None
;
4016 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
= NULL
;
4018 wxBrush
*arg1
= (wxBrush
*) 0 ;
4019 wxBitmap
*arg2
= 0 ;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj1
= 0 ;
4023 (char *) "self",(char *) "stipple", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
4027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4028 if (SWIG_arg_fail(1)) SWIG_fail
;
4030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4031 if (SWIG_arg_fail(2)) SWIG_fail
;
4033 SWIG_null_ref("wxBitmap");
4035 if (SWIG_arg_fail(2)) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 Py_INCREF(Py_None
); resultobj
= Py_None
;
4051 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
= NULL
;
4053 wxBrush
*arg1
= (wxBrush
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "self", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
4061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4062 if (SWIG_arg_fail(1)) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 result
= ((wxBrush
const *)arg1
)->GetColour();
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4071 wxColour
* resultptr
;
4072 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
4073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4081 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
= NULL
;
4083 wxBrush
*arg1
= (wxBrush
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4087 (char *) "self", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
4091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4092 if (SWIG_arg_fail(1)) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4101 resultobj
= SWIG_From_int(static_cast<int >(result
));
4109 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
= NULL
;
4111 wxBrush
*arg1
= (wxBrush
*) 0 ;
4113 PyObject
* obj0
= 0 ;
4115 (char *) "self", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
4119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4120 if (SWIG_arg_fail(1)) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
4135 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
= NULL
;
4137 wxBrush
*arg1
= (wxBrush
*) 0 ;
4139 PyObject
* obj0
= 0 ;
4141 (char *) "self", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
4145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4163 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
= NULL
;
4165 wxBrush
*arg1
= (wxBrush
*) 0 ;
4167 PyObject
* obj0
= 0 ;
4169 (char *) "self", NULL
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
4173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4174 if (SWIG_arg_fail(1)) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (bool)(arg1
)->Ok();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4191 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
4193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4194 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
4196 return Py_BuildValue((char *)"");
4198 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
= NULL
;
4200 wxString
*arg1
= 0 ;
4201 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
4203 bool temp1
= false ;
4204 PyObject
* obj0
= 0 ;
4205 PyObject
* obj1
= 0 ;
4207 (char *) "name",(char *) "type", NULL
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4212 arg1
= wxString_in_helper(obj0
);
4213 if (arg1
== NULL
) SWIG_fail
;
4218 arg2
= static_cast<wxBitmapType
>(SWIG_As_int(obj1
));
4219 if (SWIG_arg_fail(2)) SWIG_fail
;
4223 if (!wxPyCheckForApp()) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4245 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
= NULL
;
4247 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4248 PyObject
* obj0
= 0 ;
4250 (char *) "self", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4255 if (SWIG_arg_fail(1)) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 Py_INCREF(Py_None
); resultobj
= Py_None
;
4270 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
= NULL
;
4274 int arg3
= (int) -1 ;
4276 PyObject
* obj0
= 0 ;
4277 PyObject
* obj1
= 0 ;
4278 PyObject
* obj2
= 0 ;
4280 (char *) "width",(char *) "height",(char *) "depth", NULL
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4285 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4286 if (SWIG_arg_fail(1)) SWIG_fail
;
4289 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4290 if (SWIG_arg_fail(2)) SWIG_fail
;
4294 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4295 if (SWIG_arg_fail(3)) SWIG_fail
;
4299 if (!wxPyCheckForApp()) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4313 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
= NULL
;
4317 PyObject
* obj0
= 0 ;
4319 (char *) "icon", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4325 if (SWIG_arg_fail(1)) SWIG_fail
;
4327 SWIG_null_ref("wxIcon");
4329 if (SWIG_arg_fail(1)) SWIG_fail
;
4332 if (!wxPyCheckForApp()) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4346 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
= NULL
;
4349 int arg2
= (int) -1 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4354 (char *) "image",(char *) "depth", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4360 if (SWIG_arg_fail(1)) SWIG_fail
;
4362 SWIG_null_ref("wxImage");
4364 if (SWIG_arg_fail(1)) SWIG_fail
;
4368 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4369 if (SWIG_arg_fail(2)) SWIG_fail
;
4373 if (!wxPyCheckForApp()) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4387 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
= NULL
;
4389 PyObject
*arg1
= (PyObject
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4393 (char *) "listOfStrings", NULL
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4399 if (!wxPyCheckForApp()) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4413 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
= NULL
;
4415 PyObject
*arg1
= (PyObject
*) 0 ;
4418 int arg4
= (int) 1 ;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4422 PyObject
* obj2
= 0 ;
4423 PyObject
* obj3
= 0 ;
4425 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4431 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4432 if (SWIG_arg_fail(2)) SWIG_fail
;
4435 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4436 if (SWIG_arg_fail(3)) SWIG_fail
;
4440 arg4
= static_cast<int >(SWIG_As_int(obj3
));
4441 if (SWIG_arg_fail(4)) SWIG_fail
;
4445 if (!wxPyCheckForApp()) SWIG_fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4459 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
*resultobj
= NULL
;
4461 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4463 PyObject
* obj0
= 0 ;
4465 (char *) "self", NULL
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
4469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4470 if (SWIG_arg_fail(1)) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 result
= (long)(arg1
)->GetHandle();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_From_long(static_cast<long >(result
));
4487 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
= NULL
;
4489 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4494 (char *) "self",(char *) "handle", NULL
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4499 if (SWIG_arg_fail(1)) SWIG_fail
;
4501 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4502 if (SWIG_arg_fail(2)) SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxBitmap_SetHandle(arg1
,arg2
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 Py_INCREF(Py_None
); resultobj
= Py_None
;
4518 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
= NULL
;
4520 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4522 PyObject
* obj0
= 0 ;
4524 (char *) "self", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4529 if (SWIG_arg_fail(1)) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (bool)(arg1
)->Ok();
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4546 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
= NULL
;
4548 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4550 PyObject
* obj0
= 0 ;
4552 (char *) "self", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4557 if (SWIG_arg_fail(1)) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= (int)(arg1
)->GetWidth();
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4566 resultobj
= SWIG_From_int(static_cast<int >(result
));
4574 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= NULL
;
4576 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4578 PyObject
* obj0
= 0 ;
4580 (char *) "self", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4585 if (SWIG_arg_fail(1)) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= (int)(arg1
)->GetHeight();
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= SWIG_From_int(static_cast<int >(result
));
4602 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
= NULL
;
4604 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4608 (char *) "self", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4613 if (SWIG_arg_fail(1)) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (int)(arg1
)->GetDepth();
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_From_int(static_cast<int >(result
));
4630 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
= NULL
;
4632 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4634 PyObject
* obj0
= 0 ;
4636 (char *) "self", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4641 if (SWIG_arg_fail(1)) SWIG_fail
;
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 result
= wxBitmap_GetSize(arg1
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4651 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
4652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4660 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
= NULL
;
4662 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4663 SwigValueWrapper
<wxImage
> result
;
4664 PyObject
* obj0
= 0 ;
4666 (char *) "self", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4671 if (SWIG_arg_fail(1)) SWIG_fail
;
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4680 wxImage
* resultptr
;
4681 resultptr
= new wxImage(static_cast<wxImage
& >(result
));
4682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4690 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
= NULL
;
4692 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4694 PyObject
* obj0
= 0 ;
4696 (char *) "self", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4701 if (SWIG_arg_fail(1)) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4716 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
= NULL
;
4718 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4719 wxMask
*arg2
= (wxMask
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4721 PyObject
* obj1
= 0 ;
4723 (char *) "self",(char *) "mask", NULL
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4728 if (SWIG_arg_fail(1)) SWIG_fail
;
4729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4730 if (SWIG_arg_fail(2)) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 (arg1
)->SetMask(arg2
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 Py_INCREF(Py_None
); resultobj
= Py_None
;
4745 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
= NULL
;
4747 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4748 wxColour
*arg2
= 0 ;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4753 (char *) "self",(char *) "colour", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4758 if (SWIG_arg_fail(1)) SWIG_fail
;
4761 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 Py_INCREF(Py_None
); resultobj
= Py_None
;
4777 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
= NULL
;
4779 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4781 SwigValueWrapper
<wxBitmap
> result
;
4783 PyObject
* obj0
= 0 ;
4784 PyObject
* obj1
= 0 ;
4786 (char *) "self",(char *) "rect", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4791 if (SWIG_arg_fail(1)) SWIG_fail
;
4794 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4804 wxBitmap
* resultptr
;
4805 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
4806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4814 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
= NULL
;
4816 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4817 wxString
*arg2
= 0 ;
4819 wxPalette
*arg4
= (wxPalette
*) NULL
;
4821 bool temp2
= false ;
4822 PyObject
* obj0
= 0 ;
4823 PyObject
* obj1
= 0 ;
4824 PyObject
* obj2
= 0 ;
4825 PyObject
* obj3
= 0 ;
4827 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4832 if (SWIG_arg_fail(1)) SWIG_fail
;
4834 arg2
= wxString_in_helper(obj1
);
4835 if (arg2
== NULL
) SWIG_fail
;
4839 arg3
= static_cast<wxBitmapType
>(SWIG_As_int(obj2
));
4840 if (SWIG_arg_fail(3)) SWIG_fail
;
4843 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4844 if (SWIG_arg_fail(4)) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4870 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
= NULL
;
4872 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4873 wxString
*arg2
= 0 ;
4876 bool temp2
= false ;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4879 PyObject
* obj2
= 0 ;
4881 (char *) "self",(char *) "name",(char *) "type", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4886 if (SWIG_arg_fail(1)) SWIG_fail
;
4888 arg2
= wxString_in_helper(obj1
);
4889 if (arg2
== NULL
) SWIG_fail
;
4893 arg3
= static_cast<wxBitmapType
>(SWIG_As_int(obj2
));
4894 if (SWIG_arg_fail(3)) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4920 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
= NULL
;
4922 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4924 PyObject
* obj0
= 0 ;
4926 (char *) "self", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4931 if (SWIG_arg_fail(1)) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4946 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
= NULL
;
4948 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4949 wxPalette
*arg2
= 0 ;
4950 PyObject
* obj0
= 0 ;
4951 PyObject
* obj1
= 0 ;
4953 (char *) "self",(char *) "palette", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
4957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4958 if (SWIG_arg_fail(1)) SWIG_fail
;
4960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4961 if (SWIG_arg_fail(2)) SWIG_fail
;
4963 SWIG_null_ref("wxPalette");
4965 if (SWIG_arg_fail(2)) SWIG_fail
;
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 Py_INCREF(Py_None
); resultobj
= Py_None
;
4981 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
= NULL
;
4983 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4986 PyObject
* obj0
= 0 ;
4987 PyObject
* obj1
= 0 ;
4989 (char *) "self",(char *) "icon", NULL
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4994 if (SWIG_arg_fail(1)) SWIG_fail
;
4996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4997 if (SWIG_arg_fail(2)) SWIG_fail
;
4999 SWIG_null_ref("wxIcon");
5001 if (SWIG_arg_fail(2)) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5019 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
= NULL
;
5021 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5026 (char *) "self",(char *) "height", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5031 if (SWIG_arg_fail(1)) SWIG_fail
;
5033 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5034 if (SWIG_arg_fail(2)) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 (arg1
)->SetHeight(arg2
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 Py_INCREF(Py_None
); resultobj
= Py_None
;
5050 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
= NULL
;
5052 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5054 PyObject
* obj0
= 0 ;
5055 PyObject
* obj1
= 0 ;
5057 (char *) "self",(char *) "width", NULL
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5062 if (SWIG_arg_fail(1)) SWIG_fail
;
5064 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5065 if (SWIG_arg_fail(2)) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 (arg1
)->SetWidth(arg2
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5074 Py_INCREF(Py_None
); resultobj
= Py_None
;
5081 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
= NULL
;
5083 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5088 (char *) "self",(char *) "depth", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5093 if (SWIG_arg_fail(1)) SWIG_fail
;
5095 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5096 if (SWIG_arg_fail(2)) SWIG_fail
;
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 (arg1
)->SetDepth(arg2
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 Py_INCREF(Py_None
); resultobj
= Py_None
;
5112 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
= NULL
;
5114 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5120 (char *) "self",(char *) "size", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5125 if (SWIG_arg_fail(1)) SWIG_fail
;
5128 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 Py_INCREF(Py_None
); resultobj
= Py_None
;
5144 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
= NULL
;
5146 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5147 wxCursor
*arg2
= 0 ;
5149 PyObject
* obj0
= 0 ;
5150 PyObject
* obj1
= 0 ;
5152 (char *) "self",(char *) "cursor", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
5156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5157 if (SWIG_arg_fail(1)) SWIG_fail
;
5159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5160 if (SWIG_arg_fail(2)) SWIG_fail
;
5162 SWIG_null_ref("wxCursor");
5164 if (SWIG_arg_fail(2)) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5182 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
= NULL
;
5184 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5185 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5188 PyObject
* obj1
= 0 ;
5190 (char *) "self",(char *) "other", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5195 if (SWIG_arg_fail(1)) SWIG_fail
;
5196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5197 if (SWIG_arg_fail(2)) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5214 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
= NULL
;
5216 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5217 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5219 PyObject
* obj0
= 0 ;
5220 PyObject
* obj1
= 0 ;
5222 (char *) "self",(char *) "other", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5227 if (SWIG_arg_fail(1)) SWIG_fail
;
5228 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5229 if (SWIG_arg_fail(2)) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5246 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
5248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5249 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
5251 return Py_BuildValue((char *)"");
5253 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
= NULL
;
5255 wxBitmap
*arg1
= 0 ;
5256 wxColour
const &arg2_defvalue
= wxNullColour
;
5257 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5260 PyObject
* obj0
= 0 ;
5261 PyObject
* obj1
= 0 ;
5263 (char *) "bitmap",(char *) "colour", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
5268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5269 if (SWIG_arg_fail(1)) SWIG_fail
;
5271 SWIG_null_ref("wxBitmap");
5273 if (SWIG_arg_fail(1)) SWIG_fail
;
5278 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5282 if (!wxPyCheckForApp()) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
5296 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
5298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5299 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
5301 return Py_BuildValue((char *)"");
5303 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
= NULL
;
5305 wxString
*arg1
= 0 ;
5307 int arg3
= (int) -1 ;
5308 int arg4
= (int) -1 ;
5310 bool temp1
= false ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5313 PyObject
* obj2
= 0 ;
5314 PyObject
* obj3
= 0 ;
5316 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5321 arg1
= wxString_in_helper(obj0
);
5322 if (arg1
== NULL
) SWIG_fail
;
5326 arg2
= static_cast<wxBitmapType
>(SWIG_As_int(obj1
));
5327 if (SWIG_arg_fail(2)) SWIG_fail
;
5331 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5332 if (SWIG_arg_fail(3)) SWIG_fail
;
5337 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5338 if (SWIG_arg_fail(4)) SWIG_fail
;
5342 if (!wxPyCheckForApp()) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5364 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
= NULL
;
5366 wxIcon
*arg1
= (wxIcon
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5369 (char *) "self", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5374 if (SWIG_arg_fail(1)) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 Py_INCREF(Py_None
); resultobj
= Py_None
;
5389 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
= NULL
;
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5398 if (!wxPyCheckForApp()) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= (wxIcon
*)new wxIcon();
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5412 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
= NULL
;
5414 wxIconLocation
*arg1
= 0 ;
5416 PyObject
* obj0
= 0 ;
5418 (char *) "loc", NULL
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5424 if (SWIG_arg_fail(1)) SWIG_fail
;
5426 SWIG_null_ref("wxIconLocation");
5428 if (SWIG_arg_fail(1)) SWIG_fail
;
5431 if (!wxPyCheckForApp()) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5445 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= NULL
;
5447 wxBitmap
*arg1
= 0 ;
5449 PyObject
* obj0
= 0 ;
5451 (char *) "bmp", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5457 if (SWIG_arg_fail(1)) SWIG_fail
;
5459 SWIG_null_ref("wxBitmap");
5461 if (SWIG_arg_fail(1)) SWIG_fail
;
5464 if (!wxPyCheckForApp()) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5478 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
= NULL
;
5480 PyObject
*arg1
= (PyObject
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5484 (char *) "listOfStrings", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5490 if (!wxPyCheckForApp()) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (wxIcon
*)new_wxIcon(arg1
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5504 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
= NULL
;
5506 wxIcon
*arg1
= (wxIcon
*) 0 ;
5507 wxString
*arg2
= 0 ;
5510 bool temp2
= false ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5513 PyObject
* obj2
= 0 ;
5515 (char *) "self",(char *) "name",(char *) "type", NULL
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5520 if (SWIG_arg_fail(1)) SWIG_fail
;
5522 arg2
= wxString_in_helper(obj1
);
5523 if (arg2
== NULL
) SWIG_fail
;
5527 arg3
= static_cast<wxBitmapType
>(SWIG_As_int(obj2
));
5528 if (SWIG_arg_fail(3)) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5554 static PyObject
*_wrap_Icon_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
= NULL
;
5556 wxIcon
*arg1
= (wxIcon
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5560 (char *) "self", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
5564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5565 if (SWIG_arg_fail(1)) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= (long)(arg1
)->GetHandle();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= SWIG_From_long(static_cast<long >(result
));
5582 static PyObject
*_wrap_Icon_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
= NULL
;
5584 wxIcon
*arg1
= (wxIcon
*) 0 ;
5586 PyObject
* obj0
= 0 ;
5587 PyObject
* obj1
= 0 ;
5589 (char *) "self",(char *) "handle", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
5593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5594 if (SWIG_arg_fail(1)) SWIG_fail
;
5596 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5597 if (SWIG_arg_fail(2)) SWIG_fail
;
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 wxIcon_SetHandle(arg1
,arg2
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 Py_INCREF(Py_None
); resultobj
= Py_None
;
5613 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
= NULL
;
5615 wxIcon
*arg1
= (wxIcon
*) 0 ;
5617 PyObject
* obj0
= 0 ;
5619 (char *) "self", NULL
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5624 if (SWIG_arg_fail(1)) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 result
= (bool)(arg1
)->Ok();
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5641 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
= NULL
;
5643 wxIcon
*arg1
= (wxIcon
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5647 (char *) "self", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5652 if (SWIG_arg_fail(1)) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (int)(arg1
)->GetWidth();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= SWIG_From_int(static_cast<int >(result
));
5669 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
= NULL
;
5671 wxIcon
*arg1
= (wxIcon
*) 0 ;
5673 PyObject
* obj0
= 0 ;
5675 (char *) "self", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5680 if (SWIG_arg_fail(1)) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (int)(arg1
)->GetHeight();
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5689 resultobj
= SWIG_From_int(static_cast<int >(result
));
5697 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
= NULL
;
5699 wxIcon
*arg1
= (wxIcon
*) 0 ;
5701 PyObject
* obj0
= 0 ;
5703 (char *) "self", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5708 if (SWIG_arg_fail(1)) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (int)(arg1
)->GetDepth();
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= SWIG_From_int(static_cast<int >(result
));
5725 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
= NULL
;
5727 wxIcon
*arg1
= (wxIcon
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5732 (char *) "self",(char *) "w", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5737 if (SWIG_arg_fail(1)) SWIG_fail
;
5739 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5740 if (SWIG_arg_fail(2)) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 (arg1
)->SetWidth(arg2
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5749 Py_INCREF(Py_None
); resultobj
= Py_None
;
5756 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
= NULL
;
5758 wxIcon
*arg1
= (wxIcon
*) 0 ;
5760 PyObject
* obj0
= 0 ;
5761 PyObject
* obj1
= 0 ;
5763 (char *) "self",(char *) "h", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5768 if (SWIG_arg_fail(1)) SWIG_fail
;
5770 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5771 if (SWIG_arg_fail(2)) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 (arg1
)->SetHeight(arg2
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 Py_INCREF(Py_None
); resultobj
= Py_None
;
5787 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
*resultobj
= NULL
;
5789 wxIcon
*arg1
= (wxIcon
*) 0 ;
5791 PyObject
* obj0
= 0 ;
5792 PyObject
* obj1
= 0 ;
5794 (char *) "self",(char *) "d", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5799 if (SWIG_arg_fail(1)) SWIG_fail
;
5801 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5802 if (SWIG_arg_fail(2)) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 (arg1
)->SetDepth(arg2
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_Icon_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
= NULL
;
5820 wxIcon
*arg1
= (wxIcon
*) 0 ;
5823 PyObject
* obj0
= 0 ;
5824 PyObject
* obj1
= 0 ;
5826 (char *) "self",(char *) "size", NULL
5829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5831 if (SWIG_arg_fail(1)) SWIG_fail
;
5834 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 (arg1
)->SetSize((wxSize
const &)*arg2
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 Py_INCREF(Py_None
); resultobj
= Py_None
;
5850 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
= NULL
;
5852 wxIcon
*arg1
= (wxIcon
*) 0 ;
5853 wxBitmap
*arg2
= 0 ;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5857 (char *) "self",(char *) "bmp", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5862 if (SWIG_arg_fail(1)) SWIG_fail
;
5864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5865 if (SWIG_arg_fail(2)) SWIG_fail
;
5867 SWIG_null_ref("wxBitmap");
5869 if (SWIG_arg_fail(2)) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5878 Py_INCREF(Py_None
); resultobj
= Py_None
;
5885 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5888 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5890 return Py_BuildValue((char *)"");
5892 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
= NULL
;
5894 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5895 int arg2
= (int) 0 ;
5896 wxIconLocation
*result
;
5897 bool temp1
= false ;
5898 PyObject
* obj0
= 0 ;
5899 PyObject
* obj1
= 0 ;
5901 (char *) "filename",(char *) "num", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5907 arg1
= wxString_in_helper(obj0
);
5908 if (arg1
== NULL
) SWIG_fail
;
5914 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5915 if (SWIG_arg_fail(2)) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5940 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
= NULL
;
5942 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5945 (char *) "self", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5950 if (SWIG_arg_fail(1)) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 Py_INCREF(Py_None
); resultobj
= Py_None
;
5965 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
= NULL
;
5967 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5971 (char *) "self", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5976 if (SWIG_arg_fail(1)) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5993 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
= NULL
;
5995 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5996 wxString
*arg2
= 0 ;
5997 bool temp2
= false ;
5998 PyObject
* obj0
= 0 ;
5999 PyObject
* obj1
= 0 ;
6001 (char *) "self",(char *) "filename", NULL
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
6005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
6006 if (SWIG_arg_fail(1)) SWIG_fail
;
6008 arg2
= wxString_in_helper(obj1
);
6009 if (arg2
== NULL
) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 (arg1
)->SetFileName((wxString
const &)*arg2
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 Py_INCREF(Py_None
); resultobj
= Py_None
;
6034 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
= NULL
;
6036 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6040 (char *) "self", NULL
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
6044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
6045 if (SWIG_arg_fail(1)) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
6050 result
= (wxString
*) &_result_ref
;
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6060 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6069 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
= NULL
;
6071 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6076 (char *) "self",(char *) "num", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
6080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
6081 if (SWIG_arg_fail(1)) SWIG_fail
;
6083 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6084 if (SWIG_arg_fail(2)) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 wxIconLocation_SetIndex(arg1
,arg2
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 Py_INCREF(Py_None
); resultobj
= Py_None
;
6100 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
= NULL
;
6102 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
6110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
6111 if (SWIG_arg_fail(1)) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (int)wxIconLocation_GetIndex(arg1
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_From_int(static_cast<int >(result
));
6128 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
6130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6131 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
6133 return Py_BuildValue((char *)"");
6135 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
= NULL
;
6137 wxIconBundle
*result
;
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (wxIconBundle
*)new wxIconBundle();
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6157 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
= NULL
;
6159 wxString
*arg1
= 0 ;
6161 wxIconBundle
*result
;
6162 bool temp1
= false ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6166 (char *) "file",(char *) "type", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6171 arg1
= wxString_in_helper(obj0
);
6172 if (arg1
== NULL
) SWIG_fail
;
6176 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6177 if (SWIG_arg_fail(2)) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6201 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
= NULL
;
6204 wxIconBundle
*result
;
6205 PyObject
* obj0
= 0 ;
6207 (char *) "icon", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
6212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6213 if (SWIG_arg_fail(1)) SWIG_fail
;
6215 SWIG_null_ref("wxIcon");
6217 if (SWIG_arg_fail(1)) SWIG_fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6233 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
= NULL
;
6235 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6238 (char *) "self", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
6242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6243 if (SWIG_arg_fail(1)) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 Py_INCREF(Py_None
); resultobj
= Py_None
;
6258 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
= NULL
;
6260 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6262 PyObject
* obj0
= 0 ;
6263 PyObject
* obj1
= 0 ;
6265 (char *) "self",(char *) "icon", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6270 if (SWIG_arg_fail(1)) SWIG_fail
;
6272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6273 if (SWIG_arg_fail(2)) SWIG_fail
;
6275 SWIG_null_ref("wxIcon");
6277 if (SWIG_arg_fail(2)) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 Py_INCREF(Py_None
); resultobj
= Py_None
;
6293 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
= NULL
;
6295 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6296 wxString
*arg2
= 0 ;
6298 bool temp2
= false ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6301 PyObject
* obj2
= 0 ;
6303 (char *) "self",(char *) "file",(char *) "type", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6308 if (SWIG_arg_fail(1)) SWIG_fail
;
6310 arg2
= wxString_in_helper(obj1
);
6311 if (arg2
== NULL
) SWIG_fail
;
6315 arg3
= static_cast<long >(SWIG_As_long(obj2
));
6316 if (SWIG_arg_fail(3)) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 Py_INCREF(Py_None
); resultobj
= Py_None
;
6340 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
= NULL
;
6342 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6347 PyObject
* obj1
= 0 ;
6349 (char *) "self",(char *) "size", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6354 if (SWIG_arg_fail(1)) SWIG_fail
;
6357 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
6363 result
= (wxIcon
*) &_result_ref
;
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6370 wxIcon
* resultptr
= new wxIcon(*result
);
6371 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
6379 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
6381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6382 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
6384 return Py_BuildValue((char *)"");
6386 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
= NULL
;
6388 wxString
*arg1
= 0 ;
6390 int arg3
= (int) 0 ;
6391 int arg4
= (int) 0 ;
6393 bool temp1
= false ;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 PyObject
* obj2
= 0 ;
6397 PyObject
* obj3
= 0 ;
6399 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6404 arg1
= wxString_in_helper(obj0
);
6405 if (arg1
== NULL
) SWIG_fail
;
6409 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6410 if (SWIG_arg_fail(2)) SWIG_fail
;
6414 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6415 if (SWIG_arg_fail(3)) SWIG_fail
;
6420 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6421 if (SWIG_arg_fail(4)) SWIG_fail
;
6425 if (!wxPyCheckForApp()) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6447 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
= NULL
;
6449 wxCursor
*arg1
= (wxCursor
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6452 (char *) "self", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
6456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6457 if (SWIG_arg_fail(1)) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 Py_INCREF(Py_None
); resultobj
= Py_None
;
6472 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
= NULL
;
6476 PyObject
* obj0
= 0 ;
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6483 arg1
= static_cast<int >(SWIG_As_int(obj0
));
6484 if (SWIG_arg_fail(1)) SWIG_fail
;
6487 if (!wxPyCheckForApp()) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 result
= (wxCursor
*)new wxCursor(arg1
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6501 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
= NULL
;
6505 PyObject
* obj0
= 0 ;
6507 (char *) "image", NULL
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6513 if (SWIG_arg_fail(1)) SWIG_fail
;
6515 SWIG_null_ref("wxImage");
6517 if (SWIG_arg_fail(1)) SWIG_fail
;
6520 if (!wxPyCheckForApp()) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6534 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
= NULL
;
6536 wxCursor
*arg1
= (wxCursor
*) 0 ;
6538 PyObject
* obj0
= 0 ;
6540 (char *) "self", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
6544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6545 if (SWIG_arg_fail(1)) SWIG_fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 result
= (long)(arg1
)->GetHandle();
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_From_long(static_cast<long >(result
));
6562 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= NULL
;
6564 wxCursor
*arg1
= (wxCursor
*) 0 ;
6566 PyObject
* obj0
= 0 ;
6567 PyObject
* obj1
= 0 ;
6569 (char *) "self",(char *) "handle", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
6573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6574 if (SWIG_arg_fail(1)) SWIG_fail
;
6576 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6577 if (SWIG_arg_fail(2)) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 wxCursor_SetHandle(arg1
,arg2
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 Py_INCREF(Py_None
); resultobj
= Py_None
;
6593 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
= NULL
;
6595 wxCursor
*arg1
= (wxCursor
*) 0 ;
6597 PyObject
* obj0
= 0 ;
6599 (char *) "self", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (bool)(arg1
)->Ok();
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6621 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
= NULL
;
6623 wxCursor
*arg1
= (wxCursor
*) 0 ;
6625 PyObject
* obj0
= 0 ;
6627 (char *) "self", NULL
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
6631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6632 if (SWIG_arg_fail(1)) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (int)(arg1
)->GetWidth();
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= SWIG_From_int(static_cast<int >(result
));
6649 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
= NULL
;
6651 wxCursor
*arg1
= (wxCursor
*) 0 ;
6653 PyObject
* obj0
= 0 ;
6655 (char *) "self", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
6659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6660 if (SWIG_arg_fail(1)) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= (int)(arg1
)->GetHeight();
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= SWIG_From_int(static_cast<int >(result
));
6677 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
= NULL
;
6679 wxCursor
*arg1
= (wxCursor
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6683 (char *) "self", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
6687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6688 if (SWIG_arg_fail(1)) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (int)(arg1
)->GetDepth();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= SWIG_From_int(static_cast<int >(result
));
6705 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
= NULL
;
6707 wxCursor
*arg1
= (wxCursor
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6710 PyObject
* obj1
= 0 ;
6712 (char *) "self",(char *) "w", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
6716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6717 if (SWIG_arg_fail(1)) SWIG_fail
;
6719 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6720 if (SWIG_arg_fail(2)) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 (arg1
)->SetWidth(arg2
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 Py_INCREF(Py_None
); resultobj
= Py_None
;
6736 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
= NULL
;
6738 wxCursor
*arg1
= (wxCursor
*) 0 ;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6743 (char *) "self",(char *) "h", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6748 if (SWIG_arg_fail(1)) SWIG_fail
;
6750 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6751 if (SWIG_arg_fail(2)) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 (arg1
)->SetHeight(arg2
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 Py_INCREF(Py_None
); resultobj
= Py_None
;
6767 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
= NULL
;
6769 wxCursor
*arg1
= (wxCursor
*) 0 ;
6771 PyObject
* obj0
= 0 ;
6772 PyObject
* obj1
= 0 ;
6774 (char *) "self",(char *) "d", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
6778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6779 if (SWIG_arg_fail(1)) SWIG_fail
;
6781 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6782 if (SWIG_arg_fail(2)) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 (arg1
)->SetDepth(arg2
);
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 Py_INCREF(Py_None
); resultobj
= Py_None
;
6798 static PyObject
*_wrap_Cursor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
= NULL
;
6800 wxCursor
*arg1
= (wxCursor
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6806 (char *) "self",(char *) "size", NULL
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6811 if (SWIG_arg_fail(1)) SWIG_fail
;
6814 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 (arg1
)->SetSize((wxSize
const &)*arg2
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 Py_INCREF(Py_None
); resultobj
= Py_None
;
6830 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6833 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6835 return Py_BuildValue((char *)"");
6837 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
= NULL
;
6839 int arg1
= (int) 0 ;
6840 int arg2
= (int) 0 ;
6841 int arg3
= (int) 0 ;
6842 int arg4
= (int) 0 ;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6846 PyObject
* obj2
= 0 ;
6847 PyObject
* obj3
= 0 ;
6849 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6855 arg1
= static_cast<int >(SWIG_As_int(obj0
));
6856 if (SWIG_arg_fail(1)) SWIG_fail
;
6861 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6862 if (SWIG_arg_fail(2)) SWIG_fail
;
6867 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6868 if (SWIG_arg_fail(3)) SWIG_fail
;
6873 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6874 if (SWIG_arg_fail(4)) SWIG_fail
;
6878 if (!wxPyCheckForApp()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6892 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
= NULL
;
6894 wxBitmap
*arg1
= 0 ;
6896 PyObject
* obj0
= 0 ;
6898 (char *) "bmp", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6904 if (SWIG_arg_fail(1)) SWIG_fail
;
6906 SWIG_null_ref("wxBitmap");
6908 if (SWIG_arg_fail(1)) SWIG_fail
;
6911 if (!wxPyCheckForApp()) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6925 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
= NULL
;
6927 wxBitmap
*arg1
= 0 ;
6928 wxColour
*arg2
= 0 ;
6929 int arg3
= (int) 0 ;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6934 PyObject
* obj2
= 0 ;
6936 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6942 if (SWIG_arg_fail(1)) SWIG_fail
;
6944 SWIG_null_ref("wxBitmap");
6946 if (SWIG_arg_fail(1)) SWIG_fail
;
6950 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6954 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6955 if (SWIG_arg_fail(3)) SWIG_fail
;
6959 if (!wxPyCheckForApp()) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6973 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
= NULL
;
6976 wxPoint
*arg2
= (wxPoint
*) 0 ;
6977 int arg3
= (int) wxWINDING_RULE
;
6979 PyObject
* obj0
= 0 ;
6980 PyObject
* obj1
= 0 ;
6982 (char *) "points",(char *) "fillStyle", NULL
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6987 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6988 if (arg2
== NULL
) SWIG_fail
;
6992 arg3
= static_cast<int >(SWIG_As_int(obj1
));
6993 if (SWIG_arg_fail(3)) SWIG_fail
;
6997 if (!wxPyCheckForApp()) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
7006 if (arg2
) delete [] arg2
;
7011 if (arg2
) delete [] arg2
;
7017 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= NULL
;
7019 wxRegion
*arg1
= (wxRegion
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "self", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
7026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7027 if (SWIG_arg_fail(1)) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 Py_INCREF(Py_None
); resultobj
= Py_None
;
7042 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
= NULL
;
7044 wxRegion
*arg1
= (wxRegion
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "self", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
7051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7052 if (SWIG_arg_fail(1)) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 Py_INCREF(Py_None
); resultobj
= Py_None
;
7067 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
= NULL
;
7069 wxRegion
*arg1
= (wxRegion
*) 0 ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 PyObject
* obj2
= 0 ;
7077 (char *) "self",(char *) "x",(char *) "y", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7082 if (SWIG_arg_fail(1)) SWIG_fail
;
7084 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7085 if (SWIG_arg_fail(2)) SWIG_fail
;
7088 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7089 if (SWIG_arg_fail(3)) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7107 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
= NULL
;
7109 wxRegion
*arg1
= (wxRegion
*) 0 ;
7112 wxRegionContain result
;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7115 PyObject
* obj2
= 0 ;
7117 (char *) "self",(char *) "x",(char *) "y", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7122 if (SWIG_arg_fail(1)) SWIG_fail
;
7124 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7125 if (SWIG_arg_fail(2)) SWIG_fail
;
7128 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7129 if (SWIG_arg_fail(3)) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_From_int((result
));
7145 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
= NULL
;
7147 wxRegion
*arg1
= (wxRegion
*) 0 ;
7149 wxRegionContain result
;
7151 PyObject
* obj0
= 0 ;
7152 PyObject
* obj1
= 0 ;
7154 (char *) "self",(char *) "pt", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
7158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7159 if (SWIG_arg_fail(1)) SWIG_fail
;
7162 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= SWIG_From_int((result
));
7178 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
= NULL
;
7180 wxRegion
*arg1
= (wxRegion
*) 0 ;
7182 wxRegionContain result
;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7187 (char *) "self",(char *) "rect", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7192 if (SWIG_arg_fail(1)) SWIG_fail
;
7195 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_From_int((result
));
7211 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
= NULL
;
7213 wxRegion
*arg1
= (wxRegion
*) 0 ;
7218 wxRegionContain result
;
7219 PyObject
* obj0
= 0 ;
7220 PyObject
* obj1
= 0 ;
7221 PyObject
* obj2
= 0 ;
7222 PyObject
* obj3
= 0 ;
7223 PyObject
* obj4
= 0 ;
7225 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7230 if (SWIG_arg_fail(1)) SWIG_fail
;
7232 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7233 if (SWIG_arg_fail(2)) SWIG_fail
;
7236 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7237 if (SWIG_arg_fail(3)) SWIG_fail
;
7240 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7241 if (SWIG_arg_fail(4)) SWIG_fail
;
7244 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7245 if (SWIG_arg_fail(5)) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= SWIG_From_int((result
));
7261 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
= NULL
;
7263 wxRegion
*arg1
= (wxRegion
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7267 (char *) "self", NULL
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
7271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7272 if (SWIG_arg_fail(1)) SWIG_fail
;
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 result
= (arg1
)->GetBox();
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7282 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7291 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
= NULL
;
7293 wxRegion
*arg1
= (wxRegion
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7301 PyObject
* obj2
= 0 ;
7302 PyObject
* obj3
= 0 ;
7303 PyObject
* obj4
= 0 ;
7305 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7310 if (SWIG_arg_fail(1)) SWIG_fail
;
7312 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7313 if (SWIG_arg_fail(2)) SWIG_fail
;
7316 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7317 if (SWIG_arg_fail(3)) SWIG_fail
;
7320 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7321 if (SWIG_arg_fail(4)) SWIG_fail
;
7324 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7325 if (SWIG_arg_fail(5)) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7343 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
= NULL
;
7345 wxRegion
*arg1
= (wxRegion
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7352 (char *) "self",(char *) "rect", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7357 if (SWIG_arg_fail(1)) SWIG_fail
;
7360 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7378 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
= NULL
;
7380 wxRegion
*arg1
= (wxRegion
*) 0 ;
7381 wxRegion
*arg2
= 0 ;
7383 PyObject
* obj0
= 0 ;
7384 PyObject
* obj1
= 0 ;
7386 (char *) "self",(char *) "region", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7391 if (SWIG_arg_fail(1)) SWIG_fail
;
7393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7394 if (SWIG_arg_fail(2)) SWIG_fail
;
7396 SWIG_null_ref("wxRegion");
7398 if (SWIG_arg_fail(2)) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7416 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
= NULL
;
7418 wxRegion
*arg1
= (wxRegion
*) 0 ;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "self", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
7426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7427 if (SWIG_arg_fail(1)) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 result
= (bool)(arg1
)->IsEmpty();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7444 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
= NULL
;
7446 wxRegion
*arg1
= (wxRegion
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7454 PyObject
* obj2
= 0 ;
7455 PyObject
* obj3
= 0 ;
7456 PyObject
* obj4
= 0 ;
7458 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7463 if (SWIG_arg_fail(1)) SWIG_fail
;
7465 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7466 if (SWIG_arg_fail(2)) SWIG_fail
;
7469 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7470 if (SWIG_arg_fail(3)) SWIG_fail
;
7473 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7474 if (SWIG_arg_fail(4)) SWIG_fail
;
7477 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7478 if (SWIG_arg_fail(5)) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7496 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
= NULL
;
7498 wxRegion
*arg1
= (wxRegion
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "rect", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7510 if (SWIG_arg_fail(1)) SWIG_fail
;
7513 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7531 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
= NULL
;
7533 wxRegion
*arg1
= (wxRegion
*) 0 ;
7534 wxRegion
*arg2
= 0 ;
7536 PyObject
* obj0
= 0 ;
7537 PyObject
* obj1
= 0 ;
7539 (char *) "self",(char *) "region", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7544 if (SWIG_arg_fail(1)) SWIG_fail
;
7546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7547 if (SWIG_arg_fail(2)) SWIG_fail
;
7549 SWIG_null_ref("wxRegion");
7551 if (SWIG_arg_fail(2)) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7569 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
= NULL
;
7571 wxRegion
*arg1
= (wxRegion
*) 0 ;
7577 PyObject
* obj0
= 0 ;
7578 PyObject
* obj1
= 0 ;
7579 PyObject
* obj2
= 0 ;
7580 PyObject
* obj3
= 0 ;
7581 PyObject
* obj4
= 0 ;
7583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7588 if (SWIG_arg_fail(1)) SWIG_fail
;
7590 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7591 if (SWIG_arg_fail(2)) SWIG_fail
;
7594 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7595 if (SWIG_arg_fail(3)) SWIG_fail
;
7598 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7599 if (SWIG_arg_fail(4)) SWIG_fail
;
7602 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7603 if (SWIG_arg_fail(5)) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7621 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
= NULL
;
7623 wxRegion
*arg1
= (wxRegion
*) 0 ;
7627 PyObject
* obj0
= 0 ;
7628 PyObject
* obj1
= 0 ;
7630 (char *) "self",(char *) "rect", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7635 if (SWIG_arg_fail(1)) SWIG_fail
;
7638 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7656 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
= NULL
;
7658 wxRegion
*arg1
= (wxRegion
*) 0 ;
7659 wxRegion
*arg2
= 0 ;
7661 PyObject
* obj0
= 0 ;
7662 PyObject
* obj1
= 0 ;
7664 (char *) "self",(char *) "region", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7669 if (SWIG_arg_fail(1)) SWIG_fail
;
7671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7672 if (SWIG_arg_fail(2)) SWIG_fail
;
7674 SWIG_null_ref("wxRegion");
7676 if (SWIG_arg_fail(2)) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7694 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
= NULL
;
7696 wxRegion
*arg1
= (wxRegion
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7703 PyObject
* obj1
= 0 ;
7704 PyObject
* obj2
= 0 ;
7705 PyObject
* obj3
= 0 ;
7706 PyObject
* obj4
= 0 ;
7708 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7713 if (SWIG_arg_fail(1)) SWIG_fail
;
7715 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7716 if (SWIG_arg_fail(2)) SWIG_fail
;
7719 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7720 if (SWIG_arg_fail(3)) SWIG_fail
;
7723 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7724 if (SWIG_arg_fail(4)) SWIG_fail
;
7727 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7728 if (SWIG_arg_fail(5)) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7746 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
= NULL
;
7748 wxRegion
*arg1
= (wxRegion
*) 0 ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7755 (char *) "self",(char *) "rect", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7760 if (SWIG_arg_fail(1)) SWIG_fail
;
7763 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7781 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
= NULL
;
7783 wxRegion
*arg1
= (wxRegion
*) 0 ;
7784 wxRegion
*arg2
= 0 ;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7789 (char *) "self",(char *) "region", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7797 if (SWIG_arg_fail(2)) SWIG_fail
;
7799 SWIG_null_ref("wxRegion");
7801 if (SWIG_arg_fail(2)) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7819 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
= NULL
;
7821 wxRegion
*arg1
= (wxRegion
*) 0 ;
7822 SwigValueWrapper
<wxBitmap
> result
;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (arg1
)->ConvertToBitmap();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7839 wxBitmap
* resultptr
;
7840 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
7841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7849 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
= NULL
;
7851 wxRegion
*arg1
= (wxRegion
*) 0 ;
7852 wxBitmap
*arg2
= 0 ;
7854 PyObject
* obj0
= 0 ;
7855 PyObject
* obj1
= 0 ;
7857 (char *) "self",(char *) "bmp", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7862 if (SWIG_arg_fail(1)) SWIG_fail
;
7864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7865 if (SWIG_arg_fail(2)) SWIG_fail
;
7867 SWIG_null_ref("wxBitmap");
7869 if (SWIG_arg_fail(2)) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7887 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
= NULL
;
7889 wxRegion
*arg1
= (wxRegion
*) 0 ;
7890 wxBitmap
*arg2
= 0 ;
7891 wxColour
*arg3
= 0 ;
7892 int arg4
= (int) 0 ;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7897 PyObject
* obj2
= 0 ;
7898 PyObject
* obj3
= 0 ;
7900 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail
;
7907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7908 if (SWIG_arg_fail(2)) SWIG_fail
;
7910 SWIG_null_ref("wxBitmap");
7912 if (SWIG_arg_fail(2)) SWIG_fail
;
7916 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7920 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7921 if (SWIG_arg_fail(4)) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7940 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7943 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7945 return Py_BuildValue((char *)"");
7947 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
= NULL
;
7949 wxRegion
*arg1
= 0 ;
7950 wxRegionIterator
*result
;
7951 PyObject
* obj0
= 0 ;
7953 (char *) "region", NULL
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7959 if (SWIG_arg_fail(1)) SWIG_fail
;
7961 SWIG_null_ref("wxRegion");
7963 if (SWIG_arg_fail(1)) SWIG_fail
;
7966 if (!wxPyCheckForApp()) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7980 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
= NULL
;
7982 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7983 PyObject
* obj0
= 0 ;
7985 (char *) "self", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7990 if (SWIG_arg_fail(1)) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 Py_INCREF(Py_None
); resultobj
= Py_None
;
8005 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
= NULL
;
8007 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "self", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
8015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8016 if (SWIG_arg_fail(1)) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (int)(arg1
)->GetX();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= SWIG_From_int(static_cast<int >(result
));
8033 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
= NULL
;
8035 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8039 (char *) "self", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
8043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8044 if (SWIG_arg_fail(1)) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (int)(arg1
)->GetY();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= SWIG_From_int(static_cast<int >(result
));
8061 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
= NULL
;
8063 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8065 PyObject
* obj0
= 0 ;
8067 (char *) "self", NULL
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
8071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8072 if (SWIG_arg_fail(1)) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 result
= (int)(arg1
)->GetW();
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_From_int(static_cast<int >(result
));
8089 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= NULL
;
8091 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8093 PyObject
* obj0
= 0 ;
8095 (char *) "self", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
8099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8100 if (SWIG_arg_fail(1)) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (int)(arg1
)->GetWidth();
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= SWIG_From_int(static_cast<int >(result
));
8117 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
= NULL
;
8119 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8121 PyObject
* obj0
= 0 ;
8123 (char *) "self", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
8127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8128 if (SWIG_arg_fail(1)) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= (int)(arg1
)->GetH();
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8137 resultobj
= SWIG_From_int(static_cast<int >(result
));
8145 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
= NULL
;
8147 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8151 (char *) "self", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
8155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8156 if (SWIG_arg_fail(1)) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 result
= (int)(arg1
)->GetHeight();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_From_int(static_cast<int >(result
));
8173 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
= NULL
;
8175 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8177 PyObject
* obj0
= 0 ;
8179 (char *) "self", NULL
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
8183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8184 if (SWIG_arg_fail(1)) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 result
= (arg1
)->GetRect();
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8194 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
8195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8203 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
= NULL
;
8205 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8209 (char *) "self", NULL
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
8213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8214 if (SWIG_arg_fail(1)) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (bool)(arg1
)->HaveRects();
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8231 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
= NULL
;
8233 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8234 PyObject
* obj0
= 0 ;
8236 (char *) "self", NULL
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
8240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8241 if (SWIG_arg_fail(1)) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 Py_INCREF(Py_None
); resultobj
= Py_None
;
8256 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
= NULL
;
8258 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8259 PyObject
* obj0
= 0 ;
8261 (char *) "self", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
8265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8266 if (SWIG_arg_fail(1)) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 wxRegionIterator_Next(arg1
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 Py_INCREF(Py_None
); resultobj
= Py_None
;
8281 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
= NULL
;
8283 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8285 PyObject
* obj0
= 0 ;
8287 (char *) "self", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
8291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8292 if (SWIG_arg_fail(1)) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 result
= (bool)wxRegionIterator___nonzero__(arg1
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
8311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8312 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
8314 return Py_BuildValue((char *)"");
8316 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
= NULL
;
8318 wxNativeFontInfo
*result
;
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
8338 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
= NULL
;
8340 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8343 (char *) "self", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
8347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8348 if (SWIG_arg_fail(1)) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 Py_INCREF(Py_None
); resultobj
= Py_None
;
8363 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
= NULL
;
8365 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8366 PyObject
* obj0
= 0 ;
8368 (char *) "self", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
8372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8373 if (SWIG_arg_fail(1)) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 Py_INCREF(Py_None
); resultobj
= Py_None
;
8388 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
= NULL
;
8390 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8392 PyObject
* obj0
= 0 ;
8393 PyObject
* obj1
= 0 ;
8395 (char *) "self",(char *) "font", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
8399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8400 if (SWIG_arg_fail(1)) SWIG_fail
;
8402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8403 if (SWIG_arg_fail(2)) SWIG_fail
;
8405 SWIG_null_ref("wxFont");
8407 if (SWIG_arg_fail(2)) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 Py_INCREF(Py_None
); resultobj
= Py_None
;
8423 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
= NULL
;
8425 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8427 PyObject
* obj0
= 0 ;
8429 (char *) "self", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
8433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8434 if (SWIG_arg_fail(1)) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= SWIG_From_int(static_cast<int >(result
));
8451 static PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
= NULL
;
8453 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8455 PyObject
* obj0
= 0 ;
8457 (char *) "self", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8462 if (SWIG_arg_fail(1)) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8472 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
8473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8481 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
= NULL
;
8483 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8485 PyObject
* obj0
= 0 ;
8487 (char *) "self", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
8491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8492 if (SWIG_arg_fail(1)) SWIG_fail
;
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= SWIG_From_int((result
));
8507 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
= NULL
;
8509 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8510 wxFontWeight result
;
8511 PyObject
* obj0
= 0 ;
8513 (char *) "self", NULL
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
8517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8518 if (SWIG_arg_fail(1)) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= SWIG_From_int((result
));
8533 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
= NULL
;
8535 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8537 PyObject
* obj0
= 0 ;
8539 (char *) "self", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8544 if (SWIG_arg_fail(1)) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8561 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
= NULL
;
8563 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8565 PyObject
* obj0
= 0 ;
8567 (char *) "self", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
8571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8572 if (SWIG_arg_fail(1)) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8593 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
= NULL
;
8595 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8596 wxFontFamily result
;
8597 PyObject
* obj0
= 0 ;
8599 (char *) "self", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
8603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8604 if (SWIG_arg_fail(1)) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= SWIG_From_int((result
));
8619 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
= NULL
;
8621 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8622 wxFontEncoding result
;
8623 PyObject
* obj0
= 0 ;
8625 (char *) "self", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
8629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8630 if (SWIG_arg_fail(1)) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_From_int((result
));
8645 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
= NULL
;
8647 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8652 (char *) "self",(char *) "pointsize", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8657 if (SWIG_arg_fail(1)) SWIG_fail
;
8659 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8660 if (SWIG_arg_fail(2)) SWIG_fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 (arg1
)->SetPointSize(arg2
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 Py_INCREF(Py_None
); resultobj
= Py_None
;
8676 static PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
= NULL
;
8678 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8681 PyObject
* obj0
= 0 ;
8682 PyObject
* obj1
= 0 ;
8684 (char *) "self",(char *) "pixelSize", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8689 if (SWIG_arg_fail(1)) SWIG_fail
;
8692 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 Py_INCREF(Py_None
); resultobj
= Py_None
;
8708 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
= NULL
;
8710 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8715 (char *) "self",(char *) "style", NULL
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8720 if (SWIG_arg_fail(1)) SWIG_fail
;
8722 arg2
= static_cast<wxFontStyle
>(SWIG_As_int(obj1
));
8723 if (SWIG_arg_fail(2)) SWIG_fail
;
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 (arg1
)->SetStyle(arg2
);
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 Py_INCREF(Py_None
); resultobj
= Py_None
;
8739 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
= NULL
;
8741 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8746 (char *) "self",(char *) "weight", NULL
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8751 if (SWIG_arg_fail(1)) SWIG_fail
;
8753 arg2
= static_cast<wxFontWeight
>(SWIG_As_int(obj1
));
8754 if (SWIG_arg_fail(2)) SWIG_fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 (arg1
)->SetWeight(arg2
);
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 Py_INCREF(Py_None
); resultobj
= Py_None
;
8770 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
= NULL
;
8772 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8775 PyObject
* obj1
= 0 ;
8777 (char *) "self",(char *) "underlined", NULL
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8782 if (SWIG_arg_fail(1)) SWIG_fail
;
8784 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8785 if (SWIG_arg_fail(2)) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 (arg1
)->SetUnderlined(arg2
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 Py_INCREF(Py_None
); resultobj
= Py_None
;
8801 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
= NULL
;
8803 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8808 (char *) "self",(char *) "facename", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8813 if (SWIG_arg_fail(1)) SWIG_fail
;
8815 wxString
* sptr
= wxString_in_helper(obj1
);
8816 if (sptr
== NULL
) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 (arg1
)->SetFaceName(arg2
);
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 Py_INCREF(Py_None
); resultobj
= Py_None
;
8834 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
= NULL
;
8836 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8838 PyObject
* obj0
= 0 ;
8839 PyObject
* obj1
= 0 ;
8841 (char *) "self",(char *) "family", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8846 if (SWIG_arg_fail(1)) SWIG_fail
;
8848 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
8849 if (SWIG_arg_fail(2)) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 (arg1
)->SetFamily(arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
= NULL
;
8867 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8868 wxFontEncoding arg2
;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8872 (char *) "self",(char *) "encoding", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8877 if (SWIG_arg_fail(1)) SWIG_fail
;
8879 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
8880 if (SWIG_arg_fail(2)) SWIG_fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 (arg1
)->SetEncoding(arg2
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 Py_INCREF(Py_None
); resultobj
= Py_None
;
8896 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
= NULL
;
8898 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8899 wxString
*arg2
= 0 ;
8901 bool temp2
= false ;
8902 PyObject
* obj0
= 0 ;
8903 PyObject
* obj1
= 0 ;
8905 (char *) "self",(char *) "s", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8910 if (SWIG_arg_fail(1)) SWIG_fail
;
8912 arg2
= wxString_in_helper(obj1
);
8913 if (arg2
== NULL
) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8940 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
= NULL
;
8942 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8946 (char *) "self", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8951 if (SWIG_arg_fail(1)) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8972 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
= NULL
;
8974 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8976 PyObject
* obj0
= 0 ;
8978 (char *) "self", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8983 if (SWIG_arg_fail(1)) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= wxNativeFontInfo___str__(arg1
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9004 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
= NULL
;
9006 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9007 wxString
*arg2
= 0 ;
9009 bool temp2
= false ;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9013 (char *) "self",(char *) "s", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
9017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9018 if (SWIG_arg_fail(1)) SWIG_fail
;
9020 arg2
= wxString_in_helper(obj1
);
9021 if (arg2
== NULL
) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9048 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
= NULL
;
9050 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9054 (char *) "self", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
9058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9059 if (SWIG_arg_fail(1)) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9080 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
9082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9083 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
9085 return Py_BuildValue((char *)"");
9087 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= NULL
;
9089 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9090 wxString
*arg2
= (wxString
*) 0 ;
9091 bool temp2
= false ;
9092 PyObject
* obj0
= 0 ;
9093 PyObject
* obj1
= 0 ;
9095 (char *) "self",(char *) "facename", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9100 if (SWIG_arg_fail(1)) SWIG_fail
;
9102 arg2
= wxString_in_helper(obj1
);
9103 if (arg2
== NULL
) SWIG_fail
;
9106 if (arg1
) (arg1
)->facename
= *arg2
;
9108 Py_INCREF(Py_None
); resultobj
= Py_None
;
9123 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
= NULL
;
9125 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9127 PyObject
* obj0
= 0 ;
9129 (char *) "self", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
9133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9134 if (SWIG_arg_fail(1)) SWIG_fail
;
9135 result
= (wxString
*)& ((arg1
)->facename
);
9139 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9141 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9150 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
= NULL
;
9152 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9153 wxFontEncoding arg2
;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9157 (char *) "self",(char *) "encoding", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9162 if (SWIG_arg_fail(1)) SWIG_fail
;
9164 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
9165 if (SWIG_arg_fail(2)) SWIG_fail
;
9167 if (arg1
) (arg1
)->encoding
= arg2
;
9169 Py_INCREF(Py_None
); resultobj
= Py_None
;
9176 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
= NULL
;
9178 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9179 wxFontEncoding result
;
9180 PyObject
* obj0
= 0 ;
9182 (char *) "self", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
9186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9187 if (SWIG_arg_fail(1)) SWIG_fail
;
9188 result
= (wxFontEncoding
) ((arg1
)->encoding
);
9190 resultobj
= SWIG_From_int((result
));
9197 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
= NULL
;
9199 wxNativeEncodingInfo
*result
;
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
9219 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
= NULL
;
9221 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9224 (char *) "self", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
9228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9229 if (SWIG_arg_fail(1)) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 Py_INCREF(Py_None
); resultobj
= Py_None
;
9244 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
= NULL
;
9246 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9247 wxString
*arg2
= 0 ;
9249 bool temp2
= false ;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9253 (char *) "self",(char *) "s", NULL
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
9257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9258 if (SWIG_arg_fail(1)) SWIG_fail
;
9260 arg2
= wxString_in_helper(obj1
);
9261 if (arg2
== NULL
) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9288 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
= NULL
;
9290 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9292 PyObject
* obj0
= 0 ;
9294 (char *) "self", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
9298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9299 if (SWIG_arg_fail(1)) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9320 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
9322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9323 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
9325 return Py_BuildValue((char *)"");
9327 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
= NULL
;
9329 wxFontEncoding arg1
;
9330 wxNativeEncodingInfo
*result
;
9331 PyObject
* obj0
= 0 ;
9333 (char *) "encoding", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
9338 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
9339 if (SWIG_arg_fail(1)) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
9355 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
= NULL
;
9357 wxNativeEncodingInfo
*arg1
= 0 ;
9359 PyObject
* obj0
= 0 ;
9361 (char *) "info", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
9366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9367 if (SWIG_arg_fail(1)) SWIG_fail
;
9369 SWIG_null_ref("wxNativeEncodingInfo");
9371 if (SWIG_arg_fail(1)) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9389 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
= NULL
;
9391 wxFontMapper
*result
;
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (wxFontMapper
*)new wxFontMapper();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
9411 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
= NULL
;
9413 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9416 (char *) "self", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
9420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9421 if (SWIG_arg_fail(1)) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 Py_INCREF(Py_None
); resultobj
= Py_None
;
9436 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
= NULL
;
9438 wxFontMapper
*result
;
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (wxFontMapper
*)wxFontMapper::Get();
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
9458 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
= NULL
;
9460 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9461 wxFontMapper
*result
;
9462 PyObject
* obj0
= 0 ;
9464 (char *) "mapper", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
9468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9469 if (SWIG_arg_fail(1)) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
9484 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
= NULL
;
9486 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9487 wxString
*arg2
= 0 ;
9488 bool arg3
= (bool) true ;
9489 wxFontEncoding result
;
9490 bool temp2
= false ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 PyObject
* obj2
= 0 ;
9495 (char *) "self",(char *) "charset",(char *) "interactive", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9500 if (SWIG_arg_fail(1)) SWIG_fail
;
9502 arg2
= wxString_in_helper(obj1
);
9503 if (arg2
== NULL
) SWIG_fail
;
9508 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9509 if (SWIG_arg_fail(3)) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= SWIG_From_int((result
));
9534 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
= NULL
;
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9550 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
9558 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
= NULL
;
9561 wxFontEncoding result
;
9562 PyObject
* obj0
= 0 ;
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
9569 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
9570 if (SWIG_arg_fail(1)) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= SWIG_From_int((result
));
9586 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
= NULL
;
9588 wxFontEncoding arg1
;
9590 PyObject
* obj0
= 0 ;
9592 (char *) "encoding", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
9597 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
9598 if (SWIG_arg_fail(1)) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 result
= wxFontMapper::GetEncodingName(arg1
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9620 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
= NULL
;
9622 wxFontEncoding arg1
;
9624 PyObject
* obj0
= 0 ;
9626 (char *) "encoding", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
9631 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
9632 if (SWIG_arg_fail(1)) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= wxFontMapper::GetEncodingDescription(arg1
);
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9654 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
= NULL
;
9656 wxString
*arg1
= 0 ;
9657 wxFontEncoding result
;
9658 bool temp1
= false ;
9659 PyObject
* obj0
= 0 ;
9661 (char *) "name", NULL
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
9666 arg1
= wxString_in_helper(obj0
);
9667 if (arg1
== NULL
) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= SWIG_From_int((result
));
9692 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
= NULL
;
9694 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9695 wxString
*arg2
= 0 ;
9696 bool temp2
= false ;
9697 PyObject
* obj0
= 0 ;
9698 PyObject
* obj1
= 0 ;
9700 (char *) "self",(char *) "prefix", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9705 if (SWIG_arg_fail(1)) SWIG_fail
;
9707 arg2
= wxString_in_helper(obj1
);
9708 if (arg2
== NULL
) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 Py_INCREF(Py_None
); resultobj
= Py_None
;
9733 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
= NULL
;
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 result
= wxFontMapper::GetDefaultConfigPath();
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9761 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
= NULL
;
9763 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9764 wxFontEncoding arg2
;
9765 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9766 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9767 bool arg4
= (bool) true ;
9769 bool temp3
= false ;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9772 PyObject
* obj2
= 0 ;
9773 PyObject
* obj3
= 0 ;
9775 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9780 if (SWIG_arg_fail(1)) SWIG_fail
;
9782 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
9783 if (SWIG_arg_fail(2)) SWIG_fail
;
9787 arg3
= wxString_in_helper(obj2
);
9788 if (arg3
== NULL
) SWIG_fail
;
9794 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
9795 if (SWIG_arg_fail(4)) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9820 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
= NULL
;
9822 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9823 wxFontEncoding arg2
;
9824 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9825 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9827 bool temp3
= false ;
9828 PyObject
* obj0
= 0 ;
9829 PyObject
* obj1
= 0 ;
9830 PyObject
* obj2
= 0 ;
9832 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9837 if (SWIG_arg_fail(1)) SWIG_fail
;
9839 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
9840 if (SWIG_arg_fail(2)) SWIG_fail
;
9844 arg3
= wxString_in_helper(obj2
);
9845 if (arg3
== NULL
) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9873 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
= NULL
;
9875 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9876 wxWindow
*arg2
= (wxWindow
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9880 (char *) "self",(char *) "parent", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9885 if (SWIG_arg_fail(1)) SWIG_fail
;
9886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9887 if (SWIG_arg_fail(2)) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 (arg1
)->SetDialogParent(arg2
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 Py_INCREF(Py_None
); resultobj
= Py_None
;
9902 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
= NULL
;
9904 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9905 wxString
*arg2
= 0 ;
9906 bool temp2
= false ;
9907 PyObject
* obj0
= 0 ;
9908 PyObject
* obj1
= 0 ;
9910 (char *) "self",(char *) "title", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9915 if (SWIG_arg_fail(1)) SWIG_fail
;
9917 arg2
= wxString_in_helper(obj1
);
9918 if (arg2
== NULL
) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9928 Py_INCREF(Py_None
); resultobj
= Py_None
;
9943 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9946 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9948 return Py_BuildValue((char *)"");
9950 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
= NULL
;
9956 bool arg5
= (bool) false ;
9957 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9958 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9959 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9961 bool temp6
= false ;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9964 PyObject
* obj2
= 0 ;
9965 PyObject
* obj3
= 0 ;
9966 PyObject
* obj4
= 0 ;
9967 PyObject
* obj5
= 0 ;
9968 PyObject
* obj6
= 0 ;
9970 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9975 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9976 if (SWIG_arg_fail(1)) SWIG_fail
;
9979 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9980 if (SWIG_arg_fail(2)) SWIG_fail
;
9983 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9984 if (SWIG_arg_fail(3)) SWIG_fail
;
9987 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9988 if (SWIG_arg_fail(4)) SWIG_fail
;
9992 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
9993 if (SWIG_arg_fail(5)) SWIG_fail
;
9998 arg6
= wxString_in_helper(obj5
);
9999 if (arg6
== NULL
) SWIG_fail
;
10005 arg7
= static_cast<wxFontEncoding
>(SWIG_As_int(obj6
));
10006 if (SWIG_arg_fail(7)) SWIG_fail
;
10010 if (!wxPyCheckForApp()) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10032 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
= NULL
;
10034 wxFont
*arg1
= (wxFont
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
10041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10042 if (SWIG_arg_fail(1)) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 Py_INCREF(Py_None
); resultobj
= Py_None
;
10057 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
= NULL
;
10059 wxNativeFontInfo
*arg1
= 0 ;
10061 PyObject
* obj0
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "info", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
10068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10069 if (SWIG_arg_fail(1)) SWIG_fail
;
10070 if (arg1
== NULL
) {
10071 SWIG_null_ref("wxNativeFontInfo");
10073 if (SWIG_arg_fail(1)) SWIG_fail
;
10076 if (!wxPyCheckForApp()) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10090 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
= NULL
;
10092 wxString
*arg1
= 0 ;
10094 bool temp1
= false ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "info", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
10102 arg1
= wxString_in_helper(obj0
);
10103 if (arg1
== NULL
) SWIG_fail
;
10107 if (!wxPyCheckForApp()) SWIG_fail
;
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10129 static PyObject
*_wrap_new_FFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
= NULL
;
10132 wxFontFamily arg2
;
10133 int arg3
= (int) wxFONTFLAG_DEFAULT
;
10134 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10135 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10136 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10138 bool temp4
= false ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 PyObject
* obj2
= 0 ;
10142 PyObject
* obj3
= 0 ;
10143 PyObject
* obj4
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10150 arg1
= static_cast<int >(SWIG_As_int(obj0
));
10151 if (SWIG_arg_fail(1)) SWIG_fail
;
10154 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
10155 if (SWIG_arg_fail(2)) SWIG_fail
;
10159 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10160 if (SWIG_arg_fail(3)) SWIG_fail
;
10165 arg4
= wxString_in_helper(obj3
);
10166 if (arg4
== NULL
) SWIG_fail
;
10172 arg5
= static_cast<wxFontEncoding
>(SWIG_As_int(obj4
));
10173 if (SWIG_arg_fail(5)) SWIG_fail
;
10177 if (!wxPyCheckForApp()) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10199 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
= NULL
;
10205 bool arg5
= (bool) false ;
10206 wxString
const &arg6_defvalue
= wxEmptyString
;
10207 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10208 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10211 bool temp6
= false ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 PyObject
* obj2
= 0 ;
10215 PyObject
* obj3
= 0 ;
10216 PyObject
* obj4
= 0 ;
10217 PyObject
* obj5
= 0 ;
10218 PyObject
* obj6
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10226 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
10229 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10230 if (SWIG_arg_fail(2)) SWIG_fail
;
10233 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10234 if (SWIG_arg_fail(3)) SWIG_fail
;
10237 arg4
= static_cast<int >(SWIG_As_int(obj3
));
10238 if (SWIG_arg_fail(4)) SWIG_fail
;
10242 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
10243 if (SWIG_arg_fail(5)) SWIG_fail
;
10248 arg6
= wxString_in_helper(obj5
);
10249 if (arg6
== NULL
) SWIG_fail
;
10255 arg7
= static_cast<wxFontEncoding
>(SWIG_As_int(obj6
));
10256 if (SWIG_arg_fail(7)) SWIG_fail
;
10260 if (!wxPyCheckForApp()) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10282 static PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
= NULL
;
10285 wxFontFamily arg2
;
10286 int arg3
= (int) wxFONTFLAG_DEFAULT
;
10287 wxString
const &arg4_defvalue
= wxEmptyString
;
10288 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10289 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10292 bool temp4
= false ;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 PyObject
* obj2
= 0 ;
10296 PyObject
* obj3
= 0 ;
10297 PyObject
* obj4
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10305 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
10308 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
10309 if (SWIG_arg_fail(2)) SWIG_fail
;
10313 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10314 if (SWIG_arg_fail(3)) SWIG_fail
;
10319 arg4
= wxString_in_helper(obj3
);
10320 if (arg4
== NULL
) SWIG_fail
;
10326 arg5
= static_cast<wxFontEncoding
>(SWIG_As_int(obj4
));
10327 if (SWIG_arg_fail(5)) SWIG_fail
;
10331 if (!wxPyCheckForApp()) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10353 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
= NULL
;
10355 wxFont
*arg1
= (wxFont
*) 0 ;
10357 PyObject
* obj0
= 0 ;
10358 char *kwnames
[] = {
10359 (char *) "self", NULL
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
10363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10364 if (SWIG_arg_fail(1)) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (bool)((wxFont
const *)arg1
)->Ok();
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10381 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
= NULL
;
10383 wxFont
*arg1
= (wxFont
*) 0 ;
10384 wxFont
*arg2
= (wxFont
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 PyObject
* obj1
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self",(char *) "other", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
10393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail
;
10395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10396 if (SWIG_arg_fail(2)) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10413 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
= NULL
;
10415 wxFont
*arg1
= (wxFont
*) 0 ;
10416 wxFont
*arg2
= (wxFont
*) 0 ;
10418 PyObject
* obj0
= 0 ;
10419 PyObject
* obj1
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self",(char *) "other", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
10425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10426 if (SWIG_arg_fail(1)) SWIG_fail
;
10427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10428 if (SWIG_arg_fail(2)) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10445 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
= NULL
;
10447 wxFont
*arg1
= (wxFont
*) 0 ;
10449 PyObject
* obj0
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
10455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10456 if (SWIG_arg_fail(1)) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_From_int(static_cast<int >(result
));
10473 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
= NULL
;
10475 wxFont
*arg1
= (wxFont
*) 0 ;
10477 PyObject
* obj0
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
10483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10484 if (SWIG_arg_fail(1)) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= ((wxFont
const *)arg1
)->GetPixelSize();
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 wxSize
* resultptr
;
10494 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
10495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10503 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
= NULL
;
10505 wxFont
*arg1
= (wxFont
*) 0 ;
10507 PyObject
* obj0
= 0 ;
10508 char *kwnames
[] = {
10509 (char *) "self", NULL
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
10513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10514 if (SWIG_arg_fail(1)) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10531 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
= NULL
;
10533 wxFont
*arg1
= (wxFont
*) 0 ;
10535 PyObject
* obj0
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
10541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10542 if (SWIG_arg_fail(1)) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (int)((wxFont
const *)arg1
)->GetFamily();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_From_int(static_cast<int >(result
));
10559 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
= NULL
;
10561 wxFont
*arg1
= (wxFont
*) 0 ;
10563 PyObject
* obj0
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
10569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10570 if (SWIG_arg_fail(1)) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 result
= (int)((wxFont
const *)arg1
)->GetStyle();
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= SWIG_From_int(static_cast<int >(result
));
10587 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
= NULL
;
10589 wxFont
*arg1
= (wxFont
*) 0 ;
10591 PyObject
* obj0
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
10597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10598 if (SWIG_arg_fail(1)) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (int)((wxFont
const *)arg1
)->GetWeight();
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_From_int(static_cast<int >(result
));
10615 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= NULL
;
10617 wxFont
*arg1
= (wxFont
*) 0 ;
10619 PyObject
* obj0
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
10625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10626 if (SWIG_arg_fail(1)) SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10643 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
= NULL
;
10645 wxFont
*arg1
= (wxFont
*) 0 ;
10647 PyObject
* obj0
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
10653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10654 if (SWIG_arg_fail(1)) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= ((wxFont
const *)arg1
)->GetFaceName();
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10675 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
= NULL
;
10677 wxFont
*arg1
= (wxFont
*) 0 ;
10678 wxFontEncoding result
;
10679 PyObject
* obj0
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "self", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
10685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10686 if (SWIG_arg_fail(1)) SWIG_fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_From_int((result
));
10701 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
= NULL
;
10703 wxFont
*arg1
= (wxFont
*) 0 ;
10704 wxNativeFontInfo
*result
;
10705 PyObject
* obj0
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
10711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10712 if (SWIG_arg_fail(1)) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
10727 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
= NULL
;
10729 wxFont
*arg1
= (wxFont
*) 0 ;
10731 PyObject
* obj0
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "self", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
10737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10738 if (SWIG_arg_fail(1)) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10755 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
= NULL
;
10757 wxFont
*arg1
= (wxFont
*) 0 ;
10759 PyObject
* obj0
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
10765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10766 if (SWIG_arg_fail(1)) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10787 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
= NULL
;
10789 wxFont
*arg1
= (wxFont
*) 0 ;
10791 PyObject
* obj0
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
10797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10798 if (SWIG_arg_fail(1)) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10819 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
= NULL
;
10821 wxFont
*arg1
= (wxFont
*) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 PyObject
* obj1
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self",(char *) "pointSize", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10831 if (SWIG_arg_fail(1)) SWIG_fail
;
10833 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10834 if (SWIG_arg_fail(2)) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->SetPointSize(arg2
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 Py_INCREF(Py_None
); resultobj
= Py_None
;
10850 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
= NULL
;
10852 wxFont
*arg1
= (wxFont
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self",(char *) "pixelSize", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10863 if (SWIG_arg_fail(1)) SWIG_fail
;
10866 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 Py_INCREF(Py_None
); resultobj
= Py_None
;
10882 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
= NULL
;
10884 wxFont
*arg1
= (wxFont
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "family", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10894 if (SWIG_arg_fail(1)) SWIG_fail
;
10896 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10897 if (SWIG_arg_fail(2)) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 (arg1
)->SetFamily(arg2
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 Py_INCREF(Py_None
); resultobj
= Py_None
;
10913 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
= NULL
;
10915 wxFont
*arg1
= (wxFont
*) 0 ;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self",(char *) "style", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10925 if (SWIG_arg_fail(1)) SWIG_fail
;
10927 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10928 if (SWIG_arg_fail(2)) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 (arg1
)->SetStyle(arg2
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 Py_INCREF(Py_None
); resultobj
= Py_None
;
10944 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
= NULL
;
10946 wxFont
*arg1
= (wxFont
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self",(char *) "weight", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10956 if (SWIG_arg_fail(1)) SWIG_fail
;
10958 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10959 if (SWIG_arg_fail(2)) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 (arg1
)->SetWeight(arg2
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 Py_INCREF(Py_None
); resultobj
= Py_None
;
10975 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
= NULL
;
10977 wxFont
*arg1
= (wxFont
*) 0 ;
10978 wxString
*arg2
= 0 ;
10979 bool temp2
= false ;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self",(char *) "faceName", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10988 if (SWIG_arg_fail(1)) SWIG_fail
;
10990 arg2
= wxString_in_helper(obj1
);
10991 if (arg2
== NULL
) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 Py_INCREF(Py_None
); resultobj
= Py_None
;
11016 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
= NULL
;
11018 wxFont
*arg1
= (wxFont
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self",(char *) "underlined", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
11027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11028 if (SWIG_arg_fail(1)) SWIG_fail
;
11030 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11031 if (SWIG_arg_fail(2)) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 (arg1
)->SetUnderlined(arg2
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 Py_INCREF(Py_None
); resultobj
= Py_None
;
11047 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
= NULL
;
11049 wxFont
*arg1
= (wxFont
*) 0 ;
11050 wxFontEncoding arg2
;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self",(char *) "encoding", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
11058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11059 if (SWIG_arg_fail(1)) SWIG_fail
;
11061 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
11062 if (SWIG_arg_fail(2)) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 (arg1
)->SetEncoding(arg2
);
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11071 Py_INCREF(Py_None
); resultobj
= Py_None
;
11078 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
= NULL
;
11080 wxFont
*arg1
= (wxFont
*) 0 ;
11081 wxNativeFontInfo
*arg2
= 0 ;
11082 PyObject
* obj0
= 0 ;
11083 PyObject
* obj1
= 0 ;
11084 char *kwnames
[] = {
11085 (char *) "self",(char *) "info", NULL
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11090 if (SWIG_arg_fail(1)) SWIG_fail
;
11092 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
11093 if (SWIG_arg_fail(2)) SWIG_fail
;
11094 if (arg2
== NULL
) {
11095 SWIG_null_ref("wxNativeFontInfo");
11097 if (SWIG_arg_fail(2)) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 Py_INCREF(Py_None
); resultobj
= Py_None
;
11113 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
= NULL
;
11115 wxFont
*arg1
= (wxFont
*) 0 ;
11116 wxString
*arg2
= 0 ;
11117 bool temp2
= false ;
11118 PyObject
* obj0
= 0 ;
11119 PyObject
* obj1
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self",(char *) "info", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
11125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail
;
11128 arg2
= wxString_in_helper(obj1
);
11129 if (arg2
== NULL
) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 Py_INCREF(Py_None
); resultobj
= Py_None
;
11154 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
= NULL
;
11156 wxFont
*arg1
= (wxFont
*) 0 ;
11157 wxString
*arg2
= 0 ;
11158 bool temp2
= false ;
11159 PyObject
* obj0
= 0 ;
11160 PyObject
* obj1
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "self",(char *) "info", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11167 if (SWIG_arg_fail(1)) SWIG_fail
;
11169 arg2
= wxString_in_helper(obj1
);
11170 if (arg2
== NULL
) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 Py_INCREF(Py_None
); resultobj
= Py_None
;
11195 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
= NULL
;
11197 wxFont
*arg1
= (wxFont
*) 0 ;
11199 PyObject
* obj0
= 0 ;
11200 char *kwnames
[] = {
11201 (char *) "self", NULL
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
11205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11206 if (SWIG_arg_fail(1)) SWIG_fail
;
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 result
= ((wxFont
const *)arg1
)->GetFamilyString();
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11227 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
= NULL
;
11229 wxFont
*arg1
= (wxFont
*) 0 ;
11231 PyObject
* obj0
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
11237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= ((wxFont
const *)arg1
)->GetStyleString();
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11259 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
= NULL
;
11261 wxFont
*arg1
= (wxFont
*) 0 ;
11263 PyObject
* obj0
= 0 ;
11264 char *kwnames
[] = {
11265 (char *) "self", NULL
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
11269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11270 if (SWIG_arg_fail(1)) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= ((wxFont
const *)arg1
)->GetWeightString();
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11291 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
= NULL
;
11293 wxFont
*arg1
= (wxFont
*) 0 ;
11294 bool arg2
= (bool) true ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self",(char *) "no", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
11302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11303 if (SWIG_arg_fail(1)) SWIG_fail
;
11306 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11307 if (SWIG_arg_fail(2)) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 (arg1
)->SetNoAntiAliasing(arg2
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 Py_INCREF(Py_None
); resultobj
= Py_None
;
11324 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
= NULL
;
11326 wxFont
*arg1
= (wxFont
*) 0 ;
11328 PyObject
* obj0
= 0 ;
11329 char *kwnames
[] = {
11330 (char *) "self", NULL
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
11334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11335 if (SWIG_arg_fail(1)) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11352 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
= NULL
;
11354 wxFontEncoding result
;
11355 char *kwnames
[] = {
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
11361 if (!wxPyCheckForApp()) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= SWIG_From_int((result
));
11375 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
= NULL
;
11377 wxFontEncoding arg1
;
11378 PyObject
* obj0
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "encoding", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
11385 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
11386 if (SWIG_arg_fail(1)) SWIG_fail
;
11389 if (!wxPyCheckForApp()) SWIG_fail
;
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 wxFont::SetDefaultEncoding(arg1
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 Py_INCREF(Py_None
); resultobj
= Py_None
;
11403 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
11405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11406 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
11408 return Py_BuildValue((char *)"");
11410 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
= NULL
;
11412 wxPyFontEnumerator
*result
;
11413 char *kwnames
[] = {
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
11419 if (!wxPyCheckForApp()) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
11433 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
= NULL
;
11435 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
11442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11443 if (SWIG_arg_fail(1)) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 Py_INCREF(Py_None
); resultobj
= Py_None
;
11458 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
= NULL
;
11460 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11461 PyObject
*arg2
= (PyObject
*) 0 ;
11462 PyObject
*arg3
= (PyObject
*) 0 ;
11464 PyObject
* obj0
= 0 ;
11465 PyObject
* obj1
= 0 ;
11466 PyObject
* obj2
= 0 ;
11467 PyObject
* obj3
= 0 ;
11468 char *kwnames
[] = {
11469 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11474 if (SWIG_arg_fail(1)) SWIG_fail
;
11478 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
11479 if (SWIG_arg_fail(4)) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 Py_INCREF(Py_None
); resultobj
= Py_None
;
11495 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
= NULL
;
11497 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11498 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
11499 bool arg3
= (bool) false ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 PyObject
* obj2
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail
;
11513 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
11514 if (SWIG_arg_fail(2)) SWIG_fail
;
11519 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
11520 if (SWIG_arg_fail(3)) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11539 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
= NULL
;
11541 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11542 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11543 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11545 bool temp2
= false ;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self",(char *) "facename", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
11553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11554 if (SWIG_arg_fail(1)) SWIG_fail
;
11557 arg2
= wxString_in_helper(obj1
);
11558 if (arg2
== NULL
) SWIG_fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11586 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
= NULL
;
11588 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11590 PyObject
* obj0
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
11596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11597 if (SWIG_arg_fail(1)) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= result
;
11612 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
= NULL
;
11614 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11616 PyObject
* obj0
= 0 ;
11617 char *kwnames
[] = {
11618 (char *) "self", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
11622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11623 if (SWIG_arg_fail(1)) SWIG_fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= result
;
11638 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
11640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11641 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
11643 return Py_BuildValue((char *)"");
11645 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
= NULL
;
11647 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11649 PyObject
* obj0
= 0 ;
11650 PyObject
* obj1
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "self",(char *) "Language", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11657 if (SWIG_arg_fail(1)) SWIG_fail
;
11659 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11660 if (SWIG_arg_fail(2)) SWIG_fail
;
11662 if (arg1
) (arg1
)->Language
= arg2
;
11664 Py_INCREF(Py_None
); resultobj
= Py_None
;
11671 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
= NULL
;
11673 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11675 PyObject
* obj0
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
11681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11682 if (SWIG_arg_fail(1)) SWIG_fail
;
11683 result
= (int) ((arg1
)->Language
);
11686 resultobj
= SWIG_From_int(static_cast<int >(result
));
11694 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
= NULL
;
11696 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11697 wxString
*arg2
= (wxString
*) 0 ;
11698 bool temp2
= false ;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 char *kwnames
[] = {
11702 (char *) "self",(char *) "CanonicalName", NULL
11705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11707 if (SWIG_arg_fail(1)) SWIG_fail
;
11709 arg2
= wxString_in_helper(obj1
);
11710 if (arg2
== NULL
) SWIG_fail
;
11713 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
11715 Py_INCREF(Py_None
); resultobj
= Py_None
;
11730 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
= NULL
;
11732 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11734 PyObject
* obj0
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "self", NULL
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
11740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11741 if (SWIG_arg_fail(1)) SWIG_fail
;
11742 result
= (wxString
*)& ((arg1
)->CanonicalName
);
11746 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11748 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11757 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
= NULL
;
11759 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11760 wxString
*arg2
= (wxString
*) 0 ;
11761 bool temp2
= false ;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self",(char *) "Description", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11770 if (SWIG_arg_fail(1)) SWIG_fail
;
11772 arg2
= wxString_in_helper(obj1
);
11773 if (arg2
== NULL
) SWIG_fail
;
11776 if (arg1
) (arg1
)->Description
= *arg2
;
11778 Py_INCREF(Py_None
); resultobj
= Py_None
;
11793 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
= NULL
;
11795 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
11803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11804 if (SWIG_arg_fail(1)) SWIG_fail
;
11805 result
= (wxString
*)& ((arg1
)->Description
);
11809 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11811 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11820 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
11822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11823 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
11825 return Py_BuildValue((char *)"");
11827 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
= NULL
;
11829 int arg1
= (int) -1 ;
11830 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "language",(char *) "flags", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
11841 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11842 if (SWIG_arg_fail(1)) SWIG_fail
;
11847 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11848 if (SWIG_arg_fail(2)) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11865 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
= NULL
;
11867 wxLocale
*arg1
= (wxLocale
*) 0 ;
11868 PyObject
* obj0
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11875 if (SWIG_arg_fail(1)) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 Py_INCREF(Py_None
); resultobj
= Py_None
;
11890 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
= NULL
;
11892 wxLocale
*arg1
= (wxLocale
*) 0 ;
11893 wxString
*arg2
= 0 ;
11894 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11895 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11896 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11897 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11898 bool arg5
= (bool) true ;
11899 bool arg6
= (bool) false ;
11901 bool temp2
= false ;
11902 bool temp3
= false ;
11903 bool temp4
= false ;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 PyObject
* obj2
= 0 ;
11907 PyObject
* obj3
= 0 ;
11908 PyObject
* obj4
= 0 ;
11909 PyObject
* obj5
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11916 if (SWIG_arg_fail(1)) SWIG_fail
;
11918 arg2
= wxString_in_helper(obj1
);
11919 if (arg2
== NULL
) SWIG_fail
;
11924 arg3
= wxString_in_helper(obj2
);
11925 if (arg3
== NULL
) SWIG_fail
;
11931 arg4
= wxString_in_helper(obj3
);
11932 if (arg4
== NULL
) SWIG_fail
;
11938 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
11939 if (SWIG_arg_fail(5)) SWIG_fail
;
11944 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
11945 if (SWIG_arg_fail(6)) SWIG_fail
;
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11988 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
= NULL
;
11990 wxLocale
*arg1
= (wxLocale
*) 0 ;
11991 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11992 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 PyObject
* obj2
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self",(char *) "language",(char *) "flags", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12003 if (SWIG_arg_fail(1)) SWIG_fail
;
12006 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12007 if (SWIG_arg_fail(2)) SWIG_fail
;
12012 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12013 if (SWIG_arg_fail(3)) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12032 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
= NULL
;
12035 char *kwnames
[] = {
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (int)wxLocale::GetSystemLanguage();
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= SWIG_From_int(static_cast<int >(result
));
12056 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
= NULL
;
12058 wxFontEncoding result
;
12059 char *kwnames
[] = {
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= SWIG_From_int((result
));
12078 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
= NULL
;
12081 char *kwnames
[] = {
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= wxLocale::GetSystemEncodingName();
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12106 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
= NULL
;
12108 wxLocale
*arg1
= (wxLocale
*) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
12116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12134 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
= NULL
;
12136 wxLocale
*arg1
= (wxLocale
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
12144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12145 if (SWIG_arg_fail(1)) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= ((wxLocale
const *)arg1
)->GetLocale();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12166 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
= NULL
;
12168 wxLocale
*arg1
= (wxLocale
*) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 char *kwnames
[] = {
12172 (char *) "self", NULL
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
12176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12177 if (SWIG_arg_fail(1)) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= SWIG_From_int(static_cast<int >(result
));
12194 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
= NULL
;
12196 wxLocale
*arg1
= (wxLocale
*) 0 ;
12198 PyObject
* obj0
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
12204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12205 if (SWIG_arg_fail(1)) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 result
= ((wxLocale
const *)arg1
)->GetSysName();
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12226 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
= NULL
;
12228 wxLocale
*arg1
= (wxLocale
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
12236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12237 if (SWIG_arg_fail(1)) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12258 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= NULL
;
12260 wxString
*arg1
= 0 ;
12261 bool temp1
= false ;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "prefix", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
12269 arg1
= wxString_in_helper(obj0
);
12270 if (arg1
== NULL
) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 Py_INCREF(Py_None
); resultobj
= Py_None
;
12295 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
= NULL
;
12297 wxLocale
*arg1
= (wxLocale
*) 0 ;
12298 wxString
*arg2
= 0 ;
12300 bool temp2
= false ;
12301 PyObject
* obj0
= 0 ;
12302 PyObject
* obj1
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "szDomain", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
12308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12309 if (SWIG_arg_fail(1)) SWIG_fail
;
12311 arg2
= wxString_in_helper(obj1
);
12312 if (arg2
== NULL
) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12339 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
= NULL
;
12341 wxLocale
*arg1
= (wxLocale
*) 0 ;
12342 wxString
*arg2
= 0 ;
12344 bool temp2
= false ;
12345 PyObject
* obj0
= 0 ;
12346 PyObject
* obj1
= 0 ;
12347 char *kwnames
[] = {
12348 (char *) "self",(char *) "szDomain", NULL
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
12352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12353 if (SWIG_arg_fail(1)) SWIG_fail
;
12355 arg2
= wxString_in_helper(obj1
);
12356 if (arg2
== NULL
) SWIG_fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12383 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
= NULL
;
12386 wxLanguageInfo
*result
;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "lang", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
12394 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12395 if (SWIG_arg_fail(1)) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
12411 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
= NULL
;
12415 PyObject
* obj0
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "lang", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
12422 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12423 if (SWIG_arg_fail(1)) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= wxLocale::GetLanguageName(arg1
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12445 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
= NULL
;
12447 wxString
*arg1
= 0 ;
12448 wxLanguageInfo
*result
;
12449 bool temp1
= false ;
12450 PyObject
* obj0
= 0 ;
12451 char *kwnames
[] = {
12452 (char *) "locale", NULL
12455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
12457 arg1
= wxString_in_helper(obj0
);
12458 if (arg1
== NULL
) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
12483 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
= NULL
;
12485 wxLanguageInfo
*arg1
= 0 ;
12486 PyObject
* obj0
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "info", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
12493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
12494 if (SWIG_arg_fail(1)) SWIG_fail
;
12495 if (arg1
== NULL
) {
12496 SWIG_null_ref("wxLanguageInfo");
12498 if (SWIG_arg_fail(1)) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 Py_INCREF(Py_None
); resultobj
= Py_None
;
12514 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
= NULL
;
12516 wxLocale
*arg1
= (wxLocale
*) 0 ;
12517 wxString
*arg2
= 0 ;
12518 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12519 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12521 bool temp2
= false ;
12522 bool temp3
= false ;
12523 PyObject
* obj0
= 0 ;
12524 PyObject
* obj1
= 0 ;
12525 PyObject
* obj2
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12532 if (SWIG_arg_fail(1)) SWIG_fail
;
12534 arg2
= wxString_in_helper(obj1
);
12535 if (arg2
== NULL
) SWIG_fail
;
12540 arg3
= wxString_in_helper(obj2
);
12541 if (arg3
== NULL
) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12581 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
= NULL
;
12583 wxLocale
*arg1
= (wxLocale
*) 0 ;
12585 PyObject
* obj0
= 0 ;
12586 char *kwnames
[] = {
12587 (char *) "self", NULL
12590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
12591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12592 if (SWIG_arg_fail(1)) SWIG_fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
12597 result
= (wxString
*) &_result_ref
;
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12607 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12616 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
12618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12619 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
12621 return Py_BuildValue((char *)"");
12623 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
= NULL
;
12626 char *kwnames
[] = {
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (wxLocale
*)wxGetLocale();
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
12645 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
12646 PyObject
*resultobj
= NULL
;
12647 wxString
*arg1
= 0 ;
12649 bool temp1
= false ;
12650 PyObject
* obj0
= 0 ;
12652 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
12654 arg1
= wxString_in_helper(obj0
);
12655 if (arg1
== NULL
) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= wxGetTranslation((wxString
const &)*arg1
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12686 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
12687 PyObject
*resultobj
= NULL
;
12688 wxString
*arg1
= 0 ;
12689 wxString
*arg2
= 0 ;
12692 bool temp1
= false ;
12693 bool temp2
= false ;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12698 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
12700 arg1
= wxString_in_helper(obj0
);
12701 if (arg1
== NULL
) SWIG_fail
;
12705 arg2
= wxString_in_helper(obj1
);
12706 if (arg2
== NULL
) SWIG_fail
;
12710 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12711 if (SWIG_arg_fail(3)) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12749 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
12754 argc
= PyObject_Length(args
);
12755 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
12756 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12761 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12764 return _wrap_GetTranslation__SWIG_0(self
,args
);
12770 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12774 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
12777 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
12779 return _wrap_GetTranslation__SWIG_1(self
,args
);
12785 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
12790 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
= NULL
;
12792 wxEncodingConverter
*result
;
12793 char *kwnames
[] = {
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (wxEncodingConverter
*)new wxEncodingConverter();
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
12812 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
= NULL
;
12814 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
12821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12822 if (SWIG_arg_fail(1)) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 Py_INCREF(Py_None
); resultobj
= Py_None
;
12837 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
= NULL
;
12839 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12840 wxFontEncoding arg2
;
12841 wxFontEncoding arg3
;
12842 int arg4
= (int) wxCONVERT_STRICT
;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 PyObject
* obj2
= 0 ;
12847 PyObject
* obj3
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12854 if (SWIG_arg_fail(1)) SWIG_fail
;
12856 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
12857 if (SWIG_arg_fail(2)) SWIG_fail
;
12860 arg3
= static_cast<wxFontEncoding
>(SWIG_As_int(obj2
));
12861 if (SWIG_arg_fail(3)) SWIG_fail
;
12865 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12866 if (SWIG_arg_fail(4)) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12885 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
= NULL
;
12887 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12888 wxString
*arg2
= 0 ;
12890 bool temp2
= false ;
12891 PyObject
* obj0
= 0 ;
12892 PyObject
* obj1
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self",(char *) "input", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12899 if (SWIG_arg_fail(1)) SWIG_fail
;
12901 arg2
= wxString_in_helper(obj1
);
12902 if (arg2
== NULL
) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12933 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
= NULL
;
12935 wxFontEncoding arg1
;
12936 int arg2
= (int) wxPLATFORM_CURRENT
;
12937 wxFontEncodingArray result
;
12938 PyObject
* obj0
= 0 ;
12939 PyObject
* obj1
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "enc",(char *) "platform", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12946 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
12947 if (SWIG_arg_fail(1)) SWIG_fail
;
12951 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12952 if (SWIG_arg_fail(2)) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= PyList_New(0);
12964 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12965 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12966 PyList_Append(resultobj
, number
);
12976 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
*resultobj
= NULL
;
12978 wxFontEncoding arg1
;
12979 wxFontEncodingArray result
;
12980 PyObject
* obj0
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "enc", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12987 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
12988 if (SWIG_arg_fail(1)) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= PyList_New(0);
12999 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
13000 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
13001 PyList_Append(resultobj
, number
);
13011 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
= NULL
;
13013 wxFontEncoding arg1
;
13014 wxFontEncoding arg2
;
13016 PyObject
* obj0
= 0 ;
13017 PyObject
* obj1
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "encIn",(char *) "encOut", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
13024 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
13025 if (SWIG_arg_fail(1)) SWIG_fail
;
13028 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
13029 if (SWIG_arg_fail(2)) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13047 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
13049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13050 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
13052 return Py_BuildValue((char *)"");
13054 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
= NULL
;
13056 wxDC
*arg1
= (wxDC
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
13063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 Py_INCREF(Py_None
); resultobj
= Py_None
;
13079 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
= NULL
;
13081 wxDC
*arg1
= (wxDC
*) 0 ;
13084 wxColour
*arg4
= 0 ;
13085 int arg5
= (int) wxFLOOD_SURFACE
;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 PyObject
* obj2
= 0 ;
13091 PyObject
* obj3
= 0 ;
13092 PyObject
* obj4
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13099 if (SWIG_arg_fail(1)) SWIG_fail
;
13101 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13102 if (SWIG_arg_fail(2)) SWIG_fail
;
13105 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13106 if (SWIG_arg_fail(3)) SWIG_fail
;
13110 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
13114 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13115 if (SWIG_arg_fail(5)) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13134 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
= NULL
;
13136 wxDC
*arg1
= (wxDC
*) 0 ;
13137 wxPoint
*arg2
= 0 ;
13138 wxColour
*arg3
= 0 ;
13139 int arg4
= (int) wxFLOOD_SURFACE
;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 PyObject
* obj2
= 0 ;
13146 PyObject
* obj3
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13164 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13165 if (SWIG_arg_fail(4)) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13184 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
= NULL
;
13186 wxDC
*arg1
= (wxDC
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 PyObject
* obj2
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "x",(char *) "y", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13199 if (SWIG_arg_fail(1)) SWIG_fail
;
13201 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13202 if (SWIG_arg_fail(2)) SWIG_fail
;
13205 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13206 if (SWIG_arg_fail(3)) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 wxColour
* resultptr
;
13217 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13226 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
= NULL
;
13228 wxDC
*arg1
= (wxDC
*) 0 ;
13229 wxPoint
*arg2
= 0 ;
13232 PyObject
* obj0
= 0 ;
13233 PyObject
* obj1
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self",(char *) "pt", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail
;
13243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13253 wxColour
* resultptr
;
13254 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13263 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
= NULL
;
13265 wxDC
*arg1
= (wxDC
*) 0 ;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 PyObject
* obj2
= 0 ;
13273 PyObject
* obj3
= 0 ;
13274 PyObject
* obj4
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13281 if (SWIG_arg_fail(1)) SWIG_fail
;
13283 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13284 if (SWIG_arg_fail(2)) SWIG_fail
;
13287 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13288 if (SWIG_arg_fail(3)) SWIG_fail
;
13291 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13292 if (SWIG_arg_fail(4)) SWIG_fail
;
13295 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13296 if (SWIG_arg_fail(5)) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 Py_INCREF(Py_None
); resultobj
= Py_None
;
13312 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
= NULL
;
13314 wxDC
*arg1
= (wxDC
*) 0 ;
13315 wxPoint
*arg2
= 0 ;
13316 wxPoint
*arg3
= 0 ;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 PyObject
* obj2
= 0 ;
13322 char *kwnames
[] = {
13323 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
13326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13328 if (SWIG_arg_fail(1)) SWIG_fail
;
13331 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13335 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
= NULL
;
13353 wxDC
*arg1
= (wxDC
*) 0 ;
13356 PyObject
* obj0
= 0 ;
13357 PyObject
* obj1
= 0 ;
13358 PyObject
* obj2
= 0 ;
13359 char *kwnames
[] = {
13360 (char *) "self",(char *) "x",(char *) "y", NULL
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13365 if (SWIG_arg_fail(1)) SWIG_fail
;
13367 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13368 if (SWIG_arg_fail(2)) SWIG_fail
;
13371 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13372 if (SWIG_arg_fail(3)) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 (arg1
)->CrossHair(arg2
,arg3
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 Py_INCREF(Py_None
); resultobj
= Py_None
;
13388 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
= NULL
;
13390 wxDC
*arg1
= (wxDC
*) 0 ;
13391 wxPoint
*arg2
= 0 ;
13393 PyObject
* obj0
= 0 ;
13394 PyObject
* obj1
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self",(char *) "pt", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13401 if (SWIG_arg_fail(1)) SWIG_fail
;
13404 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 Py_INCREF(Py_None
); resultobj
= Py_None
;
13420 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
= NULL
;
13422 wxDC
*arg1
= (wxDC
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 PyObject
* obj2
= 0 ;
13432 PyObject
* obj3
= 0 ;
13433 PyObject
* obj4
= 0 ;
13434 PyObject
* obj5
= 0 ;
13435 PyObject
* obj6
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail
;
13444 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13445 if (SWIG_arg_fail(2)) SWIG_fail
;
13448 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13449 if (SWIG_arg_fail(3)) SWIG_fail
;
13452 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13453 if (SWIG_arg_fail(4)) SWIG_fail
;
13456 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13457 if (SWIG_arg_fail(5)) SWIG_fail
;
13460 arg6
= static_cast<int >(SWIG_As_int(obj5
));
13461 if (SWIG_arg_fail(6)) SWIG_fail
;
13464 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13465 if (SWIG_arg_fail(7)) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 Py_INCREF(Py_None
); resultobj
= Py_None
;
13481 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
= NULL
;
13483 wxDC
*arg1
= (wxDC
*) 0 ;
13484 wxPoint
*arg2
= 0 ;
13485 wxPoint
*arg3
= 0 ;
13486 wxPoint
*arg4
= 0 ;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 PyObject
* obj2
= 0 ;
13493 PyObject
* obj3
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13500 if (SWIG_arg_fail(1)) SWIG_fail
;
13503 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13507 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13511 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 Py_INCREF(Py_None
); resultobj
= Py_None
;
13527 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
= NULL
;
13529 wxDC
*arg1
= (wxDC
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 PyObject
* obj2
= 0 ;
13537 PyObject
* obj3
= 0 ;
13538 PyObject
* obj4
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13545 if (SWIG_arg_fail(1)) SWIG_fail
;
13547 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13548 if (SWIG_arg_fail(2)) SWIG_fail
;
13551 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13552 if (SWIG_arg_fail(3)) SWIG_fail
;
13555 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13556 if (SWIG_arg_fail(4)) SWIG_fail
;
13559 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13560 if (SWIG_arg_fail(5)) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 Py_INCREF(Py_None
); resultobj
= Py_None
;
13576 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
= NULL
;
13578 wxDC
*arg1
= (wxDC
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self",(char *) "rect", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13589 if (SWIG_arg_fail(1)) SWIG_fail
;
13592 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 Py_INCREF(Py_None
); resultobj
= Py_None
;
13608 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
= NULL
;
13610 wxDC
*arg1
= (wxDC
*) 0 ;
13617 PyObject
* obj0
= 0 ;
13618 PyObject
* obj1
= 0 ;
13619 PyObject
* obj2
= 0 ;
13620 PyObject
* obj3
= 0 ;
13621 PyObject
* obj4
= 0 ;
13622 PyObject
* obj5
= 0 ;
13623 PyObject
* obj6
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13630 if (SWIG_arg_fail(1)) SWIG_fail
;
13632 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13633 if (SWIG_arg_fail(2)) SWIG_fail
;
13636 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13637 if (SWIG_arg_fail(3)) SWIG_fail
;
13640 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13641 if (SWIG_arg_fail(4)) SWIG_fail
;
13644 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13645 if (SWIG_arg_fail(5)) SWIG_fail
;
13648 arg6
= static_cast<double >(SWIG_As_double(obj5
));
13649 if (SWIG_arg_fail(6)) SWIG_fail
;
13652 arg7
= static_cast<double >(SWIG_As_double(obj6
));
13653 if (SWIG_arg_fail(7)) SWIG_fail
;
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13662 Py_INCREF(Py_None
); resultobj
= Py_None
;
13669 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
= NULL
;
13671 wxDC
*arg1
= (wxDC
*) 0 ;
13672 wxPoint
*arg2
= 0 ;
13678 PyObject
* obj0
= 0 ;
13679 PyObject
* obj1
= 0 ;
13680 PyObject
* obj2
= 0 ;
13681 PyObject
* obj3
= 0 ;
13682 PyObject
* obj4
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg4
= static_cast<double >(SWIG_As_double(obj3
));
13700 if (SWIG_arg_fail(4)) SWIG_fail
;
13703 arg5
= static_cast<double >(SWIG_As_double(obj4
));
13704 if (SWIG_arg_fail(5)) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 Py_INCREF(Py_None
); resultobj
= Py_None
;
13720 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
= NULL
;
13722 wxDC
*arg1
= (wxDC
*) 0 ;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 PyObject
* obj2
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "self",(char *) "x",(char *) "y", NULL
13732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13734 if (SWIG_arg_fail(1)) SWIG_fail
;
13736 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13737 if (SWIG_arg_fail(2)) SWIG_fail
;
13740 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13741 if (SWIG_arg_fail(3)) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 (arg1
)->DrawPoint(arg2
,arg3
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 Py_INCREF(Py_None
); resultobj
= Py_None
;
13757 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
= NULL
;
13759 wxDC
*arg1
= (wxDC
*) 0 ;
13760 wxPoint
*arg2
= 0 ;
13762 PyObject
* obj0
= 0 ;
13763 PyObject
* obj1
= 0 ;
13764 char *kwnames
[] = {
13765 (char *) "self",(char *) "pt", NULL
13768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13770 if (SWIG_arg_fail(1)) SWIG_fail
;
13773 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 Py_INCREF(Py_None
); resultobj
= Py_None
;
13789 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
= NULL
;
13791 wxDC
*arg1
= (wxDC
*) 0 ;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj1
= 0 ;
13798 PyObject
* obj2
= 0 ;
13799 PyObject
* obj3
= 0 ;
13800 PyObject
* obj4
= 0 ;
13801 char *kwnames
[] = {
13802 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13807 if (SWIG_arg_fail(1)) SWIG_fail
;
13809 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13810 if (SWIG_arg_fail(2)) SWIG_fail
;
13813 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13814 if (SWIG_arg_fail(3)) SWIG_fail
;
13817 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13818 if (SWIG_arg_fail(4)) SWIG_fail
;
13821 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13822 if (SWIG_arg_fail(5)) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 Py_INCREF(Py_None
); resultobj
= Py_None
;
13838 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
= NULL
;
13840 wxDC
*arg1
= (wxDC
*) 0 ;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "self",(char *) "rect", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13851 if (SWIG_arg_fail(1)) SWIG_fail
;
13854 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 Py_INCREF(Py_None
); resultobj
= Py_None
;
13870 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
= NULL
;
13872 wxDC
*arg1
= (wxDC
*) 0 ;
13873 wxPoint
*arg2
= 0 ;
13877 PyObject
* obj0
= 0 ;
13878 PyObject
* obj1
= 0 ;
13879 PyObject
* obj2
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self",(char *) "pt",(char *) "sz", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13886 if (SWIG_arg_fail(1)) SWIG_fail
;
13889 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13893 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 Py_INCREF(Py_None
); resultobj
= Py_None
;
13909 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
= NULL
;
13911 wxDC
*arg1
= (wxDC
*) 0 ;
13917 PyObject
* obj0
= 0 ;
13918 PyObject
* obj1
= 0 ;
13919 PyObject
* obj2
= 0 ;
13920 PyObject
* obj3
= 0 ;
13921 PyObject
* obj4
= 0 ;
13922 PyObject
* obj5
= 0 ;
13923 char *kwnames
[] = {
13924 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13929 if (SWIG_arg_fail(1)) SWIG_fail
;
13931 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13932 if (SWIG_arg_fail(2)) SWIG_fail
;
13935 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13936 if (SWIG_arg_fail(3)) SWIG_fail
;
13939 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13940 if (SWIG_arg_fail(4)) SWIG_fail
;
13943 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13944 if (SWIG_arg_fail(5)) SWIG_fail
;
13947 arg6
= static_cast<double >(SWIG_As_double(obj5
));
13948 if (SWIG_arg_fail(6)) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13957 Py_INCREF(Py_None
); resultobj
= Py_None
;
13964 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13965 PyObject
*resultobj
= NULL
;
13966 wxDC
*arg1
= (wxDC
*) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 PyObject
* obj1
= 0 ;
13972 PyObject
* obj2
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self",(char *) "r",(char *) "radius", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13979 if (SWIG_arg_fail(1)) SWIG_fail
;
13982 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13985 arg3
= static_cast<double >(SWIG_As_double(obj2
));
13986 if (SWIG_arg_fail(3)) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 Py_INCREF(Py_None
); resultobj
= Py_None
;
14002 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
= NULL
;
14004 wxDC
*arg1
= (wxDC
*) 0 ;
14005 wxPoint
*arg2
= 0 ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 PyObject
* obj2
= 0 ;
14013 PyObject
* obj3
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14020 if (SWIG_arg_fail(1)) SWIG_fail
;
14023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14027 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14030 arg4
= static_cast<double >(SWIG_As_double(obj3
));
14031 if (SWIG_arg_fail(4)) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 Py_INCREF(Py_None
); resultobj
= Py_None
;
14047 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14048 PyObject
*resultobj
= NULL
;
14049 wxDC
*arg1
= (wxDC
*) 0 ;
14053 PyObject
* obj0
= 0 ;
14054 PyObject
* obj1
= 0 ;
14055 PyObject
* obj2
= 0 ;
14056 PyObject
* obj3
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14063 if (SWIG_arg_fail(1)) SWIG_fail
;
14065 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14066 if (SWIG_arg_fail(2)) SWIG_fail
;
14069 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14070 if (SWIG_arg_fail(3)) SWIG_fail
;
14073 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14074 if (SWIG_arg_fail(4)) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 Py_INCREF(Py_None
); resultobj
= Py_None
;
14090 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
= NULL
;
14092 wxDC
*arg1
= (wxDC
*) 0 ;
14093 wxPoint
*arg2
= 0 ;
14096 PyObject
* obj0
= 0 ;
14097 PyObject
* obj1
= 0 ;
14098 PyObject
* obj2
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self",(char *) "pt",(char *) "radius", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14105 if (SWIG_arg_fail(1)) SWIG_fail
;
14108 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14111 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14112 if (SWIG_arg_fail(3)) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 Py_INCREF(Py_None
); resultobj
= Py_None
;
14128 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
= NULL
;
14130 wxDC
*arg1
= (wxDC
*) 0 ;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 PyObject
* obj2
= 0 ;
14138 PyObject
* obj3
= 0 ;
14139 PyObject
* obj4
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14146 if (SWIG_arg_fail(1)) SWIG_fail
;
14148 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14149 if (SWIG_arg_fail(2)) SWIG_fail
;
14152 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14153 if (SWIG_arg_fail(3)) SWIG_fail
;
14156 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14157 if (SWIG_arg_fail(4)) SWIG_fail
;
14160 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14161 if (SWIG_arg_fail(5)) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 Py_INCREF(Py_None
); resultobj
= Py_None
;
14177 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
= NULL
;
14179 wxDC
*arg1
= (wxDC
*) 0 ;
14182 PyObject
* obj0
= 0 ;
14183 PyObject
* obj1
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self",(char *) "rect", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14190 if (SWIG_arg_fail(1)) SWIG_fail
;
14193 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 Py_INCREF(Py_None
); resultobj
= Py_None
;
14209 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
= NULL
;
14211 wxDC
*arg1
= (wxDC
*) 0 ;
14212 wxPoint
*arg2
= 0 ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 PyObject
* obj2
= 0 ;
14219 char *kwnames
[] = {
14220 (char *) "self",(char *) "pt",(char *) "sz", NULL
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14225 if (SWIG_arg_fail(1)) SWIG_fail
;
14228 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14232 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14241 Py_INCREF(Py_None
); resultobj
= Py_None
;
14248 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
= NULL
;
14250 wxDC
*arg1
= (wxDC
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 PyObject
* obj2
= 0 ;
14257 PyObject
* obj3
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14264 if (SWIG_arg_fail(1)) SWIG_fail
;
14266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
14267 if (SWIG_arg_fail(2)) SWIG_fail
;
14268 if (arg2
== NULL
) {
14269 SWIG_null_ref("wxIcon");
14271 if (SWIG_arg_fail(2)) SWIG_fail
;
14274 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14275 if (SWIG_arg_fail(3)) SWIG_fail
;
14278 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14279 if (SWIG_arg_fail(4)) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 Py_INCREF(Py_None
); resultobj
= Py_None
;
14295 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
= NULL
;
14297 wxDC
*arg1
= (wxDC
*) 0 ;
14299 wxPoint
*arg3
= 0 ;
14301 PyObject
* obj0
= 0 ;
14302 PyObject
* obj1
= 0 ;
14303 PyObject
* obj2
= 0 ;
14304 char *kwnames
[] = {
14305 (char *) "self",(char *) "icon",(char *) "pt", NULL
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14310 if (SWIG_arg_fail(1)) SWIG_fail
;
14312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
14313 if (SWIG_arg_fail(2)) SWIG_fail
;
14314 if (arg2
== NULL
) {
14315 SWIG_null_ref("wxIcon");
14317 if (SWIG_arg_fail(2)) SWIG_fail
;
14321 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 Py_INCREF(Py_None
); resultobj
= Py_None
;
14337 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
= NULL
;
14339 wxDC
*arg1
= (wxDC
*) 0 ;
14340 wxBitmap
*arg2
= 0 ;
14343 bool arg5
= (bool) false ;
14344 PyObject
* obj0
= 0 ;
14345 PyObject
* obj1
= 0 ;
14346 PyObject
* obj2
= 0 ;
14347 PyObject
* obj3
= 0 ;
14348 PyObject
* obj4
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14355 if (SWIG_arg_fail(1)) SWIG_fail
;
14357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14358 if (SWIG_arg_fail(2)) SWIG_fail
;
14359 if (arg2
== NULL
) {
14360 SWIG_null_ref("wxBitmap");
14362 if (SWIG_arg_fail(2)) SWIG_fail
;
14365 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14366 if (SWIG_arg_fail(3)) SWIG_fail
;
14369 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14370 if (SWIG_arg_fail(4)) SWIG_fail
;
14374 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
14375 if (SWIG_arg_fail(5)) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 Py_INCREF(Py_None
); resultobj
= Py_None
;
14392 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
= NULL
;
14394 wxDC
*arg1
= (wxDC
*) 0 ;
14395 wxBitmap
*arg2
= 0 ;
14396 wxPoint
*arg3
= 0 ;
14397 bool arg4
= (bool) false ;
14399 PyObject
* obj0
= 0 ;
14400 PyObject
* obj1
= 0 ;
14401 PyObject
* obj2
= 0 ;
14402 PyObject
* obj3
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14409 if (SWIG_arg_fail(1)) SWIG_fail
;
14411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14412 if (SWIG_arg_fail(2)) SWIG_fail
;
14413 if (arg2
== NULL
) {
14414 SWIG_null_ref("wxBitmap");
14416 if (SWIG_arg_fail(2)) SWIG_fail
;
14420 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14424 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
14425 if (SWIG_arg_fail(4)) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 Py_INCREF(Py_None
); resultobj
= Py_None
;
14442 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
= NULL
;
14444 wxDC
*arg1
= (wxDC
*) 0 ;
14445 wxString
*arg2
= 0 ;
14448 bool temp2
= false ;
14449 PyObject
* obj0
= 0 ;
14450 PyObject
* obj1
= 0 ;
14451 PyObject
* obj2
= 0 ;
14452 PyObject
* obj3
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14459 if (SWIG_arg_fail(1)) SWIG_fail
;
14461 arg2
= wxString_in_helper(obj1
);
14462 if (arg2
== NULL
) SWIG_fail
;
14466 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14467 if (SWIG_arg_fail(3)) SWIG_fail
;
14470 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14471 if (SWIG_arg_fail(4)) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 Py_INCREF(Py_None
); resultobj
= Py_None
;
14495 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
= NULL
;
14497 wxDC
*arg1
= (wxDC
*) 0 ;
14498 wxString
*arg2
= 0 ;
14499 wxPoint
*arg3
= 0 ;
14500 bool temp2
= false ;
14502 PyObject
* obj0
= 0 ;
14503 PyObject
* obj1
= 0 ;
14504 PyObject
* obj2
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self",(char *) "text",(char *) "pt", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14511 if (SWIG_arg_fail(1)) SWIG_fail
;
14513 arg2
= wxString_in_helper(obj1
);
14514 if (arg2
== NULL
) SWIG_fail
;
14519 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 Py_INCREF(Py_None
); resultobj
= Py_None
;
14543 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
= NULL
;
14545 wxDC
*arg1
= (wxDC
*) 0 ;
14546 wxString
*arg2
= 0 ;
14550 bool temp2
= false ;
14551 PyObject
* obj0
= 0 ;
14552 PyObject
* obj1
= 0 ;
14553 PyObject
* obj2
= 0 ;
14554 PyObject
* obj3
= 0 ;
14555 PyObject
* obj4
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14562 if (SWIG_arg_fail(1)) SWIG_fail
;
14564 arg2
= wxString_in_helper(obj1
);
14565 if (arg2
== NULL
) SWIG_fail
;
14569 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14570 if (SWIG_arg_fail(3)) SWIG_fail
;
14573 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14574 if (SWIG_arg_fail(4)) SWIG_fail
;
14577 arg5
= static_cast<double >(SWIG_As_double(obj4
));
14578 if (SWIG_arg_fail(5)) SWIG_fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14587 Py_INCREF(Py_None
); resultobj
= Py_None
;
14602 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
= NULL
;
14604 wxDC
*arg1
= (wxDC
*) 0 ;
14605 wxString
*arg2
= 0 ;
14606 wxPoint
*arg3
= 0 ;
14608 bool temp2
= false ;
14610 PyObject
* obj0
= 0 ;
14611 PyObject
* obj1
= 0 ;
14612 PyObject
* obj2
= 0 ;
14613 PyObject
* obj3
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14620 if (SWIG_arg_fail(1)) SWIG_fail
;
14622 arg2
= wxString_in_helper(obj1
);
14623 if (arg2
== NULL
) SWIG_fail
;
14628 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14631 arg4
= static_cast<double >(SWIG_As_double(obj3
));
14632 if (SWIG_arg_fail(4)) SWIG_fail
;
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14641 Py_INCREF(Py_None
); resultobj
= Py_None
;
14656 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
= NULL
;
14658 wxDC
*arg1
= (wxDC
*) 0 ;
14663 wxDC
*arg6
= (wxDC
*) 0 ;
14666 int arg9
= (int) wxCOPY
;
14667 bool arg10
= (bool) false ;
14668 int arg11
= (int) -1 ;
14669 int arg12
= (int) -1 ;
14671 PyObject
* obj0
= 0 ;
14672 PyObject
* obj1
= 0 ;
14673 PyObject
* obj2
= 0 ;
14674 PyObject
* obj3
= 0 ;
14675 PyObject
* obj4
= 0 ;
14676 PyObject
* obj5
= 0 ;
14677 PyObject
* obj6
= 0 ;
14678 PyObject
* obj7
= 0 ;
14679 PyObject
* obj8
= 0 ;
14680 PyObject
* obj9
= 0 ;
14681 PyObject
* obj10
= 0 ;
14682 PyObject
* obj11
= 0 ;
14683 char *kwnames
[] = {
14684 (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
14687 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
;
14688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14689 if (SWIG_arg_fail(1)) SWIG_fail
;
14691 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14692 if (SWIG_arg_fail(2)) SWIG_fail
;
14695 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14696 if (SWIG_arg_fail(3)) SWIG_fail
;
14699 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14700 if (SWIG_arg_fail(4)) SWIG_fail
;
14703 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14704 if (SWIG_arg_fail(5)) SWIG_fail
;
14706 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14707 if (SWIG_arg_fail(6)) SWIG_fail
;
14709 arg7
= static_cast<int >(SWIG_As_int(obj6
));
14710 if (SWIG_arg_fail(7)) SWIG_fail
;
14713 arg8
= static_cast<int >(SWIG_As_int(obj7
));
14714 if (SWIG_arg_fail(8)) SWIG_fail
;
14718 arg9
= static_cast<int >(SWIG_As_int(obj8
));
14719 if (SWIG_arg_fail(9)) SWIG_fail
;
14724 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
14725 if (SWIG_arg_fail(10)) SWIG_fail
;
14730 arg11
= static_cast<int >(SWIG_As_int(obj10
));
14731 if (SWIG_arg_fail(11)) SWIG_fail
;
14736 arg12
= static_cast<int >(SWIG_As_int(obj11
));
14737 if (SWIG_arg_fail(12)) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14756 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
= NULL
;
14758 wxDC
*arg1
= (wxDC
*) 0 ;
14759 wxPoint
*arg2
= 0 ;
14761 wxDC
*arg4
= (wxDC
*) 0 ;
14762 wxPoint
*arg5
= 0 ;
14763 int arg6
= (int) wxCOPY
;
14764 bool arg7
= (bool) false ;
14765 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
14766 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 PyObject
* obj2
= 0 ;
14775 PyObject
* obj3
= 0 ;
14776 PyObject
* obj4
= 0 ;
14777 PyObject
* obj5
= 0 ;
14778 PyObject
* obj6
= 0 ;
14779 PyObject
* obj7
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14786 if (SWIG_arg_fail(1)) SWIG_fail
;
14789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14793 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14795 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14796 if (SWIG_arg_fail(4)) SWIG_fail
;
14799 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14803 arg6
= static_cast<int >(SWIG_As_int(obj5
));
14804 if (SWIG_arg_fail(6)) SWIG_fail
;
14809 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
14810 if (SWIG_arg_fail(7)) SWIG_fail
;
14816 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14835 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
= NULL
;
14837 wxDC
*arg1
= (wxDC
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 PyObject
* obj2
= 0 ;
14845 PyObject
* obj3
= 0 ;
14846 PyObject
* obj4
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14853 if (SWIG_arg_fail(1)) SWIG_fail
;
14855 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14856 if (SWIG_arg_fail(2)) SWIG_fail
;
14859 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14860 if (SWIG_arg_fail(3)) SWIG_fail
;
14863 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14864 if (SWIG_arg_fail(4)) SWIG_fail
;
14867 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14868 if (SWIG_arg_fail(5)) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 Py_INCREF(Py_None
); resultobj
= Py_None
;
14884 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
= NULL
;
14886 wxDC
*arg1
= (wxDC
*) 0 ;
14887 wxPoint
*arg2
= 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 PyObject
* obj2
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "self",(char *) "pt",(char *) "sz", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14900 if (SWIG_arg_fail(1)) SWIG_fail
;
14903 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14907 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 Py_INCREF(Py_None
); resultobj
= Py_None
;
14923 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
= NULL
;
14925 wxDC
*arg1
= (wxDC
*) 0 ;
14926 wxRegion
*arg2
= 0 ;
14927 PyObject
* obj0
= 0 ;
14928 PyObject
* obj1
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self",(char *) "region", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14935 if (SWIG_arg_fail(1)) SWIG_fail
;
14937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14938 if (SWIG_arg_fail(2)) SWIG_fail
;
14939 if (arg2
== NULL
) {
14940 SWIG_null_ref("wxRegion");
14942 if (SWIG_arg_fail(2)) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 Py_INCREF(Py_None
); resultobj
= Py_None
;
14958 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
= NULL
;
14960 wxDC
*arg1
= (wxDC
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self",(char *) "rect", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14971 if (SWIG_arg_fail(1)) SWIG_fail
;
14974 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 Py_INCREF(Py_None
); resultobj
= Py_None
;
14990 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= NULL
;
14992 wxDC
*arg1
= (wxDC
*) 0 ;
14994 wxPoint
*arg3
= (wxPoint
*) 0 ;
14995 int arg4
= (int) 0 ;
14996 int arg5
= (int) 0 ;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 PyObject
* obj2
= 0 ;
15000 PyObject
* obj3
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15007 if (SWIG_arg_fail(1)) SWIG_fail
;
15009 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15010 if (arg3
== NULL
) SWIG_fail
;
15014 arg4
= static_cast<int >(SWIG_As_int(obj2
));
15015 if (SWIG_arg_fail(4)) SWIG_fail
;
15020 arg5
= static_cast<int >(SWIG_As_int(obj3
));
15021 if (SWIG_arg_fail(5)) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 Py_INCREF(Py_None
); resultobj
= Py_None
;
15033 if (arg3
) delete [] arg3
;
15038 if (arg3
) delete [] arg3
;
15044 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
= NULL
;
15046 wxDC
*arg1
= (wxDC
*) 0 ;
15048 wxPoint
*arg3
= (wxPoint
*) 0 ;
15049 int arg4
= (int) 0 ;
15050 int arg5
= (int) 0 ;
15051 int arg6
= (int) wxODDEVEN_RULE
;
15052 PyObject
* obj0
= 0 ;
15053 PyObject
* obj1
= 0 ;
15054 PyObject
* obj2
= 0 ;
15055 PyObject
* obj3
= 0 ;
15056 PyObject
* obj4
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15063 if (SWIG_arg_fail(1)) SWIG_fail
;
15065 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15066 if (arg3
== NULL
) SWIG_fail
;
15070 arg4
= static_cast<int >(SWIG_As_int(obj2
));
15071 if (SWIG_arg_fail(4)) SWIG_fail
;
15076 arg5
= static_cast<int >(SWIG_As_int(obj3
));
15077 if (SWIG_arg_fail(5)) SWIG_fail
;
15082 arg6
= static_cast<int >(SWIG_As_int(obj4
));
15083 if (SWIG_arg_fail(6)) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 Py_INCREF(Py_None
); resultobj
= Py_None
;
15095 if (arg3
) delete [] arg3
;
15100 if (arg3
) delete [] arg3
;
15106 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
= NULL
;
15108 wxDC
*arg1
= (wxDC
*) 0 ;
15109 wxString
*arg2
= 0 ;
15111 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
15112 int arg5
= (int) -1 ;
15113 bool temp2
= false ;
15115 PyObject
* obj0
= 0 ;
15116 PyObject
* obj1
= 0 ;
15117 PyObject
* obj2
= 0 ;
15118 PyObject
* obj3
= 0 ;
15119 PyObject
* obj4
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15126 if (SWIG_arg_fail(1)) SWIG_fail
;
15128 arg2
= wxString_in_helper(obj1
);
15129 if (arg2
== NULL
) SWIG_fail
;
15134 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15138 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15139 if (SWIG_arg_fail(4)) SWIG_fail
;
15144 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15145 if (SWIG_arg_fail(5)) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 Py_INCREF(Py_None
); resultobj
= Py_None
;
15170 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
= NULL
;
15172 wxDC
*arg1
= (wxDC
*) 0 ;
15173 wxString
*arg2
= 0 ;
15174 wxBitmap
*arg3
= 0 ;
15176 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
15177 int arg6
= (int) -1 ;
15179 bool temp2
= false ;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15183 PyObject
* obj2
= 0 ;
15184 PyObject
* obj3
= 0 ;
15185 PyObject
* obj4
= 0 ;
15186 PyObject
* obj5
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15193 if (SWIG_arg_fail(1)) SWIG_fail
;
15195 arg2
= wxString_in_helper(obj1
);
15196 if (arg2
== NULL
) SWIG_fail
;
15200 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
15201 if (SWIG_arg_fail(3)) SWIG_fail
;
15202 if (arg3
== NULL
) {
15203 SWIG_null_ref("wxBitmap");
15205 if (SWIG_arg_fail(3)) SWIG_fail
;
15209 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
15213 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15214 if (SWIG_arg_fail(5)) SWIG_fail
;
15219 arg6
= static_cast<int >(SWIG_As_int(obj5
));
15220 if (SWIG_arg_fail(6)) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 wxRect
* resultptr
;
15232 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
15233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15249 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
= NULL
;
15251 wxDC
*arg1
= (wxDC
*) 0 ;
15253 wxPoint
*arg3
= (wxPoint
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 PyObject
* obj1
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self",(char *) "points", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
15261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15262 if (SWIG_arg_fail(1)) SWIG_fail
;
15264 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15265 if (arg3
== NULL
) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 (arg1
)->DrawSpline(arg2
,arg3
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 Py_INCREF(Py_None
); resultobj
= Py_None
;
15276 if (arg3
) delete [] arg3
;
15281 if (arg3
) delete [] arg3
;
15287 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
= NULL
;
15289 wxDC
*arg1
= (wxDC
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
15296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15297 if (SWIG_arg_fail(1)) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 Py_INCREF(Py_None
); resultobj
= Py_None
;
15312 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
= NULL
;
15314 wxDC
*arg1
= (wxDC
*) 0 ;
15315 wxString
*arg2
= 0 ;
15317 bool temp2
= false ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self",(char *) "message", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
15325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15326 if (SWIG_arg_fail(1)) SWIG_fail
;
15328 arg2
= wxString_in_helper(obj1
);
15329 if (arg2
== NULL
) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15356 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
= NULL
;
15358 wxDC
*arg1
= (wxDC
*) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
15365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15366 if (SWIG_arg_fail(1)) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 Py_INCREF(Py_None
); resultobj
= Py_None
;
15381 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
= NULL
;
15383 wxDC
*arg1
= (wxDC
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
15390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15391 if (SWIG_arg_fail(1)) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 (arg1
)->StartPage();
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 Py_INCREF(Py_None
); resultobj
= Py_None
;
15406 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
= NULL
;
15408 wxDC
*arg1
= (wxDC
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
15415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15416 if (SWIG_arg_fail(1)) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 Py_INCREF(Py_None
); resultobj
= Py_None
;
15431 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
= NULL
;
15433 wxDC
*arg1
= (wxDC
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "font", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail
;
15445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15446 if (SWIG_arg_fail(2)) SWIG_fail
;
15447 if (arg2
== NULL
) {
15448 SWIG_null_ref("wxFont");
15450 if (SWIG_arg_fail(2)) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->SetFont((wxFont
const &)*arg2
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 Py_INCREF(Py_None
); resultobj
= Py_None
;
15466 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
= NULL
;
15468 wxDC
*arg1
= (wxDC
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self",(char *) "pen", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
15477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15478 if (SWIG_arg_fail(1)) SWIG_fail
;
15480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
15481 if (SWIG_arg_fail(2)) SWIG_fail
;
15482 if (arg2
== NULL
) {
15483 SWIG_null_ref("wxPen");
15485 if (SWIG_arg_fail(2)) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 (arg1
)->SetPen((wxPen
const &)*arg2
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 Py_INCREF(Py_None
); resultobj
= Py_None
;
15501 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
= NULL
;
15503 wxDC
*arg1
= (wxDC
*) 0 ;
15504 wxBrush
*arg2
= 0 ;
15505 PyObject
* obj0
= 0 ;
15506 PyObject
* obj1
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "self",(char *) "brush", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
15512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15513 if (SWIG_arg_fail(1)) SWIG_fail
;
15515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15516 if (SWIG_arg_fail(2)) SWIG_fail
;
15517 if (arg2
== NULL
) {
15518 SWIG_null_ref("wxBrush");
15520 if (SWIG_arg_fail(2)) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 Py_INCREF(Py_None
); resultobj
= Py_None
;
15536 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
= NULL
;
15538 wxDC
*arg1
= (wxDC
*) 0 ;
15539 wxBrush
*arg2
= 0 ;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 char *kwnames
[] = {
15543 (char *) "self",(char *) "brush", NULL
15546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15551 if (SWIG_arg_fail(2)) SWIG_fail
;
15552 if (arg2
== NULL
) {
15553 SWIG_null_ref("wxBrush");
15555 if (SWIG_arg_fail(2)) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
= NULL
;
15573 wxDC
*arg1
= (wxDC
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 PyObject
* obj1
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self",(char *) "mode", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15583 if (SWIG_arg_fail(1)) SWIG_fail
;
15585 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15586 if (SWIG_arg_fail(2)) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 (arg1
)->SetBackgroundMode(arg2
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
= NULL
;
15604 wxDC
*arg1
= (wxDC
*) 0 ;
15605 wxPalette
*arg2
= 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "palette", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
15613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15614 if (SWIG_arg_fail(1)) SWIG_fail
;
15616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
15617 if (SWIG_arg_fail(2)) SWIG_fail
;
15618 if (arg2
== NULL
) {
15619 SWIG_null_ref("wxPalette");
15621 if (SWIG_arg_fail(2)) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 Py_INCREF(Py_None
); resultobj
= Py_None
;
15637 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
= NULL
;
15639 wxDC
*arg1
= (wxDC
*) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 (arg1
)->DestroyClippingRegion();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 Py_INCREF(Py_None
); resultobj
= Py_None
;
15662 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
= NULL
;
15664 wxDC
*arg1
= (wxDC
*) 0 ;
15665 int *arg2
= (int *) 0 ;
15666 int *arg3
= (int *) 0 ;
15667 int *arg4
= (int *) 0 ;
15668 int *arg5
= (int *) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self", NULL
15682 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15683 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15684 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15685 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
15687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15688 if (SWIG_arg_fail(1)) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 Py_INCREF(Py_None
); resultobj
= Py_None
;
15697 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15698 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15699 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15700 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15701 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15702 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15703 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15704 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15711 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
= NULL
;
15713 wxDC
*arg1
= (wxDC
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
15721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15722 if (SWIG_arg_fail(1)) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= wxDC_GetClippingRect(arg1
);
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15731 wxRect
* resultptr
;
15732 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
15733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15741 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
= NULL
;
15743 wxDC
*arg1
= (wxDC
*) 0 ;
15745 PyObject
* obj0
= 0 ;
15746 char *kwnames
[] = {
15747 (char *) "self", NULL
15750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
15751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15752 if (SWIG_arg_fail(1)) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_From_int(static_cast<int >(result
));
15769 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
= NULL
;
15771 wxDC
*arg1
= (wxDC
*) 0 ;
15773 PyObject
* obj0
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
15779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15780 if (SWIG_arg_fail(1)) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_From_int(static_cast<int >(result
));
15797 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
= NULL
;
15799 wxDC
*arg1
= (wxDC
*) 0 ;
15800 wxString
*arg2
= 0 ;
15801 int *arg3
= (int *) 0 ;
15802 int *arg4
= (int *) 0 ;
15803 bool temp2
= false ;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self",(char *) "string", NULL
15814 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15815 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15818 if (SWIG_arg_fail(1)) SWIG_fail
;
15820 arg2
= wxString_in_helper(obj1
);
15821 if (arg2
== NULL
) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 Py_INCREF(Py_None
); resultobj
= Py_None
;
15832 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15833 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15834 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15835 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15850 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
= NULL
;
15852 wxDC
*arg1
= (wxDC
*) 0 ;
15853 wxString
*arg2
= 0 ;
15854 int *arg3
= (int *) 0 ;
15855 int *arg4
= (int *) 0 ;
15856 int *arg5
= (int *) 0 ;
15857 int *arg6
= (int *) 0 ;
15858 wxFont
*arg7
= (wxFont
*) NULL
;
15859 bool temp2
= false ;
15868 PyObject
* obj0
= 0 ;
15869 PyObject
* obj1
= 0 ;
15870 PyObject
* obj2
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self",(char *) "string",(char *) "font", NULL
15875 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15876 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15877 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15878 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15881 if (SWIG_arg_fail(1)) SWIG_fail
;
15883 arg2
= wxString_in_helper(obj1
);
15884 if (arg2
== NULL
) SWIG_fail
;
15888 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15889 if (SWIG_arg_fail(7)) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 Py_INCREF(Py_None
); resultobj
= Py_None
;
15899 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15900 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15901 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15902 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15903 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15904 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15905 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15906 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15921 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
= NULL
;
15923 wxDC
*arg1
= (wxDC
*) 0 ;
15924 wxString
*arg2
= 0 ;
15925 int *arg3
= (int *) 0 ;
15926 int *arg4
= (int *) 0 ;
15927 int *arg5
= (int *) 0 ;
15928 wxFont
*arg6
= (wxFont
*) NULL
;
15929 bool temp2
= false ;
15936 PyObject
* obj0
= 0 ;
15937 PyObject
* obj1
= 0 ;
15938 PyObject
* obj2
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self",(char *) "text",(char *) "font", NULL
15943 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15944 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15945 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15948 if (SWIG_arg_fail(1)) SWIG_fail
;
15950 arg2
= wxString_in_helper(obj1
);
15951 if (arg2
== NULL
) SWIG_fail
;
15955 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15956 if (SWIG_arg_fail(6)) SWIG_fail
;
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 Py_INCREF(Py_None
); resultobj
= Py_None
;
15966 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15967 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15968 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15969 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15970 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15971 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15986 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
= NULL
;
15988 wxDC
*arg1
= (wxDC
*) 0 ;
15989 wxString
*arg2
= 0 ;
15991 bool temp2
= false ;
15992 PyObject
* obj0
= 0 ;
15993 PyObject
* obj1
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "self",(char *) "text", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16000 if (SWIG_arg_fail(1)) SWIG_fail
;
16002 arg2
= wxString_in_helper(obj1
);
16003 if (arg2
== NULL
) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= PyList_New(0);
16016 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
16017 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
16018 PyList_Append(resultobj
, val
);
16036 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
= NULL
;
16038 wxDC
*arg1
= (wxDC
*) 0 ;
16040 PyObject
* obj0
= 0 ;
16041 char *kwnames
[] = {
16042 (char *) "self", NULL
16045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
16046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16047 if (SWIG_arg_fail(1)) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (arg1
)->GetSize();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 wxSize
* resultptr
;
16057 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16066 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
= NULL
;
16068 wxDC
*arg1
= (wxDC
*) 0 ;
16069 int *arg2
= (int *) 0 ;
16070 int *arg3
= (int *) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self", NULL
16080 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16081 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
16083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16084 if (SWIG_arg_fail(1)) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 (arg1
)->GetSize(arg2
,arg3
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 Py_INCREF(Py_None
); resultobj
= Py_None
;
16093 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16094 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16095 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16096 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16103 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
= NULL
;
16105 wxDC
*arg1
= (wxDC
*) 0 ;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
16113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16114 if (SWIG_arg_fail(1)) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= ((wxDC
const *)arg1
)->GetSizeMM();
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16123 wxSize
* resultptr
;
16124 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16133 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
= NULL
;
16135 wxDC
*arg1
= (wxDC
*) 0 ;
16136 int *arg2
= (int *) 0 ;
16137 int *arg3
= (int *) 0 ;
16142 PyObject
* obj0
= 0 ;
16143 char *kwnames
[] = {
16144 (char *) "self", NULL
16147 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16148 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",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();
16154 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 Py_INCREF(Py_None
); resultobj
= Py_None
;
16160 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16161 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16162 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16163 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16170 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
= NULL
;
16172 wxDC
*arg1
= (wxDC
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 PyObject
* obj1
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self",(char *) "x", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16186 if (SWIG_arg_fail(2)) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16196 resultobj
= SWIG_From_int(static_cast<int >(result
));
16204 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
= NULL
;
16206 wxDC
*arg1
= (wxDC
*) 0 ;
16209 PyObject
* obj0
= 0 ;
16210 PyObject
* obj1
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self",(char *) "y", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
16216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16217 if (SWIG_arg_fail(1)) SWIG_fail
;
16219 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16220 if (SWIG_arg_fail(2)) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= SWIG_From_int(static_cast<int >(result
));
16238 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
= NULL
;
16240 wxDC
*arg1
= (wxDC
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 PyObject
* obj1
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "self",(char *) "x", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16251 if (SWIG_arg_fail(1)) SWIG_fail
;
16253 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16254 if (SWIG_arg_fail(2)) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= SWIG_From_int(static_cast<int >(result
));
16272 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
= NULL
;
16274 wxDC
*arg1
= (wxDC
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 PyObject
* obj1
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "y", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16285 if (SWIG_arg_fail(1)) SWIG_fail
;
16287 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16288 if (SWIG_arg_fail(2)) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= SWIG_From_int(static_cast<int >(result
));
16306 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
= NULL
;
16308 wxDC
*arg1
= (wxDC
*) 0 ;
16311 PyObject
* obj0
= 0 ;
16312 PyObject
* obj1
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "self",(char *) "x", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
16318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16319 if (SWIG_arg_fail(1)) SWIG_fail
;
16321 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16322 if (SWIG_arg_fail(2)) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= SWIG_From_int(static_cast<int >(result
));
16340 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
= NULL
;
16342 wxDC
*arg1
= (wxDC
*) 0 ;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self",(char *) "y", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
16352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16353 if (SWIG_arg_fail(1)) SWIG_fail
;
16355 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16356 if (SWIG_arg_fail(2)) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= SWIG_From_int(static_cast<int >(result
));
16374 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
= NULL
;
16376 wxDC
*arg1
= (wxDC
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 PyObject
* obj1
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "self",(char *) "x", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16387 if (SWIG_arg_fail(1)) SWIG_fail
;
16389 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16390 if (SWIG_arg_fail(2)) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= SWIG_From_int(static_cast<int >(result
));
16408 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
= NULL
;
16410 wxDC
*arg1
= (wxDC
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self",(char *) "y", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16421 if (SWIG_arg_fail(1)) SWIG_fail
;
16423 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16424 if (SWIG_arg_fail(2)) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= SWIG_From_int(static_cast<int >(result
));
16442 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
= NULL
;
16444 wxDC
*arg1
= (wxDC
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
16452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16453 if (SWIG_arg_fail(1)) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16470 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
= NULL
;
16472 wxDC
*arg1
= (wxDC
*) 0 ;
16474 PyObject
* obj0
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
16480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16481 if (SWIG_arg_fail(1)) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16498 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
= NULL
;
16500 wxDC
*arg1
= (wxDC
*) 0 ;
16502 PyObject
* obj0
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
16508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16509 if (SWIG_arg_fail(1)) SWIG_fail
;
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 result
= (int)((wxDC
const *)arg1
)->GetDepth();
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= SWIG_From_int(static_cast<int >(result
));
16526 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
= NULL
;
16528 wxDC
*arg1
= (wxDC
*) 0 ;
16530 PyObject
* obj0
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
16536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16537 if (SWIG_arg_fail(1)) SWIG_fail
;
16539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16540 result
= ((wxDC
const *)arg1
)->GetPPI();
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16546 wxSize
* resultptr
;
16547 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16556 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
= NULL
;
16558 wxDC
*arg1
= (wxDC
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
16566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16567 if (SWIG_arg_fail(1)) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (bool)((wxDC
const *)arg1
)->Ok();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16584 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
= NULL
;
16586 wxDC
*arg1
= (wxDC
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
16594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16595 if (SWIG_arg_fail(1)) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= SWIG_From_int(static_cast<int >(result
));
16612 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
= NULL
;
16614 wxDC
*arg1
= (wxDC
*) 0 ;
16616 PyObject
* obj0
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
16622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16623 if (SWIG_arg_fail(1)) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
16628 result
= (wxBrush
*) &_result_ref
;
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16635 wxBrush
* resultptr
= new wxBrush(*result
);
16636 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16644 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
= NULL
;
16646 wxDC
*arg1
= (wxDC
*) 0 ;
16648 PyObject
* obj0
= 0 ;
16649 char *kwnames
[] = {
16650 (char *) "self", NULL
16653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
16654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16655 if (SWIG_arg_fail(1)) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
16660 result
= (wxBrush
*) &_result_ref
;
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16667 wxBrush
* resultptr
= new wxBrush(*result
);
16668 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16676 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
= NULL
;
16678 wxDC
*arg1
= (wxDC
*) 0 ;
16680 PyObject
* obj0
= 0 ;
16681 char *kwnames
[] = {
16682 (char *) "self", NULL
16685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
16686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16687 if (SWIG_arg_fail(1)) SWIG_fail
;
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
16692 result
= (wxFont
*) &_result_ref
;
16695 wxPyEndAllowThreads(__tstate
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16699 wxFont
* resultptr
= new wxFont(*result
);
16700 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16708 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
= NULL
;
16710 wxDC
*arg1
= (wxDC
*) 0 ;
16712 PyObject
* obj0
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "self", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
16718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16719 if (SWIG_arg_fail(1)) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
16724 result
= (wxPen
*) &_result_ref
;
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16731 wxPen
* resultptr
= new wxPen(*result
);
16732 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
16740 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
= NULL
;
16742 wxDC
*arg1
= (wxDC
*) 0 ;
16744 PyObject
* obj0
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
16750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16751 if (SWIG_arg_fail(1)) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
16756 result
= (wxColour
*) &_result_ref
;
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16769 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
= NULL
;
16771 wxDC
*arg1
= (wxDC
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
16779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16780 if (SWIG_arg_fail(1)) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
16785 result
= (wxColour
*) &_result_ref
;
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16798 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
= NULL
;
16800 wxDC
*arg1
= (wxDC
*) 0 ;
16801 wxColour
*arg2
= 0 ;
16803 PyObject
* obj0
= 0 ;
16804 PyObject
* obj1
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self",(char *) "colour", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16811 if (SWIG_arg_fail(1)) SWIG_fail
;
16814 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 Py_INCREF(Py_None
); resultobj
= Py_None
;
16830 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
= NULL
;
16832 wxDC
*arg1
= (wxDC
*) 0 ;
16833 wxColour
*arg2
= 0 ;
16835 PyObject
* obj0
= 0 ;
16836 PyObject
* obj1
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self",(char *) "colour", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16843 if (SWIG_arg_fail(1)) SWIG_fail
;
16846 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 Py_INCREF(Py_None
); resultobj
= Py_None
;
16862 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
= NULL
;
16864 wxDC
*arg1
= (wxDC
*) 0 ;
16866 PyObject
* obj0
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16873 if (SWIG_arg_fail(1)) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= SWIG_From_int(static_cast<int >(result
));
16890 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
= NULL
;
16892 wxDC
*arg1
= (wxDC
*) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self",(char *) "mode", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16902 if (SWIG_arg_fail(1)) SWIG_fail
;
16904 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16905 if (SWIG_arg_fail(2)) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 (arg1
)->SetMapMode(arg2
);
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 Py_INCREF(Py_None
); resultobj
= Py_None
;
16921 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
= NULL
;
16923 wxDC
*arg1
= (wxDC
*) 0 ;
16924 double *arg2
= (double *) 0 ;
16925 double *arg3
= (double *) 0 ;
16930 PyObject
* obj0
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self", NULL
16935 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16936 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16939 if (SWIG_arg_fail(1)) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 Py_INCREF(Py_None
); resultobj
= Py_None
;
16948 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16949 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16950 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16951 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16958 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
= NULL
;
16960 wxDC
*arg1
= (wxDC
*) 0 ;
16963 PyObject
* obj0
= 0 ;
16964 PyObject
* obj1
= 0 ;
16965 PyObject
* obj2
= 0 ;
16966 char *kwnames
[] = {
16967 (char *) "self",(char *) "x",(char *) "y", NULL
16970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16972 if (SWIG_arg_fail(1)) SWIG_fail
;
16974 arg2
= static_cast<double >(SWIG_As_double(obj1
));
16975 if (SWIG_arg_fail(2)) SWIG_fail
;
16978 arg3
= static_cast<double >(SWIG_As_double(obj2
));
16979 if (SWIG_arg_fail(3)) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 (arg1
)->SetUserScale(arg2
,arg3
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 Py_INCREF(Py_None
); resultobj
= Py_None
;
16995 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
= NULL
;
16997 wxDC
*arg1
= (wxDC
*) 0 ;
16998 double *arg2
= (double *) 0 ;
16999 double *arg3
= (double *) 0 ;
17004 PyObject
* obj0
= 0 ;
17005 char *kwnames
[] = {
17006 (char *) "self", NULL
17009 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17010 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
17012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17013 if (SWIG_arg_fail(1)) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 (arg1
)->GetLogicalScale(arg2
,arg3
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 Py_INCREF(Py_None
); resultobj
= Py_None
;
17022 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17023 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
17024 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17025 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
17032 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
= NULL
;
17034 wxDC
*arg1
= (wxDC
*) 0 ;
17037 PyObject
* obj0
= 0 ;
17038 PyObject
* obj1
= 0 ;
17039 PyObject
* obj2
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "self",(char *) "x",(char *) "y", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17046 if (SWIG_arg_fail(1)) SWIG_fail
;
17048 arg2
= static_cast<double >(SWIG_As_double(obj1
));
17049 if (SWIG_arg_fail(2)) SWIG_fail
;
17052 arg3
= static_cast<double >(SWIG_As_double(obj2
));
17053 if (SWIG_arg_fail(3)) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 (arg1
)->SetLogicalScale(arg2
,arg3
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 Py_INCREF(Py_None
); resultobj
= Py_None
;
17069 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
= NULL
;
17071 wxDC
*arg1
= (wxDC
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
17079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17080 if (SWIG_arg_fail(1)) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17089 wxPoint
* resultptr
;
17090 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
17091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17099 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
= NULL
;
17101 wxDC
*arg1
= (wxDC
*) 0 ;
17102 int *arg2
= (int *) 0 ;
17103 int *arg3
= (int *) 0 ;
17108 PyObject
* obj0
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self", NULL
17113 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17114 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
17116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17117 if (SWIG_arg_fail(1)) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 Py_INCREF(Py_None
); resultobj
= Py_None
;
17126 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17127 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17128 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17129 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17136 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
= NULL
;
17138 wxDC
*arg1
= (wxDC
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 PyObject
* obj2
= 0 ;
17144 char *kwnames
[] = {
17145 (char *) "self",(char *) "x",(char *) "y", NULL
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17150 if (SWIG_arg_fail(1)) SWIG_fail
;
17152 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17153 if (SWIG_arg_fail(2)) SWIG_fail
;
17156 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17157 if (SWIG_arg_fail(3)) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 Py_INCREF(Py_None
); resultobj
= Py_None
;
17173 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17174 PyObject
*resultobj
= NULL
;
17175 wxDC
*arg1
= (wxDC
*) 0 ;
17176 wxPoint
*arg2
= 0 ;
17178 PyObject
* obj0
= 0 ;
17179 PyObject
* obj1
= 0 ;
17180 char *kwnames
[] = {
17181 (char *) "self",(char *) "point", NULL
17184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17186 if (SWIG_arg_fail(1)) SWIG_fail
;
17189 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 Py_INCREF(Py_None
); resultobj
= Py_None
;
17205 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
= NULL
;
17207 wxDC
*arg1
= (wxDC
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
17215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17216 if (SWIG_arg_fail(1)) SWIG_fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17225 wxPoint
* resultptr
;
17226 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
17227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17235 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
= NULL
;
17237 wxDC
*arg1
= (wxDC
*) 0 ;
17238 int *arg2
= (int *) 0 ;
17239 int *arg3
= (int *) 0 ;
17244 PyObject
* obj0
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "self", NULL
17249 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17250 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
17252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17253 if (SWIG_arg_fail(1)) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 Py_INCREF(Py_None
); resultobj
= Py_None
;
17262 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17263 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17264 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17265 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17272 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
= NULL
;
17274 wxDC
*arg1
= (wxDC
*) 0 ;
17277 PyObject
* obj0
= 0 ;
17278 PyObject
* obj1
= 0 ;
17279 PyObject
* obj2
= 0 ;
17280 char *kwnames
[] = {
17281 (char *) "self",(char *) "x",(char *) "y", NULL
17284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17286 if (SWIG_arg_fail(1)) SWIG_fail
;
17288 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17289 if (SWIG_arg_fail(2)) SWIG_fail
;
17292 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17293 if (SWIG_arg_fail(3)) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 Py_INCREF(Py_None
); resultobj
= Py_None
;
17309 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
= NULL
;
17311 wxDC
*arg1
= (wxDC
*) 0 ;
17312 wxPoint
*arg2
= 0 ;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self",(char *) "point", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17322 if (SWIG_arg_fail(1)) SWIG_fail
;
17325 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 Py_INCREF(Py_None
); resultobj
= Py_None
;
17341 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
= NULL
;
17343 wxDC
*arg1
= (wxDC
*) 0 ;
17346 PyObject
* obj0
= 0 ;
17347 PyObject
* obj1
= 0 ;
17348 PyObject
* obj2
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17355 if (SWIG_arg_fail(1)) SWIG_fail
;
17357 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17358 if (SWIG_arg_fail(2)) SWIG_fail
;
17361 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
17362 if (SWIG_arg_fail(3)) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 (arg1
)->SetAxisOrientation(arg2
,arg3
);
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 Py_INCREF(Py_None
); resultobj
= Py_None
;
17378 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
= NULL
;
17380 wxDC
*arg1
= (wxDC
*) 0 ;
17382 PyObject
* obj0
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
17388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17389 if (SWIG_arg_fail(1)) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= SWIG_From_int(static_cast<int >(result
));
17406 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
= NULL
;
17408 wxDC
*arg1
= (wxDC
*) 0 ;
17410 PyObject
* obj0
= 0 ;
17411 PyObject
* obj1
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self",(char *) "function", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
17417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17418 if (SWIG_arg_fail(1)) SWIG_fail
;
17420 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17421 if (SWIG_arg_fail(2)) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 (arg1
)->SetLogicalFunction(arg2
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 Py_INCREF(Py_None
); resultobj
= Py_None
;
17437 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
= NULL
;
17439 wxDC
*arg1
= (wxDC
*) 0 ;
17440 PyObject
* obj0
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "self", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
17446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17447 if (SWIG_arg_fail(1)) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 (arg1
)->ComputeScaleAndOrigin();
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 Py_INCREF(Py_None
); resultobj
= Py_None
;
17462 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
= NULL
;
17464 wxDC
*arg1
= (wxDC
*) 0 ;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 PyObject
* obj2
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self",(char *) "x",(char *) "y", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail
;
17478 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17479 if (SWIG_arg_fail(2)) SWIG_fail
;
17482 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17483 if (SWIG_arg_fail(3)) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 (arg1
)->CalcBoundingBox(arg2
,arg3
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 Py_INCREF(Py_None
); resultobj
= Py_None
;
17499 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
= NULL
;
17501 wxDC
*arg1
= (wxDC
*) 0 ;
17502 wxPoint
*arg2
= 0 ;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self",(char *) "point", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17512 if (SWIG_arg_fail(1)) SWIG_fail
;
17515 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 Py_INCREF(Py_None
); resultobj
= Py_None
;
17531 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
= NULL
;
17533 wxDC
*arg1
= (wxDC
*) 0 ;
17534 PyObject
* obj0
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "self", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
17540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17541 if (SWIG_arg_fail(1)) SWIG_fail
;
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 (arg1
)->ResetBoundingBox();
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17549 Py_INCREF(Py_None
); resultobj
= Py_None
;
17556 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
= NULL
;
17558 wxDC
*arg1
= (wxDC
*) 0 ;
17560 PyObject
* obj0
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
17566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17567 if (SWIG_arg_fail(1)) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= (int)((wxDC
const *)arg1
)->MinX();
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= SWIG_From_int(static_cast<int >(result
));
17584 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
= NULL
;
17586 wxDC
*arg1
= (wxDC
*) 0 ;
17588 PyObject
* obj0
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
17594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17595 if (SWIG_arg_fail(1)) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (int)((wxDC
const *)arg1
)->MaxX();
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= SWIG_From_int(static_cast<int >(result
));
17612 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
= NULL
;
17614 wxDC
*arg1
= (wxDC
*) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self", NULL
17621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
17622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17623 if (SWIG_arg_fail(1)) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= (int)((wxDC
const *)arg1
)->MinY();
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17632 resultobj
= SWIG_From_int(static_cast<int >(result
));
17640 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
= NULL
;
17642 wxDC
*arg1
= (wxDC
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
17650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17651 if (SWIG_arg_fail(1)) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (int)((wxDC
const *)arg1
)->MaxY();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= SWIG_From_int(static_cast<int >(result
));
17668 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
= NULL
;
17670 wxDC
*arg1
= (wxDC
*) 0 ;
17671 int *arg2
= (int *) 0 ;
17672 int *arg3
= (int *) 0 ;
17673 int *arg4
= (int *) 0 ;
17674 int *arg5
= (int *) 0 ;
17683 PyObject
* obj0
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self", NULL
17688 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17689 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17690 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17691 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
17693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17694 if (SWIG_arg_fail(1)) SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 Py_INCREF(Py_None
); resultobj
= Py_None
;
17703 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17704 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17705 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17706 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17707 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17708 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17709 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
17710 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
17717 static PyObject
*_wrap_DC_GetHDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
= NULL
;
17719 wxDC
*arg1
= (wxDC
*) 0 ;
17721 PyObject
* obj0
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "self", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
;
17727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17728 if (SWIG_arg_fail(1)) SWIG_fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 result
= (long)(arg1
)->GetHDC();
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= SWIG_From_long(static_cast<long >(result
));
17745 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
= NULL
;
17747 wxDC
*arg1
= (wxDC
*) 0 ;
17748 PyObject
*arg2
= (PyObject
*) 0 ;
17749 PyObject
*arg3
= (PyObject
*) 0 ;
17750 PyObject
*arg4
= (PyObject
*) 0 ;
17752 PyObject
* obj0
= 0 ;
17753 PyObject
* obj1
= 0 ;
17754 PyObject
* obj2
= 0 ;
17755 PyObject
* obj3
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17762 if (SWIG_arg_fail(1)) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= result
;
17780 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
= NULL
;
17782 wxDC
*arg1
= (wxDC
*) 0 ;
17783 PyObject
*arg2
= (PyObject
*) 0 ;
17784 PyObject
*arg3
= (PyObject
*) 0 ;
17785 PyObject
*arg4
= (PyObject
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 PyObject
* obj2
= 0 ;
17790 PyObject
* obj3
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17797 if (SWIG_arg_fail(1)) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= result
;
17815 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
= NULL
;
17817 wxDC
*arg1
= (wxDC
*) 0 ;
17818 PyObject
*arg2
= (PyObject
*) 0 ;
17819 PyObject
*arg3
= (PyObject
*) 0 ;
17820 PyObject
*arg4
= (PyObject
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 PyObject
* obj2
= 0 ;
17825 PyObject
* obj3
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17832 if (SWIG_arg_fail(1)) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= result
;
17850 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
= NULL
;
17852 wxDC
*arg1
= (wxDC
*) 0 ;
17853 PyObject
*arg2
= (PyObject
*) 0 ;
17854 PyObject
*arg3
= (PyObject
*) 0 ;
17855 PyObject
*arg4
= (PyObject
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 PyObject
* obj2
= 0 ;
17860 PyObject
* obj3
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17867 if (SWIG_arg_fail(1)) SWIG_fail
;
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= result
;
17885 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
= NULL
;
17887 wxDC
*arg1
= (wxDC
*) 0 ;
17888 PyObject
*arg2
= (PyObject
*) 0 ;
17889 PyObject
*arg3
= (PyObject
*) 0 ;
17890 PyObject
*arg4
= (PyObject
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 PyObject
* obj2
= 0 ;
17895 PyObject
* obj3
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17902 if (SWIG_arg_fail(1)) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 resultobj
= result
;
17920 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
= NULL
;
17922 wxDC
*arg1
= (wxDC
*) 0 ;
17923 PyObject
*arg2
= (PyObject
*) 0 ;
17924 PyObject
*arg3
= (PyObject
*) 0 ;
17925 PyObject
*arg4
= (PyObject
*) 0 ;
17926 PyObject
*arg5
= (PyObject
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 PyObject
* obj1
= 0 ;
17930 PyObject
* obj2
= 0 ;
17931 PyObject
* obj3
= 0 ;
17932 PyObject
* obj4
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17939 if (SWIG_arg_fail(1)) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 resultobj
= result
;
17958 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17961 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17963 return Py_BuildValue((char *)"");
17965 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
= NULL
;
17967 wxMemoryDC
*result
;
17968 char *kwnames
[] = {
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17974 if (!wxPyCheckForApp()) SWIG_fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 result
= (wxMemoryDC
*)new wxMemoryDC();
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17988 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
= NULL
;
17990 wxDC
*arg1
= (wxDC
*) 0 ;
17991 wxMemoryDC
*result
;
17992 PyObject
* obj0
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "oldDC", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17999 if (SWIG_arg_fail(1)) SWIG_fail
;
18001 if (!wxPyCheckForApp()) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
18015 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
= NULL
;
18017 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
18018 wxBitmap
*arg2
= 0 ;
18019 PyObject
* obj0
= 0 ;
18020 PyObject
* obj1
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self",(char *) "bitmap", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
18026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
18027 if (SWIG_arg_fail(1)) SWIG_fail
;
18029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(2)) SWIG_fail
;
18031 if (arg2
== NULL
) {
18032 SWIG_null_ref("wxBitmap");
18034 if (SWIG_arg_fail(2)) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 Py_INCREF(Py_None
); resultobj
= Py_None
;
18050 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
18052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18053 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
18055 return Py_BuildValue((char *)"");
18057 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
18058 PyObject
*resultobj
= NULL
;
18059 wxDC
*arg1
= (wxDC
*) 0 ;
18060 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
18061 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
18062 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
18063 wxBufferedDC
*result
;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 PyObject
* obj2
= 0 ;
18068 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
18069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18070 if (SWIG_arg_fail(1)) SWIG_fail
;
18073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18074 if (SWIG_arg_fail(2)) SWIG_fail
;
18075 if (arg2
== NULL
) {
18076 SWIG_null_ref("wxBitmap");
18078 if (SWIG_arg_fail(2)) SWIG_fail
;
18083 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18084 if (SWIG_arg_fail(3)) SWIG_fail
;
18088 if (!wxPyCheckForApp()) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
18102 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
18103 PyObject
*resultobj
= NULL
;
18104 wxDC
*arg1
= (wxDC
*) 0 ;
18106 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
18107 wxBufferedDC
*result
;
18109 PyObject
* obj0
= 0 ;
18110 PyObject
* obj1
= 0 ;
18111 PyObject
* obj2
= 0 ;
18113 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
18114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18115 if (SWIG_arg_fail(1)) SWIG_fail
;
18118 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18122 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18123 if (SWIG_arg_fail(3)) SWIG_fail
;
18127 if (!wxPyCheckForApp()) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
18141 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
18146 argc
= PyObject_Length(args
);
18147 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
18148 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18150 if ((argc
>= 1) && (argc
<= 3)) {
18154 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
18163 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18167 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
18176 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18178 _v
= SWIG_Check_int(argv
[2]);
18180 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18185 if ((argc
>= 2) && (argc
<= 3)) {
18189 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
18198 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
18202 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
18204 _v
= SWIG_Check_int(argv
[2]);
18206 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
18212 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
18217 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
= NULL
;
18219 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
18220 PyObject
* obj0
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
18226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
18227 if (SWIG_arg_fail(1)) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 Py_INCREF(Py_None
); resultobj
= Py_None
;
18242 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
= NULL
;
18244 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
18245 PyObject
* obj0
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "self", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
18251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
18252 if (SWIG_arg_fail(1)) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 Py_INCREF(Py_None
); resultobj
= Py_None
;
18267 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
18269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18270 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
18272 return Py_BuildValue((char *)"");
18274 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
= NULL
;
18276 wxWindow
*arg1
= (wxWindow
*) 0 ;
18277 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
18278 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
18279 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
18280 wxBufferedPaintDC
*result
;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 PyObject
* obj2
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "window",(char *) "buffer",(char *) "style", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18290 if (SWIG_arg_fail(1)) SWIG_fail
;
18293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18294 if (SWIG_arg_fail(2)) SWIG_fail
;
18295 if (arg2
== NULL
) {
18296 SWIG_null_ref("wxBitmap");
18298 if (SWIG_arg_fail(2)) SWIG_fail
;
18303 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18304 if (SWIG_arg_fail(3)) SWIG_fail
;
18308 if (!wxPyCheckForApp()) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
18322 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
18324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18325 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
18327 return Py_BuildValue((char *)"");
18329 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
= NULL
;
18331 wxScreenDC
*result
;
18332 char *kwnames
[] = {
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
18338 if (!wxPyCheckForApp()) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (wxScreenDC
*)new wxScreenDC();
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
18352 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
= NULL
;
18354 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18355 wxWindow
*arg2
= (wxWindow
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self",(char *) "window", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
18364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18365 if (SWIG_arg_fail(1)) SWIG_fail
;
18366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18367 if (SWIG_arg_fail(2)) SWIG_fail
;
18369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
18372 wxPyEndAllowThreads(__tstate
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18384 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
= NULL
;
18386 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18387 wxRect
*arg2
= (wxRect
*) NULL
;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self",(char *) "rect", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
18396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18397 if (SWIG_arg_fail(1)) SWIG_fail
;
18399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(2)) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18418 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
= NULL
;
18420 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
18428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18429 if (SWIG_arg_fail(1)) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= (bool)(arg1
)->EndDrawingOnTop();
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18446 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
18448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18449 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
18451 return Py_BuildValue((char *)"");
18453 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
= NULL
;
18455 wxWindow
*arg1
= (wxWindow
*) 0 ;
18456 wxClientDC
*result
;
18457 PyObject
* obj0
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "win", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
18463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail
;
18466 if (!wxPyCheckForApp()) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 result
= (wxClientDC
*)new wxClientDC(arg1
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
18480 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
18482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18483 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
18485 return Py_BuildValue((char *)"");
18487 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
= NULL
;
18489 wxWindow
*arg1
= (wxWindow
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "win", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
18497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail
;
18500 if (!wxPyCheckForApp()) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
18514 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
18516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18517 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
18519 return Py_BuildValue((char *)"");
18521 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
= NULL
;
18523 wxWindow
*arg1
= (wxWindow
*) 0 ;
18524 wxWindowDC
*result
;
18525 PyObject
* obj0
= 0 ;
18526 char *kwnames
[] = {
18527 (char *) "win", NULL
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
18531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18532 if (SWIG_arg_fail(1)) SWIG_fail
;
18534 if (!wxPyCheckForApp()) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
18548 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
18550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18551 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
18553 return Py_BuildValue((char *)"");
18555 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
= NULL
;
18559 wxMirrorDC
*result
;
18560 PyObject
* obj0
= 0 ;
18561 PyObject
* obj1
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "dc",(char *) "mirror", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18569 if (SWIG_arg_fail(1)) SWIG_fail
;
18570 if (arg1
== NULL
) {
18571 SWIG_null_ref("wxDC");
18573 if (SWIG_arg_fail(1)) SWIG_fail
;
18576 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18577 if (SWIG_arg_fail(2)) SWIG_fail
;
18580 if (!wxPyCheckForApp()) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
18594 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
18596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18597 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
18599 return Py_BuildValue((char *)"");
18601 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
= NULL
;
18603 wxPrintData
*arg1
= 0 ;
18604 wxPostScriptDC
*result
;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "printData", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
18612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18613 if (SWIG_arg_fail(1)) SWIG_fail
;
18614 if (arg1
== NULL
) {
18615 SWIG_null_ref("wxPrintData");
18617 if (SWIG_arg_fail(1)) SWIG_fail
;
18620 if (!wxPyCheckForApp()) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
18634 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
= NULL
;
18636 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18637 wxPrintData
*result
;
18638 PyObject
* obj0
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
18644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18650 result
= (wxPrintData
*) &_result_ref
;
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18663 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
= NULL
;
18665 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18666 wxPrintData
*arg2
= 0 ;
18667 PyObject
* obj0
= 0 ;
18668 PyObject
* obj1
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "self",(char *) "data", NULL
18673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18675 if (SWIG_arg_fail(1)) SWIG_fail
;
18677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18678 if (SWIG_arg_fail(2)) SWIG_fail
;
18679 if (arg2
== NULL
) {
18680 SWIG_null_ref("wxPrintData");
18682 if (SWIG_arg_fail(2)) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 Py_INCREF(Py_None
); resultobj
= Py_None
;
18698 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
= NULL
;
18701 PyObject
* obj0
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "ppi", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
18708 arg1
= static_cast<int >(SWIG_As_int(obj0
));
18709 if (SWIG_arg_fail(1)) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 wxPostScriptDC::SetResolution(arg1
);
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 Py_INCREF(Py_None
); resultobj
= Py_None
;
18725 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
= NULL
;
18728 char *kwnames
[] = {
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (int)wxPostScriptDC::GetResolution();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_From_int(static_cast<int >(result
));
18749 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
18751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18752 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
18754 return Py_BuildValue((char *)"");
18756 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
= NULL
;
18758 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18759 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18760 wxMetaFile
*result
;
18761 bool temp1
= false ;
18762 PyObject
* obj0
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "filename", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
18770 arg1
= wxString_in_helper(obj0
);
18771 if (arg1
== NULL
) SWIG_fail
;
18776 if (!wxPyCheckForApp()) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
18798 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18799 PyObject
*resultobj
= NULL
;
18800 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 char *kwnames
[] = {
18803 (char *) "self", NULL
18806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
18807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18808 if (SWIG_arg_fail(1)) SWIG_fail
;
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18816 Py_INCREF(Py_None
); resultobj
= Py_None
;
18823 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
= NULL
;
18825 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
18833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 result
= (bool)(arg1
)->Ok();
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18851 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
= NULL
;
18853 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18854 int arg2
= (int) 0 ;
18855 int arg3
= (int) 0 ;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 PyObject
* obj2
= 0 ;
18860 char *kwnames
[] = {
18861 (char *) "self",(char *) "width",(char *) "height", NULL
18864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18866 if (SWIG_arg_fail(1)) SWIG_fail
;
18869 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18870 if (SWIG_arg_fail(2)) SWIG_fail
;
18875 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18876 if (SWIG_arg_fail(3)) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18895 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
= NULL
;
18897 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "self", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
18905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18906 if (SWIG_arg_fail(1)) SWIG_fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 result
= (arg1
)->GetSize();
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18915 wxSize
* resultptr
;
18916 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18925 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
= NULL
;
18927 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18929 PyObject
* obj0
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
18935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18936 if (SWIG_arg_fail(1)) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 result
= (int)(arg1
)->GetWidth();
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= SWIG_From_int(static_cast<int >(result
));
18953 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
= NULL
;
18955 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18957 PyObject
* obj0
= 0 ;
18958 char *kwnames
[] = {
18959 (char *) "self", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
18963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18964 if (SWIG_arg_fail(1)) SWIG_fail
;
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 result
= (int)(arg1
)->GetHeight();
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18973 resultobj
= SWIG_From_int(static_cast<int >(result
));
18981 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
= NULL
;
18983 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
18991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18992 if (SWIG_arg_fail(1)) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
18997 result
= (wxString
*) &_result_ref
;
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19007 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19016 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
19018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19019 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
19021 return Py_BuildValue((char *)"");
19023 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
= NULL
;
19025 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19026 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19027 int arg2
= (int) 0 ;
19028 int arg3
= (int) 0 ;
19029 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19030 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19031 wxMetaFileDC
*result
;
19032 bool temp1
= false ;
19033 bool temp4
= false ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 PyObject
* obj2
= 0 ;
19037 PyObject
* obj3
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19045 arg1
= wxString_in_helper(obj0
);
19046 if (arg1
== NULL
) SWIG_fail
;
19052 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19053 if (SWIG_arg_fail(2)) SWIG_fail
;
19058 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19059 if (SWIG_arg_fail(3)) SWIG_fail
;
19064 arg4
= wxString_in_helper(obj3
);
19065 if (arg4
== NULL
) SWIG_fail
;
19070 if (!wxPyCheckForApp()) SWIG_fail
;
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
19100 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
= NULL
;
19102 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
19103 wxMetaFile
*result
;
19104 PyObject
* obj0
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
19110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION
| 0);
19111 if (SWIG_arg_fail(1)) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (wxMetaFile
*)(arg1
)->Close();
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
19126 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
19128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19129 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
19131 return Py_BuildValue((char *)"");
19133 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
= NULL
;
19135 wxPrintData
*arg1
= 0 ;
19136 wxPrinterDC
*result
;
19137 PyObject
* obj0
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "printData", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
19144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
19145 if (SWIG_arg_fail(1)) SWIG_fail
;
19146 if (arg1
== NULL
) {
19147 SWIG_null_ref("wxPrintData");
19149 if (SWIG_arg_fail(1)) SWIG_fail
;
19152 if (!wxPyCheckForApp()) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
19166 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
19168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19169 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
19171 return Py_BuildValue((char *)"");
19173 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
= NULL
;
19177 int arg3
= (int) true ;
19178 int arg4
= (int) 1 ;
19179 wxImageList
*result
;
19180 PyObject
* obj0
= 0 ;
19181 PyObject
* obj1
= 0 ;
19182 PyObject
* obj2
= 0 ;
19183 PyObject
* obj3
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19190 arg1
= static_cast<int >(SWIG_As_int(obj0
));
19191 if (SWIG_arg_fail(1)) SWIG_fail
;
19194 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19195 if (SWIG_arg_fail(2)) SWIG_fail
;
19199 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19200 if (SWIG_arg_fail(3)) SWIG_fail
;
19205 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19206 if (SWIG_arg_fail(4)) SWIG_fail
;
19210 if (!wxPyCheckForApp()) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= wxPyMake_wxObject(result
, (bool)1);
19226 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
= NULL
;
19228 wxImageList
*arg1
= (wxImageList
*) 0 ;
19229 PyObject
* obj0
= 0 ;
19230 char *kwnames
[] = {
19231 (char *) "self", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
19235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19236 if (SWIG_arg_fail(1)) SWIG_fail
;
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 Py_INCREF(Py_None
); resultobj
= Py_None
;
19251 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19252 PyObject
*resultobj
= NULL
;
19253 wxImageList
*arg1
= (wxImageList
*) 0 ;
19254 wxBitmap
*arg2
= 0 ;
19255 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
19256 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 PyObject
* obj2
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19267 if (SWIG_arg_fail(1)) SWIG_fail
;
19269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19270 if (SWIG_arg_fail(2)) SWIG_fail
;
19271 if (arg2
== NULL
) {
19272 SWIG_null_ref("wxBitmap");
19274 if (SWIG_arg_fail(2)) SWIG_fail
;
19278 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19279 if (SWIG_arg_fail(3)) SWIG_fail
;
19280 if (arg3
== NULL
) {
19281 SWIG_null_ref("wxBitmap");
19283 if (SWIG_arg_fail(3)) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= SWIG_From_int(static_cast<int >(result
));
19302 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
= NULL
;
19304 wxImageList
*arg1
= (wxImageList
*) 0 ;
19305 wxBitmap
*arg2
= 0 ;
19306 wxColour
*arg3
= 0 ;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 PyObject
* obj2
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19318 if (SWIG_arg_fail(1)) SWIG_fail
;
19320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19321 if (SWIG_arg_fail(2)) SWIG_fail
;
19322 if (arg2
== NULL
) {
19323 SWIG_null_ref("wxBitmap");
19325 if (SWIG_arg_fail(2)) SWIG_fail
;
19329 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19339 resultobj
= SWIG_From_int(static_cast<int >(result
));
19347 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
= NULL
;
19349 wxImageList
*arg1
= (wxImageList
*) 0 ;
19352 PyObject
* obj0
= 0 ;
19353 PyObject
* obj1
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self",(char *) "icon", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
19359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19360 if (SWIG_arg_fail(1)) SWIG_fail
;
19362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
19363 if (SWIG_arg_fail(2)) SWIG_fail
;
19364 if (arg2
== NULL
) {
19365 SWIG_null_ref("wxIcon");
19367 if (SWIG_arg_fail(2)) SWIG_fail
;
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= SWIG_From_int(static_cast<int >(result
));
19385 static PyObject
*_wrap_ImageList_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
= NULL
;
19387 wxImageList
*arg1
= (wxImageList
*) 0 ;
19389 SwigValueWrapper
<wxBitmap
> result
;
19390 PyObject
* obj0
= 0 ;
19391 PyObject
* obj1
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self",(char *) "index", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19398 if (SWIG_arg_fail(1)) SWIG_fail
;
19400 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19401 if (SWIG_arg_fail(2)) SWIG_fail
;
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19411 wxBitmap
* resultptr
;
19412 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
19413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19421 static PyObject
*_wrap_ImageList_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
= NULL
;
19423 wxImageList
*arg1
= (wxImageList
*) 0 ;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self",(char *) "index", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
19433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19434 if (SWIG_arg_fail(1)) SWIG_fail
;
19436 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19437 if (SWIG_arg_fail(2)) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19447 wxIcon
* resultptr
;
19448 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
19449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
19457 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
= NULL
;
19459 wxImageList
*arg1
= (wxImageList
*) 0 ;
19461 wxBitmap
*arg3
= 0 ;
19462 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
19463 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 PyObject
* obj2
= 0 ;
19468 PyObject
* obj3
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19475 if (SWIG_arg_fail(1)) SWIG_fail
;
19477 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19478 if (SWIG_arg_fail(2)) SWIG_fail
;
19481 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19482 if (SWIG_arg_fail(3)) SWIG_fail
;
19483 if (arg3
== NULL
) {
19484 SWIG_null_ref("wxBitmap");
19486 if (SWIG_arg_fail(3)) SWIG_fail
;
19490 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19491 if (SWIG_arg_fail(4)) SWIG_fail
;
19492 if (arg4
== NULL
) {
19493 SWIG_null_ref("wxBitmap");
19495 if (SWIG_arg_fail(4)) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19514 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19515 PyObject
*resultobj
= NULL
;
19516 wxImageList
*arg1
= (wxImageList
*) 0 ;
19521 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
19522 bool arg7
= (bool) (bool)false ;
19524 PyObject
* obj0
= 0 ;
19525 PyObject
* obj1
= 0 ;
19526 PyObject
* obj2
= 0 ;
19527 PyObject
* obj3
= 0 ;
19528 PyObject
* obj4
= 0 ;
19529 PyObject
* obj5
= 0 ;
19530 PyObject
* obj6
= 0 ;
19531 char *kwnames
[] = {
19532 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
19535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19537 if (SWIG_arg_fail(1)) SWIG_fail
;
19539 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19540 if (SWIG_arg_fail(2)) SWIG_fail
;
19543 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19544 if (SWIG_arg_fail(3)) SWIG_fail
;
19545 if (arg3
== NULL
) {
19546 SWIG_null_ref("wxDC");
19548 if (SWIG_arg_fail(3)) SWIG_fail
;
19551 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19552 if (SWIG_arg_fail(4)) SWIG_fail
;
19555 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19556 if (SWIG_arg_fail(5)) SWIG_fail
;
19560 arg6
= static_cast<int >(SWIG_As_int(obj5
));
19561 if (SWIG_arg_fail(6)) SWIG_fail
;
19566 arg7
= static_cast<bool const >(SWIG_As_bool(obj6
));
19567 if (SWIG_arg_fail(7)) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19586 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
= NULL
;
19588 wxImageList
*arg1
= (wxImageList
*) 0 ;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
19596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19597 if (SWIG_arg_fail(1)) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= (int)(arg1
)->GetImageCount();
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_From_int(static_cast<int >(result
));
19614 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
= NULL
;
19616 wxImageList
*arg1
= (wxImageList
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 PyObject
* obj1
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self",(char *) "index", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
19626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19627 if (SWIG_arg_fail(1)) SWIG_fail
;
19629 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19630 if (SWIG_arg_fail(2)) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= (bool)(arg1
)->Remove(arg2
);
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19648 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
= NULL
;
19650 wxImageList
*arg1
= (wxImageList
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
19658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19659 if (SWIG_arg_fail(1)) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (bool)(arg1
)->RemoveAll();
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19676 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
= NULL
;
19678 wxImageList
*arg1
= (wxImageList
*) 0 ;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "self",(char *) "index", NULL
19692 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19693 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19696 if (SWIG_arg_fail(1)) SWIG_fail
;
19698 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19699 if (SWIG_arg_fail(2)) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 Py_INCREF(Py_None
); resultobj
= Py_None
;
19709 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19710 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19711 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
19712 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
19719 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
19721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19722 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
19724 return Py_BuildValue((char *)"");
19726 static int _wrap_NORMAL_FONT_set(PyObject
*) {
19727 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
19732 static PyObject
*_wrap_NORMAL_FONT_get(void) {
19733 PyObject
*pyobj
= NULL
;
19735 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
19740 static int _wrap_SMALL_FONT_set(PyObject
*) {
19741 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
19746 static PyObject
*_wrap_SMALL_FONT_get(void) {
19747 PyObject
*pyobj
= NULL
;
19749 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
19754 static int _wrap_ITALIC_FONT_set(PyObject
*) {
19755 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
19760 static PyObject
*_wrap_ITALIC_FONT_get(void) {
19761 PyObject
*pyobj
= NULL
;
19763 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
19768 static int _wrap_SWISS_FONT_set(PyObject
*) {
19769 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
19774 static PyObject
*_wrap_SWISS_FONT_get(void) {
19775 PyObject
*pyobj
= NULL
;
19777 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
19782 static int _wrap_RED_PEN_set(PyObject
*) {
19783 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
19788 static PyObject
*_wrap_RED_PEN_get(void) {
19789 PyObject
*pyobj
= NULL
;
19791 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
19796 static int _wrap_CYAN_PEN_set(PyObject
*) {
19797 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
19802 static PyObject
*_wrap_CYAN_PEN_get(void) {
19803 PyObject
*pyobj
= NULL
;
19805 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
19810 static int _wrap_GREEN_PEN_set(PyObject
*) {
19811 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
19816 static PyObject
*_wrap_GREEN_PEN_get(void) {
19817 PyObject
*pyobj
= NULL
;
19819 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
19824 static int _wrap_BLACK_PEN_set(PyObject
*) {
19825 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
19830 static PyObject
*_wrap_BLACK_PEN_get(void) {
19831 PyObject
*pyobj
= NULL
;
19833 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
19838 static int _wrap_WHITE_PEN_set(PyObject
*) {
19839 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
19844 static PyObject
*_wrap_WHITE_PEN_get(void) {
19845 PyObject
*pyobj
= NULL
;
19847 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
19852 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
19853 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
19858 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
19859 PyObject
*pyobj
= NULL
;
19861 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
19866 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
19867 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
19872 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
19873 PyObject
*pyobj
= NULL
;
19875 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
19880 static int _wrap_GREY_PEN_set(PyObject
*) {
19881 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
19886 static PyObject
*_wrap_GREY_PEN_get(void) {
19887 PyObject
*pyobj
= NULL
;
19889 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19894 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
19895 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
19900 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
19901 PyObject
*pyobj
= NULL
;
19903 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19908 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
19909 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
19914 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
19915 PyObject
*pyobj
= NULL
;
19917 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19922 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
19923 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
19928 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
19929 PyObject
*pyobj
= NULL
;
19931 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19936 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
19937 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
19942 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
19943 PyObject
*pyobj
= NULL
;
19945 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19950 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
19951 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
19956 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
19957 PyObject
*pyobj
= NULL
;
19959 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19964 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
19965 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
19970 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
19971 PyObject
*pyobj
= NULL
;
19973 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19978 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
19979 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
19984 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
19985 PyObject
*pyobj
= NULL
;
19987 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19992 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19993 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19998 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19999 PyObject
*pyobj
= NULL
;
20001 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20006 static int _wrap_RED_BRUSH_set(PyObject
*) {
20007 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
20012 static PyObject
*_wrap_RED_BRUSH_get(void) {
20013 PyObject
*pyobj
= NULL
;
20015 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20020 static int _wrap_GREY_BRUSH_set(PyObject
*) {
20021 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
20026 static PyObject
*_wrap_GREY_BRUSH_get(void) {
20027 PyObject
*pyobj
= NULL
;
20029 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20034 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
20035 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
20040 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
20041 PyObject
*pyobj
= NULL
;
20043 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20048 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
20049 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
20054 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
20055 PyObject
*pyobj
= NULL
;
20057 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20062 static int _wrap_BLACK_set(PyObject
*) {
20063 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
20068 static PyObject
*_wrap_BLACK_get(void) {
20069 PyObject
*pyobj
= NULL
;
20071 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
20076 static int _wrap_WHITE_set(PyObject
*) {
20077 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
20082 static PyObject
*_wrap_WHITE_get(void) {
20083 PyObject
*pyobj
= NULL
;
20085 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
20090 static int _wrap_RED_set(PyObject
*) {
20091 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
20096 static PyObject
*_wrap_RED_get(void) {
20097 PyObject
*pyobj
= NULL
;
20099 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
20104 static int _wrap_BLUE_set(PyObject
*) {
20105 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
20110 static PyObject
*_wrap_BLUE_get(void) {
20111 PyObject
*pyobj
= NULL
;
20113 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
20118 static int _wrap_GREEN_set(PyObject
*) {
20119 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
20124 static PyObject
*_wrap_GREEN_get(void) {
20125 PyObject
*pyobj
= NULL
;
20127 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
20132 static int _wrap_CYAN_set(PyObject
*) {
20133 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
20138 static PyObject
*_wrap_CYAN_get(void) {
20139 PyObject
*pyobj
= NULL
;
20141 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
20146 static int _wrap_LIGHT_GREY_set(PyObject
*) {
20147 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
20152 static PyObject
*_wrap_LIGHT_GREY_get(void) {
20153 PyObject
*pyobj
= NULL
;
20155 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
20160 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
20161 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
20166 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
20167 PyObject
*pyobj
= NULL
;
20169 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20174 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
20175 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
20180 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
20181 PyObject
*pyobj
= NULL
;
20183 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20188 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
20189 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
20194 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
20195 PyObject
*pyobj
= NULL
;
20197 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20202 static int _wrap_NullBitmap_set(PyObject
*) {
20203 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
20208 static PyObject
*_wrap_NullBitmap_get(void) {
20209 PyObject
*pyobj
= NULL
;
20211 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
20216 static int _wrap_NullIcon_set(PyObject
*) {
20217 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
20222 static PyObject
*_wrap_NullIcon_get(void) {
20223 PyObject
*pyobj
= NULL
;
20225 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
20230 static int _wrap_NullCursor_set(PyObject
*) {
20231 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
20236 static PyObject
*_wrap_NullCursor_get(void) {
20237 PyObject
*pyobj
= NULL
;
20239 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
20244 static int _wrap_NullPen_set(PyObject
*) {
20245 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
20250 static PyObject
*_wrap_NullPen_get(void) {
20251 PyObject
*pyobj
= NULL
;
20253 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
20258 static int _wrap_NullBrush_set(PyObject
*) {
20259 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
20264 static PyObject
*_wrap_NullBrush_get(void) {
20265 PyObject
*pyobj
= NULL
;
20267 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
20272 static int _wrap_NullPalette_set(PyObject
*) {
20273 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
20278 static PyObject
*_wrap_NullPalette_get(void) {
20279 PyObject
*pyobj
= NULL
;
20281 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
20286 static int _wrap_NullFont_set(PyObject
*) {
20287 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
20292 static PyObject
*_wrap_NullFont_get(void) {
20293 PyObject
*pyobj
= NULL
;
20295 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
20300 static int _wrap_NullColour_set(PyObject
*) {
20301 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
20306 static PyObject
*_wrap_NullColour_get(void) {
20307 PyObject
*pyobj
= NULL
;
20309 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
20314 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
= NULL
;
20316 wxPenList
*arg1
= (wxPenList
*) 0 ;
20317 wxPen
*arg2
= (wxPen
*) 0 ;
20318 PyObject
* obj0
= 0 ;
20319 PyObject
* obj1
= 0 ;
20320 char *kwnames
[] = {
20321 (char *) "self",(char *) "pen", NULL
20324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
20325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20326 if (SWIG_arg_fail(1)) SWIG_fail
;
20327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
20328 if (SWIG_arg_fail(2)) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 (arg1
)->AddPen(arg2
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 Py_INCREF(Py_None
); resultobj
= Py_None
;
20343 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
= NULL
;
20345 wxPenList
*arg1
= (wxPenList
*) 0 ;
20346 wxColour
*arg2
= 0 ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 PyObject
* obj2
= 0 ;
20354 PyObject
* obj3
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20361 if (SWIG_arg_fail(1)) SWIG_fail
;
20364 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20367 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20368 if (SWIG_arg_fail(3)) SWIG_fail
;
20371 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20372 if (SWIG_arg_fail(4)) SWIG_fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20388 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
= NULL
;
20390 wxPenList
*arg1
= (wxPenList
*) 0 ;
20391 wxPen
*arg2
= (wxPen
*) 0 ;
20392 PyObject
* obj0
= 0 ;
20393 PyObject
* obj1
= 0 ;
20394 char *kwnames
[] = {
20395 (char *) "self",(char *) "pen", NULL
20398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20400 if (SWIG_arg_fail(1)) SWIG_fail
;
20401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
20402 if (SWIG_arg_fail(2)) SWIG_fail
;
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 (arg1
)->RemovePen(arg2
);
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20410 Py_INCREF(Py_None
); resultobj
= Py_None
;
20417 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
= NULL
;
20419 wxPenList
*arg1
= (wxPenList
*) 0 ;
20421 PyObject
* obj0
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
20427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20428 if (SWIG_arg_fail(1)) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 result
= (int)(arg1
)->GetCount();
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= SWIG_From_int(static_cast<int >(result
));
20445 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
20447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20448 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
20450 return Py_BuildValue((char *)"");
20452 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
= NULL
;
20454 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20455 wxBrush
*arg2
= (wxBrush
*) 0 ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self",(char *) "brush", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
20463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20464 if (SWIG_arg_fail(1)) SWIG_fail
;
20465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
20466 if (SWIG_arg_fail(2)) SWIG_fail
;
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 (arg1
)->AddBrush(arg2
);
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 Py_INCREF(Py_None
); resultobj
= Py_None
;
20481 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20482 PyObject
*resultobj
= NULL
;
20483 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20484 wxColour
*arg2
= 0 ;
20485 int arg3
= (int) wxSOLID
;
20488 PyObject
* obj0
= 0 ;
20489 PyObject
* obj1
= 0 ;
20490 PyObject
* obj2
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "self",(char *) "colour",(char *) "style", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20497 if (SWIG_arg_fail(1)) SWIG_fail
;
20500 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20504 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20505 if (SWIG_arg_fail(3)) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
20522 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
= NULL
;
20524 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20525 wxBrush
*arg2
= (wxBrush
*) 0 ;
20526 PyObject
* obj0
= 0 ;
20527 PyObject
* obj1
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self",(char *) "brush", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
20533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20534 if (SWIG_arg_fail(1)) SWIG_fail
;
20535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
20536 if (SWIG_arg_fail(2)) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 (arg1
)->RemoveBrush(arg2
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 Py_INCREF(Py_None
); resultobj
= Py_None
;
20551 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
= NULL
;
20553 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
20561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20562 if (SWIG_arg_fail(1)) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (int)(arg1
)->GetCount();
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= SWIG_From_int(static_cast<int >(result
));
20579 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
20581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20582 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
20584 return Py_BuildValue((char *)"");
20586 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
= NULL
;
20588 wxColourDatabase
*result
;
20589 char *kwnames
[] = {
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
20595 if (!wxPyCheckForApp()) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= (wxColourDatabase
*)new wxColourDatabase();
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
20609 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
= NULL
;
20611 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20612 PyObject
* obj0
= 0 ;
20613 char *kwnames
[] = {
20614 (char *) "self", NULL
20617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
20618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20619 if (SWIG_arg_fail(1)) SWIG_fail
;
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 wxPyEndAllowThreads(__tstate
);
20625 if (PyErr_Occurred()) SWIG_fail
;
20627 Py_INCREF(Py_None
); resultobj
= Py_None
;
20634 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
= NULL
;
20636 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20637 wxString
*arg2
= 0 ;
20639 bool temp2
= false ;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "self",(char *) "name", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
20647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20648 if (SWIG_arg_fail(1)) SWIG_fail
;
20650 arg2
= wxString_in_helper(obj1
);
20651 if (arg2
== NULL
) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20662 wxColour
* resultptr
;
20663 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20680 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
= NULL
;
20682 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20683 wxColour
*arg2
= 0 ;
20686 PyObject
* obj0
= 0 ;
20687 PyObject
* obj1
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "self",(char *) "colour", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
20693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20694 if (SWIG_arg_fail(1)) SWIG_fail
;
20697 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20719 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
= NULL
;
20721 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20722 wxString
*arg2
= 0 ;
20723 wxColour
*arg3
= 0 ;
20724 bool temp2
= false ;
20726 PyObject
* obj0
= 0 ;
20727 PyObject
* obj1
= 0 ;
20728 PyObject
* obj2
= 0 ;
20729 char *kwnames
[] = {
20730 (char *) "self",(char *) "name",(char *) "colour", NULL
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20735 if (SWIG_arg_fail(1)) SWIG_fail
;
20737 arg2
= wxString_in_helper(obj1
);
20738 if (arg2
== NULL
) SWIG_fail
;
20743 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20747 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 Py_INCREF(Py_None
); resultobj
= Py_None
;
20767 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20768 PyObject
*resultobj
= NULL
;
20769 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20770 wxString
*arg2
= 0 ;
20774 bool temp2
= false ;
20775 PyObject
* obj0
= 0 ;
20776 PyObject
* obj1
= 0 ;
20777 PyObject
* obj2
= 0 ;
20778 PyObject
* obj3
= 0 ;
20779 PyObject
* obj4
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20786 if (SWIG_arg_fail(1)) SWIG_fail
;
20788 arg2
= wxString_in_helper(obj1
);
20789 if (arg2
== NULL
) SWIG_fail
;
20793 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20794 if (SWIG_arg_fail(3)) SWIG_fail
;
20797 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20798 if (SWIG_arg_fail(4)) SWIG_fail
;
20801 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20802 if (SWIG_arg_fail(5)) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 Py_INCREF(Py_None
); resultobj
= Py_None
;
20826 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
20828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20829 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
20831 return Py_BuildValue((char *)"");
20833 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
= NULL
;
20835 wxFontList
*arg1
= (wxFontList
*) 0 ;
20836 wxFont
*arg2
= (wxFont
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self",(char *) "font", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20845 if (SWIG_arg_fail(1)) SWIG_fail
;
20846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20847 if (SWIG_arg_fail(2)) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 (arg1
)->AddFont(arg2
);
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20855 Py_INCREF(Py_None
); resultobj
= Py_None
;
20862 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
= NULL
;
20864 wxFontList
*arg1
= (wxFontList
*) 0 ;
20869 bool arg6
= (bool) false ;
20870 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20872 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
20874 bool temp7
= false ;
20875 PyObject
* obj0
= 0 ;
20876 PyObject
* obj1
= 0 ;
20877 PyObject
* obj2
= 0 ;
20878 PyObject
* obj3
= 0 ;
20879 PyObject
* obj4
= 0 ;
20880 PyObject
* obj5
= 0 ;
20881 PyObject
* obj6
= 0 ;
20882 PyObject
* obj7
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20889 if (SWIG_arg_fail(1)) SWIG_fail
;
20891 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20892 if (SWIG_arg_fail(2)) SWIG_fail
;
20895 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20896 if (SWIG_arg_fail(3)) SWIG_fail
;
20899 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20900 if (SWIG_arg_fail(4)) SWIG_fail
;
20903 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20904 if (SWIG_arg_fail(5)) SWIG_fail
;
20908 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
20909 if (SWIG_arg_fail(6)) SWIG_fail
;
20914 arg7
= wxString_in_helper(obj6
);
20915 if (arg7
== NULL
) SWIG_fail
;
20921 arg8
= static_cast<wxFontEncoding
>(SWIG_As_int(obj7
));
20922 if (SWIG_arg_fail(8)) SWIG_fail
;
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
20947 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
= NULL
;
20949 wxFontList
*arg1
= (wxFontList
*) 0 ;
20950 wxFont
*arg2
= (wxFont
*) 0 ;
20951 PyObject
* obj0
= 0 ;
20952 PyObject
* obj1
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self",(char *) "font", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20959 if (SWIG_arg_fail(1)) SWIG_fail
;
20960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20961 if (SWIG_arg_fail(2)) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 (arg1
)->RemoveFont(arg2
);
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 Py_INCREF(Py_None
); resultobj
= Py_None
;
20976 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
= NULL
;
20978 wxFontList
*arg1
= (wxFontList
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
20986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20987 if (SWIG_arg_fail(1)) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= (int)(arg1
)->GetCount();
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= SWIG_From_int(static_cast<int >(result
));
21004 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
21006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21007 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
21009 return Py_BuildValue((char *)"");
21011 static int _wrap_TheFontList_set(PyObject
*) {
21012 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
21017 static PyObject
*_wrap_TheFontList_get(void) {
21018 PyObject
*pyobj
= NULL
;
21020 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
21025 static int _wrap_ThePenList_set(PyObject
*) {
21026 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
21031 static PyObject
*_wrap_ThePenList_get(void) {
21032 PyObject
*pyobj
= NULL
;
21034 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
21039 static int _wrap_TheBrushList_set(PyObject
*) {
21040 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
21045 static PyObject
*_wrap_TheBrushList_get(void) {
21046 PyObject
*pyobj
= NULL
;
21048 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
21053 static int _wrap_TheColourDatabase_set(PyObject
*) {
21054 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
21059 static PyObject
*_wrap_TheColourDatabase_get(void) {
21060 PyObject
*pyobj
= NULL
;
21062 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
21067 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
= NULL
;
21070 char *kwnames
[] = {
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (wxEffects
*)new wxEffects();
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
21089 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
= NULL
;
21091 wxEffects
*arg1
= (wxEffects
*) 0 ;
21093 PyObject
* obj0
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
21099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21100 if (SWIG_arg_fail(1)) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21109 wxColour
* resultptr
;
21110 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21119 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
= NULL
;
21121 wxEffects
*arg1
= (wxEffects
*) 0 ;
21123 PyObject
* obj0
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "self", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
21129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21130 if (SWIG_arg_fail(1)) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21139 wxColour
* resultptr
;
21140 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21149 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
= NULL
;
21151 wxEffects
*arg1
= (wxEffects
*) 0 ;
21153 PyObject
* obj0
= 0 ;
21154 char *kwnames
[] = {
21155 (char *) "self", NULL
21158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
21159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21160 if (SWIG_arg_fail(1)) SWIG_fail
;
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21169 wxColour
* resultptr
;
21170 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21179 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
= NULL
;
21181 wxEffects
*arg1
= (wxEffects
*) 0 ;
21183 PyObject
* obj0
= 0 ;
21184 char *kwnames
[] = {
21185 (char *) "self", NULL
21188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
21189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21190 if (SWIG_arg_fail(1)) SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21199 wxColour
* resultptr
;
21200 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21209 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
= NULL
;
21211 wxEffects
*arg1
= (wxEffects
*) 0 ;
21213 PyObject
* obj0
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "self", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
21219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21220 if (SWIG_arg_fail(1)) SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21229 wxColour
* resultptr
;
21230 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21239 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
= NULL
;
21241 wxEffects
*arg1
= (wxEffects
*) 0 ;
21242 wxColour
*arg2
= 0 ;
21244 PyObject
* obj0
= 0 ;
21245 PyObject
* obj1
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self",(char *) "c", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21252 if (SWIG_arg_fail(1)) SWIG_fail
;
21255 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 Py_INCREF(Py_None
); resultobj
= Py_None
;
21271 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
= NULL
;
21273 wxEffects
*arg1
= (wxEffects
*) 0 ;
21274 wxColour
*arg2
= 0 ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "c", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21284 if (SWIG_arg_fail(1)) SWIG_fail
;
21287 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 Py_INCREF(Py_None
); resultobj
= Py_None
;
21303 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
= NULL
;
21305 wxEffects
*arg1
= (wxEffects
*) 0 ;
21306 wxColour
*arg2
= 0 ;
21308 PyObject
* obj0
= 0 ;
21309 PyObject
* obj1
= 0 ;
21310 char *kwnames
[] = {
21311 (char *) "self",(char *) "c", NULL
21314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21316 if (SWIG_arg_fail(1)) SWIG_fail
;
21319 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 Py_INCREF(Py_None
); resultobj
= Py_None
;
21335 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21336 PyObject
*resultobj
= NULL
;
21337 wxEffects
*arg1
= (wxEffects
*) 0 ;
21338 wxColour
*arg2
= 0 ;
21340 PyObject
* obj0
= 0 ;
21341 PyObject
* obj1
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self",(char *) "c", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21348 if (SWIG_arg_fail(1)) SWIG_fail
;
21351 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 Py_INCREF(Py_None
); resultobj
= Py_None
;
21367 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
= NULL
;
21369 wxEffects
*arg1
= (wxEffects
*) 0 ;
21370 wxColour
*arg2
= 0 ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "self",(char *) "c", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21380 if (SWIG_arg_fail(1)) SWIG_fail
;
21383 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 Py_INCREF(Py_None
); resultobj
= Py_None
;
21399 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
= NULL
;
21401 wxEffects
*arg1
= (wxEffects
*) 0 ;
21402 wxColour
*arg2
= 0 ;
21403 wxColour
*arg3
= 0 ;
21404 wxColour
*arg4
= 0 ;
21405 wxColour
*arg5
= 0 ;
21406 wxColour
*arg6
= 0 ;
21412 PyObject
* obj0
= 0 ;
21413 PyObject
* obj1
= 0 ;
21414 PyObject
* obj2
= 0 ;
21415 PyObject
* obj3
= 0 ;
21416 PyObject
* obj4
= 0 ;
21417 PyObject
* obj5
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21424 if (SWIG_arg_fail(1)) SWIG_fail
;
21427 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21431 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21435 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
21439 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
21443 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
21449 wxPyEndAllowThreads(__tstate
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 Py_INCREF(Py_None
); resultobj
= Py_None
;
21459 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21460 PyObject
*resultobj
= NULL
;
21461 wxEffects
*arg1
= (wxEffects
*) 0 ;
21464 int arg4
= (int) 1 ;
21466 PyObject
* obj0
= 0 ;
21467 PyObject
* obj1
= 0 ;
21468 PyObject
* obj2
= 0 ;
21469 PyObject
* obj3
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21476 if (SWIG_arg_fail(1)) SWIG_fail
;
21478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21479 if (SWIG_arg_fail(2)) SWIG_fail
;
21480 if (arg2
== NULL
) {
21481 SWIG_null_ref("wxDC");
21483 if (SWIG_arg_fail(2)) SWIG_fail
;
21487 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
21491 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21492 if (SWIG_arg_fail(4)) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 Py_INCREF(Py_None
); resultobj
= Py_None
;
21509 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
= NULL
;
21511 wxEffects
*arg1
= (wxEffects
*) 0 ;
21514 wxBitmap
*arg4
= 0 ;
21517 PyObject
* obj0
= 0 ;
21518 PyObject
* obj1
= 0 ;
21519 PyObject
* obj2
= 0 ;
21520 PyObject
* obj3
= 0 ;
21521 char *kwnames
[] = {
21522 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21527 if (SWIG_arg_fail(1)) SWIG_fail
;
21530 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21533 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21534 if (SWIG_arg_fail(3)) SWIG_fail
;
21535 if (arg3
== NULL
) {
21536 SWIG_null_ref("wxDC");
21538 if (SWIG_arg_fail(3)) SWIG_fail
;
21541 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
21542 if (SWIG_arg_fail(4)) SWIG_fail
;
21543 if (arg4
== NULL
) {
21544 SWIG_null_ref("wxBitmap");
21546 if (SWIG_arg_fail(4)) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21564 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
21566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21567 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
21569 return Py_BuildValue((char *)"");
21571 static PyObject
*_wrap_new_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
= NULL
;
21576 wxSplitterRenderParams
*result
;
21577 PyObject
* obj0
= 0 ;
21578 PyObject
* obj1
= 0 ;
21579 PyObject
* obj2
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21586 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21587 if (SWIG_arg_fail(1)) SWIG_fail
;
21590 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21591 if (SWIG_arg_fail(2)) SWIG_fail
;
21594 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21595 if (SWIG_arg_fail(3)) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
21611 static PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
= NULL
;
21613 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SplitterRenderParams",kwnames
,&obj0
)) goto fail
;
21620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 Py_INCREF(Py_None
); resultobj
= Py_None
;
21636 static PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
= NULL
;
21638 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21640 PyObject
* obj0
= 0 ;
21641 char *kwnames
[] = {
21642 (char *) "self", NULL
21645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_widthSash_get",kwnames
,&obj0
)) goto fail
;
21646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21647 if (SWIG_arg_fail(1)) SWIG_fail
;
21648 result
= (int)(int) ((arg1
)->widthSash
);
21651 resultobj
= SWIG_From_int(static_cast<int >(result
));
21659 static PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
= NULL
;
21661 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21663 PyObject
* obj0
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_border_get",kwnames
,&obj0
)) goto fail
;
21669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21670 if (SWIG_arg_fail(1)) SWIG_fail
;
21671 result
= (int)(int) ((arg1
)->border
);
21674 resultobj
= SWIG_From_int(static_cast<int >(result
));
21682 static PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
= NULL
;
21684 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames
,&obj0
)) goto fail
;
21692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21693 if (SWIG_arg_fail(1)) SWIG_fail
;
21694 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
21697 resultobj
= SWIG_From_bool(static_cast<bool >(result
));
21705 static PyObject
* SplitterRenderParams_swigregister(PyObject
*, PyObject
*args
) {
21707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21708 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams
, obj
);
21710 return Py_BuildValue((char *)"");
21712 static PyObject
*_wrap_new_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
= NULL
;
21716 wxRendererVersion
*result
;
21717 PyObject
* obj0
= 0 ;
21718 PyObject
* obj1
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "version_",(char *) "age_", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) goto fail
;
21725 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21726 if (SWIG_arg_fail(1)) SWIG_fail
;
21729 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21730 if (SWIG_arg_fail(2)) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererVersion
, 1);
21746 static PyObject
*_wrap_delete_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
= NULL
;
21748 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21749 PyObject
* obj0
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RendererVersion",kwnames
,&obj0
)) goto fail
;
21755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21756 if (SWIG_arg_fail(1)) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 Py_INCREF(Py_None
); resultobj
= Py_None
;
21771 static PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
= NULL
;
21773 wxRendererVersion
*arg1
= 0 ;
21775 PyObject
* obj0
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "ver", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) goto fail
;
21782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21783 if (SWIG_arg_fail(1)) SWIG_fail
;
21784 if (arg1
== NULL
) {
21785 SWIG_null_ref("wxRendererVersion");
21787 if (SWIG_arg_fail(1)) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21805 static PyObject
*_wrap_RendererVersion_version_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
= NULL
;
21807 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21809 PyObject
* obj0
= 0 ;
21810 char *kwnames
[] = {
21811 (char *) "self", NULL
21814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_version_get",kwnames
,&obj0
)) goto fail
;
21815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21816 if (SWIG_arg_fail(1)) SWIG_fail
;
21817 result
= (int)(int) ((arg1
)->version
);
21820 resultobj
= SWIG_From_int(static_cast<int >(result
));
21828 static PyObject
*_wrap_RendererVersion_age_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
= NULL
;
21830 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21832 PyObject
* obj0
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_age_get",kwnames
,&obj0
)) goto fail
;
21838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21839 if (SWIG_arg_fail(1)) SWIG_fail
;
21840 result
= (int)(int) ((arg1
)->age
);
21843 resultobj
= SWIG_From_int(static_cast<int >(result
));
21851 static PyObject
* RendererVersion_swigregister(PyObject
*, PyObject
*args
) {
21853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21854 SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion
, obj
);
21856 return Py_BuildValue((char *)"");
21858 static PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
= NULL
;
21860 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21861 wxWindow
*arg2
= (wxWindow
*) 0 ;
21864 int arg5
= (int) 0 ;
21866 PyObject
* obj0
= 0 ;
21867 PyObject
* obj1
= 0 ;
21868 PyObject
* obj2
= 0 ;
21869 PyObject
* obj3
= 0 ;
21870 PyObject
* obj4
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21877 if (SWIG_arg_fail(1)) SWIG_fail
;
21878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21879 if (SWIG_arg_fail(2)) SWIG_fail
;
21881 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21882 if (SWIG_arg_fail(3)) SWIG_fail
;
21883 if (arg3
== NULL
) {
21884 SWIG_null_ref("wxDC");
21886 if (SWIG_arg_fail(3)) SWIG_fail
;
21890 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21894 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21895 if (SWIG_arg_fail(5)) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 Py_INCREF(Py_None
); resultobj
= Py_None
;
21912 static PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
= NULL
;
21914 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21915 wxWindow
*arg2
= (wxWindow
*) 0 ;
21918 int arg5
= (int) 0 ;
21920 PyObject
* obj0
= 0 ;
21921 PyObject
* obj1
= 0 ;
21922 PyObject
* obj2
= 0 ;
21923 PyObject
* obj3
= 0 ;
21924 PyObject
* obj4
= 0 ;
21925 char *kwnames
[] = {
21926 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21931 if (SWIG_arg_fail(1)) SWIG_fail
;
21932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21933 if (SWIG_arg_fail(2)) SWIG_fail
;
21935 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21936 if (SWIG_arg_fail(3)) SWIG_fail
;
21937 if (arg3
== NULL
) {
21938 SWIG_null_ref("wxDC");
21940 if (SWIG_arg_fail(3)) SWIG_fail
;
21944 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21948 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21949 if (SWIG_arg_fail(5)) SWIG_fail
;
21953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 Py_INCREF(Py_None
); resultobj
= Py_None
;
21966 static PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
= NULL
;
21968 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21969 wxWindow
*arg2
= (wxWindow
*) 0 ;
21972 int arg5
= (int) 0 ;
21974 PyObject
* obj0
= 0 ;
21975 PyObject
* obj1
= 0 ;
21976 PyObject
* obj2
= 0 ;
21977 PyObject
* obj3
= 0 ;
21978 PyObject
* obj4
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21985 if (SWIG_arg_fail(1)) SWIG_fail
;
21986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21987 if (SWIG_arg_fail(2)) SWIG_fail
;
21989 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21990 if (SWIG_arg_fail(3)) SWIG_fail
;
21991 if (arg3
== NULL
) {
21992 SWIG_null_ref("wxDC");
21994 if (SWIG_arg_fail(3)) SWIG_fail
;
21998 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22002 arg5
= static_cast<int >(SWIG_As_int(obj4
));
22003 if (SWIG_arg_fail(5)) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22013 Py_INCREF(Py_None
); resultobj
= Py_None
;
22020 static PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
= NULL
;
22022 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22023 wxWindow
*arg2
= (wxWindow
*) 0 ;
22027 wxOrientation arg6
;
22028 int arg7
= (int) 0 ;
22030 PyObject
* obj0
= 0 ;
22031 PyObject
* obj1
= 0 ;
22032 PyObject
* obj2
= 0 ;
22033 PyObject
* obj3
= 0 ;
22034 PyObject
* obj4
= 0 ;
22035 PyObject
* obj5
= 0 ;
22036 PyObject
* obj6
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22043 if (SWIG_arg_fail(1)) SWIG_fail
;
22044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22045 if (SWIG_arg_fail(2)) SWIG_fail
;
22047 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22048 if (SWIG_arg_fail(3)) SWIG_fail
;
22049 if (arg3
== NULL
) {
22050 SWIG_null_ref("wxDC");
22052 if (SWIG_arg_fail(3)) SWIG_fail
;
22056 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22059 arg5
= static_cast<int >(SWIG_As_int(obj4
));
22060 if (SWIG_arg_fail(5)) SWIG_fail
;
22063 arg6
= static_cast<wxOrientation
>(SWIG_As_int(obj5
));
22064 if (SWIG_arg_fail(6)) SWIG_fail
;
22068 arg7
= static_cast<int >(SWIG_As_int(obj6
));
22069 if (SWIG_arg_fail(7)) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 Py_INCREF(Py_None
); resultobj
= Py_None
;
22086 static PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
= NULL
;
22088 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22089 wxWindow
*arg2
= (wxWindow
*) 0 ;
22092 int arg5
= (int) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 PyObject
* obj1
= 0 ;
22096 PyObject
* obj2
= 0 ;
22097 PyObject
* obj3
= 0 ;
22098 PyObject
* obj4
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail
;
22106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22107 if (SWIG_arg_fail(2)) SWIG_fail
;
22109 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22110 if (SWIG_arg_fail(3)) SWIG_fail
;
22111 if (arg3
== NULL
) {
22112 SWIG_null_ref("wxDC");
22114 if (SWIG_arg_fail(3)) SWIG_fail
;
22118 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22122 arg5
= static_cast<int >(SWIG_As_int(obj4
));
22123 if (SWIG_arg_fail(5)) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
= NULL
;
22142 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22143 wxWindow
*arg2
= (wxWindow
*) 0 ;
22146 int arg5
= (int) 0 ;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 PyObject
* obj2
= 0 ;
22151 PyObject
* obj3
= 0 ;
22152 PyObject
* obj4
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22159 if (SWIG_arg_fail(1)) SWIG_fail
;
22160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22161 if (SWIG_arg_fail(2)) SWIG_fail
;
22163 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22164 if (SWIG_arg_fail(3)) SWIG_fail
;
22165 if (arg3
== NULL
) {
22166 SWIG_null_ref("wxDC");
22168 if (SWIG_arg_fail(3)) SWIG_fail
;
22172 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22176 arg5
= static_cast<int >(SWIG_As_int(obj4
));
22177 if (SWIG_arg_fail(5)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 Py_INCREF(Py_None
); resultobj
= Py_None
;
22194 static PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
= NULL
;
22196 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22197 wxWindow
*arg2
= (wxWindow
*) 0 ;
22198 SwigValueWrapper
<wxSplitterRenderParams
> result
;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self",(char *) "win", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) goto fail
;
22206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22207 if (SWIG_arg_fail(1)) SWIG_fail
;
22208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22209 if (SWIG_arg_fail(2)) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22218 wxSplitterRenderParams
* resultptr
;
22219 resultptr
= new wxSplitterRenderParams(static_cast<wxSplitterRenderParams
& >(result
));
22220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
22228 static PyObject
*_wrap_RendererNative_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
= NULL
;
22230 wxRendererNative
*result
;
22231 char *kwnames
[] = {
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_Get",kwnames
)) goto fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 wxRendererNative
&_result_ref
= wxRendererNative::Get();
22240 result
= (wxRendererNative
*) &_result_ref
;
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22253 static PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
= NULL
;
22255 wxRendererNative
*result
;
22256 char *kwnames
[] = {
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetGeneric",kwnames
)) goto fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
22265 result
= (wxRendererNative
*) &_result_ref
;
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22278 static PyObject
*_wrap_RendererNative_GetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
= NULL
;
22280 wxRendererNative
*result
;
22281 char *kwnames
[] = {
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetDefault",kwnames
)) goto fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
22290 result
= (wxRendererNative
*) &_result_ref
;
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22303 static PyObject
*_wrap_RendererNative_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
= NULL
;
22305 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22306 wxRendererNative
*result
;
22307 PyObject
* obj0
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "renderer", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) goto fail
;
22313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22314 if (SWIG_arg_fail(1)) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22329 static PyObject
*_wrap_RendererNative_GetVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
= NULL
;
22331 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22332 SwigValueWrapper
<wxRendererVersion
> result
;
22333 PyObject
* obj0
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_GetVersion",kwnames
,&obj0
)) goto fail
;
22339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22340 if (SWIG_arg_fail(1)) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 wxRendererVersion
* resultptr
;
22350 resultptr
= new wxRendererVersion(static_cast<wxRendererVersion
& >(result
));
22351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRendererVersion
, 1);
22359 static PyObject
* RendererNative_swigregister(PyObject
*, PyObject
*args
) {
22361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22362 SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative
, obj
);
22364 return Py_BuildValue((char *)"");
22366 static PyMethodDef SwigMethods
[] = {
22367 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22368 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22369 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22370 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22371 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22372 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
22373 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22374 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22375 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22376 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22377 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22378 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22379 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22380 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22381 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22382 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22383 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22384 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22385 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22386 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22387 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22388 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22389 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
22390 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22391 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22392 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22393 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22394 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22395 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22396 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
22397 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22398 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22399 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22400 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22401 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22402 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22403 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22404 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22405 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22406 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22407 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22408 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22409 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22410 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22411 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22412 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22413 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22414 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22415 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22416 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22417 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22418 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
22419 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22420 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22421 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22422 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22423 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22424 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22425 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22426 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22427 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22428 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22429 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22430 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
22431 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22432 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22433 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22434 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22435 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22436 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22437 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22438 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22439 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22440 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22441 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22442 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22443 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22444 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22445 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22446 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22447 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22448 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22449 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22450 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22451 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22452 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22453 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22454 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22455 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22456 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22457 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22458 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22459 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22460 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22461 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22462 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
22463 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22464 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
22465 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22466 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22467 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22468 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22469 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22470 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22471 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22472 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22473 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22474 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22475 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22476 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22477 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22478 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22479 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22480 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22481 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22482 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22483 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
22484 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22485 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22486 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22487 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22488 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22489 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22490 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22491 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
22492 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22493 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22494 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22495 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22496 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22497 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22498 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22499 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
22500 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22501 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22502 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22503 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22504 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22505 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22506 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22507 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22508 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22509 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22510 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22511 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22512 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22513 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22514 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
22515 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22516 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22517 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22518 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22519 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22520 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22521 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22522 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22523 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22524 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22525 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22526 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22527 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22528 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22529 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22530 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22531 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22532 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22533 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22534 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22535 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22536 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22537 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22538 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22539 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22540 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22541 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22542 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22543 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
22544 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22545 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22546 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22547 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22548 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22549 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22550 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22551 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22552 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22553 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22554 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22555 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22556 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22557 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
22558 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22559 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22560 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22561 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22562 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22563 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22564 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22565 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22566 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22567 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22568 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22569 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22570 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22571 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22572 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22573 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22574 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22575 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22576 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22577 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22578 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22579 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22580 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22581 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22582 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22583 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
22584 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22585 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22586 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22587 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22588 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22589 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22590 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22591 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22592 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
22593 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22594 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22595 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22596 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22597 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22598 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22599 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22600 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22601 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22602 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22603 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22604 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22605 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22606 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22607 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22608 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22609 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22610 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22611 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
22612 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22613 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22614 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22615 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22616 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22617 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22618 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22619 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22620 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22621 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22622 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22623 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22624 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22625 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22626 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22627 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22628 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22629 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22630 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22631 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22632 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22633 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22634 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22635 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22636 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22637 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22638 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22639 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22640 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22641 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22642 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22643 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22644 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22645 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22646 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22647 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22648 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22649 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22650 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22651 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22652 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22653 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
22654 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22655 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22656 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22657 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22658 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22659 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22660 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22661 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
22662 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22663 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22664 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22665 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22666 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22667 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22668 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
22669 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22670 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22671 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22672 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22673 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22674 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22675 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22676 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22677 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22678 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22679 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22680 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22681 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22682 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22683 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22684 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22685 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22686 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22687 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22688 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22689 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22690 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
22691 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22692 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
22693 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22694 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22695 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22696 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22697 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22698 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22699 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22700 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
22701 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22702 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22703 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22704 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22705 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22706 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22707 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22708 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22709 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22710 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22711 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22712 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22713 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22714 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22715 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22716 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22717 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22718 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22719 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22720 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22721 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22722 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22723 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22724 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22725 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22726 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22727 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22728 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22729 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22730 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22731 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22732 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22733 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22734 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22735 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22736 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22737 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22738 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22739 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22740 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22741 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22742 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22743 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22744 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22745 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22746 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22747 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22748 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22749 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22750 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22751 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22752 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22753 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22754 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22755 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22756 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22757 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22758 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22759 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22760 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22761 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22762 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22763 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22764 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22765 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22766 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22767 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22768 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22769 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22770 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22771 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22772 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22773 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22774 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22775 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22776 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22777 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22778 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22779 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22780 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22781 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22782 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22783 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22784 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22785 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22786 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22787 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22788 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22789 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22790 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22791 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22792 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22793 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22794 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22795 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22796 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22797 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22798 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22799 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22800 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22801 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22802 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22803 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22804 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22805 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22806 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22807 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22808 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22809 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22810 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22811 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22812 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22813 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22814 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22815 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22816 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22817 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22818 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22819 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22820 { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22821 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22822 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22823 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22824 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22825 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22826 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22827 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
22828 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22829 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22830 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22831 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
22832 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
22833 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22834 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22835 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
22836 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22837 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
22838 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22839 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22840 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22841 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22842 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
22843 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22844 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
22845 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22846 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
22847 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22848 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
22849 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22850 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
22851 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22852 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22853 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22854 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22855 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22856 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
22857 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22858 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22859 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22860 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22861 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22862 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22863 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22864 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22865 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
22866 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22867 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22868 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
22869 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22870 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
22871 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22872 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22873 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22874 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22875 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22876 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22877 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22878 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22879 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22880 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22881 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22882 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22883 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22884 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
22885 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22886 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22887 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22888 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22889 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
22890 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22891 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22892 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22893 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22894 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
22895 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22896 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22897 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22898 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22899 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22900 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22901 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
22902 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22903 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22904 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22905 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22906 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
22907 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22908 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22909 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22910 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22911 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22912 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22913 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22914 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22915 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22916 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22917 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22918 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22919 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22920 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22921 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
22922 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22923 { (char *)"delete_SplitterRenderParams", (PyCFunction
) _wrap_delete_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22924 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
) _wrap_SplitterRenderParams_widthSash_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22925 { (char *)"SplitterRenderParams_border_get", (PyCFunction
) _wrap_SplitterRenderParams_border_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22926 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
) _wrap_SplitterRenderParams_isHotSensitive_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22927 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
22928 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22929 { (char *)"delete_RendererVersion", (PyCFunction
) _wrap_delete_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22930 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22931 { (char *)"RendererVersion_version_get", (PyCFunction
) _wrap_RendererVersion_version_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22932 { (char *)"RendererVersion_age_get", (PyCFunction
) _wrap_RendererVersion_age_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22933 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
22934 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22935 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22936 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22937 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22938 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22939 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22940 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22941 { (char *)"RendererNative_Get", (PyCFunction
) _wrap_RendererNative_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22942 { (char *)"RendererNative_GetGeneric", (PyCFunction
) _wrap_RendererNative_GetGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22943 { (char *)"RendererNative_GetDefault", (PyCFunction
) _wrap_RendererNative_GetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22944 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22945 { (char *)"RendererNative_GetVersion", (PyCFunction
) _wrap_RendererNative_GetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22946 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
22947 { NULL
, NULL
, 0, NULL
}
22951 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
22953 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
22954 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
22956 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
22957 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22959 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
22960 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
22962 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
22963 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
22965 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
22966 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
22968 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
22969 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
22971 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
22972 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
22974 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
22975 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
22977 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
22978 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
22980 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
22981 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
22983 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
22984 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
22986 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
22987 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
22989 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
22990 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
22992 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
22993 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
22995 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
22996 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
22998 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
22999 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
23001 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
23002 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
23004 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
23005 return (void *)((wxDC
*) ((wxClientDC
*) x
));
23007 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
23008 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
23010 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
23011 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
23013 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
23014 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
23016 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
23017 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
23019 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23020 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23022 static void *_p_wxPenTo_p_wxObject(void *x
) {
23023 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
23025 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
23026 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
23028 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23029 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23031 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23032 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23034 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
23035 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
23037 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23040 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23041 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23043 static void *_p_wxIconTo_p_wxObject(void *x
) {
23044 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
23046 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23047 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23049 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23050 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23052 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23053 return (void *)((wxObject
*) ((wxSizer
*) x
));
23055 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23056 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23058 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23059 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23061 static void *_p_wxPenListTo_p_wxObject(void *x
) {
23062 return (void *)((wxObject
*) ((wxPenList
*) x
));
23064 static void *_p_wxEventTo_p_wxObject(void *x
) {
23065 return (void *)((wxObject
*) ((wxEvent
*) x
));
23067 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23068 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23070 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23071 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23073 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23074 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23076 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23077 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23079 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23080 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23082 static void *_p_wxDCTo_p_wxObject(void *x
) {
23083 return (void *)((wxObject
*) ((wxDC
*) x
));
23085 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23086 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23088 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23089 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23091 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23092 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23094 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23095 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23097 static void *_p_wxControlTo_p_wxObject(void *x
) {
23098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23100 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23101 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23103 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
23104 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
23106 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23107 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23109 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
23110 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
23112 static void *_p_wxRegionTo_p_wxObject(void *x
) {
23113 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
23115 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23116 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23118 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
23119 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
23121 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
23122 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
23124 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
23125 return (void *)((wxObject
*) ((wxEffects
*) x
));
23127 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23128 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23130 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23133 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
23134 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
23136 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23137 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23139 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23140 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23142 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
23143 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
23145 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23146 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23148 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23149 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23151 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23152 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23154 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23155 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23157 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23158 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23160 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23161 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23163 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23164 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23166 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23167 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23169 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23170 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23172 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23173 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23175 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23176 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23178 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23179 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23181 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23182 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23184 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23185 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23187 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23188 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23190 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23191 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23193 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23194 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23196 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
23197 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
23199 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23200 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23202 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23203 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23205 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23206 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23208 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23209 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23211 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
23212 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
23214 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
23215 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
23217 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
23218 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
23220 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
23221 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
23223 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
23224 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
23226 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23227 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23229 static void *_p_wxImageTo_p_wxObject(void *x
) {
23230 return (void *)((wxObject
*) ((wxImage
*) x
));
23232 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23233 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23235 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
23236 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
23238 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
23239 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
23241 static void *_p_wxImageListTo_p_wxObject(void *x
) {
23242 return (void *)((wxObject
*) ((wxImageList
*) x
));
23244 static void *_p_wxCursorTo_p_wxObject(void *x
) {
23245 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
23247 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
23248 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
23250 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
23251 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
23253 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23256 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23257 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23259 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23260 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23262 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23263 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23265 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23266 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23268 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23271 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
23272 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
23274 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
23275 return (void *)((wxObject
*) ((wxBrushList
*) x
));
23277 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
23278 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
23280 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
23281 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
23283 static void *_p_wxMaskTo_p_wxObject(void *x
) {
23284 return (void *)((wxObject
*) ((wxMask
*) x
));
23286 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
23287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23289 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
23290 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
23292 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
23293 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
23295 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
23296 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
23298 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
23299 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
23301 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
23302 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
23304 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
23305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23307 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
23308 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
23310 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
23311 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
23313 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
23314 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
23316 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
23317 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23319 static void *_p_wxFontTo_p_wxObject(void *x
) {
23320 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
23322 static void *_p_wxBrushTo_p_wxObject(void *x
) {
23323 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
23325 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
23326 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
23328 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
23329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23331 static void *_p_wxColourTo_p_wxObject(void *x
) {
23332 return (void *)((wxObject
*) ((wxColour
*) x
));
23334 static void *_p_wxFontListTo_p_wxObject(void *x
) {
23335 return (void *)((wxObject
*) ((wxFontList
*) x
));
23337 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
23338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
23340 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
23341 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
23343 static void *_p_wxControlTo_p_wxWindow(void *x
) {
23344 return (void *)((wxWindow
*) ((wxControl
*) x
));
23346 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
23347 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
23349 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
23350 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
23352 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
23353 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, 0};
23354 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
23355 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
23356 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
23357 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
23358 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
23359 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
23360 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, 0};
23361 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, 0};
23362 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, 0};
23363 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, 0};
23364 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, 0};
23365 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
23366 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, 0};
23367 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
23368 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
23369 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, 0};
23370 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
23371 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, 0};
23372 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, 0};
23373 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
23374 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, 0};
23375 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, 0};
23376 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, 0};
23377 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
23378 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
23379 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, 0};
23380 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, 0};
23381 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, 0};
23382 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, 0};
23383 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, 0};
23384 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, 0};
23385 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
23386 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, 0};
23387 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, 0};
23388 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, 0};
23389 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, 0};
23390 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, 0};
23391 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
23392 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
23393 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
23394 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
23395 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
23396 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
23397 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
23398 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
23399 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
23400 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
23401 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
23402 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
23403 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0};
23404 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
23405 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
23406 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
23407 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
23408 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
23409 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
23410 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
23411 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
23412 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
23413 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
23414 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
23415 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
23416 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
23417 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
23418 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
23419 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
23420 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
23421 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
23422 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
23423 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
23424 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
23425 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
23426 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
23427 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
23428 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
23429 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
23430 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
23431 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
23432 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
23433 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
23434 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
23435 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
23436 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
23437 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
23438 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0};
23439 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
23440 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
23441 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
23442 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
23443 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
23444 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
23445 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
23446 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
23447 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
23448 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
23449 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
23450 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
23451 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
23452 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
23453 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
23454 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
23455 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
23456 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
23457 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
23458 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
23459 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
23460 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
23461 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
23462 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
23463 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
23464 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
23465 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
23466 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, 0};
23467 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, 0};
23468 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
23469 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, 0};
23470 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, 0};
23471 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
23472 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, 0};
23473 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
23474 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, 0};
23475 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, 0};
23476 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
23477 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
23478 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, 0};
23479 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, 0};
23480 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, 0};
23481 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, 0};
23482 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
23483 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, 0};
23484 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
23485 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
23486 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, 0};
23487 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
23488 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
23489 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
23491 static swig_type_info
*swig_type_initial
[] = {
23494 &_swigt__p_form_ops_t
,
23496 &_swigt__p_unsigned_char
,
23497 &_swigt__p_unsigned_int
,
23498 &_swigt__p_unsigned_long
,
23499 &_swigt__p_wxANIHandler
,
23500 &_swigt__p_wxAcceleratorTable
,
23501 &_swigt__p_wxActivateEvent
,
23502 &_swigt__p_wxBMPHandler
,
23503 &_swigt__p_wxBitmap
,
23504 &_swigt__p_wxBoxSizer
,
23505 &_swigt__p_wxBrush
,
23506 &_swigt__p_wxBrushList
,
23507 &_swigt__p_wxBufferedDC
,
23508 &_swigt__p_wxBufferedPaintDC
,
23509 &_swigt__p_wxCURHandler
,
23510 &_swigt__p_wxChildFocusEvent
,
23511 &_swigt__p_wxClientDC
,
23512 &_swigt__p_wxCloseEvent
,
23513 &_swigt__p_wxColour
,
23514 &_swigt__p_wxColourDatabase
,
23515 &_swigt__p_wxCommandEvent
,
23516 &_swigt__p_wxContextMenuEvent
,
23517 &_swigt__p_wxControl
,
23518 &_swigt__p_wxControlWithItems
,
23519 &_swigt__p_wxCursor
,
23522 &_swigt__p_wxDateEvent
,
23523 &_swigt__p_wxDisplayChangedEvent
,
23524 &_swigt__p_wxDropFilesEvent
,
23525 &_swigt__p_wxDuplexMode
,
23526 &_swigt__p_wxEffects
,
23527 &_swigt__p_wxEncodingConverter
,
23528 &_swigt__p_wxEraseEvent
,
23529 &_swigt__p_wxEvent
,
23530 &_swigt__p_wxEvtHandler
,
23531 &_swigt__p_wxFSFile
,
23532 &_swigt__p_wxFileSystem
,
23533 &_swigt__p_wxFlexGridSizer
,
23534 &_swigt__p_wxFocusEvent
,
23536 &_swigt__p_wxFontList
,
23537 &_swigt__p_wxFontMapper
,
23538 &_swigt__p_wxGBSizerItem
,
23539 &_swigt__p_wxGDIObject
,
23540 &_swigt__p_wxGIFHandler
,
23541 &_swigt__p_wxGridBagSizer
,
23542 &_swigt__p_wxGridSizer
,
23543 &_swigt__p_wxICOHandler
,
23545 &_swigt__p_wxIconBundle
,
23546 &_swigt__p_wxIconLocation
,
23547 &_swigt__p_wxIconizeEvent
,
23548 &_swigt__p_wxIdleEvent
,
23549 &_swigt__p_wxImage
,
23550 &_swigt__p_wxImageHandler
,
23551 &_swigt__p_wxImageList
,
23552 &_swigt__p_wxIndividualLayoutConstraint
,
23553 &_swigt__p_wxInitDialogEvent
,
23554 &_swigt__p_wxJPEGHandler
,
23555 &_swigt__p_wxKeyEvent
,
23556 &_swigt__p_wxLanguageInfo
,
23557 &_swigt__p_wxLayoutConstraints
,
23558 &_swigt__p_wxLocale
,
23560 &_swigt__p_wxMaximizeEvent
,
23561 &_swigt__p_wxMemoryDC
,
23563 &_swigt__p_wxMenuBar
,
23564 &_swigt__p_wxMenuEvent
,
23565 &_swigt__p_wxMenuItem
,
23566 &_swigt__p_wxMetaFile
,
23567 &_swigt__p_wxMetaFileDC
,
23568 &_swigt__p_wxMirrorDC
,
23569 &_swigt__p_wxMouseCaptureChangedEvent
,
23570 &_swigt__p_wxMouseEvent
,
23571 &_swigt__p_wxMoveEvent
,
23572 &_swigt__p_wxNativeEncodingInfo
,
23573 &_swigt__p_wxNativeFontInfo
,
23574 &_swigt__p_wxNavigationKeyEvent
,
23575 &_swigt__p_wxNcPaintEvent
,
23576 &_swigt__p_wxNotifyEvent
,
23577 &_swigt__p_wxObject
,
23578 &_swigt__p_wxPCXHandler
,
23579 &_swigt__p_wxPNGHandler
,
23580 &_swigt__p_wxPNMHandler
,
23581 &_swigt__p_wxPaintDC
,
23582 &_swigt__p_wxPaintEvent
,
23583 &_swigt__p_wxPalette
,
23584 &_swigt__p_wxPaletteChangedEvent
,
23585 &_swigt__p_wxPaperSize
,
23587 &_swigt__p_wxPenList
,
23588 &_swigt__p_wxPoint
,
23589 &_swigt__p_wxPostScriptDC
,
23590 &_swigt__p_wxPrintData
,
23591 &_swigt__p_wxPrinterDC
,
23592 &_swigt__p_wxPyApp
,
23593 &_swigt__p_wxPyCommandEvent
,
23594 &_swigt__p_wxPyEvent
,
23595 &_swigt__p_wxPyFontEnumerator
,
23596 &_swigt__p_wxPyImageHandler
,
23597 &_swigt__p_wxPySizer
,
23598 &_swigt__p_wxPyValidator
,
23599 &_swigt__p_wxQueryNewPaletteEvent
,
23601 &_swigt__p_wxRegion
,
23602 &_swigt__p_wxRegionIterator
,
23603 &_swigt__p_wxRendererNative
,
23604 &_swigt__p_wxRendererVersion
,
23605 &_swigt__p_wxScreenDC
,
23606 &_swigt__p_wxScrollEvent
,
23607 &_swigt__p_wxScrollWinEvent
,
23608 &_swigt__p_wxSetCursorEvent
,
23609 &_swigt__p_wxShowEvent
,
23611 &_swigt__p_wxSizeEvent
,
23612 &_swigt__p_wxSizer
,
23613 &_swigt__p_wxSizerItem
,
23614 &_swigt__p_wxSplitterRenderParams
,
23615 &_swigt__p_wxStaticBoxSizer
,
23616 &_swigt__p_wxStdDialogButtonSizer
,
23617 &_swigt__p_wxString
,
23618 &_swigt__p_wxSysColourChangedEvent
,
23619 &_swigt__p_wxTIFFHandler
,
23620 &_swigt__p_wxUpdateUIEvent
,
23621 &_swigt__p_wxValidator
,
23622 &_swigt__p_wxWindow
,
23623 &_swigt__p_wxWindowCreateEvent
,
23624 &_swigt__p_wxWindowDC
,
23625 &_swigt__p_wxWindowDestroyEvent
,
23626 &_swigt__p_wxXPMHandler
,
23627 &_swigt__ptrdiff_t
,
23628 &_swigt__std__ptrdiff_t
,
23629 &_swigt__unsigned_int
,
23632 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
23633 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
23634 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
23635 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
23636 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
23637 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
23638 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
23639 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
23640 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
23641 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
23642 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}};
23643 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
23644 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
23645 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
23646 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
23647 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
23648 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}};
23649 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
23650 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
23651 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
23652 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
23653 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
23654 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
23655 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
23656 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}};
23657 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
23658 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
23659 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
23660 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
23661 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
23662 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
23663 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
23664 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
23665 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}};
23666 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
23667 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
23668 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
23669 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
23670 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
23671 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
23672 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
23673 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
23674 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
23675 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
23676 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
23677 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
23678 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
23679 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
23680 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
23681 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
23682 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
23683 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
23684 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
23685 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
23686 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
23687 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
23688 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23689 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23690 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23691 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23692 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
23693 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
23694 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
23695 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
23696 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23697 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23698 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
23699 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
23700 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
23701 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
23702 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
23703 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
23704 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
23705 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
23706 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
23707 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
23708 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
23709 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
23710 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
23711 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
23712 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
23713 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
23714 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
23715 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
23716 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
23717 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
23718 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
23719 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
23720 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
23721 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
23722 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
23723 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
23724 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
23725 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
23726 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23727 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23728 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23729 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
23730 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
23731 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
23732 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
23733 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
23734 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
23735 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
23736 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
23737 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
23738 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
23739 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
23740 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
23741 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
23742 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
23743 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
23744 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
23745 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}};
23746 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
23747 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
23748 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
23749 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
23750 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
23751 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
23752 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
23753 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
23754 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
23755 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
23756 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
23757 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
23758 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
23759 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
23760 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
23761 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
23762 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
23763 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
23764 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
23765 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}};
23766 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
23767 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
23768 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
23769 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
23771 static swig_cast_info
*swig_cast_initial
[] = {
23774 _swigc__p_form_ops_t
,
23776 _swigc__p_unsigned_char
,
23777 _swigc__p_unsigned_int
,
23778 _swigc__p_unsigned_long
,
23779 _swigc__p_wxANIHandler
,
23780 _swigc__p_wxAcceleratorTable
,
23781 _swigc__p_wxActivateEvent
,
23782 _swigc__p_wxBMPHandler
,
23783 _swigc__p_wxBitmap
,
23784 _swigc__p_wxBoxSizer
,
23786 _swigc__p_wxBrushList
,
23787 _swigc__p_wxBufferedDC
,
23788 _swigc__p_wxBufferedPaintDC
,
23789 _swigc__p_wxCURHandler
,
23790 _swigc__p_wxChildFocusEvent
,
23791 _swigc__p_wxClientDC
,
23792 _swigc__p_wxCloseEvent
,
23793 _swigc__p_wxColour
,
23794 _swigc__p_wxColourDatabase
,
23795 _swigc__p_wxCommandEvent
,
23796 _swigc__p_wxContextMenuEvent
,
23797 _swigc__p_wxControl
,
23798 _swigc__p_wxControlWithItems
,
23799 _swigc__p_wxCursor
,
23802 _swigc__p_wxDateEvent
,
23803 _swigc__p_wxDisplayChangedEvent
,
23804 _swigc__p_wxDropFilesEvent
,
23805 _swigc__p_wxDuplexMode
,
23806 _swigc__p_wxEffects
,
23807 _swigc__p_wxEncodingConverter
,
23808 _swigc__p_wxEraseEvent
,
23810 _swigc__p_wxEvtHandler
,
23811 _swigc__p_wxFSFile
,
23812 _swigc__p_wxFileSystem
,
23813 _swigc__p_wxFlexGridSizer
,
23814 _swigc__p_wxFocusEvent
,
23816 _swigc__p_wxFontList
,
23817 _swigc__p_wxFontMapper
,
23818 _swigc__p_wxGBSizerItem
,
23819 _swigc__p_wxGDIObject
,
23820 _swigc__p_wxGIFHandler
,
23821 _swigc__p_wxGridBagSizer
,
23822 _swigc__p_wxGridSizer
,
23823 _swigc__p_wxICOHandler
,
23825 _swigc__p_wxIconBundle
,
23826 _swigc__p_wxIconLocation
,
23827 _swigc__p_wxIconizeEvent
,
23828 _swigc__p_wxIdleEvent
,
23830 _swigc__p_wxImageHandler
,
23831 _swigc__p_wxImageList
,
23832 _swigc__p_wxIndividualLayoutConstraint
,
23833 _swigc__p_wxInitDialogEvent
,
23834 _swigc__p_wxJPEGHandler
,
23835 _swigc__p_wxKeyEvent
,
23836 _swigc__p_wxLanguageInfo
,
23837 _swigc__p_wxLayoutConstraints
,
23838 _swigc__p_wxLocale
,
23840 _swigc__p_wxMaximizeEvent
,
23841 _swigc__p_wxMemoryDC
,
23843 _swigc__p_wxMenuBar
,
23844 _swigc__p_wxMenuEvent
,
23845 _swigc__p_wxMenuItem
,
23846 _swigc__p_wxMetaFile
,
23847 _swigc__p_wxMetaFileDC
,
23848 _swigc__p_wxMirrorDC
,
23849 _swigc__p_wxMouseCaptureChangedEvent
,
23850 _swigc__p_wxMouseEvent
,
23851 _swigc__p_wxMoveEvent
,
23852 _swigc__p_wxNativeEncodingInfo
,
23853 _swigc__p_wxNativeFontInfo
,
23854 _swigc__p_wxNavigationKeyEvent
,
23855 _swigc__p_wxNcPaintEvent
,
23856 _swigc__p_wxNotifyEvent
,
23857 _swigc__p_wxObject
,
23858 _swigc__p_wxPCXHandler
,
23859 _swigc__p_wxPNGHandler
,
23860 _swigc__p_wxPNMHandler
,
23861 _swigc__p_wxPaintDC
,
23862 _swigc__p_wxPaintEvent
,
23863 _swigc__p_wxPalette
,
23864 _swigc__p_wxPaletteChangedEvent
,
23865 _swigc__p_wxPaperSize
,
23867 _swigc__p_wxPenList
,
23869 _swigc__p_wxPostScriptDC
,
23870 _swigc__p_wxPrintData
,
23871 _swigc__p_wxPrinterDC
,
23873 _swigc__p_wxPyCommandEvent
,
23874 _swigc__p_wxPyEvent
,
23875 _swigc__p_wxPyFontEnumerator
,
23876 _swigc__p_wxPyImageHandler
,
23877 _swigc__p_wxPySizer
,
23878 _swigc__p_wxPyValidator
,
23879 _swigc__p_wxQueryNewPaletteEvent
,
23881 _swigc__p_wxRegion
,
23882 _swigc__p_wxRegionIterator
,
23883 _swigc__p_wxRendererNative
,
23884 _swigc__p_wxRendererVersion
,
23885 _swigc__p_wxScreenDC
,
23886 _swigc__p_wxScrollEvent
,
23887 _swigc__p_wxScrollWinEvent
,
23888 _swigc__p_wxSetCursorEvent
,
23889 _swigc__p_wxShowEvent
,
23891 _swigc__p_wxSizeEvent
,
23893 _swigc__p_wxSizerItem
,
23894 _swigc__p_wxSplitterRenderParams
,
23895 _swigc__p_wxStaticBoxSizer
,
23896 _swigc__p_wxStdDialogButtonSizer
,
23897 _swigc__p_wxString
,
23898 _swigc__p_wxSysColourChangedEvent
,
23899 _swigc__p_wxTIFFHandler
,
23900 _swigc__p_wxUpdateUIEvent
,
23901 _swigc__p_wxValidator
,
23902 _swigc__p_wxWindow
,
23903 _swigc__p_wxWindowCreateEvent
,
23904 _swigc__p_wxWindowDC
,
23905 _swigc__p_wxWindowDestroyEvent
,
23906 _swigc__p_wxXPMHandler
,
23908 _swigc__std__ptrdiff_t
,
23909 _swigc__unsigned_int
,
23913 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23915 static swig_const_info swig_const_table
[] = {
23916 {0, 0, 0, 0.0, 0, 0}};
23921 /*************************************************************************
23922 * Type initialization:
23923 * This problem is tough by the requirement that no dynamic
23924 * memory is used. Also, since swig_type_info structures store pointers to
23925 * swig_cast_info structures and swig_cast_info structures store pointers back
23926 * to swig_type_info structures, we need some lookup code at initialization.
23927 * The idea is that swig generates all the structures that are needed.
23928 * The runtime then collects these partially filled structures.
23929 * The SWIG_InitializeModule function takes these initial arrays out of
23930 * swig_module, and does all the lookup, filling in the swig_module.types
23931 * array with the correct data and linking the correct swig_cast_info
23932 * structures together.
23934 * The generated swig_type_info structures are assigned staticly to an initial
23935 * array. We just loop though that array, and handle each type individually.
23936 * First we lookup if this type has been already loaded, and if so, use the
23937 * loaded structure instead of the generated one. Then we have to fill in the
23938 * cast linked list. The cast data is initially stored in something like a
23939 * two-dimensional array. Each row corresponds to a type (there are the same
23940 * number of rows as there are in the swig_type_initial array). Each entry in
23941 * a column is one of the swig_cast_info structures for that type.
23942 * The cast_initial array is actually an array of arrays, because each row has
23943 * a variable number of columns. So to actually build the cast linked list,
23944 * we find the array of casts associated with the type, and loop through it
23945 * adding the casts to the list. The one last trick we need to do is making
23946 * sure the type pointer in the swig_cast_info struct is correct.
23948 * First off, we lookup the cast->type name to see if it is already loaded.
23949 * There are three cases to handle:
23950 * 1) If the cast->type has already been loaded AND the type we are adding
23951 * casting info to has not been loaded (it is in this module), THEN we
23952 * replace the cast->type pointer with the type pointer that has already
23954 * 2) If BOTH types (the one we are adding casting info to, and the
23955 * cast->type) are loaded, THEN the cast info has already been loaded by
23956 * the previous module so we just ignore it.
23957 * 3) Finally, if cast->type has not already been loaded, then we add that
23958 * swig_cast_info to the linked list (because the cast->type) pointer will
23970 #define SWIGRUNTIME_DEBUG
23974 SWIG_InitializeModule(void *clientdata
) {
23976 swig_module_info
*module_head
;
23977 static int init_run
= 0;
23979 clientdata
= clientdata
;
23981 if (init_run
) return;
23984 /* Initialize the swig_module */
23985 swig_module
.type_initial
= swig_type_initial
;
23986 swig_module
.cast_initial
= swig_cast_initial
;
23988 /* Try and load any already created modules */
23989 module_head
= SWIG_GetModule(clientdata
);
23991 swig_module
.next
= module_head
->next
;
23992 module_head
->next
= &swig_module
;
23994 /* This is the first module loaded */
23995 swig_module
.next
= &swig_module
;
23996 SWIG_SetModule(clientdata
, &swig_module
);
23999 /* Now work on filling in swig_module.types */
24000 #ifdef SWIGRUNTIME_DEBUG
24001 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
24003 for (i
= 0; i
< swig_module
.size
; ++i
) {
24004 swig_type_info
*type
= 0;
24005 swig_type_info
*ret
;
24006 swig_cast_info
*cast
;
24008 #ifdef SWIGRUNTIME_DEBUG
24009 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
24012 /* if there is another module already loaded */
24013 if (swig_module
.next
!= &swig_module
) {
24014 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
24017 /* Overwrite clientdata field */
24018 #ifdef SWIGRUNTIME_DEBUG
24019 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
24021 if (swig_module
.type_initial
[i
]->clientdata
) {
24022 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
24023 #ifdef SWIGRUNTIME_DEBUG
24024 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
24028 type
= swig_module
.type_initial
[i
];
24031 /* Insert casting types */
24032 cast
= swig_module
.cast_initial
[i
];
24033 while (cast
->type
) {
24034 /* Don't need to add information already in the list */
24036 #ifdef SWIGRUNTIME_DEBUG
24037 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
24039 if (swig_module
.next
!= &swig_module
) {
24040 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
24041 #ifdef SWIGRUNTIME_DEBUG
24042 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
24046 if (type
== swig_module
.type_initial
[i
]) {
24047 #ifdef SWIGRUNTIME_DEBUG
24048 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
24053 /* Check for casting already in the list */
24054 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
24055 #ifdef SWIGRUNTIME_DEBUG
24056 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
24058 if (!ocast
) ret
= 0;
24063 #ifdef SWIGRUNTIME_DEBUG
24064 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
24067 type
->cast
->prev
= cast
;
24068 cast
->next
= type
->cast
;
24074 /* Set entry in modules->types array equal to the type */
24075 swig_module
.types
[i
] = type
;
24077 swig_module
.types
[i
] = 0;
24079 #ifdef SWIGRUNTIME_DEBUG
24080 printf("**** SWIG_InitializeModule: Cast List ******\n");
24081 for (i
= 0; i
< swig_module
.size
; ++i
) {
24083 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
24084 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
24085 while (cast
->type
) {
24086 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
24090 printf("---- Total casts: %d\n",j
);
24092 printf("**** SWIG_InitializeModule: Cast List ******\n");
24096 /* This function will propagate the clientdata field of type to
24097 * any new swig_type_info structures that have been added into the list
24098 * of equivalent types. It is like calling
24099 * SWIG_TypeClientData(type, clientdata) a second time.
24102 SWIG_PropagateClientData(void) {
24104 swig_cast_info
*equiv
;
24105 static int init_run
= 0;
24107 if (init_run
) return;
24110 for (i
= 0; i
< swig_module
.size
; i
++) {
24111 if (swig_module
.types
[i
]->clientdata
) {
24112 equiv
= swig_module
.types
[i
]->cast
;
24114 if (!equiv
->converter
) {
24115 if (equiv
->type
&& !equiv
->type
->clientdata
)
24116 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
24118 equiv
= equiv
->next
;
24138 /* Python-specific SWIG API */
24139 #define SWIG_newvarlink() SWIG_Python_newvarlink()
24140 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
24141 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
24143 /* -----------------------------------------------------------------------------
24144 * global variable support code.
24145 * ----------------------------------------------------------------------------- */
24147 typedef struct swig_globalvar
{
24148 char *name
; /* Name of global variable */
24149 PyObject
*(*get_attr
)(void); /* Return the current value */
24150 int (*set_attr
)(PyObject
*); /* Set the value */
24151 struct swig_globalvar
*next
;
24154 typedef struct swig_varlinkobject
{
24156 swig_globalvar
*vars
;
24157 } swig_varlinkobject
;
24159 SWIGINTERN PyObject
*
24160 swig_varlink_repr(swig_varlinkobject
*v
) {
24162 return PyString_FromString("<Swig global variables>");
24166 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
24167 swig_globalvar
*var
;
24169 fprintf(fp
,"Swig global variables { ");
24170 for (var
= v
->vars
; var
; var
=var
->next
) {
24171 fprintf(fp
,"%s", var
->name
);
24172 if (var
->next
) fprintf(fp
,", ");
24174 fprintf(fp
," }\n");
24178 SWIGINTERN PyObject
*
24179 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
24180 swig_globalvar
*var
= v
->vars
;
24182 if (strcmp(var
->name
,n
) == 0) {
24183 return (*var
->get_attr
)();
24187 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
24192 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
24193 swig_globalvar
*var
= v
->vars
;
24195 if (strcmp(var
->name
,n
) == 0) {
24196 return (*var
->set_attr
)(p
);
24200 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
24204 SWIGINTERN PyTypeObject
*
24205 swig_varlink_type(void) {
24206 static char varlink__doc__
[] = "Swig var link object";
24207 static PyTypeObject varlink_type
24208 #if !defined(__cplusplus)
24210 static int type_init
= 0;
24215 PyObject_HEAD_INIT(&PyType_Type
)
24216 0, /* Number of items in variable part (ob_size) */
24217 (char *)"swigvarlink", /* Type name (tp_name) */
24218 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
24219 0, /* Itemsize (tp_itemsize) */
24220 0, /* Deallocator (tp_dealloc) */
24221 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
24222 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
24223 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
24224 0, /* tp_compare */
24225 (reprfunc
) swig_varlink_repr
, /* tp_repr */
24226 0, /* tp_as_number */
24227 0, /* tp_as_sequence */
24228 0, /* tp_as_mapping */
24232 0, /* tp_getattro */
24233 0, /* tp_setattro */
24234 0, /* tp_as_buffer */
24236 varlink__doc__
, /* tp_doc */
24237 #if PY_VERSION_HEX >= 0x02000000
24238 0, /* tp_traverse */
24241 #if PY_VERSION_HEX >= 0x02010000
24242 0, /* tp_richcompare */
24243 0, /* tp_weaklistoffset */
24245 #if PY_VERSION_HEX >= 0x02020000
24246 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
24248 #if PY_VERSION_HEX >= 0x02030000
24251 #ifdef COUNT_ALLOCS
24252 0,0,0,0 /* tp_alloc -> tp_next */
24255 #if !defined(__cplusplus)
24256 varlink_type
= tmp
;
24260 return &varlink_type
;
24263 /* Create a variable linking object for use later */
24264 SWIGINTERN PyObject
*
24265 SWIG_Python_newvarlink(void) {
24266 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
24270 return ((PyObject
*) result
);
24274 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
24275 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
24276 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
24278 size_t size
= strlen(name
)+1;
24279 gv
->name
= (char *)malloc(size
);
24281 strncpy(gv
->name
,name
,size
);
24282 gv
->get_attr
= get_attr
;
24283 gv
->set_attr
= set_attr
;
24284 gv
->next
= v
->vars
;
24290 /* -----------------------------------------------------------------------------
24291 * constants/methods manipulation
24292 * ----------------------------------------------------------------------------- */
24294 /* Install Constants */
24296 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
24299 for (i
= 0; constants
[i
].type
; ++i
) {
24300 switch(constants
[i
].type
) {
24302 obj
= PyInt_FromLong(constants
[i
].lvalue
);
24304 case SWIG_PY_FLOAT
:
24305 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
24307 case SWIG_PY_STRING
:
24308 if (constants
[i
].pvalue
) {
24309 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
24311 Py_INCREF(Py_None
);
24315 case SWIG_PY_POINTER
:
24316 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
24318 case SWIG_PY_BINARY
:
24319 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
24326 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
24332 /* -----------------------------------------------------------------------------*/
24333 /* Fix SwigMethods to carry the callback ptrs when needed */
24334 /* -----------------------------------------------------------------------------*/
24337 SWIG_Python_FixMethods(PyMethodDef
*methods
,
24338 swig_const_info
*const_table
,
24339 swig_type_info
**types
,
24340 swig_type_info
**types_initial
) {
24342 for (i
= 0; methods
[i
].ml_name
; ++i
) {
24343 char *c
= methods
[i
].ml_doc
;
24344 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
24346 swig_const_info
*ci
= 0;
24347 char *name
= c
+ 10;
24348 for (j
= 0; const_table
[j
].type
; ++j
) {
24349 if (strncmp(const_table
[j
].name
, name
,
24350 strlen(const_table
[j
].name
)) == 0) {
24351 ci
= &(const_table
[j
]);
24356 size_t shift
= (ci
->ptype
) - types
;
24357 swig_type_info
*ty
= types_initial
[shift
];
24358 size_t ldoc
= (c
- methods
[i
].ml_doc
);
24359 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
24360 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
24363 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
24365 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
24367 strncpy(buff
, "swig_ptr: ", 10);
24369 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
24370 methods
[i
].ml_doc
= ndoc
;
24378 /* -----------------------------------------------------------------------------*
24379 * Initialize type list
24380 * -----------------------------------------------------------------------------*/
24386 /* -----------------------------------------------------------------------------*
24387 * Partial Init method
24388 * -----------------------------------------------------------------------------*/
24393 SWIGEXPORT
void SWIG_init(void) {
24394 static PyObject
*SWIG_globals
= 0;
24396 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24398 /* Fix SwigMethods to carry the callback ptrs when needed */
24399 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
24401 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24402 d
= PyModule_GetDict(m
);
24404 SWIG_InitializeModule(0);
24405 SWIG_InstallConstants(d
,swig_const_table
);
24408 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int(static_cast<int >(wxOutRegion
)));
24411 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int(static_cast<int >(wxPartRegion
)));
24414 PyDict_SetItemString(d
,"InRegion", SWIG_From_int(static_cast<int >(wxInRegion
)));
24417 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DEFAULT
)));
24420 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DECORATIVE
)));
24423 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_ROMAN
)));
24426 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SCRIPT
)));
24429 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SWISS
)));
24432 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MODERN
)));
24435 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_TELETYPE
)));
24438 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MAX
)));
24441 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_UNKNOWN
)));
24444 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int(static_cast<int >(wxFONTSTYLE_NORMAL
)));
24447 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int(static_cast<int >(wxFONTSTYLE_ITALIC
)));
24450 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int(static_cast<int >(wxFONTSTYLE_SLANT
)));
24453 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int(static_cast<int >(wxFONTSTYLE_MAX
)));
24456 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_NORMAL
)));
24459 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_LIGHT
)));
24462 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_BOLD
)));
24465 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_MAX
)));
24468 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFLAG_DEFAULT
)));
24471 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int(static_cast<int >(wxFONTFLAG_ITALIC
)));
24474 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int(static_cast<int >(wxFONTFLAG_SLANT
)));
24477 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int(static_cast<int >(wxFONTFLAG_LIGHT
)));
24480 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int(static_cast<int >(wxFONTFLAG_BOLD
)));
24483 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_ANTIALIASED
)));
24486 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_NOT_ANTIALIASED
)));
24489 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int(static_cast<int >(wxFONTFLAG_UNDERLINED
)));
24492 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int(static_cast<int >(wxFONTFLAG_STRIKETHROUGH
)));
24495 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int(static_cast<int >(wxFONTFLAG_MASK
)));
24498 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int(static_cast<int >(wxFONTENCODING_SYSTEM
)));
24501 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTENCODING_DEFAULT
)));
24504 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_1
)));
24507 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_2
)));
24510 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_3
)));
24513 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_4
)));
24516 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_5
)));
24519 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_6
)));
24522 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_7
)));
24525 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_8
)));
24528 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_9
)));
24531 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_10
)));
24534 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_11
)));
24537 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_12
)));
24540 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_13
)));
24543 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_14
)));
24546 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_15
)));
24549 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_MAX
)));
24552 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8
)));
24555 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8_U
)));
24558 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int(static_cast<int >(wxFONTENCODING_ALTERNATIVE
)));
24561 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_BULGARIAN
)));
24564 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP437
)));
24567 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP850
)));
24570 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP852
)));
24573 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP855
)));
24576 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP866
)));
24579 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP874
)));
24582 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP932
)));
24585 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP936
)));
24588 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP949
)));
24591 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP950
)));
24594 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1250
)));
24597 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1251
)));
24600 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1252
)));
24603 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1253
)));
24606 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1254
)));
24609 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1255
)));
24612 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1256
)));
24615 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1257
)));
24618 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP12_MAX
)));
24621 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF7
)));
24624 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF8
)));
24627 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int(static_cast<int >(wxFONTENCODING_EUC_JP
)));
24630 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16BE
)));
24633 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16LE
)));
24636 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32BE
)));
24639 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32LE
)));
24642 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMAN
)));
24645 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACJAPANESE
)));
24648 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESETRAD
)));
24651 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKOREAN
)));
24654 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABIC
)));
24657 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACHEBREW
)));
24660 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGREEK
)));
24663 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCYRILLIC
)));
24666 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDEVANAGARI
)));
24669 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGURMUKHI
)));
24672 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGUJARATI
)));
24675 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACORIYA
)));
24678 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBENGALI
)));
24681 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTAMIL
)));
24684 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTELUGU
)));
24687 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKANNADA
)));
24690 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMALAJALAM
)));
24693 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSINHALESE
)));
24696 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBURMESE
)));
24699 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKHMER
)));
24702 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTHAI
)));
24705 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACLAOTIAN
)));
24708 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGEORGIAN
)));
24711 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARMENIAN
)));
24714 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESESIMP
)));
24717 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTIBETAN
)));
24720 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMONGOLIAN
)));
24723 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACETHIOPIC
)));
24726 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCENTRALEUR
)));
24729 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACVIATNAMESE
)));
24732 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABICEXT
)));
24735 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSYMBOL
)));
24738 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDINGBATS
)));
24741 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTURKISH
)));
24744 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCROATIAN
)));
24747 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACICELANDIC
)));
24750 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMANIAN
)));
24753 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCELTIC
)));
24756 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGAELIC
)));
24759 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKEYBOARD
)));
24762 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMIN
)));
24765 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMAX
)));
24768 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MAX
)));
24771 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16
)));
24774 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32
)));
24777 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UNICODE
)));
24780 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int(static_cast<int >(wxFONTENCODING_GB2312
)));
24783 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int(static_cast<int >(wxFONTENCODING_BIG5
)));
24786 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int(static_cast<int >(wxFONTENCODING_SHIFT_JIS
)));
24789 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
24792 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int(static_cast<int >(wxLANGUAGE_DEFAULT
)));
24795 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UNKNOWN
)));
24798 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ABKHAZIAN
)));
24801 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFAR
)));
24804 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFRIKAANS
)));
24807 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ALBANIAN
)));
24810 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AMHARIC
)));
24813 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC
)));
24816 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_ALGERIA
)));
24819 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
24822 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_EGYPT
)));
24825 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_IRAQ
)));
24828 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_JORDAN
)));
24831 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_KUWAIT
)));
24834 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LEBANON
)));
24837 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LIBYA
)));
24840 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_MOROCCO
)));
24843 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_OMAN
)));
24846 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_QATAR
)));
24849 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
24852 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SUDAN
)));
24855 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SYRIA
)));
24858 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_TUNISIA
)));
24861 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_UAE
)));
24864 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_YEMEN
)));
24867 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARMENIAN
)));
24870 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ASSAMESE
)));
24873 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int(static_cast<int >(wxLANGUAGE_AYMARA
)));
24876 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI
)));
24879 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_CYRILLIC
)));
24882 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_LATIN
)));
24885 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASHKIR
)));
24888 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASQUE
)));
24891 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BELARUSIAN
)));
24894 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BENGALI
)));
24897 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BHUTANI
)));
24900 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BIHARI
)));
24903 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_BISLAMA
)));
24906 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int(static_cast<int >(wxLANGUAGE_BRETON
)));
24909 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BULGARIAN
)));
24912 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BURMESE
)));
24915 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CAMBODIAN
)));
24918 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CATALAN
)));
24921 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE
)));
24924 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
24927 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
24930 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_HONGKONG
)));
24933 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_MACAU
)));
24936 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
24939 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TAIWAN
)));
24942 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CORSICAN
)));
24945 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CROATIAN
)));
24948 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int(static_cast<int >(wxLANGUAGE_CZECH
)));
24951 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DANISH
)));
24954 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH
)));
24957 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH_BELGIAN
)));
24960 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH
)));
24963 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_UK
)));
24966 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_US
)));
24969 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
24972 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BELIZE
)));
24975 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
24978 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CANADA
)));
24981 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
24984 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_DENMARK
)));
24987 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_EIRE
)));
24990 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
24993 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
24996 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
24999 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
25002 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
25005 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
25008 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESPERANTO
)));
25011 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESTONIAN
)));
25014 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_FAEROESE
)));
25017 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FARSI
)));
25020 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FIJI
)));
25023 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FINNISH
)));
25026 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH
)));
25029 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_BELGIAN
)));
25032 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_CANADIAN
)));
25035 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
25038 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_MONACO
)));
25041 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_SWISS
)));
25044 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRISIAN
)));
25047 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GALICIAN
)));
25050 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GEORGIAN
)));
25053 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN
)));
25056 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
25059 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_BELGIUM
)));
25062 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
25065 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
25068 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_SWISS
)));
25071 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREEK
)));
25074 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREENLANDIC
)));
25077 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUARANI
)));
25080 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUJARATI
)));
25083 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_HAUSA
)));
25086 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int(static_cast<int >(wxLANGUAGE_HEBREW
)));
25089 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_HINDI
)));
25092 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_HUNGARIAN
)));
25095 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ICELANDIC
)));
25098 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_INDONESIAN
)));
25101 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUA
)));
25104 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUE
)));
25107 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUKTITUT
)));
25110 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUPIAK
)));
25113 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_IRISH
)));
25116 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN
)));
25119 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN_SWISS
)));
25122 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAPANESE
)));
25125 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAVANESE
)));
25128 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KANNADA
)));
25131 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI
)));
25134 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI_INDIA
)));
25137 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KAZAKH
)));
25140 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_KERNEWEK
)));
25143 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KINYARWANDA
)));
25146 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRGHIZ
)));
25149 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRUNDI
)));
25152 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KONKANI
)));
25155 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_KOREAN
)));
25158 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KURDISH
)));
25161 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LAOTHIAN
)));
25164 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATIN
)));
25167 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATVIAN
)));
25170 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_LINGALA
)));
25173 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LITHUANIAN
)));
25176 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MACEDONIAN
)));
25179 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAGASY
)));
25182 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY
)));
25185 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAYALAM
)));
25188 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
25191 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_MALAYSIA
)));
25194 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALTESE
)));
25197 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MANIPURI
)));
25200 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MAORI
)));
25203 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MARATHI
)));
25206 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MOLDAVIAN
)));
25209 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MONGOLIAN
)));
25212 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int(static_cast<int >(wxLANGUAGE_NAURU
)));
25215 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI
)));
25218 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI_INDIA
)));
25221 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
25224 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
25227 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_OCCITAN
)));
25230 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ORIYA
)));
25233 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int(static_cast<int >(wxLANGUAGE_OROMO
)));
25236 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_PASHTO
)));
25239 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_POLISH
)));
25242 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE
)));
25245 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
25248 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int(static_cast<int >(wxLANGUAGE_PUNJABI
)));
25251 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_QUECHUA
)));
25254 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RHAETO_ROMANCE
)));
25257 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ROMANIAN
)));
25260 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN
)));
25263 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
25266 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SAMOAN
)));
25269 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANGHO
)));
25272 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANSKRIT
)));
25275 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SCOTS_GAELIC
)));
25278 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN
)));
25281 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
25284 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_LATIN
)));
25287 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBO_CROATIAN
)));
25290 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SESOTHO
)));
25293 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SETSWANA
)));
25296 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SHONA
)));
25299 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINDHI
)));
25302 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINHALESE
)));
25305 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SISWATI
)));
25308 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVAK
)));
25311 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVENIAN
)));
25314 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SOMALI
)));
25317 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH
)));
25320 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
25323 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
25326 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_CHILE
)));
25329 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
25332 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
25335 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
25338 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ECUADOR
)));
25341 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
25344 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
25347 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_HONDURAS
)));
25350 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MEXICAN
)));
25353 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MODERN
)));
25356 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
25359 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PANAMA
)));
25362 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
25365 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PERU
)));
25368 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
25371 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_URUGUAY
)));
25374 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_US
)));
25377 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
25380 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SUNDANESE
)));
25383 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWAHILI
)));
25386 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH
)));
25389 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH_FINLAND
)));
25392 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAGALOG
)));
25395 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAJIK
)));
25398 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAMIL
)));
25401 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_TATAR
)));
25404 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int(static_cast<int >(wxLANGUAGE_TELUGU
)));
25407 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int(static_cast<int >(wxLANGUAGE_THAI
)));
25410 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIBETAN
)));
25413 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIGRINYA
)));
25416 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TONGA
)));
25419 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TSONGA
)));
25422 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKISH
)));
25425 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKMEN
)));
25428 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int(static_cast<int >(wxLANGUAGE_TWI
)));
25431 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int(static_cast<int >(wxLANGUAGE_UIGHUR
)));
25434 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UKRAINIAN
)));
25437 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU
)));
25440 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_INDIA
)));
25443 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_PAKISTAN
)));
25446 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK
)));
25449 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
25452 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_LATIN
)));
25455 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_VIETNAMESE
)));
25458 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int(static_cast<int >(wxLANGUAGE_VOLAPUK
)));
25461 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int(static_cast<int >(wxLANGUAGE_WELSH
)));
25464 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int(static_cast<int >(wxLANGUAGE_WOLOF
)));
25467 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_XHOSA
)));
25470 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_YIDDISH
)));
25473 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int(static_cast<int >(wxLANGUAGE_YORUBA
)));
25476 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZHUANG
)));
25479 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZULU
)));
25482 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int(static_cast<int >(wxLANGUAGE_USER_DEFINED
)));
25485 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_NUMBER
)));
25488 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_DATE
)));
25491 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MONEY
)));
25494 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MAX
)));
25497 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int(static_cast<int >(wxLOCALE_THOUSANDS_SEP
)));
25500 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int(static_cast<int >(wxLOCALE_DECIMAL_POINT
)));
25503 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int(static_cast<int >(wxLOCALE_LOAD_DEFAULT
)));
25506 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int(static_cast<int >(wxLOCALE_CONV_ENCODING
)));
25509 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int(static_cast<int >(wxCONVERT_STRICT
)));
25512 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int(static_cast<int >(wxCONVERT_SUBSTITUTE
)));
25515 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int(static_cast<int >(wxPLATFORM_CURRENT
)));
25518 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int(static_cast<int >(wxPLATFORM_UNIX
)));
25521 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int(static_cast<int >(wxPLATFORM_WINDOWS
)));
25524 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int(static_cast<int >(wxPLATFORM_OS2
)));
25527 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int(static_cast<int >(wxPLATFORM_MAC
)));
25530 PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_VIRTUAL_AREA
)));
25533 PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_CLIENT_AREA
)));
25536 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_NORMAL
)));
25539 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
25542 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_SELECTED
)));
25545 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_FOCUSED
)));
25548 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_NORMAL
)));
25551 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_SMALL
)));
25554 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_STATE
)));
25556 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
25557 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
25558 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
25559 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
25560 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
25561 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
25562 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
25563 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
25564 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
25565 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
25566 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
25567 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
25568 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
25569 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
25570 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
25571 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
25572 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
25573 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
25574 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
25575 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
25576 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
25577 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
25578 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
25579 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
25580 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
25581 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
25582 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
25583 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
25584 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
25585 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
25586 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
25587 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
25588 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
25589 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
25590 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
25591 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
25592 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
25593 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
25594 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
25595 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
25596 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
25597 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
25598 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
25599 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
25600 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
25601 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
25602 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
25604 PyDict_SetItemString(d
,"CONTROL_DISABLED", SWIG_From_int(static_cast<int >(wxCONTROL_DISABLED
)));
25607 PyDict_SetItemString(d
,"CONTROL_FOCUSED", SWIG_From_int(static_cast<int >(wxCONTROL_FOCUSED
)));
25610 PyDict_SetItemString(d
,"CONTROL_PRESSED", SWIG_From_int(static_cast<int >(wxCONTROL_PRESSED
)));
25613 PyDict_SetItemString(d
,"CONTROL_ISDEFAULT", SWIG_From_int(static_cast<int >(wxCONTROL_ISDEFAULT
)));
25616 PyDict_SetItemString(d
,"CONTROL_ISSUBMENU", SWIG_From_int(static_cast<int >(wxCONTROL_ISSUBMENU
)));
25619 PyDict_SetItemString(d
,"CONTROL_EXPANDED", SWIG_From_int(static_cast<int >(wxCONTROL_EXPANDED
)));
25622 PyDict_SetItemString(d
,"CONTROL_CURRENT", SWIG_From_int(static_cast<int >(wxCONTROL_CURRENT
)));
25625 PyDict_SetItemString(d
,"CONTROL_SELECTED", SWIG_From_int(static_cast<int >(wxCONTROL_SELECTED
)));
25628 PyDict_SetItemString(d
,"CONTROL_CHECKED", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKED
)));
25631 PyDict_SetItemString(d
,"CONTROL_CHECKABLE", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKABLE
)));
25634 PyDict_SetItemString(d
,"CONTROL_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCONTROL_UNDETERMINED
)));
25637 PyDict_SetItemString(d
,"CONTROL_FLAGS_MASK", SWIG_From_int(static_cast<int >(wxCONTROL_FLAGS_MASK
)));
25640 PyDict_SetItemString(d
,"CONTROL_DIRTY", SWIG_From_int(static_cast<int >(wxCONTROL_DIRTY
)));
25643 PyDict_SetItemString(d
,"RendererVersion_Current_Version", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Version
)));
25646 PyDict_SetItemString(d
,"RendererVersion_Current_Age", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Age
)));
25649 // Work around a chicken/egg problem in drawlist.cpp
25650 wxPyDrawList_SetAPIPtr();