1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
29 /***********************************************************************
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
34 ************************************************************************/
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
45 /* inline attribute */
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
63 /* internal SWIG method */
65 # define SWIGINTERN static SWIGUNUSED
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
73 /* exporting methods for Windows DLLs */
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
79 # define SWIGEXPORT __declspec(dllexport)
86 /* calling conventions for Windows */
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
99 /***********************************************************************
102 * This file contains generic CAPI SWIG runtime support for pointer
105 ************************************************************************/
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 # define SWIG_TYPE_TABLE_NAME
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
130 # define SWIGRUNTIME SWIGINTERN
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
143 typedef void *(*swig_converter_func
)(void *);
144 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info
{
148 const char *name
; /* mangled name of this type */
149 const char *str
; /* human readable name of this type */
150 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
152 void *clientdata
; /* language specific type data */
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info
{
157 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter
; /* function to cast the void pointers */
159 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
160 struct swig_cast_info
*prev
; /* pointer to the previous cast */
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info
{
167 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size
; /* Number of types in this module */
169 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
170 swig_type_info
**type_initial
; /* Array of initially generated type structures */
171 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
172 void *clientdata
; /* Language specific module data */
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
184 SWIG_TypeNameComp(const char *f1
, const char *l1
,
185 const char *f2
, const char *l2
) {
186 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
187 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
188 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
189 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
191 return (l1
- f1
) - (l2
- f2
);
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
199 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
201 const char* te
= tb
+ strlen(tb
);
203 while (!equiv
&& *ne
) {
204 for (nb
= ne
; *ne
; ++ne
) {
205 if (*ne
== '|') break;
207 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
218 SWIG_TypeCompare(const char *nb
, const char *tb
) {
220 const char* te
= tb
+ strlen(tb
);
222 while (!equiv
&& *ne
) {
223 for (nb
= ne
; *ne
; ++ne
) {
224 if (*ne
== '|') break;
226 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
236 swig_cast_info *iter = ty->cast; \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
246 if (ty->cast) ty->cast->prev = iter; \
258 SWIGRUNTIME swig_cast_info
*
259 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
260 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info
*
265 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
266 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
270 Cast a pointer up an inheritance hierarchy
272 SWIGRUNTIMEINLINE
void *
273 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
274 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
278 Dynamic pointer casting. Down an inheritance hierarchy
280 SWIGRUNTIME swig_type_info
*
281 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
282 swig_type_info
*lastty
= ty
;
283 if (!ty
|| !ty
->dcast
) return ty
;
284 while (ty
&& (ty
->dcast
)) {
285 ty
= (*ty
->dcast
)(ptr
);
292 Return the name associated with this type
294 SWIGRUNTIMEINLINE
const char *
295 SWIG_TypeName(const swig_type_info
*ty
) {
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
303 SWIGRUNTIME
const char *
304 SWIG_TypePrettyName(const swig_type_info
*type
) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
309 if (type
->str
!= NULL
) {
310 const char *last_name
= type
->str
;
312 for (s
= type
->str
; *s
; s
++)
313 if (*s
== '|') last_name
= s
+1;
321 Set the clientdata field for a type
324 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
325 swig_cast_info
*cast
= ti
->cast
;
326 /* if (ti->clientdata == clientdata) return; */
327 ti
->clientdata
= clientdata
;
330 if (!cast
->converter
) {
331 swig_type_info
*tc
= cast
->type
;
332 if (!tc
->clientdata
) {
333 SWIG_TypeClientData(tc
, clientdata
);
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
348 SWIGRUNTIME swig_type_info
*
349 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
350 swig_module_info
*end
,
352 swig_module_info
*iter
= start
;
355 register size_t l
= 0;
356 register size_t r
= iter
->size
- 1;
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i
= (l
+ r
) >> 1;
360 const char *iname
= iter
->types
[i
]->name
;
362 register int compare
= strcmp(name
, iname
);
364 return iter
->types
[i
];
365 } else if (compare
< 0) {
371 } else if (compare
> 0) {
375 break; /* should never happen */
380 } while (iter
!= end
);
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
393 SWIGRUNTIME swig_type_info
*
394 SWIG_TypeQueryModule(swig_module_info
*start
,
395 swig_module_info
*end
,
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info
*iter
= start
;
406 register size_t i
= 0;
407 for (; i
< iter
->size
; ++i
) {
408 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
409 return iter
->types
[i
];
412 } while (iter
!= end
);
415 /* neither found a match */
421 Pack binary data into a string
424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
425 static const char hex
[17] = "0123456789abcdef";
426 register const unsigned char *u
= (unsigned char *) ptr
;
427 register const unsigned char *eu
= u
+ sz
;
428 for (; u
!= eu
; ++u
) {
429 register unsigned char uu
= *u
;
430 *(c
++) = hex
[(uu
& 0xf0) >> 4];
431 *(c
++) = hex
[uu
& 0xf];
437 Unpack binary data from a string
439 SWIGRUNTIME
const char *
440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
441 register unsigned char *u
= (unsigned char *) ptr
;
442 register const unsigned char *eu
= u
+ sz
;
443 for (; u
!= eu
; ++u
) {
444 register char d
= *(c
++);
445 register unsigned char uu
= 0;
446 if ((d
>= '0') && (d
<= '9'))
447 uu
= ((d
- '0') << 4);
448 else if ((d
>= 'a') && (d
<= 'f'))
449 uu
= ((d
- ('a'-10)) << 4);
453 if ((d
>= '0') && (d
<= '9'))
455 else if ((d
>= 'a') && (d
<= 'f'))
456 uu
|= (d
- ('a'-10));
465 Pack 'void *' into a string buffer.
468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
470 if ((2*sizeof(void *) + 2) > bsz
) return 0;
472 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
473 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
478 SWIGRUNTIME
const char *
479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
481 if (strcmp(c
,"NULL") == 0) {
488 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
494 size_t lname
= (name
? strlen(name
) : 0);
495 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
497 r
= SWIG_PackData(r
,ptr
,sz
);
499 strncpy(r
,name
,lname
+1);
506 SWIGRUNTIME
const char *
507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
509 if (strcmp(c
,"NULL") == 0) {
516 return SWIG_UnpackData(++c
,ptr
,sz
);
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
536 # define SWIGINTERN static SWIGUNUSED
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
544 Exception handling in wrappers
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
570 /* Constant information structure */
571 typedef struct swig_const_info
{
577 swig_type_info
**ptype
;
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
593 /***********************************************************************
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
653 PyString_FromFormat(const char *fmt
, ...) {
655 char buf
[SWIG_BUFFER_SIZE
* 2];
658 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
660 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
680 /* Declarations for objects of type PySwigObject */
683 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
685 char result
[SWIG_BUFFER_SIZE
];
687 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
688 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
695 SWIGRUNTIME PyObject
*
696 PySwigObject_repr(PySwigObject
*v
)
698 char result
[SWIG_BUFFER_SIZE
];
699 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
700 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
703 SWIGRUNTIME PyObject
*
704 PySwigObject_str(PySwigObject
*v
)
706 char result
[SWIG_BUFFER_SIZE
];
707 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
708 PyString_FromString(result
) : 0;
711 SWIGRUNTIME PyObject
*
712 PySwigObject_long(PySwigObject
*v
)
714 return PyLong_FromVoidPtr(v
->ptr
);
717 SWIGRUNTIME PyObject
*
718 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
720 PyObject
*res
= NULL
;
721 PyObject
*args
= PyTuple_New(1);
722 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
723 PyObject
*ofmt
= PyString_FromString(fmt
);
725 res
= PyString_Format(ofmt
,args
);
733 SWIGRUNTIME PyObject
*
734 PySwigObject_oct(PySwigObject
*v
)
736 return PySwigObject_format("%o",v
);
739 SWIGRUNTIME PyObject
*
740 PySwigObject_hex(PySwigObject
*v
)
742 return PySwigObject_format("%x",v
);
746 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
748 int c
= strcmp(v
->desc
, w
->desc
);
750 return (c
> 0) ? 1 : -1;
754 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
759 PySwigObject_dealloc(PySwigObject
*self
)
764 SWIGRUNTIME PyTypeObject
*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__
[] =
767 "Swig object carries a C/C++ instance pointer";
769 static PyNumberMethods PySwigObject_as_number
= {
770 (binaryfunc
)0, /*nb_add*/
771 (binaryfunc
)0, /*nb_subtract*/
772 (binaryfunc
)0, /*nb_multiply*/
773 (binaryfunc
)0, /*nb_divide*/
774 (binaryfunc
)0, /*nb_remainder*/
775 (binaryfunc
)0, /*nb_divmod*/
776 (ternaryfunc
)0,/*nb_power*/
777 (unaryfunc
)0, /*nb_negative*/
778 (unaryfunc
)0, /*nb_positive*/
779 (unaryfunc
)0, /*nb_absolute*/
780 (inquiry
)0, /*nb_nonzero*/
787 (coercion
)0, /*nb_coerce*/
788 (unaryfunc
)PySwigObject_long
, /*nb_int*/
789 (unaryfunc
)PySwigObject_long
, /*nb_long*/
790 (unaryfunc
)0, /*nb_float*/
791 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
792 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
803 static int type_init
= 0;
808 PyObject_HEAD_INIT(&PyType_Type
)
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject
), /*tp_basicsize*/
814 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
815 (printfunc
)PySwigObject_print
, /*tp_print*/
816 (getattrfunc
)0, /*tp_getattr*/
817 (setattrfunc
)0, /*tp_setattr*/
818 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
819 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
820 &PySwigObject_as_number
, /*tp_as_number*/
821 0, /*tp_as_sequence*/
823 (hashfunc
)0, /*tp_hash*/
824 (ternaryfunc
)0, /*tp_call*/
825 (reprfunc
)PySwigObject_str
, /*tp_str*/
826 /* Space for future expansion */
828 pyswigobject_type__doc__
, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #if PY_VERSION_HEX >= 0x02030000
844 0,0,0,0 /* tp_alloc -> tp_next */
847 #if !defined(__cplusplus)
848 pyswigobject_type
= tmp
;
852 return &pyswigobject_type
;
855 SWIGRUNTIME PyObject
*
856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
858 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
863 return (PyObject
*)self
;
866 SWIGRUNTIMEINLINE
void *
867 PySwigObject_AsVoidPtr(PyObject
*self
)
869 return ((PySwigObject
*)self
)->ptr
;
872 SWIGRUNTIMEINLINE
const char *
873 PySwigObject_GetDesc(PyObject
*self
)
875 return ((PySwigObject
*)self
)->desc
;
878 SWIGRUNTIMEINLINE
int
879 PySwigObject_Check(PyObject
*op
) {
880 return ((op
)->ob_type
== PySwigObject_type())
881 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
896 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
898 char result
[SWIG_BUFFER_SIZE
];
900 fputs("<Swig Packed ", fp
);
901 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
910 SWIGRUNTIME PyObject
*
911 PySwigPacked_repr(PySwigPacked
*v
)
913 char result
[SWIG_BUFFER_SIZE
];
914 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
917 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
921 SWIGRUNTIME PyObject
*
922 PySwigPacked_str(PySwigPacked
*v
)
924 char result
[SWIG_BUFFER_SIZE
];
925 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
926 return PyString_FromFormat("%s%s", result
, v
->desc
);
928 return PyString_FromString(v
->desc
);
933 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
935 int c
= strcmp(v
->desc
, w
->desc
);
937 return (c
> 0) ? 1 : -1;
941 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
942 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
947 PySwigPacked_dealloc(PySwigPacked
*self
)
953 SWIGRUNTIME PyTypeObject
*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__
[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
960 static int type_init
= 0;
965 PyObject_HEAD_INIT(&PyType_Type
)
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked
), /*tp_basicsize*/
971 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
972 (printfunc
)PySwigPacked_print
, /*tp_print*/
973 (getattrfunc
)0, /*tp_getattr*/
974 (setattrfunc
)0, /*tp_setattr*/
975 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
976 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
978 0, /*tp_as_sequence*/
980 (hashfunc
)0, /*tp_hash*/
981 (ternaryfunc
)0, /*tp_call*/
982 (reprfunc
)PySwigPacked_str
, /*tp_str*/
983 /* Space for future expansion */
985 pyswigpacked_type__doc__
, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #if PY_VERSION_HEX >= 0x02030000
1001 0,0,0,0 /* tp_alloc -> tp_next */
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type
= tmp
;
1009 return &pyswigpacked_type
;
1012 SWIGRUNTIME PyObject
*
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1015 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1019 void *pack
= malloc(size
);
1021 memcpy(pack
, ptr
, size
);
1025 return (PyObject
*) self
;
1031 SWIGRUNTIMEINLINE
const char *
1032 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1034 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1035 if (self
->size
!= size
) return 0;
1036 memcpy(ptr
, self
->pack
, size
);
1040 SWIGRUNTIMEINLINE
const char *
1041 PySwigPacked_GetDesc(PyObject
*self
)
1043 return ((PySwigPacked
*)self
)->desc
;
1046 SWIGRUNTIMEINLINE
int
1047 PySwigPacked_Check(PyObject
*op
) {
1048 return ((op
)->ob_type
== PySwigPacked_type())
1049 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1071 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj
&& PySwigObject_Check(obj
)) {
1076 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1078 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1085 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1087 PyObject
*str
= PyObject_Str(obj
);
1088 const char *cstr
= str
? PyString_AsString(str
) : 0;
1090 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1093 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1100 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1102 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1106 SWIGRUNTIMEINLINE
void
1107 SWIG_Python_NullRef(const char *type
)
1110 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1112 PyErr_Format(PyExc_TypeError
, "null reference was received");
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1119 if (PyErr_Occurred()) {
1121 PyObject
*value
= 0;
1122 PyObject
*traceback
= 0;
1123 PyErr_Fetch(&type
, &value
, &traceback
);
1125 PyObject
*old_str
= PyObject_Str(value
);
1129 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1131 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1142 SWIG_Python_ArgFail(int argnum
)
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1147 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1148 return SWIG_Python_AddErrMesg(mesg
, 1);
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1159 /* Convert a pointer value */
1161 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1164 static PyObject
*SWIG_this
= 0;
1166 PyObject
*pyobj
= 0;
1170 if (obj
== Py_None
) {
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj
))) {
1178 SWIG_this
= PyString_FromString("this");
1180 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1182 if (!obj
) goto type_error
;
1183 if (!PySwigObject_Check(obj
)) {
1188 vptr
= PySwigObject_AsVoidPtr(obj
);
1189 c
= (const char *) PySwigObject_GetDesc(obj
);
1190 if (newref
) { Py_DECREF(obj
); }
1193 if (!(PyString_Check(obj
))) {
1195 SWIG_this
= PyString_FromString("this");
1197 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1199 if (!obj
) goto type_error
;
1200 if (!PyString_Check(obj
)) {
1205 c
= PyString_AsString(obj
);
1206 /* Pointer values must start with leading underscore */
1207 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1208 if (newref
) { Py_DECREF(obj
); }
1209 if (!c
) goto type_error
;
1214 tc
= SWIG_TypeCheck(c
,ty
);
1215 if (!tc
) goto type_error
;
1216 *ptr
= SWIG_TypeCast(tc
,vptr
);
1220 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1221 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1227 if (pyobj
&& !obj
) {
1229 if (PyCFunction_Check(obj
)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1232 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1234 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1235 if (!c
) goto type_error
;
1240 if (flags
& SWIG_POINTER_EXCEPTION
) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1244 SWIG_Python_TypeError("C/C++ pointer", obj
);
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1254 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1256 if (flags
& SWIG_POINTER_EXCEPTION
) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1258 SWIG_Python_ArgFail(argnum
);
1264 /* Convert a packed value value */
1266 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1273 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1274 c
= PyString_AsString(obj
);
1275 /* Pointer values must start with leading underscore */
1276 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1278 if (!c
) goto type_error
;
1280 tc
= SWIG_TypeCheck(c
,ty
);
1281 if (!tc
) goto type_error
;
1287 if (flags
& SWIG_POINTER_EXCEPTION
) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1291 SWIG_Python_TypeError("C/C++ packed data", obj
);
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject
*
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1315 char result
[SWIG_BUFFER_SIZE
];
1316 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1317 PyString_FromString(result
) : 0;
1320 if (!robj
|| (robj
== Py_None
)) return robj
;
1321 if (type
->clientdata
) {
1323 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1325 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1329 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1337 SWIGRUNTIME PyObject
*
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1348 char result
[SWIG_BUFFER_SIZE
];
1349 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1350 PyString_FromString(result
) : 0;
1356 /* -----------------------------------------------------------------------------*
1358 * -----------------------------------------------------------------------------*/
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1364 SWIGRUNTIME swig_module_info
*
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer
= (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer
) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1372 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1374 if (PyErr_Occurred()) {
1376 type_pointer
= (void *)0;
1380 return (swig_module_info
*) type_pointer
;
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1390 if (!PyModule_Check(m
)) {
1391 PyErr_SetString(PyExc_TypeError
,
1392 "PyModule_AddObject() needs module as first arg");
1396 PyErr_SetString(PyExc_TypeError
,
1397 "PyModule_AddObject() needs non-NULL value");
1401 dict
= PyModule_GetDict(m
);
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1405 PyModule_GetName(m
));
1408 if (PyDict_SetItemString(dict
, name
, o
))
1416 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1417 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1419 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1420 swig_empty_runtime_method_table
);
1421 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1422 if (pointer
&& module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1434 #define SWIGTYPE_p_char swig_types[0]
1435 #define SWIGTYPE_p_double swig_types[1]
1436 #define SWIGTYPE_p_form_ops_t swig_types[2]
1437 #define SWIGTYPE_p_int swig_types[3]
1438 #define SWIGTYPE_p_unsigned_char swig_types[4]
1439 #define SWIGTYPE_p_unsigned_int swig_types[5]
1440 #define SWIGTYPE_p_unsigned_long swig_types[6]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445 #define SWIGTYPE_p_wxBitmap swig_types[11]
1446 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447 #define SWIGTYPE_p_wxBrush swig_types[13]
1448 #define SWIGTYPE_p_wxBrushList swig_types[14]
1449 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
1450 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
1451 #define SWIGTYPE_p_wxCURHandler swig_types[17]
1452 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
1453 #define SWIGTYPE_p_wxClientDC swig_types[19]
1454 #define SWIGTYPE_p_wxCloseEvent swig_types[20]
1455 #define SWIGTYPE_p_wxColour swig_types[21]
1456 #define SWIGTYPE_p_wxColourDatabase swig_types[22]
1457 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
1458 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
1459 #define SWIGTYPE_p_wxControl swig_types[25]
1460 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
1461 #define SWIGTYPE_p_wxCursor swig_types[27]
1462 #define SWIGTYPE_p_wxDC swig_types[28]
1463 #define SWIGTYPE_p_wxDash swig_types[29]
1464 #define SWIGTYPE_p_wxDateEvent swig_types[30]
1465 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
1466 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
1467 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
1468 #define SWIGTYPE_p_wxEffects swig_types[34]
1469 #define SWIGTYPE_p_wxEncodingConverter swig_types[35]
1470 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
1471 #define SWIGTYPE_p_wxEvent swig_types[37]
1472 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
1473 #define SWIGTYPE_p_wxFSFile swig_types[39]
1474 #define SWIGTYPE_p_wxFileSystem swig_types[40]
1475 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
1476 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
1477 #define SWIGTYPE_p_wxFont swig_types[43]
1478 #define SWIGTYPE_p_wxFontList swig_types[44]
1479 #define SWIGTYPE_p_wxFontMapper swig_types[45]
1480 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1481 #define SWIGTYPE_p_wxGDIObject swig_types[47]
1482 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
1483 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
1484 #define SWIGTYPE_p_wxGridSizer swig_types[50]
1485 #define SWIGTYPE_p_wxICOHandler swig_types[51]
1486 #define SWIGTYPE_p_wxIcon swig_types[52]
1487 #define SWIGTYPE_p_wxIconBundle swig_types[53]
1488 #define SWIGTYPE_p_wxIconLocation swig_types[54]
1489 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
1490 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1491 #define SWIGTYPE_p_wxImage swig_types[57]
1492 #define SWIGTYPE_p_wxImageHandler swig_types[58]
1493 #define SWIGTYPE_p_wxImageList swig_types[59]
1494 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
1495 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
1496 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
1497 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
1498 #define SWIGTYPE_p_wxLanguageInfo swig_types[64]
1499 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
1500 #define SWIGTYPE_p_wxLocale swig_types[66]
1501 #define SWIGTYPE_p_wxMask swig_types[67]
1502 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
1503 #define SWIGTYPE_p_wxMemoryDC swig_types[69]
1504 #define SWIGTYPE_p_wxMenu swig_types[70]
1505 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1506 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
1507 #define SWIGTYPE_p_wxMenuItem swig_types[73]
1508 #define SWIGTYPE_p_wxMetaFile swig_types[74]
1509 #define SWIGTYPE_p_wxMetaFileDC swig_types[75]
1510 #define SWIGTYPE_p_wxMirrorDC swig_types[76]
1511 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
1512 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
1513 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
1514 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[80]
1515 #define SWIGTYPE_p_wxNativeFontInfo swig_types[81]
1516 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
1517 #define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
1518 #define SWIGTYPE_p_wxNotifyEvent swig_types[84]
1519 #define SWIGTYPE_p_wxObject swig_types[85]
1520 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
1521 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
1522 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
1523 #define SWIGTYPE_p_wxPaintDC swig_types[89]
1524 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
1525 #define SWIGTYPE_p_wxPalette swig_types[91]
1526 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
1527 #define SWIGTYPE_p_wxPaperSize swig_types[93]
1528 #define SWIGTYPE_p_wxPen swig_types[94]
1529 #define SWIGTYPE_p_wxPenList swig_types[95]
1530 #define SWIGTYPE_p_wxPoint swig_types[96]
1531 #define SWIGTYPE_p_wxPostScriptDC swig_types[97]
1532 #define SWIGTYPE_p_wxPrintData swig_types[98]
1533 #define SWIGTYPE_p_wxPrinterDC swig_types[99]
1534 #define SWIGTYPE_p_wxPyApp swig_types[100]
1535 #define SWIGTYPE_p_wxPyCommandEvent swig_types[101]
1536 #define SWIGTYPE_p_wxPyEvent swig_types[102]
1537 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[103]
1538 #define SWIGTYPE_p_wxPyImageHandler swig_types[104]
1539 #define SWIGTYPE_p_wxPySizer swig_types[105]
1540 #define SWIGTYPE_p_wxPyValidator swig_types[106]
1541 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
1542 #define SWIGTYPE_p_wxRect swig_types[108]
1543 #define SWIGTYPE_p_wxRegion swig_types[109]
1544 #define SWIGTYPE_p_wxRegionIterator swig_types[110]
1545 #define SWIGTYPE_p_wxRendererNative swig_types[111]
1546 #define SWIGTYPE_p_wxRendererVersion swig_types[112]
1547 #define SWIGTYPE_p_wxScreenDC swig_types[113]
1548 #define SWIGTYPE_p_wxScrollEvent swig_types[114]
1549 #define SWIGTYPE_p_wxScrollWinEvent swig_types[115]
1550 #define SWIGTYPE_p_wxSetCursorEvent swig_types[116]
1551 #define SWIGTYPE_p_wxShowEvent swig_types[117]
1552 #define SWIGTYPE_p_wxSize swig_types[118]
1553 #define SWIGTYPE_p_wxSizeEvent swig_types[119]
1554 #define SWIGTYPE_p_wxSizer swig_types[120]
1555 #define SWIGTYPE_p_wxSizerItem swig_types[121]
1556 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[122]
1557 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[123]
1558 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124]
1559 #define SWIGTYPE_p_wxString swig_types[125]
1560 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126]
1561 #define SWIGTYPE_p_wxTIFFHandler swig_types[127]
1562 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[128]
1563 #define SWIGTYPE_p_wxValidator swig_types[129]
1564 #define SWIGTYPE_p_wxWindow swig_types[130]
1565 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[131]
1566 #define SWIGTYPE_p_wxWindowDC swig_types[132]
1567 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[133]
1568 #define SWIGTYPE_p_wxXPMHandler swig_types[134]
1569 #define SWIGTYPE_ptrdiff_t swig_types[135]
1570 #define SWIGTYPE_std__ptrdiff_t swig_types[136]
1571 #define SWIGTYPE_unsigned_int swig_types[137]
1572 static swig_type_info
*swig_types
[139];
1573 static swig_module_info swig_module
= {swig_types
, 138, 0, 0, 0, 0};
1574 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1575 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1577 /* -------- TYPES TABLE (END) -------- */
1580 /*-----------------------------------------------
1581 @(target):= _gdi_.so
1582 ------------------------------------------------*/
1583 #define SWIG_init init_gdi_
1585 #define SWIG_name "_gdi_"
1587 #include "wx/wxPython/wxPython.h"
1588 #include "wx/wxPython/pyclasses.h"
1591 static const wxString
wxPyEmptyString(wxEmptyString
);
1597 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1600 if (value
< min_value
) {
1602 PyErr_Format(PyExc_OverflowError
,
1603 "value %ld is less than '%s' minimum %ld",
1604 value
, errmsg
, min_value
);
1607 } else if (value
> max_value
) {
1609 PyErr_Format(PyExc_OverflowError
,
1610 "value %ld is greater than '%s' maximum %ld",
1611 value
, errmsg
, max_value
);
1620 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1622 if (PyNumber_Check(obj
)) {
1623 if (val
) *val
= PyInt_AsLong(obj
);
1627 SWIG_Python_TypeError("number", obj
);
1633 #if INT_MAX != LONG_MAX
1635 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1637 const char* errmsg
= val
? "int" : (char*)0;
1639 if (SWIG_AsVal_long(obj
, &v
)) {
1640 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1641 if (val
) *val
= static_cast<int >(v
);
1650 SWIG_type_error(errmsg
, obj
);
1655 SWIGINTERNINLINE
int
1656 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1658 return SWIG_AsVal_long(obj
,(long*)val
);
1664 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1666 if (obj
== Py_True
) {
1667 if (val
) *val
= true;
1670 if (obj
== Py_False
) {
1671 if (val
) *val
= false;
1675 if (SWIG_AsVal_int(obj
, &res
)) {
1676 if (val
) *val
= res
? true : false;
1682 SWIG_type_error("bool", obj
);
1688 SWIGINTERNINLINE
bool
1689 SWIG_As_bool(PyObject
* obj
)
1692 if (!SWIG_AsVal_bool(obj
, &v
)) {
1694 this is needed to make valgrind/purify happier.
1696 memset((void*)&v
, 0, sizeof(bool));
1702 SWIGINTERNINLINE
int
1703 SWIG_Check_bool(PyObject
* obj
)
1705 return SWIG_AsVal_bool(obj
, (bool*)0);
1710 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1713 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1714 SWIG_Python_TypeError("unsigned number", obj
);
1717 *val
= (unsigned long)v
;
1722 SWIGINTERNINLINE
int
1723 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1724 unsigned long max_value
,
1727 if (value
> max_value
) {
1729 PyErr_Format(PyExc_OverflowError
,
1730 "value %lu is greater than '%s' minimum %lu",
1731 value
, errmsg
, max_value
);
1740 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1742 const char* errmsg
= val
? "unsigned char" : (char*)0;
1744 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1745 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1746 if (val
) *val
= static_cast<unsigned char >(v
);
1755 SWIG_type_error(errmsg
, obj
);
1761 SWIGINTERNINLINE
unsigned char
1762 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1765 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1767 this is needed to make valgrind/purify happier.
1769 memset((void*)&v
, 0, sizeof(unsigned char));
1775 SWIGINTERNINLINE
int
1776 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1778 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1782 SWIGINTERNINLINE
unsigned long
1783 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1786 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1788 this is needed to make valgrind/purify happier.
1790 memset((void*)&v
, 0, sizeof(unsigned long));
1796 SWIGINTERNINLINE
int
1797 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1799 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1803 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1804 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1808 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1809 #define SWIG_From_long PyInt_FromLong
1812 static PyObject
*wxColour_Get(wxColour
*self
){
1813 PyObject
* rv
= PyTuple_New(3);
1819 green
= self
->Green();
1820 blue
= self
->Blue();
1822 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
1823 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
1824 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
1827 static unsigned long wxColour_GetRGB(wxColour
*self
){
1828 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
1831 SWIGINTERNINLINE PyObject
*
1832 SWIG_From_unsigned_SS_long(unsigned long value
)
1834 return (value
> LONG_MAX
) ?
1835 PyLong_FromUnsignedLong(value
)
1836 : PyInt_FromLong(static_cast<long >(value
));
1840 SWIGINTERNINLINE
int
1841 SWIG_As_int(PyObject
* obj
)
1844 if (!SWIG_AsVal_int(obj
, &v
)) {
1846 this is needed to make valgrind/purify happier.
1848 memset((void*)&v
, 0, sizeof(int));
1854 SWIGINTERNINLINE
int
1855 SWIG_Check_int(PyObject
* obj
)
1857 return SWIG_AsVal_int(obj
, (int*)0);
1861 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1862 #define SWIG_From_int PyInt_FromLong
1866 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1872 } else if (result
== Py_None
) {
1876 if (!PyTuple_Check(result
)) {
1878 result
= PyTuple_New(1);
1879 PyTuple_SET_ITEM(result
, 0, o2
);
1881 o3
= PyTuple_New(1);
1882 PyTuple_SetItem(o3
, 0, obj
);
1884 result
= PySequence_Concat(o2
, o3
);
1892 static PyObject
*wxPen_GetDashes(wxPen
*self
){
1894 int count
= self
->GetDashes(&dashes
);
1895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1896 PyObject
* retval
= PyList_New(0);
1897 for (int x
=0; x
<count
; x
++) {
1898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
1899 PyList_Append(retval
, pyint
);
1902 wxPyEndBlockThreads(blocked
);
1905 static void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
1906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1907 int size
= PyList_Size(pyDashes
);
1908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
1910 // black magic warning! The array of wxDashes needs to exist as
1911 // long as the pen does because wxPen does not copy the array. So
1912 // stick a copy in a Python string object and attach it to _self,
1913 // and then call SetDashes with a pointer to that array. Then
1914 // when the Python pen object is destroyed the array will be
1916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
1917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
1919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
1921 Py_DECREF(strDashes
);
1922 wxPyEndBlockThreads(blocked
);
1924 static bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
1925 static bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
1927 #include <wx/image.h>
1929 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1930 char** cArray
= NULL
;
1933 if (!PyList_Check(listOfStrings
)) {
1934 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1937 count
= PyList_Size(listOfStrings
);
1938 cArray
= new char*[count
];
1940 for(int x
=0; x
<count
; x
++) {
1941 // TODO: Need some validation and error checking here
1942 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1948 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1949 char** cArray
= NULL
;
1952 cArray
= ConvertListOfStrings(listOfStrings
);
1955 bmp
= new wxBitmap(cArray
);
1959 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1962 PyString_AsStringAndSize(bits
, &buf
, &length
);
1963 return new wxBitmap(buf
, width
, height
, depth
);
1966 SWIGINTERNINLINE
long
1967 SWIG_As_long(PyObject
* obj
)
1970 if (!SWIG_AsVal_long(obj
, &v
)) {
1972 this is needed to make valgrind/purify happier.
1974 memset((void*)&v
, 0, sizeof(long));
1980 SWIGINTERNINLINE
int
1981 SWIG_Check_long(PyObject
* obj
)
1983 return SWIG_AsVal_long(obj
, (long*)0);
1986 static void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
1987 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1988 wxSize
size(self
->GetWidth(), self
->GetHeight());
1991 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1992 wxMask
*mask
= new wxMask(*self
, colour
);
1993 self
->SetMask(mask
);
1995 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1996 self
->SetWidth(size
.x
);
1997 self
->SetHeight(size
.y
);
1999 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2000 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2001 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2003 return new wxMask(bitmap
, *wxBLACK
);
2005 return new wxMask(bitmap
, colour
);
2008 #include <wx/iconbndl.h>
2010 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2011 wxIcon
* icon
= new wxIcon();
2012 icon
->CopyFromBitmap(bmp
);
2015 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2016 char** cArray
= NULL
;
2019 cArray
= ConvertListOfStrings(listOfStrings
);
2022 icon
= new wxIcon(cArray
);
2026 static void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2027 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2029 return new wxIconLocation(*filename
, num
);
2034 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2036 self
->SetIndex(num
);
2041 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
2043 return self
->GetIndex();
2048 static wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2050 wxImage
img(cursorName
, type
);
2051 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2052 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2053 return new wxCursor(img
);
2055 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2058 static void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2061 static void wxRegionIterator_Next(wxRegionIterator
*self
){
2064 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2065 return self
->operator bool();
2068 #include <wx/fontutil.h>
2069 #include <wx/fontmap.h>
2070 #include <wx/fontenum.h>
2072 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
2073 return self
->ToString();
2076 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
2077 { wxPyRaiseNotImplemented(); return NULL
; }
2079 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
2080 { wxPyRaiseNotImplemented(); return false; }
2082 static PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
2083 wxFontEncoding alt_enc
;
2084 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
2085 return PyInt_FromLong(alt_enc
);
2091 static wxFont
*new_wxFont(wxString
const &info
){
2092 wxNativeFontInfo nfi
;
2093 nfi
.FromString(info
);
2094 return new wxFont(nfi
);
2096 static wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
2097 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
2099 static wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
2100 return wxFontBase::New(pixelSize
, family
,
2101 style
, weight
, underlined
,
2104 static wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
2105 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
2107 static bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
2108 static bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
2110 class wxPyFontEnumerator
: public wxFontEnumerator
{
2112 wxPyFontEnumerator() {}
2113 ~wxPyFontEnumerator() {}
2115 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
2116 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
2121 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
2122 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
2125 static PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
2126 wxArrayString
* arr
= self
->GetEncodings();
2128 return wxArrayString2PyList_helper(*arr
);
2130 return PyList_New(0);
2132 static PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
2133 wxArrayString
* arr
= self
->GetFacenames();
2135 return wxArrayString2PyList_helper(*arr
);
2137 return PyList_New(0);
2142 static wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2145 loc
= new wxLocale();
2147 loc
= new wxLocale(language
, flags
);
2148 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2149 // for the floating point conversions and such to work right.
2150 #if PY_VERSION_HEX < 0x02040000
2151 setlocale(LC_NUMERIC
, "C");
2155 static bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
2156 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
2157 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2158 // for the floating point conversions and such to work right.
2159 #if PY_VERSION_HEX < 0x02040000
2160 setlocale(LC_NUMERIC
, "C");
2164 static bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
2165 bool rc
= self
->Init(language
, flags
);
2166 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2167 // for the floating point conversions and such to work right.
2168 #if PY_VERSION_HEX < 0x02040000
2169 setlocale(LC_NUMERIC
, "C");
2174 #include "wx/wxPython/pydrawxxx.h"
2176 static wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
2178 self
->GetPixel(x
, y
, &col
);
2181 static wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
2183 self
->GetPixel(pt
, &col
);
2188 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2190 if (PyNumber_Check(obj
)) {
2191 if (val
) *val
= PyFloat_AsDouble(obj
);
2195 SWIG_Python_TypeError("number", obj
);
2201 SWIGINTERNINLINE
double
2202 SWIG_As_double(PyObject
* obj
)
2205 if (!SWIG_AsVal_double(obj
, &v
)) {
2207 this is needed to make valgrind/purify happier.
2209 memset((void*)&v
, 0, sizeof(double));
2215 SWIGINTERNINLINE
int
2216 SWIG_Check_double(PyObject
* obj
)
2218 return SWIG_AsVal_double(obj
, (double*)0);
2221 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
2223 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
2227 static wxRect
wxDC_GetClippingRect(wxDC
*self
){
2229 self
->GetClippingBox(rect
);
2232 static wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
2234 self
->GetPartialTextExtents(text
, widths
);
2238 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2239 #define SWIG_From_double PyFloat_FromDouble
2243 static void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
2244 self
->SetLogicalOrigin(point
.x
, point
.y
);
2246 static void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
2247 self
->SetDeviceOrigin(point
.x
, point
.y
);
2249 static void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
2250 self
->CalcBoundingBox(point
.x
, point
.y
);
2252 static PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2253 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
2255 static PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2256 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
2258 static PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2259 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
2261 static PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2262 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
2264 static PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
2265 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
2267 static PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
2268 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
2271 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
2279 #include <wx/dcbuffer.h>
2282 #include <wx/dcps.h>
2285 #include <wx/metafile.h>
2289 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2290 self
->AddColour(name
, wxColour(red
, green
, blue
));
2293 #include <wx/effects.h>
2296 #include "wx/renderer.h"
2299 SWIGINTERNINLINE PyObject
*
2300 SWIG_From_bool(bool value
)
2302 PyObject
*obj
= value
? Py_True
: Py_False
;
2310 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
= NULL
;
2312 wxGDIObject
*result
;
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2319 if (!wxPyCheckForApp()) SWIG_fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 result
= (wxGDIObject
*)new wxGDIObject();
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2333 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
*resultobj
= NULL
;
2335 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2336 PyObject
* obj0
= 0 ;
2338 (char *) "self", NULL
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2343 if (SWIG_arg_fail(1)) SWIG_fail
;
2345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 wxPyEndAllowThreads(__tstate
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2351 Py_INCREF(Py_None
); resultobj
= Py_None
;
2358 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
*resultobj
= NULL
;
2360 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2362 PyObject
* obj0
= 0 ;
2364 (char *) "self", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2369 if (SWIG_arg_fail(1)) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 result
= (bool)(arg1
)->GetVisible();
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2386 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
= NULL
;
2388 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2391 PyObject
* obj1
= 0 ;
2393 (char *) "self",(char *) "visible", NULL
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2398 if (SWIG_arg_fail(1)) SWIG_fail
;
2400 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
2401 if (SWIG_arg_fail(2)) SWIG_fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 (arg1
)->SetVisible(arg2
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2410 Py_INCREF(Py_None
); resultobj
= Py_None
;
2417 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
= NULL
;
2419 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2421 PyObject
* obj0
= 0 ;
2423 (char *) "self", NULL
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2428 if (SWIG_arg_fail(1)) SWIG_fail
;
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 result
= (bool)(arg1
)->IsNull();
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2445 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2448 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2450 return Py_BuildValue((char *)"");
2452 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
= NULL
;
2454 byte arg1
= (byte
) 0 ;
2455 byte arg2
= (byte
) 0 ;
2456 byte arg3
= (byte
) 0 ;
2458 PyObject
* obj0
= 0 ;
2459 PyObject
* obj1
= 0 ;
2460 PyObject
* obj2
= 0 ;
2462 (char *) "red",(char *) "green",(char *) "blue", NULL
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2468 arg1
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj0
));
2469 if (SWIG_arg_fail(1)) SWIG_fail
;
2474 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
2475 if (SWIG_arg_fail(2)) SWIG_fail
;
2480 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
2481 if (SWIG_arg_fail(3)) SWIG_fail
;
2485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2488 wxPyEndAllowThreads(__tstate
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2498 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
*resultobj
= NULL
;
2500 wxString
*arg1
= 0 ;
2502 bool temp1
= false ;
2503 PyObject
* obj0
= 0 ;
2505 (char *) "colorName", NULL
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2510 arg1
= wxString_in_helper(obj0
);
2511 if (arg1
== NULL
) SWIG_fail
;
2515 if (!wxPyCheckForApp()) SWIG_fail
;
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2517 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2537 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
= NULL
;
2539 unsigned long arg1
;
2541 PyObject
* obj0
= 0 ;
2543 (char *) "colRGB", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2548 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
2549 if (SWIG_arg_fail(1)) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 result
= (wxColour
*)new wxColour(arg1
);
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2565 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
= NULL
;
2567 wxColour
*arg1
= (wxColour
*) 0 ;
2568 PyObject
* obj0
= 0 ;
2570 (char *) "self", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2575 if (SWIG_arg_fail(1)) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 Py_INCREF(Py_None
); resultobj
= Py_None
;
2590 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
= NULL
;
2592 wxColour
*arg1
= (wxColour
*) 0 ;
2594 PyObject
* obj0
= 0 ;
2596 (char *) "self", NULL
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2601 if (SWIG_arg_fail(1)) SWIG_fail
;
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 result
= (byte
)(arg1
)->Red();
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2610 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2618 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
= NULL
;
2620 wxColour
*arg1
= (wxColour
*) 0 ;
2622 PyObject
* obj0
= 0 ;
2624 (char *) "self", NULL
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2629 if (SWIG_arg_fail(1)) SWIG_fail
;
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 result
= (byte
)(arg1
)->Green();
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2638 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2646 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
= NULL
;
2648 wxColour
*arg1
= (wxColour
*) 0 ;
2650 PyObject
* obj0
= 0 ;
2652 (char *) "self", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2657 if (SWIG_arg_fail(1)) SWIG_fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (byte
)(arg1
)->Blue();
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2666 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2674 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
= NULL
;
2676 wxColour
*arg1
= (wxColour
*) 0 ;
2678 PyObject
* obj0
= 0 ;
2680 (char *) "self", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2685 if (SWIG_arg_fail(1)) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 result
= (bool)(arg1
)->Ok();
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2702 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
= NULL
;
2704 wxColour
*arg1
= (wxColour
*) 0 ;
2708 PyObject
* obj0
= 0 ;
2709 PyObject
* obj1
= 0 ;
2710 PyObject
* obj2
= 0 ;
2711 PyObject
* obj3
= 0 ;
2713 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2718 if (SWIG_arg_fail(1)) SWIG_fail
;
2720 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
2721 if (SWIG_arg_fail(2)) SWIG_fail
;
2724 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
2725 if (SWIG_arg_fail(3)) SWIG_fail
;
2728 arg4
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj3
));
2729 if (SWIG_arg_fail(4)) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 (arg1
)->Set(arg2
,arg3
,arg4
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2738 Py_INCREF(Py_None
); resultobj
= Py_None
;
2745 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
= NULL
;
2747 wxColour
*arg1
= (wxColour
*) 0 ;
2748 unsigned long arg2
;
2749 PyObject
* obj0
= 0 ;
2750 PyObject
* obj1
= 0 ;
2752 (char *) "self",(char *) "colRGB", NULL
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2757 if (SWIG_arg_fail(1)) SWIG_fail
;
2759 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
2760 if (SWIG_arg_fail(2)) SWIG_fail
;
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2769 Py_INCREF(Py_None
); resultobj
= Py_None
;
2776 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
*resultobj
= NULL
;
2778 wxColour
*arg1
= (wxColour
*) 0 ;
2779 wxString
*arg2
= 0 ;
2780 bool temp2
= false ;
2781 PyObject
* obj0
= 0 ;
2782 PyObject
* obj1
= 0 ;
2784 (char *) "self",(char *) "colourName", NULL
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2789 if (SWIG_arg_fail(1)) SWIG_fail
;
2791 arg2
= wxString_in_helper(obj1
);
2792 if (arg2
== NULL
) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 (arg1
)->InitFromName((wxString
const &)*arg2
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 Py_INCREF(Py_None
); resultobj
= Py_None
;
2817 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
= NULL
;
2819 wxColour
*arg1
= (wxColour
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2823 (char *) "self", NULL
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2828 if (SWIG_arg_fail(1)) SWIG_fail
;
2830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2831 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2833 wxPyEndAllowThreads(__tstate
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2837 resultobj
= SWIG_From_long(static_cast<long >(result
));
2845 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
*resultobj
= NULL
;
2847 wxColour
*arg1
= (wxColour
*) 0 ;
2848 wxColour
*arg2
= 0 ;
2851 PyObject
* obj0
= 0 ;
2852 PyObject
* obj1
= 0 ;
2854 (char *) "self",(char *) "colour", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2859 if (SWIG_arg_fail(1)) SWIG_fail
;
2862 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2880 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
*resultobj
= NULL
;
2882 wxColour
*arg1
= (wxColour
*) 0 ;
2883 wxColour
*arg2
= 0 ;
2886 PyObject
* obj0
= 0 ;
2887 PyObject
* obj1
= 0 ;
2889 (char *) "self",(char *) "colour", NULL
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2894 if (SWIG_arg_fail(1)) SWIG_fail
;
2897 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2903 wxPyEndAllowThreads(__tstate
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2915 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
= NULL
;
2917 wxColour
*arg1
= (wxColour
*) 0 ;
2919 PyObject
* obj0
= 0 ;
2921 (char *) "self", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2926 if (SWIG_arg_fail(1)) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (PyObject
*)wxColour_Get(arg1
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2941 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
= NULL
;
2943 wxColour
*arg1
= (wxColour
*) 0 ;
2944 unsigned long result
;
2945 PyObject
* obj0
= 0 ;
2947 (char *) "self", NULL
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 result
= (unsigned long)wxColour_GetRGB(arg1
);
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2961 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
2969 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2972 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2974 return Py_BuildValue((char *)"");
2976 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
= NULL
;
2979 unsigned char *arg2
= (unsigned char *) 0 ;
2980 unsigned char *arg3
= (unsigned char *) 0 ;
2981 unsigned char *arg4
= (unsigned char *) 0 ;
2983 PyObject
* obj0
= 0 ;
2984 PyObject
* obj1
= 0 ;
2985 PyObject
* obj2
= 0 ;
2986 PyObject
* obj3
= 0 ;
2988 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2993 arg1
= static_cast<int >(SWIG_As_int(obj0
));
2994 if (SWIG_arg_fail(1)) SWIG_fail
;
2996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2997 if (SWIG_arg_fail(2)) SWIG_fail
;
2998 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
2999 if (SWIG_arg_fail(3)) SWIG_fail
;
3000 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
3001 if (SWIG_arg_fail(4)) SWIG_fail
;
3003 if (!wxPyCheckForApp()) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
3017 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
= NULL
;
3019 wxPalette
*arg1
= (wxPalette
*) 0 ;
3020 PyObject
* obj0
= 0 ;
3022 (char *) "self", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
3026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3027 if (SWIG_arg_fail(1)) SWIG_fail
;
3029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3035 Py_INCREF(Py_None
); resultobj
= Py_None
;
3042 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
*resultobj
= NULL
;
3044 wxPalette
*arg1
= (wxPalette
*) 0 ;
3049 PyObject
* obj0
= 0 ;
3050 PyObject
* obj1
= 0 ;
3051 PyObject
* obj2
= 0 ;
3052 PyObject
* obj3
= 0 ;
3054 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3059 if (SWIG_arg_fail(1)) SWIG_fail
;
3061 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
3062 if (SWIG_arg_fail(2)) SWIG_fail
;
3065 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
3066 if (SWIG_arg_fail(3)) SWIG_fail
;
3069 arg4
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj3
));
3070 if (SWIG_arg_fail(4)) SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3080 resultobj
= SWIG_From_int(static_cast<int >(result
));
3088 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
= NULL
;
3090 wxPalette
*arg1
= (wxPalette
*) 0 ;
3092 byte
*arg3
= (byte
*) 0 ;
3093 byte
*arg4
= (byte
*) 0 ;
3094 byte
*arg5
= (byte
*) 0 ;
3102 PyObject
* obj0
= 0 ;
3103 PyObject
* obj1
= 0 ;
3105 (char *) "self",(char *) "pixel", NULL
3108 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3109 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3110 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
3112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3113 if (SWIG_arg_fail(1)) SWIG_fail
;
3115 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3116 if (SWIG_arg_fail(2)) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3128 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3129 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
3130 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3131 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
3132 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3133 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
3140 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
= NULL
;
3142 wxPalette
*arg1
= (wxPalette
*) 0 ;
3144 PyObject
* obj0
= 0 ;
3146 (char *) "self", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
3150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3151 if (SWIG_arg_fail(1)) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3160 resultobj
= SWIG_From_int(static_cast<int >(result
));
3168 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
*resultobj
= NULL
;
3170 wxPalette
*arg1
= (wxPalette
*) 0 ;
3172 PyObject
* obj0
= 0 ;
3174 (char *) "self", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3179 if (SWIG_arg_fail(1)) SWIG_fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 result
= (bool)(arg1
)->Ok();
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3196 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3199 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3201 return Py_BuildValue((char *)"");
3203 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
= NULL
;
3205 wxColour
*arg1
= 0 ;
3206 int arg2
= (int) 1 ;
3207 int arg3
= (int) wxSOLID
;
3210 PyObject
* obj0
= 0 ;
3211 PyObject
* obj1
= 0 ;
3212 PyObject
* obj2
= 0 ;
3214 (char *) "colour",(char *) "width",(char *) "style", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3220 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3224 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3225 if (SWIG_arg_fail(2)) SWIG_fail
;
3230 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3231 if (SWIG_arg_fail(3)) SWIG_fail
;
3235 if (!wxPyCheckForApp()) SWIG_fail
;
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3249 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
*resultobj
= NULL
;
3251 wxPen
*arg1
= (wxPen
*) 0 ;
3252 PyObject
* obj0
= 0 ;
3254 (char *) "self", NULL
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3259 if (SWIG_arg_fail(1)) SWIG_fail
;
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3267 Py_INCREF(Py_None
); resultobj
= Py_None
;
3274 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
*resultobj
= NULL
;
3276 wxPen
*arg1
= (wxPen
*) 0 ;
3278 PyObject
* obj0
= 0 ;
3280 (char *) "self", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3285 if (SWIG_arg_fail(1)) SWIG_fail
;
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 result
= (int)(arg1
)->GetCap();
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3294 resultobj
= SWIG_From_int(static_cast<int >(result
));
3302 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
= NULL
;
3304 wxPen
*arg1
= (wxPen
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3308 (char *) "self", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3313 if (SWIG_arg_fail(1)) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 result
= (arg1
)->GetColour();
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3322 wxColour
* resultptr
;
3323 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3332 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
*resultobj
= NULL
;
3334 wxPen
*arg1
= (wxPen
*) 0 ;
3336 PyObject
* obj0
= 0 ;
3338 (char *) "self", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3343 if (SWIG_arg_fail(1)) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 result
= (int)(arg1
)->GetJoin();
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3352 resultobj
= SWIG_From_int(static_cast<int >(result
));
3360 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
= NULL
;
3362 wxPen
*arg1
= (wxPen
*) 0 ;
3364 PyObject
* obj0
= 0 ;
3366 (char *) "self", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3371 if (SWIG_arg_fail(1)) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (int)(arg1
)->GetStyle();
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= SWIG_From_int(static_cast<int >(result
));
3388 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
*resultobj
= NULL
;
3390 wxPen
*arg1
= (wxPen
*) 0 ;
3392 PyObject
* obj0
= 0 ;
3394 (char *) "self", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3399 if (SWIG_arg_fail(1)) SWIG_fail
;
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 result
= (int)(arg1
)->GetWidth();
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3408 resultobj
= SWIG_From_int(static_cast<int >(result
));
3416 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
= NULL
;
3418 wxPen
*arg1
= (wxPen
*) 0 ;
3420 PyObject
* obj0
= 0 ;
3422 (char *) "self", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3427 if (SWIG_arg_fail(1)) SWIG_fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 result
= (bool)(arg1
)->Ok();
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3444 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
= NULL
;
3446 wxPen
*arg1
= (wxPen
*) 0 ;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3451 (char *) "self",(char *) "cap_style", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3456 if (SWIG_arg_fail(1)) SWIG_fail
;
3458 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3459 if (SWIG_arg_fail(2)) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 (arg1
)->SetCap(arg2
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 Py_INCREF(Py_None
); resultobj
= Py_None
;
3475 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
= NULL
;
3477 wxPen
*arg1
= (wxPen
*) 0 ;
3478 wxColour
*arg2
= 0 ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3483 (char *) "self",(char *) "colour", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3488 if (SWIG_arg_fail(1)) SWIG_fail
;
3491 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 (arg1
)->SetColour(*arg2
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 Py_INCREF(Py_None
); resultobj
= Py_None
;
3507 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
= NULL
;
3509 wxPen
*arg1
= (wxPen
*) 0 ;
3511 PyObject
* obj0
= 0 ;
3512 PyObject
* obj1
= 0 ;
3514 (char *) "self",(char *) "join_style", NULL
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3519 if (SWIG_arg_fail(1)) SWIG_fail
;
3521 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3522 if (SWIG_arg_fail(2)) SWIG_fail
;
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 (arg1
)->SetJoin(arg2
);
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3531 Py_INCREF(Py_None
); resultobj
= Py_None
;
3538 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
= NULL
;
3540 wxPen
*arg1
= (wxPen
*) 0 ;
3542 PyObject
* obj0
= 0 ;
3543 PyObject
* obj1
= 0 ;
3545 (char *) "self",(char *) "style", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3550 if (SWIG_arg_fail(1)) SWIG_fail
;
3552 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3553 if (SWIG_arg_fail(2)) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 (arg1
)->SetStyle(arg2
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 Py_INCREF(Py_None
); resultobj
= Py_None
;
3569 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
= NULL
;
3571 wxPen
*arg1
= (wxPen
*) 0 ;
3573 PyObject
* obj0
= 0 ;
3574 PyObject
* obj1
= 0 ;
3576 (char *) "self",(char *) "width", NULL
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3581 if (SWIG_arg_fail(1)) SWIG_fail
;
3583 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3584 if (SWIG_arg_fail(2)) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 (arg1
)->SetWidth(arg2
);
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3593 Py_INCREF(Py_None
); resultobj
= Py_None
;
3600 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
*resultobj
= NULL
;
3602 wxPen
*arg1
= (wxPen
*) 0 ;
3604 wxDash
*arg3
= (wxDash
*) 0 ;
3605 PyObject
* obj0
= 0 ;
3606 PyObject
* obj1
= 0 ;
3608 (char *) "self",(char *) "dashes", NULL
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3613 if (SWIG_arg_fail(1)) SWIG_fail
;
3615 arg2
= PyList_Size(obj1
);
3616 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3617 if (arg3
== NULL
) SWIG_fail
;
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 (arg1
)->SetDashes(arg2
,arg3
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3626 Py_INCREF(Py_None
); resultobj
= Py_None
;
3628 if (arg3
) delete [] arg3
;
3633 if (arg3
) delete [] arg3
;
3639 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
= NULL
;
3641 wxPen
*arg1
= (wxPen
*) 0 ;
3643 PyObject
* obj0
= 0 ;
3645 (char *) "self", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3650 if (SWIG_arg_fail(1)) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3665 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
= NULL
;
3667 wxPen
*arg1
= (wxPen
*) 0 ;
3668 PyObject
*arg2
= (PyObject
*) 0 ;
3669 PyObject
*arg3
= (PyObject
*) 0 ;
3670 PyObject
* obj0
= 0 ;
3671 PyObject
* obj1
= 0 ;
3672 PyObject
* obj2
= 0 ;
3674 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3679 if (SWIG_arg_fail(1)) SWIG_fail
;
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 wxPen__SetDashes(arg1
,arg2
,arg3
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3689 Py_INCREF(Py_None
); resultobj
= Py_None
;
3696 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
*resultobj
= NULL
;
3698 wxPen
*arg1
= (wxPen
*) 0 ;
3700 PyObject
* obj0
= 0 ;
3702 (char *) "self", NULL
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
3706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3707 if (SWIG_arg_fail(1)) SWIG_fail
;
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3716 resultobj
= SWIG_From_int(static_cast<int >(result
));
3724 static PyObject
*_wrap_Pen_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= NULL
;
3726 wxPen
*arg1
= (wxPen
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3730 (char *) "self", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
3734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3735 if (SWIG_arg_fail(1)) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (wxBitmap
*)(arg1
)->GetStipple();
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
3750 static PyObject
*_wrap_Pen_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
= NULL
;
3752 wxPen
*arg1
= (wxPen
*) 0 ;
3753 wxBitmap
*arg2
= 0 ;
3754 PyObject
* obj0
= 0 ;
3755 PyObject
* obj1
= 0 ;
3757 (char *) "self",(char *) "stipple", NULL
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3762 if (SWIG_arg_fail(1)) SWIG_fail
;
3764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3765 if (SWIG_arg_fail(2)) SWIG_fail
;
3767 SWIG_null_ref("wxBitmap");
3769 if (SWIG_arg_fail(2)) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 (arg1
)->SetStipple(*arg2
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 Py_INCREF(Py_None
); resultobj
= Py_None
;
3785 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
= NULL
;
3787 wxPen
*arg1
= (wxPen
*) 0 ;
3788 wxPen
*arg2
= (wxPen
*) 0 ;
3790 PyObject
* obj0
= 0 ;
3791 PyObject
* obj1
= 0 ;
3793 (char *) "self",(char *) "other", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail
;
3799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3800 if (SWIG_arg_fail(2)) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3817 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
= NULL
;
3819 wxPen
*arg1
= (wxPen
*) 0 ;
3820 wxPen
*arg2
= (wxPen
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3823 PyObject
* obj1
= 0 ;
3825 (char *) "self",(char *) "other", NULL
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3830 if (SWIG_arg_fail(1)) SWIG_fail
;
3831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3832 if (SWIG_arg_fail(2)) SWIG_fail
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3849 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3852 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3854 return Py_BuildValue((char *)"");
3856 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
= NULL
;
3858 wxColour
*arg1
= 0 ;
3859 int arg2
= (int) wxSOLID
;
3862 PyObject
* obj0
= 0 ;
3863 PyObject
* obj1
= 0 ;
3865 (char *) "colour",(char *) "style", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3871 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3875 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3876 if (SWIG_arg_fail(2)) SWIG_fail
;
3880 if (!wxPyCheckForApp()) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3894 static PyObject
*_wrap_new_BrushFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
= NULL
;
3896 wxBitmap
*arg1
= 0 ;
3898 PyObject
* obj0
= 0 ;
3900 (char *) "stippleBitmap", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) goto fail
;
3905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3906 if (SWIG_arg_fail(1)) SWIG_fail
;
3908 SWIG_null_ref("wxBitmap");
3910 if (SWIG_arg_fail(1)) SWIG_fail
;
3913 if (!wxPyCheckForApp()) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3927 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
= NULL
;
3929 wxBrush
*arg1
= (wxBrush
*) 0 ;
3930 PyObject
* obj0
= 0 ;
3932 (char *) "self", NULL
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3937 if (SWIG_arg_fail(1)) SWIG_fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3945 Py_INCREF(Py_None
); resultobj
= Py_None
;
3952 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
= NULL
;
3954 wxBrush
*arg1
= (wxBrush
*) 0 ;
3955 wxColour
*arg2
= 0 ;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3960 (char *) "self",(char *) "col", NULL
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3965 if (SWIG_arg_fail(1)) SWIG_fail
;
3968 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 (arg1
)->SetColour((wxColour
const &)*arg2
);
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 Py_INCREF(Py_None
); resultobj
= Py_None
;
3984 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
= NULL
;
3986 wxBrush
*arg1
= (wxBrush
*) 0 ;
3988 PyObject
* obj0
= 0 ;
3989 PyObject
* obj1
= 0 ;
3991 (char *) "self",(char *) "style", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3996 if (SWIG_arg_fail(1)) SWIG_fail
;
3998 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3999 if (SWIG_arg_fail(2)) SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 (arg1
)->SetStyle(arg2
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 Py_INCREF(Py_None
); resultobj
= Py_None
;
4015 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
= NULL
;
4017 wxBrush
*arg1
= (wxBrush
*) 0 ;
4018 wxBitmap
*arg2
= 0 ;
4019 PyObject
* obj0
= 0 ;
4020 PyObject
* obj1
= 0 ;
4022 (char *) "self",(char *) "stipple", NULL
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
4026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail
;
4029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4030 if (SWIG_arg_fail(2)) SWIG_fail
;
4032 SWIG_null_ref("wxBitmap");
4034 if (SWIG_arg_fail(2)) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 Py_INCREF(Py_None
); resultobj
= Py_None
;
4050 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
= NULL
;
4052 wxBrush
*arg1
= (wxBrush
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4056 (char *) "self", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
4060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4061 if (SWIG_arg_fail(1)) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= ((wxBrush
const *)arg1
)->GetColour();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4070 wxColour
* resultptr
;
4071 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
4072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4080 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
= NULL
;
4082 wxBrush
*arg1
= (wxBrush
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4086 (char *) "self", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
4090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4091 if (SWIG_arg_fail(1)) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= SWIG_From_int(static_cast<int >(result
));
4108 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
= NULL
;
4110 wxBrush
*arg1
= (wxBrush
*) 0 ;
4112 PyObject
* obj0
= 0 ;
4114 (char *) "self", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
4118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4119 if (SWIG_arg_fail(1)) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
4134 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
= NULL
;
4136 wxBrush
*arg1
= (wxBrush
*) 0 ;
4138 PyObject
* obj0
= 0 ;
4140 (char *) "self", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
4144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4145 if (SWIG_arg_fail(1)) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4162 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
= NULL
;
4164 wxBrush
*arg1
= (wxBrush
*) 0 ;
4166 PyObject
* obj0
= 0 ;
4168 (char *) "self", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
4172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4173 if (SWIG_arg_fail(1)) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 result
= (bool)(arg1
)->Ok();
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4190 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
4192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4193 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
4195 return Py_BuildValue((char *)"");
4197 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
= NULL
;
4199 wxString
*arg1
= 0 ;
4200 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
4202 bool temp1
= false ;
4203 PyObject
* obj0
= 0 ;
4204 PyObject
* obj1
= 0 ;
4206 (char *) "name",(char *) "type", NULL
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4211 arg1
= wxString_in_helper(obj0
);
4212 if (arg1
== NULL
) SWIG_fail
;
4217 arg2
= static_cast<wxBitmapType
>(SWIG_As_int(obj1
));
4218 if (SWIG_arg_fail(2)) SWIG_fail
;
4222 if (!wxPyCheckForApp()) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4244 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
= NULL
;
4246 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4247 PyObject
* obj0
= 0 ;
4249 (char *) "self", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4254 if (SWIG_arg_fail(1)) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 Py_INCREF(Py_None
); resultobj
= Py_None
;
4269 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
= NULL
;
4273 int arg3
= (int) -1 ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4277 PyObject
* obj2
= 0 ;
4279 (char *) "width",(char *) "height",(char *) "depth", NULL
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4284 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4285 if (SWIG_arg_fail(1)) SWIG_fail
;
4288 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4289 if (SWIG_arg_fail(2)) SWIG_fail
;
4293 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4294 if (SWIG_arg_fail(3)) SWIG_fail
;
4298 if (!wxPyCheckForApp()) SWIG_fail
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4312 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
= NULL
;
4316 PyObject
* obj0
= 0 ;
4318 (char *) "icon", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4324 if (SWIG_arg_fail(1)) SWIG_fail
;
4326 SWIG_null_ref("wxIcon");
4328 if (SWIG_arg_fail(1)) SWIG_fail
;
4331 if (!wxPyCheckForApp()) SWIG_fail
;
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4345 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= NULL
;
4348 int arg2
= (int) -1 ;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4353 (char *) "image",(char *) "depth", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4359 if (SWIG_arg_fail(1)) SWIG_fail
;
4361 SWIG_null_ref("wxImage");
4363 if (SWIG_arg_fail(1)) SWIG_fail
;
4367 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4368 if (SWIG_arg_fail(2)) SWIG_fail
;
4372 if (!wxPyCheckForApp()) SWIG_fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4386 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= NULL
;
4388 PyObject
*arg1
= (PyObject
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4392 (char *) "listOfStrings", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4398 if (!wxPyCheckForApp()) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4412 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
= NULL
;
4414 PyObject
*arg1
= (PyObject
*) 0 ;
4417 int arg4
= (int) 1 ;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4421 PyObject
* obj2
= 0 ;
4422 PyObject
* obj3
= 0 ;
4424 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4430 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4431 if (SWIG_arg_fail(2)) SWIG_fail
;
4434 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4435 if (SWIG_arg_fail(3)) SWIG_fail
;
4439 arg4
= static_cast<int >(SWIG_As_int(obj3
));
4440 if (SWIG_arg_fail(4)) SWIG_fail
;
4444 if (!wxPyCheckForApp()) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4458 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
= NULL
;
4460 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4462 PyObject
* obj0
= 0 ;
4464 (char *) "self", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
4468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4469 if (SWIG_arg_fail(1)) SWIG_fail
;
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 result
= (long)(arg1
)->GetHandle();
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_From_long(static_cast<long >(result
));
4486 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
= NULL
;
4488 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4493 (char *) "self",(char *) "handle", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4498 if (SWIG_arg_fail(1)) SWIG_fail
;
4500 arg2
= static_cast<long >(SWIG_As_long(obj1
));
4501 if (SWIG_arg_fail(2)) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 wxBitmap_SetHandle(arg1
,arg2
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 Py_INCREF(Py_None
); resultobj
= Py_None
;
4517 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= NULL
;
4519 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4521 PyObject
* obj0
= 0 ;
4523 (char *) "self", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 result
= (bool)(arg1
)->Ok();
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4545 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
*resultobj
= NULL
;
4547 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4549 PyObject
* obj0
= 0 ;
4551 (char *) "self", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4556 if (SWIG_arg_fail(1)) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= (int)(arg1
)->GetWidth();
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= SWIG_From_int(static_cast<int >(result
));
4573 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= NULL
;
4575 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4577 PyObject
* obj0
= 0 ;
4579 (char *) "self", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 result
= (int)(arg1
)->GetHeight();
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= SWIG_From_int(static_cast<int >(result
));
4601 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
= NULL
;
4603 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4605 PyObject
* obj0
= 0 ;
4607 (char *) "self", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4612 if (SWIG_arg_fail(1)) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 result
= (int)(arg1
)->GetDepth();
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= SWIG_From_int(static_cast<int >(result
));
4629 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
= NULL
;
4631 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4635 (char *) "self", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4640 if (SWIG_arg_fail(1)) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= wxBitmap_GetSize(arg1
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4650 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
4651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4659 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
= NULL
;
4661 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4662 SwigValueWrapper
<wxImage
> result
;
4663 PyObject
* obj0
= 0 ;
4665 (char *) "self", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4670 if (SWIG_arg_fail(1)) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4679 wxImage
* resultptr
;
4680 resultptr
= new wxImage(static_cast<wxImage
& >(result
));
4681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4689 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
= NULL
;
4691 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4695 (char *) "self", NULL
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4700 if (SWIG_arg_fail(1)) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4715 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
= NULL
;
4717 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4718 wxMask
*arg2
= (wxMask
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4720 PyObject
* obj1
= 0 ;
4722 (char *) "self",(char *) "mask", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4727 if (SWIG_arg_fail(1)) SWIG_fail
;
4728 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4729 if (SWIG_arg_fail(2)) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 (arg1
)->SetMask(arg2
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 Py_INCREF(Py_None
); resultobj
= Py_None
;
4744 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
= NULL
;
4746 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4747 wxColour
*arg2
= 0 ;
4749 PyObject
* obj0
= 0 ;
4750 PyObject
* obj1
= 0 ;
4752 (char *) "self",(char *) "colour", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4757 if (SWIG_arg_fail(1)) SWIG_fail
;
4760 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4769 Py_INCREF(Py_None
); resultobj
= Py_None
;
4776 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
= NULL
;
4778 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4780 SwigValueWrapper
<wxBitmap
> result
;
4782 PyObject
* obj0
= 0 ;
4783 PyObject
* obj1
= 0 ;
4785 (char *) "self",(char *) "rect", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4790 if (SWIG_arg_fail(1)) SWIG_fail
;
4793 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4803 wxBitmap
* resultptr
;
4804 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
4805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4813 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
= NULL
;
4815 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4816 wxString
*arg2
= 0 ;
4818 wxPalette
*arg4
= (wxPalette
*) NULL
;
4820 bool temp2
= false ;
4821 PyObject
* obj0
= 0 ;
4822 PyObject
* obj1
= 0 ;
4823 PyObject
* obj2
= 0 ;
4824 PyObject
* obj3
= 0 ;
4826 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4831 if (SWIG_arg_fail(1)) SWIG_fail
;
4833 arg2
= wxString_in_helper(obj1
);
4834 if (arg2
== NULL
) SWIG_fail
;
4838 arg3
= static_cast<wxBitmapType
>(SWIG_As_int(obj2
));
4839 if (SWIG_arg_fail(3)) SWIG_fail
;
4842 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4843 if (SWIG_arg_fail(4)) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4869 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
= NULL
;
4871 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4872 wxString
*arg2
= 0 ;
4875 bool temp2
= false ;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 PyObject
* obj2
= 0 ;
4880 (char *) "self",(char *) "name",(char *) "type", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4885 if (SWIG_arg_fail(1)) SWIG_fail
;
4887 arg2
= wxString_in_helper(obj1
);
4888 if (arg2
== NULL
) SWIG_fail
;
4892 arg3
= static_cast<wxBitmapType
>(SWIG_As_int(obj2
));
4893 if (SWIG_arg_fail(3)) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4919 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
= NULL
;
4921 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4925 (char *) "self", NULL
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4930 if (SWIG_arg_fail(1)) SWIG_fail
;
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4945 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
= NULL
;
4947 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4948 wxPalette
*arg2
= 0 ;
4949 PyObject
* obj0
= 0 ;
4950 PyObject
* obj1
= 0 ;
4952 (char *) "self",(char *) "palette", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
4956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4957 if (SWIG_arg_fail(1)) SWIG_fail
;
4959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4960 if (SWIG_arg_fail(2)) SWIG_fail
;
4962 SWIG_null_ref("wxPalette");
4964 if (SWIG_arg_fail(2)) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 Py_INCREF(Py_None
); resultobj
= Py_None
;
4980 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
= NULL
;
4982 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4988 (char *) "self",(char *) "icon", NULL
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4993 if (SWIG_arg_fail(1)) SWIG_fail
;
4995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4996 if (SWIG_arg_fail(2)) SWIG_fail
;
4998 SWIG_null_ref("wxIcon");
5000 if (SWIG_arg_fail(2)) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5018 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
= NULL
;
5020 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5025 (char *) "self",(char *) "height", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5030 if (SWIG_arg_fail(1)) SWIG_fail
;
5032 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5033 if (SWIG_arg_fail(2)) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 (arg1
)->SetHeight(arg2
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 Py_INCREF(Py_None
); resultobj
= Py_None
;
5049 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
= NULL
;
5051 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5053 PyObject
* obj0
= 0 ;
5054 PyObject
* obj1
= 0 ;
5056 (char *) "self",(char *) "width", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5061 if (SWIG_arg_fail(1)) SWIG_fail
;
5063 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5064 if (SWIG_arg_fail(2)) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 (arg1
)->SetWidth(arg2
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 Py_INCREF(Py_None
); resultobj
= Py_None
;
5080 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
= NULL
;
5082 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5084 PyObject
* obj0
= 0 ;
5085 PyObject
* obj1
= 0 ;
5087 (char *) "self",(char *) "depth", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5092 if (SWIG_arg_fail(1)) SWIG_fail
;
5094 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5095 if (SWIG_arg_fail(2)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 (arg1
)->SetDepth(arg2
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 Py_INCREF(Py_None
); resultobj
= Py_None
;
5111 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
= NULL
;
5113 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5119 (char *) "self",(char *) "size", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5124 if (SWIG_arg_fail(1)) SWIG_fail
;
5127 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 Py_INCREF(Py_None
); resultobj
= Py_None
;
5143 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
= NULL
;
5145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5146 wxCursor
*arg2
= 0 ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5151 (char *) "self",(char *) "cursor", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
5155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5156 if (SWIG_arg_fail(1)) SWIG_fail
;
5158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5159 if (SWIG_arg_fail(2)) SWIG_fail
;
5161 SWIG_null_ref("wxCursor");
5163 if (SWIG_arg_fail(2)) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5181 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
= NULL
;
5183 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5184 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5189 (char *) "self",(char *) "other", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail
;
5195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5196 if (SWIG_arg_fail(2)) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5213 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
= NULL
;
5215 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5216 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5221 (char *) "self",(char *) "other", NULL
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5226 if (SWIG_arg_fail(1)) SWIG_fail
;
5227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5228 if (SWIG_arg_fail(2)) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5245 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
5247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5248 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
5250 return Py_BuildValue((char *)"");
5252 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
= NULL
;
5254 wxBitmap
*arg1
= 0 ;
5255 wxColour
const &arg2_defvalue
= wxNullColour
;
5256 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5259 PyObject
* obj0
= 0 ;
5260 PyObject
* obj1
= 0 ;
5262 (char *) "bitmap",(char *) "colour", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
5267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail
;
5270 SWIG_null_ref("wxBitmap");
5272 if (SWIG_arg_fail(1)) SWIG_fail
;
5277 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5281 if (!wxPyCheckForApp()) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
5295 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
5297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5298 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
5300 return Py_BuildValue((char *)"");
5302 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
*resultobj
= NULL
;
5304 wxString
*arg1
= 0 ;
5306 int arg3
= (int) -1 ;
5307 int arg4
= (int) -1 ;
5309 bool temp1
= false ;
5310 PyObject
* obj0
= 0 ;
5311 PyObject
* obj1
= 0 ;
5312 PyObject
* obj2
= 0 ;
5313 PyObject
* obj3
= 0 ;
5315 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5320 arg1
= wxString_in_helper(obj0
);
5321 if (arg1
== NULL
) SWIG_fail
;
5325 arg2
= static_cast<wxBitmapType
>(SWIG_As_int(obj1
));
5326 if (SWIG_arg_fail(2)) SWIG_fail
;
5330 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5331 if (SWIG_arg_fail(3)) SWIG_fail
;
5336 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5337 if (SWIG_arg_fail(4)) SWIG_fail
;
5341 if (!wxPyCheckForApp()) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5363 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= NULL
;
5365 wxIcon
*arg1
= (wxIcon
*) 0 ;
5366 PyObject
* obj0
= 0 ;
5368 (char *) "self", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5373 if (SWIG_arg_fail(1)) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 Py_INCREF(Py_None
); resultobj
= Py_None
;
5388 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
= NULL
;
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5397 if (!wxPyCheckForApp()) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (wxIcon
*)new wxIcon();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5411 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
= NULL
;
5413 wxIconLocation
*arg1
= 0 ;
5415 PyObject
* obj0
= 0 ;
5417 (char *) "loc", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5423 if (SWIG_arg_fail(1)) SWIG_fail
;
5425 SWIG_null_ref("wxIconLocation");
5427 if (SWIG_arg_fail(1)) SWIG_fail
;
5430 if (!wxPyCheckForApp()) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5444 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
= NULL
;
5446 wxBitmap
*arg1
= 0 ;
5448 PyObject
* obj0
= 0 ;
5450 (char *) "bmp", NULL
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5456 if (SWIG_arg_fail(1)) SWIG_fail
;
5458 SWIG_null_ref("wxBitmap");
5460 if (SWIG_arg_fail(1)) SWIG_fail
;
5463 if (!wxPyCheckForApp()) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5477 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
= NULL
;
5479 PyObject
*arg1
= (PyObject
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5483 (char *) "listOfStrings", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5489 if (!wxPyCheckForApp()) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (wxIcon
*)new_wxIcon(arg1
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5503 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
= NULL
;
5505 wxIcon
*arg1
= (wxIcon
*) 0 ;
5506 wxString
*arg2
= 0 ;
5509 bool temp2
= false ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5512 PyObject
* obj2
= 0 ;
5514 (char *) "self",(char *) "name",(char *) "type", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5519 if (SWIG_arg_fail(1)) SWIG_fail
;
5521 arg2
= wxString_in_helper(obj1
);
5522 if (arg2
== NULL
) SWIG_fail
;
5526 arg3
= static_cast<wxBitmapType
>(SWIG_As_int(obj2
));
5527 if (SWIG_arg_fail(3)) SWIG_fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5553 static PyObject
*_wrap_Icon_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
= NULL
;
5555 wxIcon
*arg1
= (wxIcon
*) 0 ;
5557 PyObject
* obj0
= 0 ;
5559 (char *) "self", NULL
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
5563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5564 if (SWIG_arg_fail(1)) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= (long)(arg1
)->GetHandle();
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= SWIG_From_long(static_cast<long >(result
));
5581 static PyObject
*_wrap_Icon_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
= NULL
;
5583 wxIcon
*arg1
= (wxIcon
*) 0 ;
5585 PyObject
* obj0
= 0 ;
5586 PyObject
* obj1
= 0 ;
5588 (char *) "self",(char *) "handle", NULL
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
5592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5593 if (SWIG_arg_fail(1)) SWIG_fail
;
5595 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5596 if (SWIG_arg_fail(2)) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 wxIcon_SetHandle(arg1
,arg2
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 Py_INCREF(Py_None
); resultobj
= Py_None
;
5612 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
= NULL
;
5614 wxIcon
*arg1
= (wxIcon
*) 0 ;
5616 PyObject
* obj0
= 0 ;
5618 (char *) "self", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5623 if (SWIG_arg_fail(1)) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (bool)(arg1
)->Ok();
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5640 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
= NULL
;
5642 wxIcon
*arg1
= (wxIcon
*) 0 ;
5644 PyObject
* obj0
= 0 ;
5646 (char *) "self", NULL
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5651 if (SWIG_arg_fail(1)) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (int)(arg1
)->GetWidth();
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_From_int(static_cast<int >(result
));
5668 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
= NULL
;
5670 wxIcon
*arg1
= (wxIcon
*) 0 ;
5672 PyObject
* obj0
= 0 ;
5674 (char *) "self", NULL
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5679 if (SWIG_arg_fail(1)) SWIG_fail
;
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 result
= (int)(arg1
)->GetHeight();
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= SWIG_From_int(static_cast<int >(result
));
5696 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
= NULL
;
5698 wxIcon
*arg1
= (wxIcon
*) 0 ;
5700 PyObject
* obj0
= 0 ;
5702 (char *) "self", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 result
= (int)(arg1
)->GetDepth();
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= SWIG_From_int(static_cast<int >(result
));
5724 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
= NULL
;
5726 wxIcon
*arg1
= (wxIcon
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5729 PyObject
* obj1
= 0 ;
5731 (char *) "self",(char *) "w", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5736 if (SWIG_arg_fail(1)) SWIG_fail
;
5738 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5739 if (SWIG_arg_fail(2)) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 (arg1
)->SetWidth(arg2
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 Py_INCREF(Py_None
); resultobj
= Py_None
;
5755 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
= NULL
;
5757 wxIcon
*arg1
= (wxIcon
*) 0 ;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5762 (char *) "self",(char *) "h", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5767 if (SWIG_arg_fail(1)) SWIG_fail
;
5769 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5770 if (SWIG_arg_fail(2)) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 (arg1
)->SetHeight(arg2
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 Py_INCREF(Py_None
); resultobj
= Py_None
;
5786 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
= NULL
;
5788 wxIcon
*arg1
= (wxIcon
*) 0 ;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5793 (char *) "self",(char *) "d", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5798 if (SWIG_arg_fail(1)) SWIG_fail
;
5800 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5801 if (SWIG_arg_fail(2)) SWIG_fail
;
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 (arg1
)->SetDepth(arg2
);
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 Py_INCREF(Py_None
); resultobj
= Py_None
;
5817 static PyObject
*_wrap_Icon_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
= NULL
;
5819 wxIcon
*arg1
= (wxIcon
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5823 PyObject
* obj1
= 0 ;
5825 (char *) "self",(char *) "size", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5830 if (SWIG_arg_fail(1)) SWIG_fail
;
5833 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 (arg1
)->SetSize((wxSize
const &)*arg2
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 Py_INCREF(Py_None
); resultobj
= Py_None
;
5849 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
= NULL
;
5851 wxIcon
*arg1
= (wxIcon
*) 0 ;
5852 wxBitmap
*arg2
= 0 ;
5853 PyObject
* obj0
= 0 ;
5854 PyObject
* obj1
= 0 ;
5856 (char *) "self",(char *) "bmp", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5861 if (SWIG_arg_fail(1)) SWIG_fail
;
5863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5864 if (SWIG_arg_fail(2)) SWIG_fail
;
5866 SWIG_null_ref("wxBitmap");
5868 if (SWIG_arg_fail(2)) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 Py_INCREF(Py_None
); resultobj
= Py_None
;
5884 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5887 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5889 return Py_BuildValue((char *)"");
5891 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
*resultobj
= NULL
;
5893 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5894 int arg2
= (int) 0 ;
5895 wxIconLocation
*result
;
5896 bool temp1
= false ;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj1
= 0 ;
5900 (char *) "filename",(char *) "num", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5906 arg1
= wxString_in_helper(obj0
);
5907 if (arg1
== NULL
) SWIG_fail
;
5913 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5914 if (SWIG_arg_fail(2)) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5939 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
= NULL
;
5941 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5942 PyObject
* obj0
= 0 ;
5944 (char *) "self", NULL
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5949 if (SWIG_arg_fail(1)) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 Py_INCREF(Py_None
); resultobj
= Py_None
;
5964 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
= NULL
;
5966 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5968 PyObject
* obj0
= 0 ;
5970 (char *) "self", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5975 if (SWIG_arg_fail(1)) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5992 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
= NULL
;
5994 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5995 wxString
*arg2
= 0 ;
5996 bool temp2
= false ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
6000 (char *) "self",(char *) "filename", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
6004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
6005 if (SWIG_arg_fail(1)) SWIG_fail
;
6007 arg2
= wxString_in_helper(obj1
);
6008 if (arg2
== NULL
) SWIG_fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 (arg1
)->SetFileName((wxString
const &)*arg2
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 Py_INCREF(Py_None
); resultobj
= Py_None
;
6033 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
= NULL
;
6035 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
6043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
6044 if (SWIG_arg_fail(1)) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
6049 result
= (wxString
*) &_result_ref
;
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6059 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6068 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
= NULL
;
6070 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6075 (char *) "self",(char *) "num", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
6079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
6080 if (SWIG_arg_fail(1)) SWIG_fail
;
6082 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6083 if (SWIG_arg_fail(2)) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 wxIconLocation_SetIndex(arg1
,arg2
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 Py_INCREF(Py_None
); resultobj
= Py_None
;
6099 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
= NULL
;
6101 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6103 PyObject
* obj0
= 0 ;
6105 (char *) "self", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
6109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
6110 if (SWIG_arg_fail(1)) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= (int)wxIconLocation_GetIndex(arg1
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= SWIG_From_int(static_cast<int >(result
));
6127 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
6129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6130 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
6132 return Py_BuildValue((char *)"");
6134 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
= NULL
;
6136 wxIconBundle
*result
;
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= (wxIconBundle
*)new wxIconBundle();
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6156 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
= NULL
;
6158 wxString
*arg1
= 0 ;
6160 wxIconBundle
*result
;
6161 bool temp1
= false ;
6162 PyObject
* obj0
= 0 ;
6163 PyObject
* obj1
= 0 ;
6165 (char *) "file",(char *) "type", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6170 arg1
= wxString_in_helper(obj0
);
6171 if (arg1
== NULL
) SWIG_fail
;
6175 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6176 if (SWIG_arg_fail(2)) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6200 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
= NULL
;
6203 wxIconBundle
*result
;
6204 PyObject
* obj0
= 0 ;
6206 (char *) "icon", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
6211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6212 if (SWIG_arg_fail(1)) SWIG_fail
;
6214 SWIG_null_ref("wxIcon");
6216 if (SWIG_arg_fail(1)) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
6232 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
= NULL
;
6234 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6235 PyObject
* obj0
= 0 ;
6237 (char *) "self", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
6241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6242 if (SWIG_arg_fail(1)) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 Py_INCREF(Py_None
); resultobj
= Py_None
;
6257 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
= NULL
;
6259 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6264 (char *) "self",(char *) "icon", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6269 if (SWIG_arg_fail(1)) SWIG_fail
;
6271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6272 if (SWIG_arg_fail(2)) SWIG_fail
;
6274 SWIG_null_ref("wxIcon");
6276 if (SWIG_arg_fail(2)) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 Py_INCREF(Py_None
); resultobj
= Py_None
;
6292 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
= NULL
;
6294 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6295 wxString
*arg2
= 0 ;
6297 bool temp2
= false ;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6300 PyObject
* obj2
= 0 ;
6302 (char *) "self",(char *) "file",(char *) "type", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6307 if (SWIG_arg_fail(1)) SWIG_fail
;
6309 arg2
= wxString_in_helper(obj1
);
6310 if (arg2
== NULL
) SWIG_fail
;
6314 arg3
= static_cast<long >(SWIG_As_long(obj2
));
6315 if (SWIG_arg_fail(3)) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 Py_INCREF(Py_None
); resultobj
= Py_None
;
6339 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
= NULL
;
6341 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6345 PyObject
* obj0
= 0 ;
6346 PyObject
* obj1
= 0 ;
6348 (char *) "self",(char *) "size", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6353 if (SWIG_arg_fail(1)) SWIG_fail
;
6356 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
6362 result
= (wxIcon
*) &_result_ref
;
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6369 wxIcon
* resultptr
= new wxIcon(*result
);
6370 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
6378 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
6380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6381 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
6383 return Py_BuildValue((char *)"");
6385 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
= NULL
;
6387 wxString
*arg1
= 0 ;
6389 int arg3
= (int) 0 ;
6390 int arg4
= (int) 0 ;
6392 bool temp1
= false ;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6395 PyObject
* obj2
= 0 ;
6396 PyObject
* obj3
= 0 ;
6398 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6403 arg1
= wxString_in_helper(obj0
);
6404 if (arg1
== NULL
) SWIG_fail
;
6408 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6409 if (SWIG_arg_fail(2)) SWIG_fail
;
6413 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6414 if (SWIG_arg_fail(3)) SWIG_fail
;
6419 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6420 if (SWIG_arg_fail(4)) SWIG_fail
;
6424 if (!wxPyCheckForApp()) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6446 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
= NULL
;
6448 wxCursor
*arg1
= (wxCursor
*) 0 ;
6449 PyObject
* obj0
= 0 ;
6451 (char *) "self", NULL
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
6455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6456 if (SWIG_arg_fail(1)) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 Py_INCREF(Py_None
); resultobj
= Py_None
;
6471 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
= NULL
;
6475 PyObject
* obj0
= 0 ;
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6482 arg1
= static_cast<int >(SWIG_As_int(obj0
));
6483 if (SWIG_arg_fail(1)) SWIG_fail
;
6486 if (!wxPyCheckForApp()) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 result
= (wxCursor
*)new wxCursor(arg1
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6500 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
= NULL
;
6504 PyObject
* obj0
= 0 ;
6506 (char *) "image", NULL
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6512 if (SWIG_arg_fail(1)) SWIG_fail
;
6514 SWIG_null_ref("wxImage");
6516 if (SWIG_arg_fail(1)) SWIG_fail
;
6519 if (!wxPyCheckForApp()) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6533 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
= NULL
;
6535 wxCursor
*arg1
= (wxCursor
*) 0 ;
6537 PyObject
* obj0
= 0 ;
6539 (char *) "self", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
6543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6544 if (SWIG_arg_fail(1)) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (long)(arg1
)->GetHandle();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= SWIG_From_long(static_cast<long >(result
));
6561 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
= NULL
;
6563 wxCursor
*arg1
= (wxCursor
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6568 (char *) "self",(char *) "handle", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
6572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6573 if (SWIG_arg_fail(1)) SWIG_fail
;
6575 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6576 if (SWIG_arg_fail(2)) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 wxCursor_SetHandle(arg1
,arg2
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 Py_INCREF(Py_None
); resultobj
= Py_None
;
6592 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
= NULL
;
6594 wxCursor
*arg1
= (wxCursor
*) 0 ;
6596 PyObject
* obj0
= 0 ;
6598 (char *) "self", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6603 if (SWIG_arg_fail(1)) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (bool)(arg1
)->Ok();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6620 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
= NULL
;
6622 wxCursor
*arg1
= (wxCursor
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6626 (char *) "self", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
6630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 result
= (int)(arg1
)->GetWidth();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= SWIG_From_int(static_cast<int >(result
));
6648 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
= NULL
;
6650 wxCursor
*arg1
= (wxCursor
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6654 (char *) "self", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
6658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6659 if (SWIG_arg_fail(1)) SWIG_fail
;
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (int)(arg1
)->GetHeight();
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_From_int(static_cast<int >(result
));
6676 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= NULL
;
6678 wxCursor
*arg1
= (wxCursor
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6682 (char *) "self", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
6686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6687 if (SWIG_arg_fail(1)) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= (int)(arg1
)->GetDepth();
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= SWIG_From_int(static_cast<int >(result
));
6704 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
= NULL
;
6706 wxCursor
*arg1
= (wxCursor
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6711 (char *) "self",(char *) "w", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
6715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6716 if (SWIG_arg_fail(1)) SWIG_fail
;
6718 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6719 if (SWIG_arg_fail(2)) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 (arg1
)->SetWidth(arg2
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 Py_INCREF(Py_None
); resultobj
= Py_None
;
6735 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
= NULL
;
6737 wxCursor
*arg1
= (wxCursor
*) 0 ;
6739 PyObject
* obj0
= 0 ;
6740 PyObject
* obj1
= 0 ;
6742 (char *) "self",(char *) "h", NULL
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6747 if (SWIG_arg_fail(1)) SWIG_fail
;
6749 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6750 if (SWIG_arg_fail(2)) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 (arg1
)->SetHeight(arg2
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 Py_INCREF(Py_None
); resultobj
= Py_None
;
6766 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
= NULL
;
6768 wxCursor
*arg1
= (wxCursor
*) 0 ;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6773 (char *) "self",(char *) "d", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
6777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6778 if (SWIG_arg_fail(1)) SWIG_fail
;
6780 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6781 if (SWIG_arg_fail(2)) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 (arg1
)->SetDepth(arg2
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 Py_INCREF(Py_None
); resultobj
= Py_None
;
6797 static PyObject
*_wrap_Cursor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
= NULL
;
6799 wxCursor
*arg1
= (wxCursor
*) 0 ;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6805 (char *) "self",(char *) "size", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6810 if (SWIG_arg_fail(1)) SWIG_fail
;
6813 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 (arg1
)->SetSize((wxSize
const &)*arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 Py_INCREF(Py_None
); resultobj
= Py_None
;
6829 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6832 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6834 return Py_BuildValue((char *)"");
6836 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
*resultobj
= NULL
;
6838 int arg1
= (int) 0 ;
6839 int arg2
= (int) 0 ;
6840 int arg3
= (int) 0 ;
6841 int arg4
= (int) 0 ;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6845 PyObject
* obj2
= 0 ;
6846 PyObject
* obj3
= 0 ;
6848 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6854 arg1
= static_cast<int >(SWIG_As_int(obj0
));
6855 if (SWIG_arg_fail(1)) SWIG_fail
;
6860 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6861 if (SWIG_arg_fail(2)) SWIG_fail
;
6866 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6867 if (SWIG_arg_fail(3)) SWIG_fail
;
6872 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6873 if (SWIG_arg_fail(4)) SWIG_fail
;
6877 if (!wxPyCheckForApp()) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6891 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
= NULL
;
6893 wxBitmap
*arg1
= 0 ;
6895 PyObject
* obj0
= 0 ;
6897 (char *) "bmp", NULL
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6903 if (SWIG_arg_fail(1)) SWIG_fail
;
6905 SWIG_null_ref("wxBitmap");
6907 if (SWIG_arg_fail(1)) SWIG_fail
;
6910 if (!wxPyCheckForApp()) SWIG_fail
;
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6924 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
= NULL
;
6926 wxBitmap
*arg1
= 0 ;
6927 wxColour
*arg2
= 0 ;
6928 int arg3
= (int) 0 ;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 PyObject
* obj2
= 0 ;
6935 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6941 if (SWIG_arg_fail(1)) SWIG_fail
;
6943 SWIG_null_ref("wxBitmap");
6945 if (SWIG_arg_fail(1)) SWIG_fail
;
6949 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6953 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6954 if (SWIG_arg_fail(3)) SWIG_fail
;
6958 if (!wxPyCheckForApp()) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6972 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
= NULL
;
6975 wxPoint
*arg2
= (wxPoint
*) 0 ;
6976 int arg3
= (int) wxWINDING_RULE
;
6978 PyObject
* obj0
= 0 ;
6979 PyObject
* obj1
= 0 ;
6981 (char *) "points",(char *) "fillStyle", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6986 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6987 if (arg2
== NULL
) SWIG_fail
;
6991 arg3
= static_cast<int >(SWIG_As_int(obj1
));
6992 if (SWIG_arg_fail(3)) SWIG_fail
;
6996 if (!wxPyCheckForApp()) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
7005 if (arg2
) delete [] arg2
;
7010 if (arg2
) delete [] arg2
;
7016 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
= NULL
;
7018 wxRegion
*arg1
= (wxRegion
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7021 (char *) "self", NULL
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
7025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7026 if (SWIG_arg_fail(1)) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 Py_INCREF(Py_None
); resultobj
= Py_None
;
7041 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
= NULL
;
7043 wxRegion
*arg1
= (wxRegion
*) 0 ;
7044 PyObject
* obj0
= 0 ;
7046 (char *) "self", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
7050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7051 if (SWIG_arg_fail(1)) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 Py_INCREF(Py_None
); resultobj
= Py_None
;
7066 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
= NULL
;
7068 wxRegion
*arg1
= (wxRegion
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7074 PyObject
* obj2
= 0 ;
7076 (char *) "self",(char *) "x",(char *) "y", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7081 if (SWIG_arg_fail(1)) SWIG_fail
;
7083 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7084 if (SWIG_arg_fail(2)) SWIG_fail
;
7087 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7088 if (SWIG_arg_fail(3)) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7106 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
= NULL
;
7108 wxRegion
*arg1
= (wxRegion
*) 0 ;
7111 wxRegionContain result
;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7114 PyObject
* obj2
= 0 ;
7116 (char *) "self",(char *) "x",(char *) "y", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7121 if (SWIG_arg_fail(1)) SWIG_fail
;
7123 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7124 if (SWIG_arg_fail(2)) SWIG_fail
;
7127 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7128 if (SWIG_arg_fail(3)) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= SWIG_From_int((result
));
7144 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
= NULL
;
7146 wxRegion
*arg1
= (wxRegion
*) 0 ;
7148 wxRegionContain result
;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7153 (char *) "self",(char *) "pt", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
7157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7158 if (SWIG_arg_fail(1)) SWIG_fail
;
7161 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= SWIG_From_int((result
));
7177 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
= NULL
;
7179 wxRegion
*arg1
= (wxRegion
*) 0 ;
7181 wxRegionContain result
;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7186 (char *) "self",(char *) "rect", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7191 if (SWIG_arg_fail(1)) SWIG_fail
;
7194 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_From_int((result
));
7210 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
= NULL
;
7212 wxRegion
*arg1
= (wxRegion
*) 0 ;
7217 wxRegionContain result
;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7220 PyObject
* obj2
= 0 ;
7221 PyObject
* obj3
= 0 ;
7222 PyObject
* obj4
= 0 ;
7224 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail
;
7231 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7232 if (SWIG_arg_fail(2)) SWIG_fail
;
7235 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7236 if (SWIG_arg_fail(3)) SWIG_fail
;
7239 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7240 if (SWIG_arg_fail(4)) SWIG_fail
;
7243 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7244 if (SWIG_arg_fail(5)) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= SWIG_From_int((result
));
7260 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
= NULL
;
7262 wxRegion
*arg1
= (wxRegion
*) 0 ;
7264 PyObject
* obj0
= 0 ;
7266 (char *) "self", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
7270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7271 if (SWIG_arg_fail(1)) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (arg1
)->GetBox();
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7281 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7290 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
= NULL
;
7292 wxRegion
*arg1
= (wxRegion
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7300 PyObject
* obj2
= 0 ;
7301 PyObject
* obj3
= 0 ;
7302 PyObject
* obj4
= 0 ;
7304 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail
;
7311 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7312 if (SWIG_arg_fail(2)) SWIG_fail
;
7315 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7316 if (SWIG_arg_fail(3)) SWIG_fail
;
7319 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7320 if (SWIG_arg_fail(4)) SWIG_fail
;
7323 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7324 if (SWIG_arg_fail(5)) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7342 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
= NULL
;
7344 wxRegion
*arg1
= (wxRegion
*) 0 ;
7348 PyObject
* obj0
= 0 ;
7349 PyObject
* obj1
= 0 ;
7351 (char *) "self",(char *) "rect", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7356 if (SWIG_arg_fail(1)) SWIG_fail
;
7359 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7377 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
= NULL
;
7379 wxRegion
*arg1
= (wxRegion
*) 0 ;
7380 wxRegion
*arg2
= 0 ;
7382 PyObject
* obj0
= 0 ;
7383 PyObject
* obj1
= 0 ;
7385 (char *) "self",(char *) "region", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7390 if (SWIG_arg_fail(1)) SWIG_fail
;
7392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7393 if (SWIG_arg_fail(2)) SWIG_fail
;
7395 SWIG_null_ref("wxRegion");
7397 if (SWIG_arg_fail(2)) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7415 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
= NULL
;
7417 wxRegion
*arg1
= (wxRegion
*) 0 ;
7419 PyObject
* obj0
= 0 ;
7421 (char *) "self", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
7425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7426 if (SWIG_arg_fail(1)) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 result
= (bool)(arg1
)->IsEmpty();
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7443 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
= NULL
;
7445 wxRegion
*arg1
= (wxRegion
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7453 PyObject
* obj2
= 0 ;
7454 PyObject
* obj3
= 0 ;
7455 PyObject
* obj4
= 0 ;
7457 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7462 if (SWIG_arg_fail(1)) SWIG_fail
;
7464 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7465 if (SWIG_arg_fail(2)) SWIG_fail
;
7468 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7469 if (SWIG_arg_fail(3)) SWIG_fail
;
7472 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7473 if (SWIG_arg_fail(4)) SWIG_fail
;
7476 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7477 if (SWIG_arg_fail(5)) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7495 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
= NULL
;
7497 wxRegion
*arg1
= (wxRegion
*) 0 ;
7501 PyObject
* obj0
= 0 ;
7502 PyObject
* obj1
= 0 ;
7504 (char *) "self",(char *) "rect", NULL
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7509 if (SWIG_arg_fail(1)) SWIG_fail
;
7512 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7530 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
= NULL
;
7532 wxRegion
*arg1
= (wxRegion
*) 0 ;
7533 wxRegion
*arg2
= 0 ;
7535 PyObject
* obj0
= 0 ;
7536 PyObject
* obj1
= 0 ;
7538 (char *) "self",(char *) "region", NULL
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7543 if (SWIG_arg_fail(1)) SWIG_fail
;
7545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7546 if (SWIG_arg_fail(2)) SWIG_fail
;
7548 SWIG_null_ref("wxRegion");
7550 if (SWIG_arg_fail(2)) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7568 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
= NULL
;
7570 wxRegion
*arg1
= (wxRegion
*) 0 ;
7576 PyObject
* obj0
= 0 ;
7577 PyObject
* obj1
= 0 ;
7578 PyObject
* obj2
= 0 ;
7579 PyObject
* obj3
= 0 ;
7580 PyObject
* obj4
= 0 ;
7582 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7587 if (SWIG_arg_fail(1)) SWIG_fail
;
7589 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7590 if (SWIG_arg_fail(2)) SWIG_fail
;
7593 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7594 if (SWIG_arg_fail(3)) SWIG_fail
;
7597 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7598 if (SWIG_arg_fail(4)) SWIG_fail
;
7601 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7602 if (SWIG_arg_fail(5)) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7620 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
= NULL
;
7622 wxRegion
*arg1
= (wxRegion
*) 0 ;
7626 PyObject
* obj0
= 0 ;
7627 PyObject
* obj1
= 0 ;
7629 (char *) "self",(char *) "rect", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7634 if (SWIG_arg_fail(1)) SWIG_fail
;
7637 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7655 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
= NULL
;
7657 wxRegion
*arg1
= (wxRegion
*) 0 ;
7658 wxRegion
*arg2
= 0 ;
7660 PyObject
* obj0
= 0 ;
7661 PyObject
* obj1
= 0 ;
7663 (char *) "self",(char *) "region", NULL
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7668 if (SWIG_arg_fail(1)) SWIG_fail
;
7670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7671 if (SWIG_arg_fail(2)) SWIG_fail
;
7673 SWIG_null_ref("wxRegion");
7675 if (SWIG_arg_fail(2)) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7693 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= NULL
;
7695 wxRegion
*arg1
= (wxRegion
*) 0 ;
7701 PyObject
* obj0
= 0 ;
7702 PyObject
* obj1
= 0 ;
7703 PyObject
* obj2
= 0 ;
7704 PyObject
* obj3
= 0 ;
7705 PyObject
* obj4
= 0 ;
7707 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7712 if (SWIG_arg_fail(1)) SWIG_fail
;
7714 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7715 if (SWIG_arg_fail(2)) SWIG_fail
;
7718 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7719 if (SWIG_arg_fail(3)) SWIG_fail
;
7722 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7723 if (SWIG_arg_fail(4)) SWIG_fail
;
7726 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7727 if (SWIG_arg_fail(5)) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7745 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
= NULL
;
7747 wxRegion
*arg1
= (wxRegion
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7754 (char *) "self",(char *) "rect", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7759 if (SWIG_arg_fail(1)) SWIG_fail
;
7762 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7780 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
= NULL
;
7782 wxRegion
*arg1
= (wxRegion
*) 0 ;
7783 wxRegion
*arg2
= 0 ;
7785 PyObject
* obj0
= 0 ;
7786 PyObject
* obj1
= 0 ;
7788 (char *) "self",(char *) "region", NULL
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7793 if (SWIG_arg_fail(1)) SWIG_fail
;
7795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7796 if (SWIG_arg_fail(2)) SWIG_fail
;
7798 SWIG_null_ref("wxRegion");
7800 if (SWIG_arg_fail(2)) SWIG_fail
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7818 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
= NULL
;
7820 wxRegion
*arg1
= (wxRegion
*) 0 ;
7821 SwigValueWrapper
<wxBitmap
> result
;
7822 PyObject
* obj0
= 0 ;
7824 (char *) "self", NULL
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7829 if (SWIG_arg_fail(1)) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (arg1
)->ConvertToBitmap();
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7838 wxBitmap
* resultptr
;
7839 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
7840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7848 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
= NULL
;
7850 wxRegion
*arg1
= (wxRegion
*) 0 ;
7851 wxBitmap
*arg2
= 0 ;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7856 (char *) "self",(char *) "bmp", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7861 if (SWIG_arg_fail(1)) SWIG_fail
;
7863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7864 if (SWIG_arg_fail(2)) SWIG_fail
;
7866 SWIG_null_ref("wxBitmap");
7868 if (SWIG_arg_fail(2)) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7886 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
= NULL
;
7888 wxRegion
*arg1
= (wxRegion
*) 0 ;
7889 wxBitmap
*arg2
= 0 ;
7890 wxColour
*arg3
= 0 ;
7891 int arg4
= (int) 0 ;
7894 PyObject
* obj0
= 0 ;
7895 PyObject
* obj1
= 0 ;
7896 PyObject
* obj2
= 0 ;
7897 PyObject
* obj3
= 0 ;
7899 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail
;
7906 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7907 if (SWIG_arg_fail(2)) SWIG_fail
;
7909 SWIG_null_ref("wxBitmap");
7911 if (SWIG_arg_fail(2)) SWIG_fail
;
7915 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7919 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7920 if (SWIG_arg_fail(4)) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7939 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7942 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7944 return Py_BuildValue((char *)"");
7946 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
= NULL
;
7948 wxRegion
*arg1
= 0 ;
7949 wxRegionIterator
*result
;
7950 PyObject
* obj0
= 0 ;
7952 (char *) "region", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7958 if (SWIG_arg_fail(1)) SWIG_fail
;
7960 SWIG_null_ref("wxRegion");
7962 if (SWIG_arg_fail(1)) SWIG_fail
;
7965 if (!wxPyCheckForApp()) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7979 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
= NULL
;
7981 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7982 PyObject
* obj0
= 0 ;
7984 (char *) "self", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7989 if (SWIG_arg_fail(1)) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 Py_INCREF(Py_None
); resultobj
= Py_None
;
8004 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
= NULL
;
8006 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8008 PyObject
* obj0
= 0 ;
8010 (char *) "self", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
8014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8015 if (SWIG_arg_fail(1)) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (int)(arg1
)->GetX();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_From_int(static_cast<int >(result
));
8032 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
= NULL
;
8034 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8036 PyObject
* obj0
= 0 ;
8038 (char *) "self", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
8042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8043 if (SWIG_arg_fail(1)) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= (int)(arg1
)->GetY();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= SWIG_From_int(static_cast<int >(result
));
8060 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
= NULL
;
8062 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
8070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8071 if (SWIG_arg_fail(1)) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (int)(arg1
)->GetW();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_From_int(static_cast<int >(result
));
8088 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
= NULL
;
8090 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8092 PyObject
* obj0
= 0 ;
8094 (char *) "self", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
8098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8099 if (SWIG_arg_fail(1)) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 result
= (int)(arg1
)->GetWidth();
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= SWIG_From_int(static_cast<int >(result
));
8116 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
*resultobj
= NULL
;
8118 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8120 PyObject
* obj0
= 0 ;
8122 (char *) "self", NULL
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
8126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8127 if (SWIG_arg_fail(1)) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 result
= (int)(arg1
)->GetH();
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= SWIG_From_int(static_cast<int >(result
));
8144 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
= NULL
;
8146 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8148 PyObject
* obj0
= 0 ;
8150 (char *) "self", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
8154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (int)(arg1
)->GetHeight();
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8164 resultobj
= SWIG_From_int(static_cast<int >(result
));
8172 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
= NULL
;
8174 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8176 PyObject
* obj0
= 0 ;
8178 (char *) "self", NULL
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
8182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8183 if (SWIG_arg_fail(1)) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 result
= (arg1
)->GetRect();
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8193 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
8194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8202 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
= NULL
;
8204 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8206 PyObject
* obj0
= 0 ;
8208 (char *) "self", NULL
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
8212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8213 if (SWIG_arg_fail(1)) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (bool)(arg1
)->HaveRects();
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8230 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
= NULL
;
8232 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8235 (char *) "self", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
8239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8240 if (SWIG_arg_fail(1)) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 Py_INCREF(Py_None
); resultobj
= Py_None
;
8255 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
= NULL
;
8257 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8260 (char *) "self", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
8264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8265 if (SWIG_arg_fail(1)) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 wxRegionIterator_Next(arg1
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 Py_INCREF(Py_None
); resultobj
= Py_None
;
8280 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
= NULL
;
8282 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8284 PyObject
* obj0
= 0 ;
8286 (char *) "self", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
8290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 result
= (bool)wxRegionIterator___nonzero__(arg1
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8308 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
8310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8311 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
8313 return Py_BuildValue((char *)"");
8315 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
= NULL
;
8317 wxNativeFontInfo
*result
;
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
8337 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
= NULL
;
8339 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8340 PyObject
* obj0
= 0 ;
8342 (char *) "self", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
8346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8347 if (SWIG_arg_fail(1)) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 Py_INCREF(Py_None
); resultobj
= Py_None
;
8362 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
= NULL
;
8364 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8365 PyObject
* obj0
= 0 ;
8367 (char *) "self", NULL
8370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
8371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8372 if (SWIG_arg_fail(1)) SWIG_fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 Py_INCREF(Py_None
); resultobj
= Py_None
;
8387 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
= NULL
;
8389 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8391 PyObject
* obj0
= 0 ;
8392 PyObject
* obj1
= 0 ;
8394 (char *) "self",(char *) "font", NULL
8397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
8398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8399 if (SWIG_arg_fail(1)) SWIG_fail
;
8401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8402 if (SWIG_arg_fail(2)) SWIG_fail
;
8404 SWIG_null_ref("wxFont");
8406 if (SWIG_arg_fail(2)) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 Py_INCREF(Py_None
); resultobj
= Py_None
;
8422 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
= NULL
;
8424 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8426 PyObject
* obj0
= 0 ;
8428 (char *) "self", NULL
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
8432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8433 if (SWIG_arg_fail(1)) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_From_int(static_cast<int >(result
));
8450 static PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
= NULL
;
8452 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8454 PyObject
* obj0
= 0 ;
8456 (char *) "self", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8461 if (SWIG_arg_fail(1)) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8471 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
8472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8480 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
= NULL
;
8482 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8484 PyObject
* obj0
= 0 ;
8486 (char *) "self", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
8490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8491 if (SWIG_arg_fail(1)) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8499 resultobj
= SWIG_From_int((result
));
8506 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
= NULL
;
8508 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8509 wxFontWeight result
;
8510 PyObject
* obj0
= 0 ;
8512 (char *) "self", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
8516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= SWIG_From_int((result
));
8532 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
= NULL
;
8534 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8536 PyObject
* obj0
= 0 ;
8538 (char *) "self", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8543 if (SWIG_arg_fail(1)) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8560 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
= NULL
;
8562 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8564 PyObject
* obj0
= 0 ;
8566 (char *) "self", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
8570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8571 if (SWIG_arg_fail(1)) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8592 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
= NULL
;
8594 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8595 wxFontFamily result
;
8596 PyObject
* obj0
= 0 ;
8598 (char *) "self", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
8602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8603 if (SWIG_arg_fail(1)) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= SWIG_From_int((result
));
8618 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
= NULL
;
8620 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8621 wxFontEncoding result
;
8622 PyObject
* obj0
= 0 ;
8624 (char *) "self", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
8628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8629 if (SWIG_arg_fail(1)) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_From_int((result
));
8644 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
= NULL
;
8646 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8648 PyObject
* obj0
= 0 ;
8649 PyObject
* obj1
= 0 ;
8651 (char *) "self",(char *) "pointsize", NULL
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8656 if (SWIG_arg_fail(1)) SWIG_fail
;
8658 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8659 if (SWIG_arg_fail(2)) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 (arg1
)->SetPointSize(arg2
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 Py_INCREF(Py_None
); resultobj
= Py_None
;
8675 static PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
= NULL
;
8677 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8683 (char *) "self",(char *) "pixelSize", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8688 if (SWIG_arg_fail(1)) SWIG_fail
;
8691 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 Py_INCREF(Py_None
); resultobj
= Py_None
;
8707 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
= NULL
;
8709 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "self",(char *) "style", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8719 if (SWIG_arg_fail(1)) SWIG_fail
;
8721 arg2
= static_cast<wxFontStyle
>(SWIG_As_int(obj1
));
8722 if (SWIG_arg_fail(2)) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 (arg1
)->SetStyle(arg2
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 Py_INCREF(Py_None
); resultobj
= Py_None
;
8738 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
= NULL
;
8740 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8745 (char *) "self",(char *) "weight", NULL
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8750 if (SWIG_arg_fail(1)) SWIG_fail
;
8752 arg2
= static_cast<wxFontWeight
>(SWIG_As_int(obj1
));
8753 if (SWIG_arg_fail(2)) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 (arg1
)->SetWeight(arg2
);
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 Py_INCREF(Py_None
); resultobj
= Py_None
;
8769 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
= NULL
;
8771 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8776 (char *) "self",(char *) "underlined", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8781 if (SWIG_arg_fail(1)) SWIG_fail
;
8783 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8784 if (SWIG_arg_fail(2)) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 (arg1
)->SetUnderlined(arg2
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 Py_INCREF(Py_None
); resultobj
= Py_None
;
8800 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
= NULL
;
8802 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8807 (char *) "self",(char *) "facename", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail
;
8814 wxString
* sptr
= wxString_in_helper(obj1
);
8815 if (sptr
== NULL
) SWIG_fail
;
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 (arg1
)->SetFaceName(arg2
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 Py_INCREF(Py_None
); resultobj
= Py_None
;
8833 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
= NULL
;
8835 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8840 (char *) "self",(char *) "family", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8845 if (SWIG_arg_fail(1)) SWIG_fail
;
8847 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
8848 if (SWIG_arg_fail(2)) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 (arg1
)->SetFamily(arg2
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 Py_INCREF(Py_None
); resultobj
= Py_None
;
8864 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
= NULL
;
8866 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8867 wxFontEncoding arg2
;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8871 (char *) "self",(char *) "encoding", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8876 if (SWIG_arg_fail(1)) SWIG_fail
;
8878 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
8879 if (SWIG_arg_fail(2)) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 (arg1
)->SetEncoding(arg2
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 Py_INCREF(Py_None
); resultobj
= Py_None
;
8895 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
= NULL
;
8897 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8898 wxString
*arg2
= 0 ;
8900 bool temp2
= false ;
8901 PyObject
* obj0
= 0 ;
8902 PyObject
* obj1
= 0 ;
8904 (char *) "self",(char *) "s", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8909 if (SWIG_arg_fail(1)) SWIG_fail
;
8911 arg2
= wxString_in_helper(obj1
);
8912 if (arg2
== NULL
) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8939 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
= NULL
;
8941 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8943 PyObject
* obj0
= 0 ;
8945 (char *) "self", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8950 if (SWIG_arg_fail(1)) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8971 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
= NULL
;
8973 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8977 (char *) "self", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8982 if (SWIG_arg_fail(1)) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 result
= wxNativeFontInfo___str__(arg1
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9003 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
= NULL
;
9005 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9006 wxString
*arg2
= 0 ;
9008 bool temp2
= false ;
9009 PyObject
* obj0
= 0 ;
9010 PyObject
* obj1
= 0 ;
9012 (char *) "self",(char *) "s", NULL
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
9016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9017 if (SWIG_arg_fail(1)) SWIG_fail
;
9019 arg2
= wxString_in_helper(obj1
);
9020 if (arg2
== NULL
) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9047 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
= NULL
;
9049 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "self", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
9057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9058 if (SWIG_arg_fail(1)) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9079 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
9081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9082 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
9084 return Py_BuildValue((char *)"");
9086 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= NULL
;
9088 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9089 wxString
*arg2
= (wxString
*) 0 ;
9090 bool temp2
= false ;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9094 (char *) "self",(char *) "facename", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail
;
9101 arg2
= wxString_in_helper(obj1
);
9102 if (arg2
== NULL
) SWIG_fail
;
9105 if (arg1
) (arg1
)->facename
= *arg2
;
9107 Py_INCREF(Py_None
); resultobj
= Py_None
;
9122 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
= NULL
;
9124 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9126 PyObject
* obj0
= 0 ;
9128 (char *) "self", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
9132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9133 if (SWIG_arg_fail(1)) SWIG_fail
;
9134 result
= (wxString
*)& ((arg1
)->facename
);
9138 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9140 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9149 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
= NULL
;
9151 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9152 wxFontEncoding arg2
;
9153 PyObject
* obj0
= 0 ;
9154 PyObject
* obj1
= 0 ;
9156 (char *) "self",(char *) "encoding", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9161 if (SWIG_arg_fail(1)) SWIG_fail
;
9163 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
9164 if (SWIG_arg_fail(2)) SWIG_fail
;
9166 if (arg1
) (arg1
)->encoding
= arg2
;
9168 Py_INCREF(Py_None
); resultobj
= Py_None
;
9175 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
= NULL
;
9177 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9178 wxFontEncoding result
;
9179 PyObject
* obj0
= 0 ;
9181 (char *) "self", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
9185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9186 if (SWIG_arg_fail(1)) SWIG_fail
;
9187 result
= (wxFontEncoding
) ((arg1
)->encoding
);
9189 resultobj
= SWIG_From_int((result
));
9196 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
= NULL
;
9198 wxNativeEncodingInfo
*result
;
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
9218 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
= NULL
;
9220 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9221 PyObject
* obj0
= 0 ;
9223 (char *) "self", NULL
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
9227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9228 if (SWIG_arg_fail(1)) SWIG_fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 Py_INCREF(Py_None
); resultobj
= Py_None
;
9243 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
= NULL
;
9245 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9246 wxString
*arg2
= 0 ;
9248 bool temp2
= false ;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9252 (char *) "self",(char *) "s", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
9256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9257 if (SWIG_arg_fail(1)) SWIG_fail
;
9259 arg2
= wxString_in_helper(obj1
);
9260 if (arg2
== NULL
) SWIG_fail
;
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9287 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
= NULL
;
9289 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
9291 PyObject
* obj0
= 0 ;
9293 (char *) "self", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
9297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9298 if (SWIG_arg_fail(1)) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9319 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
9321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9322 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
9324 return Py_BuildValue((char *)"");
9326 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
= NULL
;
9328 wxFontEncoding arg1
;
9329 wxNativeEncodingInfo
*result
;
9330 PyObject
* obj0
= 0 ;
9332 (char *) "encoding", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
9337 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
9338 if (SWIG_arg_fail(1)) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
9354 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
= NULL
;
9356 wxNativeEncodingInfo
*arg1
= 0 ;
9358 PyObject
* obj0
= 0 ;
9360 (char *) "info", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
9365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
9366 if (SWIG_arg_fail(1)) SWIG_fail
;
9368 SWIG_null_ref("wxNativeEncodingInfo");
9370 if (SWIG_arg_fail(1)) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9388 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
= NULL
;
9390 wxFontMapper
*result
;
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (wxFontMapper
*)new wxFontMapper();
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
9410 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
= NULL
;
9412 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9413 PyObject
* obj0
= 0 ;
9415 (char *) "self", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
9419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9420 if (SWIG_arg_fail(1)) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 Py_INCREF(Py_None
); resultobj
= Py_None
;
9435 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
= NULL
;
9437 wxFontMapper
*result
;
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (wxFontMapper
*)wxFontMapper::Get();
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
9457 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
= NULL
;
9459 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9460 wxFontMapper
*result
;
9461 PyObject
* obj0
= 0 ;
9463 (char *) "mapper", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
9467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9468 if (SWIG_arg_fail(1)) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
9483 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
= NULL
;
9485 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9486 wxString
*arg2
= 0 ;
9487 bool arg3
= (bool) true ;
9488 wxFontEncoding result
;
9489 bool temp2
= false ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9492 PyObject
* obj2
= 0 ;
9494 (char *) "self",(char *) "charset",(char *) "interactive", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9499 if (SWIG_arg_fail(1)) SWIG_fail
;
9501 arg2
= wxString_in_helper(obj1
);
9502 if (arg2
== NULL
) SWIG_fail
;
9507 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9508 if (SWIG_arg_fail(3)) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_From_int((result
));
9533 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
= NULL
;
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
9557 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
= NULL
;
9560 wxFontEncoding result
;
9561 PyObject
* obj0
= 0 ;
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
9568 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
9569 if (SWIG_arg_fail(1)) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= SWIG_From_int((result
));
9585 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
= NULL
;
9587 wxFontEncoding arg1
;
9589 PyObject
* obj0
= 0 ;
9591 (char *) "encoding", NULL
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
9596 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
9597 if (SWIG_arg_fail(1)) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 result
= wxFontMapper::GetEncodingName(arg1
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9619 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
= NULL
;
9621 wxFontEncoding arg1
;
9623 PyObject
* obj0
= 0 ;
9625 (char *) "encoding", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
9630 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
9631 if (SWIG_arg_fail(1)) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= wxFontMapper::GetEncodingDescription(arg1
);
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9653 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
= NULL
;
9655 wxString
*arg1
= 0 ;
9656 wxFontEncoding result
;
9657 bool temp1
= false ;
9658 PyObject
* obj0
= 0 ;
9660 (char *) "name", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
9665 arg1
= wxString_in_helper(obj0
);
9666 if (arg1
== NULL
) SWIG_fail
;
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 resultobj
= SWIG_From_int((result
));
9691 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
= NULL
;
9693 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9694 wxString
*arg2
= 0 ;
9695 bool temp2
= false ;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9699 (char *) "self",(char *) "prefix", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9704 if (SWIG_arg_fail(1)) SWIG_fail
;
9706 arg2
= wxString_in_helper(obj1
);
9707 if (arg2
== NULL
) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 Py_INCREF(Py_None
); resultobj
= Py_None
;
9732 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
= NULL
;
9739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 result
= wxFontMapper::GetDefaultConfigPath();
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9760 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
= NULL
;
9762 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9763 wxFontEncoding arg2
;
9764 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9765 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9766 bool arg4
= (bool) true ;
9768 bool temp3
= false ;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9771 PyObject
* obj2
= 0 ;
9772 PyObject
* obj3
= 0 ;
9774 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9779 if (SWIG_arg_fail(1)) SWIG_fail
;
9781 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
9782 if (SWIG_arg_fail(2)) SWIG_fail
;
9786 arg3
= wxString_in_helper(obj2
);
9787 if (arg3
== NULL
) SWIG_fail
;
9793 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
9794 if (SWIG_arg_fail(4)) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9819 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
= NULL
;
9821 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9822 wxFontEncoding arg2
;
9823 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9824 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9826 bool temp3
= false ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9831 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail
;
9838 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
9839 if (SWIG_arg_fail(2)) SWIG_fail
;
9843 arg3
= wxString_in_helper(obj2
);
9844 if (arg3
== NULL
) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9872 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
= NULL
;
9874 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9875 wxWindow
*arg2
= (wxWindow
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9879 (char *) "self",(char *) "parent", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9884 if (SWIG_arg_fail(1)) SWIG_fail
;
9885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9886 if (SWIG_arg_fail(2)) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 (arg1
)->SetDialogParent(arg2
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 Py_INCREF(Py_None
); resultobj
= Py_None
;
9901 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
= NULL
;
9903 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9904 wxString
*arg2
= 0 ;
9905 bool temp2
= false ;
9906 PyObject
* obj0
= 0 ;
9907 PyObject
* obj1
= 0 ;
9909 (char *) "self",(char *) "title", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9914 if (SWIG_arg_fail(1)) SWIG_fail
;
9916 arg2
= wxString_in_helper(obj1
);
9917 if (arg2
== NULL
) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 Py_INCREF(Py_None
); resultobj
= Py_None
;
9942 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9945 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9947 return Py_BuildValue((char *)"");
9949 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
= NULL
;
9955 bool arg5
= (bool) false ;
9956 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9957 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9958 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9960 bool temp6
= false ;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj1
= 0 ;
9963 PyObject
* obj2
= 0 ;
9964 PyObject
* obj3
= 0 ;
9965 PyObject
* obj4
= 0 ;
9966 PyObject
* obj5
= 0 ;
9967 PyObject
* obj6
= 0 ;
9969 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9974 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9975 if (SWIG_arg_fail(1)) SWIG_fail
;
9978 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9979 if (SWIG_arg_fail(2)) SWIG_fail
;
9982 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9983 if (SWIG_arg_fail(3)) SWIG_fail
;
9986 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9987 if (SWIG_arg_fail(4)) SWIG_fail
;
9991 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
9992 if (SWIG_arg_fail(5)) SWIG_fail
;
9997 arg6
= wxString_in_helper(obj5
);
9998 if (arg6
== NULL
) SWIG_fail
;
10004 arg7
= static_cast<wxFontEncoding
>(SWIG_As_int(obj6
));
10005 if (SWIG_arg_fail(7)) SWIG_fail
;
10009 if (!wxPyCheckForApp()) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10031 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
= NULL
;
10033 wxFont
*arg1
= (wxFont
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
10040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10041 if (SWIG_arg_fail(1)) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 Py_INCREF(Py_None
); resultobj
= Py_None
;
10056 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
= NULL
;
10058 wxNativeFontInfo
*arg1
= 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "info", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
10067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10068 if (SWIG_arg_fail(1)) SWIG_fail
;
10069 if (arg1
== NULL
) {
10070 SWIG_null_ref("wxNativeFontInfo");
10072 if (SWIG_arg_fail(1)) SWIG_fail
;
10075 if (!wxPyCheckForApp()) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10089 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
= NULL
;
10091 wxString
*arg1
= 0 ;
10093 bool temp1
= false ;
10094 PyObject
* obj0
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "info", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
10101 arg1
= wxString_in_helper(obj0
);
10102 if (arg1
== NULL
) SWIG_fail
;
10106 if (!wxPyCheckForApp()) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10128 static PyObject
*_wrap_new_FFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
= NULL
;
10131 wxFontFamily arg2
;
10132 int arg3
= (int) wxFONTFLAG_DEFAULT
;
10133 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10134 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10135 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10137 bool temp4
= false ;
10138 PyObject
* obj0
= 0 ;
10139 PyObject
* obj1
= 0 ;
10140 PyObject
* obj2
= 0 ;
10141 PyObject
* obj3
= 0 ;
10142 PyObject
* obj4
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10149 arg1
= static_cast<int >(SWIG_As_int(obj0
));
10150 if (SWIG_arg_fail(1)) SWIG_fail
;
10153 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
10154 if (SWIG_arg_fail(2)) SWIG_fail
;
10158 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10159 if (SWIG_arg_fail(3)) SWIG_fail
;
10164 arg4
= wxString_in_helper(obj3
);
10165 if (arg4
== NULL
) SWIG_fail
;
10171 arg5
= static_cast<wxFontEncoding
>(SWIG_As_int(obj4
));
10172 if (SWIG_arg_fail(5)) SWIG_fail
;
10176 if (!wxPyCheckForApp()) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10198 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
= NULL
;
10204 bool arg5
= (bool) false ;
10205 wxString
const &arg6_defvalue
= wxEmptyString
;
10206 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10207 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10210 bool temp6
= false ;
10211 PyObject
* obj0
= 0 ;
10212 PyObject
* obj1
= 0 ;
10213 PyObject
* obj2
= 0 ;
10214 PyObject
* obj3
= 0 ;
10215 PyObject
* obj4
= 0 ;
10216 PyObject
* obj5
= 0 ;
10217 PyObject
* obj6
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10225 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
10228 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10229 if (SWIG_arg_fail(2)) SWIG_fail
;
10232 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10233 if (SWIG_arg_fail(3)) SWIG_fail
;
10236 arg4
= static_cast<int >(SWIG_As_int(obj3
));
10237 if (SWIG_arg_fail(4)) SWIG_fail
;
10241 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
10242 if (SWIG_arg_fail(5)) SWIG_fail
;
10247 arg6
= wxString_in_helper(obj5
);
10248 if (arg6
== NULL
) SWIG_fail
;
10254 arg7
= static_cast<wxFontEncoding
>(SWIG_As_int(obj6
));
10255 if (SWIG_arg_fail(7)) SWIG_fail
;
10259 if (!wxPyCheckForApp()) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10281 static PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
= NULL
;
10284 wxFontFamily arg2
;
10285 int arg3
= (int) wxFONTFLAG_DEFAULT
;
10286 wxString
const &arg4_defvalue
= wxEmptyString
;
10287 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10288 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
10291 bool temp4
= false ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 PyObject
* obj2
= 0 ;
10295 PyObject
* obj3
= 0 ;
10296 PyObject
* obj4
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10304 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
10307 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
10308 if (SWIG_arg_fail(2)) SWIG_fail
;
10312 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10313 if (SWIG_arg_fail(3)) SWIG_fail
;
10318 arg4
= wxString_in_helper(obj3
);
10319 if (arg4
== NULL
) SWIG_fail
;
10325 arg5
= static_cast<wxFontEncoding
>(SWIG_As_int(obj4
));
10326 if (SWIG_arg_fail(5)) SWIG_fail
;
10330 if (!wxPyCheckForApp()) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
10352 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
= NULL
;
10354 wxFont
*arg1
= (wxFont
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
10362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 result
= (bool)((wxFont
const *)arg1
)->Ok();
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10380 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
= NULL
;
10382 wxFont
*arg1
= (wxFont
*) 0 ;
10383 wxFont
*arg2
= (wxFont
*) 0 ;
10385 PyObject
* obj0
= 0 ;
10386 PyObject
* obj1
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self",(char *) "other", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
10392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10393 if (SWIG_arg_fail(1)) SWIG_fail
;
10394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10395 if (SWIG_arg_fail(2)) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10412 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
= NULL
;
10414 wxFont
*arg1
= (wxFont
*) 0 ;
10415 wxFont
*arg2
= (wxFont
*) 0 ;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self",(char *) "other", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
10424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10425 if (SWIG_arg_fail(1)) SWIG_fail
;
10426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10427 if (SWIG_arg_fail(2)) SWIG_fail
;
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10444 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
= NULL
;
10446 wxFont
*arg1
= (wxFont
*) 0 ;
10448 PyObject
* obj0
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
10454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10455 if (SWIG_arg_fail(1)) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= SWIG_From_int(static_cast<int >(result
));
10472 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
= NULL
;
10474 wxFont
*arg1
= (wxFont
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
10482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10483 if (SWIG_arg_fail(1)) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 result
= ((wxFont
const *)arg1
)->GetPixelSize();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10492 wxSize
* resultptr
;
10493 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
10494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10502 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
= NULL
;
10504 wxFont
*arg1
= (wxFont
*) 0 ;
10506 PyObject
* obj0
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
10512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10530 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
= NULL
;
10532 wxFont
*arg1
= (wxFont
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
10540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10541 if (SWIG_arg_fail(1)) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= (int)((wxFont
const *)arg1
)->GetFamily();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= SWIG_From_int(static_cast<int >(result
));
10558 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
= NULL
;
10560 wxFont
*arg1
= (wxFont
*) 0 ;
10562 PyObject
* obj0
= 0 ;
10563 char *kwnames
[] = {
10564 (char *) "self", NULL
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
10568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10569 if (SWIG_arg_fail(1)) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (int)((wxFont
const *)arg1
)->GetStyle();
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= SWIG_From_int(static_cast<int >(result
));
10586 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
= NULL
;
10588 wxFont
*arg1
= (wxFont
*) 0 ;
10590 PyObject
* obj0
= 0 ;
10591 char *kwnames
[] = {
10592 (char *) "self", NULL
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
10596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10597 if (SWIG_arg_fail(1)) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 result
= (int)((wxFont
const *)arg1
)->GetWeight();
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= SWIG_From_int(static_cast<int >(result
));
10614 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= NULL
;
10616 wxFont
*arg1
= (wxFont
*) 0 ;
10618 PyObject
* obj0
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "self", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
10624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10625 if (SWIG_arg_fail(1)) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10642 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
= NULL
;
10644 wxFont
*arg1
= (wxFont
*) 0 ;
10646 PyObject
* obj0
= 0 ;
10647 char *kwnames
[] = {
10648 (char *) "self", NULL
10651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
10652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10653 if (SWIG_arg_fail(1)) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= ((wxFont
const *)arg1
)->GetFaceName();
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10674 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
= NULL
;
10676 wxFont
*arg1
= (wxFont
*) 0 ;
10677 wxFontEncoding result
;
10678 PyObject
* obj0
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
10684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10685 if (SWIG_arg_fail(1)) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= SWIG_From_int((result
));
10700 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
= NULL
;
10702 wxFont
*arg1
= (wxFont
*) 0 ;
10703 wxNativeFontInfo
*result
;
10704 PyObject
* obj0
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
10710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10711 if (SWIG_arg_fail(1)) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
10726 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
= NULL
;
10728 wxFont
*arg1
= (wxFont
*) 0 ;
10730 PyObject
* obj0
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "self", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
10736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10737 if (SWIG_arg_fail(1)) SWIG_fail
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10754 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
= NULL
;
10756 wxFont
*arg1
= (wxFont
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
10764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10765 if (SWIG_arg_fail(1)) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10786 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
= NULL
;
10788 wxFont
*arg1
= (wxFont
*) 0 ;
10790 PyObject
* obj0
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
10796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10797 if (SWIG_arg_fail(1)) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10818 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
= NULL
;
10820 wxFont
*arg1
= (wxFont
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self",(char *) "pointSize", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10830 if (SWIG_arg_fail(1)) SWIG_fail
;
10832 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10833 if (SWIG_arg_fail(2)) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->SetPointSize(arg2
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 Py_INCREF(Py_None
); resultobj
= Py_None
;
10849 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
= NULL
;
10851 wxFont
*arg1
= (wxFont
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self",(char *) "pixelSize", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10862 if (SWIG_arg_fail(1)) SWIG_fail
;
10865 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
= NULL
;
10883 wxFont
*arg1
= (wxFont
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self",(char *) "family", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10893 if (SWIG_arg_fail(1)) SWIG_fail
;
10895 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10896 if (SWIG_arg_fail(2)) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->SetFamily(arg2
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 Py_INCREF(Py_None
); resultobj
= Py_None
;
10912 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
= NULL
;
10914 wxFont
*arg1
= (wxFont
*) 0 ;
10916 PyObject
* obj0
= 0 ;
10917 PyObject
* obj1
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "style", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail
;
10926 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10927 if (SWIG_arg_fail(2)) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->SetStyle(arg2
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
= NULL
;
10945 wxFont
*arg1
= (wxFont
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "self",(char *) "weight", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10955 if (SWIG_arg_fail(1)) SWIG_fail
;
10957 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10958 if (SWIG_arg_fail(2)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 (arg1
)->SetWeight(arg2
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 Py_INCREF(Py_None
); resultobj
= Py_None
;
10974 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
= NULL
;
10976 wxFont
*arg1
= (wxFont
*) 0 ;
10977 wxString
*arg2
= 0 ;
10978 bool temp2
= false ;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "faceName", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10987 if (SWIG_arg_fail(1)) SWIG_fail
;
10989 arg2
= wxString_in_helper(obj1
);
10990 if (arg2
== NULL
) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 Py_INCREF(Py_None
); resultobj
= Py_None
;
11015 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
= NULL
;
11017 wxFont
*arg1
= (wxFont
*) 0 ;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self",(char *) "underlined", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
11026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail
;
11029 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11030 if (SWIG_arg_fail(2)) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 (arg1
)->SetUnderlined(arg2
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 Py_INCREF(Py_None
); resultobj
= Py_None
;
11046 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
= NULL
;
11048 wxFont
*arg1
= (wxFont
*) 0 ;
11049 wxFontEncoding arg2
;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 char *kwnames
[] = {
11053 (char *) "self",(char *) "encoding", NULL
11056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
11057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11058 if (SWIG_arg_fail(1)) SWIG_fail
;
11060 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
11061 if (SWIG_arg_fail(2)) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 (arg1
)->SetEncoding(arg2
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 Py_INCREF(Py_None
); resultobj
= Py_None
;
11077 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
= NULL
;
11079 wxFont
*arg1
= (wxFont
*) 0 ;
11080 wxNativeFontInfo
*arg2
= 0 ;
11081 PyObject
* obj0
= 0 ;
11082 PyObject
* obj1
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self",(char *) "info", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11089 if (SWIG_arg_fail(1)) SWIG_fail
;
11091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
11092 if (SWIG_arg_fail(2)) SWIG_fail
;
11093 if (arg2
== NULL
) {
11094 SWIG_null_ref("wxNativeFontInfo");
11096 if (SWIG_arg_fail(2)) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 Py_INCREF(Py_None
); resultobj
= Py_None
;
11112 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
= NULL
;
11114 wxFont
*arg1
= (wxFont
*) 0 ;
11115 wxString
*arg2
= 0 ;
11116 bool temp2
= false ;
11117 PyObject
* obj0
= 0 ;
11118 PyObject
* obj1
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "info", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
11124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11125 if (SWIG_arg_fail(1)) SWIG_fail
;
11127 arg2
= wxString_in_helper(obj1
);
11128 if (arg2
== NULL
) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11138 Py_INCREF(Py_None
); resultobj
= Py_None
;
11153 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
= NULL
;
11155 wxFont
*arg1
= (wxFont
*) 0 ;
11156 wxString
*arg2
= 0 ;
11157 bool temp2
= false ;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 char *kwnames
[] = {
11161 (char *) "self",(char *) "info", NULL
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11166 if (SWIG_arg_fail(1)) SWIG_fail
;
11168 arg2
= wxString_in_helper(obj1
);
11169 if (arg2
== NULL
) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 Py_INCREF(Py_None
); resultobj
= Py_None
;
11194 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
= NULL
;
11196 wxFont
*arg1
= (wxFont
*) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "self", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
11204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11205 if (SWIG_arg_fail(1)) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= ((wxFont
const *)arg1
)->GetFamilyString();
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11226 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
= NULL
;
11228 wxFont
*arg1
= (wxFont
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
11236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11237 if (SWIG_arg_fail(1)) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= ((wxFont
const *)arg1
)->GetStyleString();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11258 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
= NULL
;
11260 wxFont
*arg1
= (wxFont
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
11268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11269 if (SWIG_arg_fail(1)) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= ((wxFont
const *)arg1
)->GetWeightString();
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11290 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
= NULL
;
11292 wxFont
*arg1
= (wxFont
*) 0 ;
11293 bool arg2
= (bool) true ;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "self",(char *) "no", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
11301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11302 if (SWIG_arg_fail(1)) SWIG_fail
;
11305 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
11306 if (SWIG_arg_fail(2)) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 (arg1
)->SetNoAntiAliasing(arg2
);
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 Py_INCREF(Py_None
); resultobj
= Py_None
;
11323 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
= NULL
;
11325 wxFont
*arg1
= (wxFont
*) 0 ;
11327 PyObject
* obj0
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "self", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
11333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
11334 if (SWIG_arg_fail(1)) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11351 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
= NULL
;
11353 wxFontEncoding result
;
11354 char *kwnames
[] = {
11358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
11360 if (!wxPyCheckForApp()) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= SWIG_From_int((result
));
11374 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
= NULL
;
11376 wxFontEncoding arg1
;
11377 PyObject
* obj0
= 0 ;
11378 char *kwnames
[] = {
11379 (char *) "encoding", NULL
11382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
11384 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
11385 if (SWIG_arg_fail(1)) SWIG_fail
;
11388 if (!wxPyCheckForApp()) SWIG_fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 wxFont::SetDefaultEncoding(arg1
);
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 Py_INCREF(Py_None
); resultobj
= Py_None
;
11402 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
11404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11405 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
11407 return Py_BuildValue((char *)"");
11409 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
= NULL
;
11411 wxPyFontEnumerator
*result
;
11412 char *kwnames
[] = {
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
11418 if (!wxPyCheckForApp()) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
11432 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
= NULL
;
11434 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11435 PyObject
* obj0
= 0 ;
11436 char *kwnames
[] = {
11437 (char *) "self", NULL
11440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
11441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11442 if (SWIG_arg_fail(1)) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 Py_INCREF(Py_None
); resultobj
= Py_None
;
11457 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
= NULL
;
11459 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11460 PyObject
*arg2
= (PyObject
*) 0 ;
11461 PyObject
*arg3
= (PyObject
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 PyObject
* obj2
= 0 ;
11466 PyObject
* obj3
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11473 if (SWIG_arg_fail(1)) SWIG_fail
;
11477 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
11478 if (SWIG_arg_fail(4)) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 Py_INCREF(Py_None
); resultobj
= Py_None
;
11494 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
= NULL
;
11496 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11497 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
11498 bool arg3
= (bool) false ;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 PyObject
* obj2
= 0 ;
11503 char *kwnames
[] = {
11504 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail
;
11512 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
11513 if (SWIG_arg_fail(2)) SWIG_fail
;
11518 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
11519 if (SWIG_arg_fail(3)) SWIG_fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11538 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
= NULL
;
11540 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11541 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11542 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11544 bool temp2
= false ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self",(char *) "facename", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
11552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11553 if (SWIG_arg_fail(1)) SWIG_fail
;
11556 arg2
= wxString_in_helper(obj1
);
11557 if (arg2
== NULL
) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11585 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
= NULL
;
11587 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11589 PyObject
* obj0
= 0 ;
11590 char *kwnames
[] = {
11591 (char *) "self", NULL
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
11595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11596 if (SWIG_arg_fail(1)) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= result
;
11611 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
= NULL
;
11613 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
11621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11622 if (SWIG_arg_fail(1)) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= result
;
11637 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
11639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11640 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
11642 return Py_BuildValue((char *)"");
11644 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
= NULL
;
11646 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11648 PyObject
* obj0
= 0 ;
11649 PyObject
* obj1
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self",(char *) "Language", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail
;
11658 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11659 if (SWIG_arg_fail(2)) SWIG_fail
;
11661 if (arg1
) (arg1
)->Language
= arg2
;
11663 Py_INCREF(Py_None
); resultobj
= Py_None
;
11670 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
= NULL
;
11672 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11674 PyObject
* obj0
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "self", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
11680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11681 if (SWIG_arg_fail(1)) SWIG_fail
;
11682 result
= (int) ((arg1
)->Language
);
11685 resultobj
= SWIG_From_int(static_cast<int >(result
));
11693 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
= NULL
;
11695 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11696 wxString
*arg2
= (wxString
*) 0 ;
11697 bool temp2
= false ;
11698 PyObject
* obj0
= 0 ;
11699 PyObject
* obj1
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "self",(char *) "CanonicalName", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11706 if (SWIG_arg_fail(1)) SWIG_fail
;
11708 arg2
= wxString_in_helper(obj1
);
11709 if (arg2
== NULL
) SWIG_fail
;
11712 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
11714 Py_INCREF(Py_None
); resultobj
= Py_None
;
11729 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
= NULL
;
11731 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11733 PyObject
* obj0
= 0 ;
11734 char *kwnames
[] = {
11735 (char *) "self", NULL
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
11739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11740 if (SWIG_arg_fail(1)) SWIG_fail
;
11741 result
= (wxString
*)& ((arg1
)->CanonicalName
);
11745 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11747 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11756 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
= NULL
;
11758 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11759 wxString
*arg2
= (wxString
*) 0 ;
11760 bool temp2
= false ;
11761 PyObject
* obj0
= 0 ;
11762 PyObject
* obj1
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self",(char *) "Description", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11769 if (SWIG_arg_fail(1)) SWIG_fail
;
11771 arg2
= wxString_in_helper(obj1
);
11772 if (arg2
== NULL
) SWIG_fail
;
11775 if (arg1
) (arg1
)->Description
= *arg2
;
11777 Py_INCREF(Py_None
); resultobj
= Py_None
;
11792 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
= NULL
;
11794 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
11802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11803 if (SWIG_arg_fail(1)) SWIG_fail
;
11804 result
= (wxString
*)& ((arg1
)->Description
);
11808 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11810 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11819 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
11821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11822 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
11824 return Py_BuildValue((char *)"");
11826 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
= NULL
;
11828 int arg1
= (int) -1 ;
11829 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11831 PyObject
* obj0
= 0 ;
11832 PyObject
* obj1
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "language",(char *) "flags", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
11840 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11841 if (SWIG_arg_fail(1)) SWIG_fail
;
11846 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11847 if (SWIG_arg_fail(2)) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11864 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
= NULL
;
11866 wxLocale
*arg1
= (wxLocale
*) 0 ;
11867 PyObject
* obj0
= 0 ;
11868 char *kwnames
[] = {
11869 (char *) "self", NULL
11872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11874 if (SWIG_arg_fail(1)) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 Py_INCREF(Py_None
); resultobj
= Py_None
;
11889 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
= NULL
;
11891 wxLocale
*arg1
= (wxLocale
*) 0 ;
11892 wxString
*arg2
= 0 ;
11893 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11894 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11895 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11896 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11897 bool arg5
= (bool) true ;
11898 bool arg6
= (bool) false ;
11900 bool temp2
= false ;
11901 bool temp3
= false ;
11902 bool temp4
= false ;
11903 PyObject
* obj0
= 0 ;
11904 PyObject
* obj1
= 0 ;
11905 PyObject
* obj2
= 0 ;
11906 PyObject
* obj3
= 0 ;
11907 PyObject
* obj4
= 0 ;
11908 PyObject
* obj5
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11915 if (SWIG_arg_fail(1)) SWIG_fail
;
11917 arg2
= wxString_in_helper(obj1
);
11918 if (arg2
== NULL
) SWIG_fail
;
11923 arg3
= wxString_in_helper(obj2
);
11924 if (arg3
== NULL
) SWIG_fail
;
11930 arg4
= wxString_in_helper(obj3
);
11931 if (arg4
== NULL
) SWIG_fail
;
11937 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
11938 if (SWIG_arg_fail(5)) SWIG_fail
;
11943 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
11944 if (SWIG_arg_fail(6)) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11987 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
= NULL
;
11989 wxLocale
*arg1
= (wxLocale
*) 0 ;
11990 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11991 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 PyObject
* obj2
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self",(char *) "language",(char *) "flags", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12002 if (SWIG_arg_fail(1)) SWIG_fail
;
12005 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12006 if (SWIG_arg_fail(2)) SWIG_fail
;
12011 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12012 if (SWIG_arg_fail(3)) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12031 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
= NULL
;
12034 char *kwnames
[] = {
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (int)wxLocale::GetSystemLanguage();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_From_int(static_cast<int >(result
));
12055 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
= NULL
;
12057 wxFontEncoding result
;
12058 char *kwnames
[] = {
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_From_int((result
));
12077 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
= NULL
;
12080 char *kwnames
[] = {
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= wxLocale::GetSystemEncodingName();
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12105 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
= NULL
;
12107 wxLocale
*arg1
= (wxLocale
*) 0 ;
12109 PyObject
* obj0
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
12115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12116 if (SWIG_arg_fail(1)) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12133 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= NULL
;
12135 wxLocale
*arg1
= (wxLocale
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
12143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 result
= ((wxLocale
const *)arg1
)->GetLocale();
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12165 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
= NULL
;
12167 wxLocale
*arg1
= (wxLocale
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
12175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= SWIG_From_int(static_cast<int >(result
));
12193 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
= NULL
;
12195 wxLocale
*arg1
= (wxLocale
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
12203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= ((wxLocale
const *)arg1
)->GetSysName();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12225 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
= NULL
;
12227 wxLocale
*arg1
= (wxLocale
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
12235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12236 if (SWIG_arg_fail(1)) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12257 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
= NULL
;
12259 wxString
*arg1
= 0 ;
12260 bool temp1
= false ;
12261 PyObject
* obj0
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "prefix", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
12268 arg1
= wxString_in_helper(obj0
);
12269 if (arg1
== NULL
) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 Py_INCREF(Py_None
); resultobj
= Py_None
;
12294 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
= NULL
;
12296 wxLocale
*arg1
= (wxLocale
*) 0 ;
12297 wxString
*arg2
= 0 ;
12299 bool temp2
= false ;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 char *kwnames
[] = {
12303 (char *) "self",(char *) "szDomain", NULL
12306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
12307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12308 if (SWIG_arg_fail(1)) SWIG_fail
;
12310 arg2
= wxString_in_helper(obj1
);
12311 if (arg2
== NULL
) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12338 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
= NULL
;
12340 wxLocale
*arg1
= (wxLocale
*) 0 ;
12341 wxString
*arg2
= 0 ;
12343 bool temp2
= false ;
12344 PyObject
* obj0
= 0 ;
12345 PyObject
* obj1
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self",(char *) "szDomain", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
12351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12352 if (SWIG_arg_fail(1)) SWIG_fail
;
12354 arg2
= wxString_in_helper(obj1
);
12355 if (arg2
== NULL
) SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12382 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
= NULL
;
12385 wxLanguageInfo
*result
;
12386 PyObject
* obj0
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "lang", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
12393 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12394 if (SWIG_arg_fail(1)) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
12410 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
= NULL
;
12414 PyObject
* obj0
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "lang", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
12421 arg1
= static_cast<int >(SWIG_As_int(obj0
));
12422 if (SWIG_arg_fail(1)) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 result
= wxLocale::GetLanguageName(arg1
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12444 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
= NULL
;
12446 wxString
*arg1
= 0 ;
12447 wxLanguageInfo
*result
;
12448 bool temp1
= false ;
12449 PyObject
* obj0
= 0 ;
12450 char *kwnames
[] = {
12451 (char *) "locale", NULL
12454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
12456 arg1
= wxString_in_helper(obj0
);
12457 if (arg1
== NULL
) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
12482 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
= NULL
;
12484 wxLanguageInfo
*arg1
= 0 ;
12485 PyObject
* obj0
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "info", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
12492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
12493 if (SWIG_arg_fail(1)) SWIG_fail
;
12494 if (arg1
== NULL
) {
12495 SWIG_null_ref("wxLanguageInfo");
12497 if (SWIG_arg_fail(1)) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 Py_INCREF(Py_None
); resultobj
= Py_None
;
12513 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
= NULL
;
12515 wxLocale
*arg1
= (wxLocale
*) 0 ;
12516 wxString
*arg2
= 0 ;
12517 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12518 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12520 bool temp2
= false ;
12521 bool temp3
= false ;
12522 PyObject
* obj0
= 0 ;
12523 PyObject
* obj1
= 0 ;
12524 PyObject
* obj2
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12531 if (SWIG_arg_fail(1)) SWIG_fail
;
12533 arg2
= wxString_in_helper(obj1
);
12534 if (arg2
== NULL
) SWIG_fail
;
12539 arg3
= wxString_in_helper(obj2
);
12540 if (arg3
== NULL
) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12580 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
= NULL
;
12582 wxLocale
*arg1
= (wxLocale
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
12590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
12596 result
= (wxString
*) &_result_ref
;
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12606 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12615 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
12617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12618 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
12620 return Py_BuildValue((char *)"");
12622 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
= NULL
;
12625 char *kwnames
[] = {
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (wxLocale
*)wxGetLocale();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
12644 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
12645 PyObject
*resultobj
= NULL
;
12646 wxString
*arg1
= 0 ;
12648 bool temp1
= false ;
12649 PyObject
* obj0
= 0 ;
12651 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
12653 arg1
= wxString_in_helper(obj0
);
12654 if (arg1
== NULL
) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 result
= wxGetTranslation((wxString
const &)*arg1
);
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12685 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
12686 PyObject
*resultobj
= NULL
;
12687 wxString
*arg1
= 0 ;
12688 wxString
*arg2
= 0 ;
12691 bool temp1
= false ;
12692 bool temp2
= false ;
12693 PyObject
* obj0
= 0 ;
12694 PyObject
* obj1
= 0 ;
12695 PyObject
* obj2
= 0 ;
12697 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
12699 arg1
= wxString_in_helper(obj0
);
12700 if (arg1
== NULL
) SWIG_fail
;
12704 arg2
= wxString_in_helper(obj1
);
12705 if (arg2
== NULL
) SWIG_fail
;
12709 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12710 if (SWIG_arg_fail(3)) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12748 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
12753 argc
= PyObject_Length(args
);
12754 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
12755 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12760 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12763 return _wrap_GetTranslation__SWIG_0(self
,args
);
12769 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12773 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
12776 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
12778 return _wrap_GetTranslation__SWIG_1(self
,args
);
12784 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
12789 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
= NULL
;
12791 wxEncodingConverter
*result
;
12792 char *kwnames
[] = {
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= (wxEncodingConverter
*)new wxEncodingConverter();
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
12811 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
= NULL
;
12813 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
12820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12821 if (SWIG_arg_fail(1)) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12829 Py_INCREF(Py_None
); resultobj
= Py_None
;
12836 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
= NULL
;
12838 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12839 wxFontEncoding arg2
;
12840 wxFontEncoding arg3
;
12841 int arg4
= (int) wxCONVERT_STRICT
;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 PyObject
* obj2
= 0 ;
12846 PyObject
* obj3
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12853 if (SWIG_arg_fail(1)) SWIG_fail
;
12855 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
12856 if (SWIG_arg_fail(2)) SWIG_fail
;
12859 arg3
= static_cast<wxFontEncoding
>(SWIG_As_int(obj2
));
12860 if (SWIG_arg_fail(3)) SWIG_fail
;
12864 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12865 if (SWIG_arg_fail(4)) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12884 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
= NULL
;
12886 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12887 wxString
*arg2
= 0 ;
12889 bool temp2
= false ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self",(char *) "input", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12898 if (SWIG_arg_fail(1)) SWIG_fail
;
12900 arg2
= wxString_in_helper(obj1
);
12901 if (arg2
== NULL
) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12932 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12933 PyObject
*resultobj
= NULL
;
12934 wxFontEncoding arg1
;
12935 int arg2
= (int) wxPLATFORM_CURRENT
;
12936 wxFontEncodingArray result
;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "enc",(char *) "platform", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12945 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
12946 if (SWIG_arg_fail(1)) SWIG_fail
;
12950 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12951 if (SWIG_arg_fail(2)) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= PyList_New(0);
12963 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12964 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12965 PyList_Append(resultobj
, number
);
12975 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
= NULL
;
12977 wxFontEncoding arg1
;
12978 wxFontEncodingArray result
;
12979 PyObject
* obj0
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "enc", NULL
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12986 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
12987 if (SWIG_arg_fail(1)) SWIG_fail
;
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= PyList_New(0);
12998 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12999 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
13000 PyList_Append(resultobj
, number
);
13010 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
= NULL
;
13012 wxFontEncoding arg1
;
13013 wxFontEncoding arg2
;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "encIn",(char *) "encOut", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
13023 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
13024 if (SWIG_arg_fail(1)) SWIG_fail
;
13027 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
13028 if (SWIG_arg_fail(2)) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13046 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
13048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13049 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
13051 return Py_BuildValue((char *)"");
13053 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
= NULL
;
13055 wxDC
*arg1
= (wxDC
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
13062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13063 if (SWIG_arg_fail(1)) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 Py_INCREF(Py_None
); resultobj
= Py_None
;
13078 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
= NULL
;
13080 wxDC
*arg1
= (wxDC
*) 0 ;
13083 wxColour
*arg4
= 0 ;
13084 int arg5
= (int) wxFLOOD_SURFACE
;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 PyObject
* obj2
= 0 ;
13090 PyObject
* obj3
= 0 ;
13091 PyObject
* obj4
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13098 if (SWIG_arg_fail(1)) SWIG_fail
;
13100 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13101 if (SWIG_arg_fail(2)) SWIG_fail
;
13104 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13105 if (SWIG_arg_fail(3)) SWIG_fail
;
13109 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
13113 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13114 if (SWIG_arg_fail(5)) SWIG_fail
;
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13133 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
= NULL
;
13135 wxDC
*arg1
= (wxDC
*) 0 ;
13136 wxPoint
*arg2
= 0 ;
13137 wxColour
*arg3
= 0 ;
13138 int arg4
= (int) wxFLOOD_SURFACE
;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj2
= 0 ;
13145 PyObject
* obj3
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13152 if (SWIG_arg_fail(1)) SWIG_fail
;
13155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13159 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13163 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13164 if (SWIG_arg_fail(4)) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13183 static PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
= NULL
;
13185 wxDC
*arg1
= (wxDC
*) 0 ;
13187 wxColour
*arg3
= 0 ;
13188 wxColour
*arg4
= 0 ;
13189 wxPoint
*arg5
= 0 ;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 PyObject
* obj2
= 0 ;
13197 PyObject
* obj3
= 0 ;
13198 PyObject
* obj4
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13205 if (SWIG_arg_fail(1)) SWIG_fail
;
13208 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13212 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13216 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
13220 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 Py_INCREF(Py_None
); resultobj
= Py_None
;
13236 static PyObject
*_wrap_DC_GradientFillLinear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
= NULL
;
13238 wxDC
*arg1
= (wxDC
*) 0 ;
13240 wxColour
*arg3
= 0 ;
13241 wxColour
*arg4
= 0 ;
13242 wxDirection arg5
= (wxDirection
) wxEAST
;
13246 PyObject
* obj0
= 0 ;
13247 PyObject
* obj1
= 0 ;
13248 PyObject
* obj2
= 0 ;
13249 PyObject
* obj3
= 0 ;
13250 PyObject
* obj4
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13257 if (SWIG_arg_fail(1)) SWIG_fail
;
13260 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13264 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13268 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
13272 arg5
= static_cast<wxDirection
>(SWIG_As_int(obj4
));
13273 if (SWIG_arg_fail(5)) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 Py_INCREF(Py_None
); resultobj
= Py_None
;
13290 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
= NULL
;
13292 wxDC
*arg1
= (wxDC
*) 0 ;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 PyObject
* obj2
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self",(char *) "x",(char *) "y", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13305 if (SWIG_arg_fail(1)) SWIG_fail
;
13307 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13308 if (SWIG_arg_fail(2)) SWIG_fail
;
13311 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13312 if (SWIG_arg_fail(3)) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13322 wxColour
* resultptr
;
13323 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13332 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
= NULL
;
13334 wxDC
*arg1
= (wxDC
*) 0 ;
13335 wxPoint
*arg2
= 0 ;
13338 PyObject
* obj0
= 0 ;
13339 PyObject
* obj1
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self",(char *) "pt", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13346 if (SWIG_arg_fail(1)) SWIG_fail
;
13349 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13359 wxColour
* resultptr
;
13360 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13369 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
= NULL
;
13371 wxDC
*arg1
= (wxDC
*) 0 ;
13376 PyObject
* obj0
= 0 ;
13377 PyObject
* obj1
= 0 ;
13378 PyObject
* obj2
= 0 ;
13379 PyObject
* obj3
= 0 ;
13380 PyObject
* obj4
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13387 if (SWIG_arg_fail(1)) SWIG_fail
;
13389 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13390 if (SWIG_arg_fail(2)) SWIG_fail
;
13393 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13394 if (SWIG_arg_fail(3)) SWIG_fail
;
13397 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13398 if (SWIG_arg_fail(4)) SWIG_fail
;
13401 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13402 if (SWIG_arg_fail(5)) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
= NULL
;
13420 wxDC
*arg1
= (wxDC
*) 0 ;
13421 wxPoint
*arg2
= 0 ;
13422 wxPoint
*arg3
= 0 ;
13425 PyObject
* obj0
= 0 ;
13426 PyObject
* obj1
= 0 ;
13427 PyObject
* obj2
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13434 if (SWIG_arg_fail(1)) SWIG_fail
;
13437 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13441 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 Py_INCREF(Py_None
); resultobj
= Py_None
;
13457 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
= NULL
;
13459 wxDC
*arg1
= (wxDC
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 PyObject
* obj1
= 0 ;
13464 PyObject
* obj2
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self",(char *) "x",(char *) "y", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13471 if (SWIG_arg_fail(1)) SWIG_fail
;
13473 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13474 if (SWIG_arg_fail(2)) SWIG_fail
;
13477 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13478 if (SWIG_arg_fail(3)) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 (arg1
)->CrossHair(arg2
,arg3
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 Py_INCREF(Py_None
); resultobj
= Py_None
;
13494 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
= NULL
;
13496 wxDC
*arg1
= (wxDC
*) 0 ;
13497 wxPoint
*arg2
= 0 ;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "pt", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13507 if (SWIG_arg_fail(1)) SWIG_fail
;
13510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 Py_INCREF(Py_None
); resultobj
= Py_None
;
13526 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
= NULL
;
13528 wxDC
*arg1
= (wxDC
*) 0 ;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj1
= 0 ;
13537 PyObject
* obj2
= 0 ;
13538 PyObject
* obj3
= 0 ;
13539 PyObject
* obj4
= 0 ;
13540 PyObject
* obj5
= 0 ;
13541 PyObject
* obj6
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13548 if (SWIG_arg_fail(1)) SWIG_fail
;
13550 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13551 if (SWIG_arg_fail(2)) SWIG_fail
;
13554 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13555 if (SWIG_arg_fail(3)) SWIG_fail
;
13558 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13559 if (SWIG_arg_fail(4)) SWIG_fail
;
13562 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13563 if (SWIG_arg_fail(5)) SWIG_fail
;
13566 arg6
= static_cast<int >(SWIG_As_int(obj5
));
13567 if (SWIG_arg_fail(6)) SWIG_fail
;
13570 arg7
= static_cast<int >(SWIG_As_int(obj6
));
13571 if (SWIG_arg_fail(7)) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 Py_INCREF(Py_None
); resultobj
= Py_None
;
13587 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
= NULL
;
13589 wxDC
*arg1
= (wxDC
*) 0 ;
13590 wxPoint
*arg2
= 0 ;
13591 wxPoint
*arg3
= 0 ;
13592 wxPoint
*arg4
= 0 ;
13596 PyObject
* obj0
= 0 ;
13597 PyObject
* obj1
= 0 ;
13598 PyObject
* obj2
= 0 ;
13599 PyObject
* obj3
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13606 if (SWIG_arg_fail(1)) SWIG_fail
;
13609 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 Py_INCREF(Py_None
); resultobj
= Py_None
;
13633 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
= NULL
;
13635 wxDC
*arg1
= (wxDC
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 PyObject
* obj1
= 0 ;
13642 PyObject
* obj2
= 0 ;
13643 PyObject
* obj3
= 0 ;
13644 PyObject
* obj4
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13651 if (SWIG_arg_fail(1)) SWIG_fail
;
13653 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13654 if (SWIG_arg_fail(2)) SWIG_fail
;
13657 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13658 if (SWIG_arg_fail(3)) SWIG_fail
;
13661 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13662 if (SWIG_arg_fail(4)) SWIG_fail
;
13665 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13666 if (SWIG_arg_fail(5)) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 Py_INCREF(Py_None
); resultobj
= Py_None
;
13682 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
= NULL
;
13684 wxDC
*arg1
= (wxDC
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 char *kwnames
[] = {
13690 (char *) "self",(char *) "rect", NULL
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13695 if (SWIG_arg_fail(1)) SWIG_fail
;
13698 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 Py_INCREF(Py_None
); resultobj
= Py_None
;
13714 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
= NULL
;
13716 wxDC
*arg1
= (wxDC
*) 0 ;
13723 PyObject
* obj0
= 0 ;
13724 PyObject
* obj1
= 0 ;
13725 PyObject
* obj2
= 0 ;
13726 PyObject
* obj3
= 0 ;
13727 PyObject
* obj4
= 0 ;
13728 PyObject
* obj5
= 0 ;
13729 PyObject
* obj6
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13736 if (SWIG_arg_fail(1)) SWIG_fail
;
13738 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13739 if (SWIG_arg_fail(2)) SWIG_fail
;
13742 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13743 if (SWIG_arg_fail(3)) SWIG_fail
;
13746 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13747 if (SWIG_arg_fail(4)) SWIG_fail
;
13750 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13751 if (SWIG_arg_fail(5)) SWIG_fail
;
13754 arg6
= static_cast<double >(SWIG_As_double(obj5
));
13755 if (SWIG_arg_fail(6)) SWIG_fail
;
13758 arg7
= static_cast<double >(SWIG_As_double(obj6
));
13759 if (SWIG_arg_fail(7)) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 Py_INCREF(Py_None
); resultobj
= Py_None
;
13775 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
= NULL
;
13777 wxDC
*arg1
= (wxDC
*) 0 ;
13778 wxPoint
*arg2
= 0 ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 PyObject
* obj2
= 0 ;
13787 PyObject
* obj3
= 0 ;
13788 PyObject
* obj4
= 0 ;
13789 char *kwnames
[] = {
13790 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
13793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13795 if (SWIG_arg_fail(1)) SWIG_fail
;
13798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13802 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13805 arg4
= static_cast<double >(SWIG_As_double(obj3
));
13806 if (SWIG_arg_fail(4)) SWIG_fail
;
13809 arg5
= static_cast<double >(SWIG_As_double(obj4
));
13810 if (SWIG_arg_fail(5)) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 Py_INCREF(Py_None
); resultobj
= Py_None
;
13826 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
= NULL
;
13828 wxDC
*arg1
= (wxDC
*) 0 ;
13831 PyObject
* obj0
= 0 ;
13832 PyObject
* obj1
= 0 ;
13833 PyObject
* obj2
= 0 ;
13834 char *kwnames
[] = {
13835 (char *) "self",(char *) "x",(char *) "y", NULL
13838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13840 if (SWIG_arg_fail(1)) SWIG_fail
;
13842 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13843 if (SWIG_arg_fail(2)) SWIG_fail
;
13846 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13847 if (SWIG_arg_fail(3)) SWIG_fail
;
13850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13851 (arg1
)->DrawPoint(arg2
,arg3
);
13853 wxPyEndAllowThreads(__tstate
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13856 Py_INCREF(Py_None
); resultobj
= Py_None
;
13863 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
= NULL
;
13865 wxDC
*arg1
= (wxDC
*) 0 ;
13866 wxPoint
*arg2
= 0 ;
13868 PyObject
* obj0
= 0 ;
13869 PyObject
* obj1
= 0 ;
13870 char *kwnames
[] = {
13871 (char *) "self",(char *) "pt", NULL
13874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13876 if (SWIG_arg_fail(1)) SWIG_fail
;
13879 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 Py_INCREF(Py_None
); resultobj
= Py_None
;
13895 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
= NULL
;
13897 wxDC
*arg1
= (wxDC
*) 0 ;
13902 PyObject
* obj0
= 0 ;
13903 PyObject
* obj1
= 0 ;
13904 PyObject
* obj2
= 0 ;
13905 PyObject
* obj3
= 0 ;
13906 PyObject
* obj4
= 0 ;
13907 char *kwnames
[] = {
13908 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13913 if (SWIG_arg_fail(1)) SWIG_fail
;
13915 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13916 if (SWIG_arg_fail(2)) SWIG_fail
;
13919 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13920 if (SWIG_arg_fail(3)) SWIG_fail
;
13923 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13924 if (SWIG_arg_fail(4)) SWIG_fail
;
13927 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13928 if (SWIG_arg_fail(5)) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 Py_INCREF(Py_None
); resultobj
= Py_None
;
13944 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
= NULL
;
13946 wxDC
*arg1
= (wxDC
*) 0 ;
13949 PyObject
* obj0
= 0 ;
13950 PyObject
* obj1
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self",(char *) "rect", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13957 if (SWIG_arg_fail(1)) SWIG_fail
;
13960 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 Py_INCREF(Py_None
); resultobj
= Py_None
;
13976 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
= NULL
;
13978 wxDC
*arg1
= (wxDC
*) 0 ;
13979 wxPoint
*arg2
= 0 ;
13983 PyObject
* obj0
= 0 ;
13984 PyObject
* obj1
= 0 ;
13985 PyObject
* obj2
= 0 ;
13986 char *kwnames
[] = {
13987 (char *) "self",(char *) "pt",(char *) "sz", NULL
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13992 if (SWIG_arg_fail(1)) SWIG_fail
;
13995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13999 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 Py_INCREF(Py_None
); resultobj
= Py_None
;
14015 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
= NULL
;
14017 wxDC
*arg1
= (wxDC
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 PyObject
* obj2
= 0 ;
14026 PyObject
* obj3
= 0 ;
14027 PyObject
* obj4
= 0 ;
14028 PyObject
* obj5
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14035 if (SWIG_arg_fail(1)) SWIG_fail
;
14037 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14038 if (SWIG_arg_fail(2)) SWIG_fail
;
14041 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14042 if (SWIG_arg_fail(3)) SWIG_fail
;
14045 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14046 if (SWIG_arg_fail(4)) SWIG_fail
;
14049 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14050 if (SWIG_arg_fail(5)) SWIG_fail
;
14053 arg6
= static_cast<double >(SWIG_As_double(obj5
));
14054 if (SWIG_arg_fail(6)) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 Py_INCREF(Py_None
); resultobj
= Py_None
;
14070 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
= NULL
;
14072 wxDC
*arg1
= (wxDC
*) 0 ;
14076 PyObject
* obj0
= 0 ;
14077 PyObject
* obj1
= 0 ;
14078 PyObject
* obj2
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self",(char *) "r",(char *) "radius", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14085 if (SWIG_arg_fail(1)) SWIG_fail
;
14088 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14091 arg3
= static_cast<double >(SWIG_As_double(obj2
));
14092 if (SWIG_arg_fail(3)) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 Py_INCREF(Py_None
); resultobj
= Py_None
;
14108 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
= NULL
;
14110 wxDC
*arg1
= (wxDC
*) 0 ;
14111 wxPoint
*arg2
= 0 ;
14116 PyObject
* obj0
= 0 ;
14117 PyObject
* obj1
= 0 ;
14118 PyObject
* obj2
= 0 ;
14119 PyObject
* obj3
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14126 if (SWIG_arg_fail(1)) SWIG_fail
;
14129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14133 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14136 arg4
= static_cast<double >(SWIG_As_double(obj3
));
14137 if (SWIG_arg_fail(4)) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 Py_INCREF(Py_None
); resultobj
= Py_None
;
14153 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
= NULL
;
14155 wxDC
*arg1
= (wxDC
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 PyObject
* obj1
= 0 ;
14161 PyObject
* obj2
= 0 ;
14162 PyObject
* obj3
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14169 if (SWIG_arg_fail(1)) SWIG_fail
;
14171 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14172 if (SWIG_arg_fail(2)) SWIG_fail
;
14175 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14176 if (SWIG_arg_fail(3)) SWIG_fail
;
14179 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14180 if (SWIG_arg_fail(4)) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 Py_INCREF(Py_None
); resultobj
= Py_None
;
14196 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
= NULL
;
14198 wxDC
*arg1
= (wxDC
*) 0 ;
14199 wxPoint
*arg2
= 0 ;
14202 PyObject
* obj0
= 0 ;
14203 PyObject
* obj1
= 0 ;
14204 PyObject
* obj2
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self",(char *) "pt",(char *) "radius", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14211 if (SWIG_arg_fail(1)) SWIG_fail
;
14214 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14217 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14218 if (SWIG_arg_fail(3)) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14227 Py_INCREF(Py_None
); resultobj
= Py_None
;
14234 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
= NULL
;
14236 wxDC
*arg1
= (wxDC
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 PyObject
* obj1
= 0 ;
14243 PyObject
* obj2
= 0 ;
14244 PyObject
* obj3
= 0 ;
14245 PyObject
* obj4
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14252 if (SWIG_arg_fail(1)) SWIG_fail
;
14254 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14255 if (SWIG_arg_fail(2)) SWIG_fail
;
14258 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14259 if (SWIG_arg_fail(3)) SWIG_fail
;
14262 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14263 if (SWIG_arg_fail(4)) SWIG_fail
;
14266 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14267 if (SWIG_arg_fail(5)) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 Py_INCREF(Py_None
); resultobj
= Py_None
;
14283 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
= NULL
;
14285 wxDC
*arg1
= (wxDC
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 PyObject
* obj1
= 0 ;
14290 char *kwnames
[] = {
14291 (char *) "self",(char *) "rect", NULL
14294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14296 if (SWIG_arg_fail(1)) SWIG_fail
;
14299 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 Py_INCREF(Py_None
); resultobj
= Py_None
;
14315 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
= NULL
;
14317 wxDC
*arg1
= (wxDC
*) 0 ;
14318 wxPoint
*arg2
= 0 ;
14322 PyObject
* obj0
= 0 ;
14323 PyObject
* obj1
= 0 ;
14324 PyObject
* obj2
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "pt",(char *) "sz", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail
;
14334 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14338 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 Py_INCREF(Py_None
); resultobj
= Py_None
;
14354 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
= NULL
;
14356 wxDC
*arg1
= (wxDC
*) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 PyObject
* obj1
= 0 ;
14362 PyObject
* obj2
= 0 ;
14363 PyObject
* obj3
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14370 if (SWIG_arg_fail(1)) SWIG_fail
;
14372 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
14373 if (SWIG_arg_fail(2)) SWIG_fail
;
14374 if (arg2
== NULL
) {
14375 SWIG_null_ref("wxIcon");
14377 if (SWIG_arg_fail(2)) SWIG_fail
;
14380 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14381 if (SWIG_arg_fail(3)) SWIG_fail
;
14384 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14385 if (SWIG_arg_fail(4)) SWIG_fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 Py_INCREF(Py_None
); resultobj
= Py_None
;
14401 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
= NULL
;
14403 wxDC
*arg1
= (wxDC
*) 0 ;
14405 wxPoint
*arg3
= 0 ;
14407 PyObject
* obj0
= 0 ;
14408 PyObject
* obj1
= 0 ;
14409 PyObject
* obj2
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self",(char *) "icon",(char *) "pt", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14416 if (SWIG_arg_fail(1)) SWIG_fail
;
14418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
14419 if (SWIG_arg_fail(2)) SWIG_fail
;
14420 if (arg2
== NULL
) {
14421 SWIG_null_ref("wxIcon");
14423 if (SWIG_arg_fail(2)) SWIG_fail
;
14427 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 Py_INCREF(Py_None
); resultobj
= Py_None
;
14443 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
= NULL
;
14445 wxDC
*arg1
= (wxDC
*) 0 ;
14446 wxBitmap
*arg2
= 0 ;
14449 bool arg5
= (bool) false ;
14450 PyObject
* obj0
= 0 ;
14451 PyObject
* obj1
= 0 ;
14452 PyObject
* obj2
= 0 ;
14453 PyObject
* obj3
= 0 ;
14454 PyObject
* obj4
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14461 if (SWIG_arg_fail(1)) SWIG_fail
;
14463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14464 if (SWIG_arg_fail(2)) SWIG_fail
;
14465 if (arg2
== NULL
) {
14466 SWIG_null_ref("wxBitmap");
14468 if (SWIG_arg_fail(2)) SWIG_fail
;
14471 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14472 if (SWIG_arg_fail(3)) SWIG_fail
;
14475 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14476 if (SWIG_arg_fail(4)) SWIG_fail
;
14480 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
14481 if (SWIG_arg_fail(5)) SWIG_fail
;
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 Py_INCREF(Py_None
); resultobj
= Py_None
;
14498 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
= NULL
;
14500 wxDC
*arg1
= (wxDC
*) 0 ;
14501 wxBitmap
*arg2
= 0 ;
14502 wxPoint
*arg3
= 0 ;
14503 bool arg4
= (bool) false ;
14505 PyObject
* obj0
= 0 ;
14506 PyObject
* obj1
= 0 ;
14507 PyObject
* obj2
= 0 ;
14508 PyObject
* obj3
= 0 ;
14509 char *kwnames
[] = {
14510 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
14513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14515 if (SWIG_arg_fail(1)) SWIG_fail
;
14517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14518 if (SWIG_arg_fail(2)) SWIG_fail
;
14519 if (arg2
== NULL
) {
14520 SWIG_null_ref("wxBitmap");
14522 if (SWIG_arg_fail(2)) SWIG_fail
;
14526 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14530 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
14531 if (SWIG_arg_fail(4)) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 Py_INCREF(Py_None
); resultobj
= Py_None
;
14548 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
= NULL
;
14550 wxDC
*arg1
= (wxDC
*) 0 ;
14551 wxString
*arg2
= 0 ;
14554 bool temp2
= false ;
14555 PyObject
* obj0
= 0 ;
14556 PyObject
* obj1
= 0 ;
14557 PyObject
* obj2
= 0 ;
14558 PyObject
* obj3
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14565 if (SWIG_arg_fail(1)) SWIG_fail
;
14567 arg2
= wxString_in_helper(obj1
);
14568 if (arg2
== NULL
) SWIG_fail
;
14572 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14573 if (SWIG_arg_fail(3)) SWIG_fail
;
14576 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14577 if (SWIG_arg_fail(4)) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 Py_INCREF(Py_None
); resultobj
= Py_None
;
14601 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
= NULL
;
14603 wxDC
*arg1
= (wxDC
*) 0 ;
14604 wxString
*arg2
= 0 ;
14605 wxPoint
*arg3
= 0 ;
14606 bool temp2
= false ;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 PyObject
* obj2
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self",(char *) "text",(char *) "pt", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14617 if (SWIG_arg_fail(1)) SWIG_fail
;
14619 arg2
= wxString_in_helper(obj1
);
14620 if (arg2
== NULL
) SWIG_fail
;
14625 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 Py_INCREF(Py_None
); resultobj
= Py_None
;
14649 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
= NULL
;
14651 wxDC
*arg1
= (wxDC
*) 0 ;
14652 wxString
*arg2
= 0 ;
14656 bool temp2
= false ;
14657 PyObject
* obj0
= 0 ;
14658 PyObject
* obj1
= 0 ;
14659 PyObject
* obj2
= 0 ;
14660 PyObject
* obj3
= 0 ;
14661 PyObject
* obj4
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14668 if (SWIG_arg_fail(1)) SWIG_fail
;
14670 arg2
= wxString_in_helper(obj1
);
14671 if (arg2
== NULL
) SWIG_fail
;
14675 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14676 if (SWIG_arg_fail(3)) SWIG_fail
;
14679 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14680 if (SWIG_arg_fail(4)) SWIG_fail
;
14683 arg5
= static_cast<double >(SWIG_As_double(obj4
));
14684 if (SWIG_arg_fail(5)) SWIG_fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14693 Py_INCREF(Py_None
); resultobj
= Py_None
;
14708 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
= NULL
;
14710 wxDC
*arg1
= (wxDC
*) 0 ;
14711 wxString
*arg2
= 0 ;
14712 wxPoint
*arg3
= 0 ;
14714 bool temp2
= false ;
14716 PyObject
* obj0
= 0 ;
14717 PyObject
* obj1
= 0 ;
14718 PyObject
* obj2
= 0 ;
14719 PyObject
* obj3
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14726 if (SWIG_arg_fail(1)) SWIG_fail
;
14728 arg2
= wxString_in_helper(obj1
);
14729 if (arg2
== NULL
) SWIG_fail
;
14734 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14737 arg4
= static_cast<double >(SWIG_As_double(obj3
));
14738 if (SWIG_arg_fail(4)) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 Py_INCREF(Py_None
); resultobj
= Py_None
;
14762 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
= NULL
;
14764 wxDC
*arg1
= (wxDC
*) 0 ;
14769 wxDC
*arg6
= (wxDC
*) 0 ;
14772 int arg9
= (int) wxCOPY
;
14773 bool arg10
= (bool) false ;
14774 int arg11
= (int) -1 ;
14775 int arg12
= (int) -1 ;
14777 PyObject
* obj0
= 0 ;
14778 PyObject
* obj1
= 0 ;
14779 PyObject
* obj2
= 0 ;
14780 PyObject
* obj3
= 0 ;
14781 PyObject
* obj4
= 0 ;
14782 PyObject
* obj5
= 0 ;
14783 PyObject
* obj6
= 0 ;
14784 PyObject
* obj7
= 0 ;
14785 PyObject
* obj8
= 0 ;
14786 PyObject
* obj9
= 0 ;
14787 PyObject
* obj10
= 0 ;
14788 PyObject
* obj11
= 0 ;
14789 char *kwnames
[] = {
14790 (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
14793 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
;
14794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14795 if (SWIG_arg_fail(1)) SWIG_fail
;
14797 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14798 if (SWIG_arg_fail(2)) SWIG_fail
;
14801 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14802 if (SWIG_arg_fail(3)) SWIG_fail
;
14805 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14806 if (SWIG_arg_fail(4)) SWIG_fail
;
14809 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14810 if (SWIG_arg_fail(5)) SWIG_fail
;
14812 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14813 if (SWIG_arg_fail(6)) SWIG_fail
;
14815 arg7
= static_cast<int >(SWIG_As_int(obj6
));
14816 if (SWIG_arg_fail(7)) SWIG_fail
;
14819 arg8
= static_cast<int >(SWIG_As_int(obj7
));
14820 if (SWIG_arg_fail(8)) SWIG_fail
;
14824 arg9
= static_cast<int >(SWIG_As_int(obj8
));
14825 if (SWIG_arg_fail(9)) SWIG_fail
;
14830 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
14831 if (SWIG_arg_fail(10)) SWIG_fail
;
14836 arg11
= static_cast<int >(SWIG_As_int(obj10
));
14837 if (SWIG_arg_fail(11)) SWIG_fail
;
14842 arg12
= static_cast<int >(SWIG_As_int(obj11
));
14843 if (SWIG_arg_fail(12)) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14862 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
= NULL
;
14864 wxDC
*arg1
= (wxDC
*) 0 ;
14865 wxPoint
*arg2
= 0 ;
14867 wxDC
*arg4
= (wxDC
*) 0 ;
14868 wxPoint
*arg5
= 0 ;
14869 int arg6
= (int) wxCOPY
;
14870 bool arg7
= (bool) false ;
14871 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
14872 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
14878 PyObject
* obj0
= 0 ;
14879 PyObject
* obj1
= 0 ;
14880 PyObject
* obj2
= 0 ;
14881 PyObject
* obj3
= 0 ;
14882 PyObject
* obj4
= 0 ;
14883 PyObject
* obj5
= 0 ;
14884 PyObject
* obj6
= 0 ;
14885 PyObject
* obj7
= 0 ;
14886 char *kwnames
[] = {
14887 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
14890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14892 if (SWIG_arg_fail(1)) SWIG_fail
;
14895 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14899 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14901 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14902 if (SWIG_arg_fail(4)) SWIG_fail
;
14905 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14909 arg6
= static_cast<int >(SWIG_As_int(obj5
));
14910 if (SWIG_arg_fail(6)) SWIG_fail
;
14915 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
14916 if (SWIG_arg_fail(7)) SWIG_fail
;
14922 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14941 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
= NULL
;
14943 wxDC
*arg1
= (wxDC
*) 0 ;
14948 PyObject
* obj0
= 0 ;
14949 PyObject
* obj1
= 0 ;
14950 PyObject
* obj2
= 0 ;
14951 PyObject
* obj3
= 0 ;
14952 PyObject
* obj4
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14959 if (SWIG_arg_fail(1)) SWIG_fail
;
14961 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14962 if (SWIG_arg_fail(2)) SWIG_fail
;
14965 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14966 if (SWIG_arg_fail(3)) SWIG_fail
;
14969 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14970 if (SWIG_arg_fail(4)) SWIG_fail
;
14973 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14974 if (SWIG_arg_fail(5)) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 Py_INCREF(Py_None
); resultobj
= Py_None
;
14990 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= NULL
;
14992 wxDC
*arg1
= (wxDC
*) 0 ;
14993 wxPoint
*arg2
= 0 ;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 PyObject
* obj2
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self",(char *) "pt",(char *) "sz", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15006 if (SWIG_arg_fail(1)) SWIG_fail
;
15009 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15013 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15022 Py_INCREF(Py_None
); resultobj
= Py_None
;
15029 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
= NULL
;
15031 wxDC
*arg1
= (wxDC
*) 0 ;
15032 wxRegion
*arg2
= 0 ;
15033 PyObject
* obj0
= 0 ;
15034 PyObject
* obj1
= 0 ;
15035 char *kwnames
[] = {
15036 (char *) "self",(char *) "region", NULL
15039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
15040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15041 if (SWIG_arg_fail(1)) SWIG_fail
;
15043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
15044 if (SWIG_arg_fail(2)) SWIG_fail
;
15045 if (arg2
== NULL
) {
15046 SWIG_null_ref("wxRegion");
15048 if (SWIG_arg_fail(2)) SWIG_fail
;
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 Py_INCREF(Py_None
); resultobj
= Py_None
;
15064 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
= NULL
;
15066 wxDC
*arg1
= (wxDC
*) 0 ;
15069 PyObject
* obj0
= 0 ;
15070 PyObject
* obj1
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self",(char *) "rect", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15077 if (SWIG_arg_fail(1)) SWIG_fail
;
15080 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 Py_INCREF(Py_None
); resultobj
= Py_None
;
15096 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
= NULL
;
15098 wxDC
*arg1
= (wxDC
*) 0 ;
15100 wxPoint
*arg3
= (wxPoint
*) 0 ;
15101 int arg4
= (int) 0 ;
15102 int arg5
= (int) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 PyObject
* obj2
= 0 ;
15106 PyObject
* obj3
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15113 if (SWIG_arg_fail(1)) SWIG_fail
;
15115 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15116 if (arg3
== NULL
) SWIG_fail
;
15120 arg4
= static_cast<int >(SWIG_As_int(obj2
));
15121 if (SWIG_arg_fail(4)) SWIG_fail
;
15126 arg5
= static_cast<int >(SWIG_As_int(obj3
));
15127 if (SWIG_arg_fail(5)) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 Py_INCREF(Py_None
); resultobj
= Py_None
;
15139 if (arg3
) delete [] arg3
;
15144 if (arg3
) delete [] arg3
;
15150 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
= NULL
;
15152 wxDC
*arg1
= (wxDC
*) 0 ;
15154 wxPoint
*arg3
= (wxPoint
*) 0 ;
15155 int arg4
= (int) 0 ;
15156 int arg5
= (int) 0 ;
15157 int arg6
= (int) wxODDEVEN_RULE
;
15158 PyObject
* obj0
= 0 ;
15159 PyObject
* obj1
= 0 ;
15160 PyObject
* obj2
= 0 ;
15161 PyObject
* obj3
= 0 ;
15162 PyObject
* obj4
= 0 ;
15163 char *kwnames
[] = {
15164 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
15167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15169 if (SWIG_arg_fail(1)) SWIG_fail
;
15171 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15172 if (arg3
== NULL
) SWIG_fail
;
15176 arg4
= static_cast<int >(SWIG_As_int(obj2
));
15177 if (SWIG_arg_fail(4)) SWIG_fail
;
15182 arg5
= static_cast<int >(SWIG_As_int(obj3
));
15183 if (SWIG_arg_fail(5)) SWIG_fail
;
15188 arg6
= static_cast<int >(SWIG_As_int(obj4
));
15189 if (SWIG_arg_fail(6)) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15199 Py_INCREF(Py_None
); resultobj
= Py_None
;
15201 if (arg3
) delete [] arg3
;
15206 if (arg3
) delete [] arg3
;
15212 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
= NULL
;
15214 wxDC
*arg1
= (wxDC
*) 0 ;
15215 wxString
*arg2
= 0 ;
15217 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
15218 int arg5
= (int) -1 ;
15219 bool temp2
= false ;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 PyObject
* obj2
= 0 ;
15224 PyObject
* obj3
= 0 ;
15225 PyObject
* obj4
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15232 if (SWIG_arg_fail(1)) SWIG_fail
;
15234 arg2
= wxString_in_helper(obj1
);
15235 if (arg2
== NULL
) SWIG_fail
;
15240 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15244 arg4
= static_cast<int >(SWIG_As_int(obj3
));
15245 if (SWIG_arg_fail(4)) SWIG_fail
;
15250 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15251 if (SWIG_arg_fail(5)) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 Py_INCREF(Py_None
); resultobj
= Py_None
;
15276 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
= NULL
;
15278 wxDC
*arg1
= (wxDC
*) 0 ;
15279 wxString
*arg2
= 0 ;
15280 wxBitmap
*arg3
= 0 ;
15282 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
15283 int arg6
= (int) -1 ;
15285 bool temp2
= false ;
15287 PyObject
* obj0
= 0 ;
15288 PyObject
* obj1
= 0 ;
15289 PyObject
* obj2
= 0 ;
15290 PyObject
* obj3
= 0 ;
15291 PyObject
* obj4
= 0 ;
15292 PyObject
* obj5
= 0 ;
15293 char *kwnames
[] = {
15294 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
15297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15299 if (SWIG_arg_fail(1)) SWIG_fail
;
15301 arg2
= wxString_in_helper(obj1
);
15302 if (arg2
== NULL
) SWIG_fail
;
15306 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
15307 if (SWIG_arg_fail(3)) SWIG_fail
;
15308 if (arg3
== NULL
) {
15309 SWIG_null_ref("wxBitmap");
15311 if (SWIG_arg_fail(3)) SWIG_fail
;
15315 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
15319 arg5
= static_cast<int >(SWIG_As_int(obj4
));
15320 if (SWIG_arg_fail(5)) SWIG_fail
;
15325 arg6
= static_cast<int >(SWIG_As_int(obj5
));
15326 if (SWIG_arg_fail(6)) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15337 wxRect
* resultptr
;
15338 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
15339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15355 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
= NULL
;
15357 wxDC
*arg1
= (wxDC
*) 0 ;
15359 wxPoint
*arg3
= (wxPoint
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 PyObject
* obj1
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self",(char *) "points", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
15367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail
;
15370 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15371 if (arg3
== NULL
) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 (arg1
)->DrawSpline(arg2
,arg3
);
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 Py_INCREF(Py_None
); resultobj
= Py_None
;
15382 if (arg3
) delete [] arg3
;
15387 if (arg3
) delete [] arg3
;
15393 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
= NULL
;
15395 wxDC
*arg1
= (wxDC
*) 0 ;
15396 PyObject
* obj0
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
15402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15403 if (SWIG_arg_fail(1)) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 Py_INCREF(Py_None
); resultobj
= Py_None
;
15418 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
= NULL
;
15420 wxDC
*arg1
= (wxDC
*) 0 ;
15421 wxString
*arg2
= 0 ;
15423 bool temp2
= false ;
15424 PyObject
* obj0
= 0 ;
15425 PyObject
* obj1
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self",(char *) "message", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
15431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15432 if (SWIG_arg_fail(1)) SWIG_fail
;
15434 arg2
= wxString_in_helper(obj1
);
15435 if (arg2
== NULL
) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15462 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
= NULL
;
15464 wxDC
*arg1
= (wxDC
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
15471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15472 if (SWIG_arg_fail(1)) SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 Py_INCREF(Py_None
); resultobj
= Py_None
;
15487 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
= NULL
;
15489 wxDC
*arg1
= (wxDC
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
15496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15497 if (SWIG_arg_fail(1)) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 (arg1
)->StartPage();
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 Py_INCREF(Py_None
); resultobj
= Py_None
;
15512 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
= NULL
;
15514 wxDC
*arg1
= (wxDC
*) 0 ;
15515 PyObject
* obj0
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
15521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15522 if (SWIG_arg_fail(1)) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 Py_INCREF(Py_None
); resultobj
= Py_None
;
15537 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
= NULL
;
15539 wxDC
*arg1
= (wxDC
*) 0 ;
15541 PyObject
* obj0
= 0 ;
15542 PyObject
* obj1
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self",(char *) "font", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15549 if (SWIG_arg_fail(1)) SWIG_fail
;
15551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15552 if (SWIG_arg_fail(2)) SWIG_fail
;
15553 if (arg2
== NULL
) {
15554 SWIG_null_ref("wxFont");
15556 if (SWIG_arg_fail(2)) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 (arg1
)->SetFont((wxFont
const &)*arg2
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 Py_INCREF(Py_None
); resultobj
= Py_None
;
15572 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
= NULL
;
15574 wxDC
*arg1
= (wxDC
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self",(char *) "pen", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
15583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15584 if (SWIG_arg_fail(1)) SWIG_fail
;
15586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
15587 if (SWIG_arg_fail(2)) SWIG_fail
;
15588 if (arg2
== NULL
) {
15589 SWIG_null_ref("wxPen");
15591 if (SWIG_arg_fail(2)) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 (arg1
)->SetPen((wxPen
const &)*arg2
);
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 Py_INCREF(Py_None
); resultobj
= Py_None
;
15607 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
= NULL
;
15609 wxDC
*arg1
= (wxDC
*) 0 ;
15610 wxBrush
*arg2
= 0 ;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 char *kwnames
[] = {
15614 (char *) "self",(char *) "brush", NULL
15617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
15618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15619 if (SWIG_arg_fail(1)) SWIG_fail
;
15621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15622 if (SWIG_arg_fail(2)) SWIG_fail
;
15623 if (arg2
== NULL
) {
15624 SWIG_null_ref("wxBrush");
15626 if (SWIG_arg_fail(2)) SWIG_fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15635 Py_INCREF(Py_None
); resultobj
= Py_None
;
15642 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
= NULL
;
15644 wxDC
*arg1
= (wxDC
*) 0 ;
15645 wxBrush
*arg2
= 0 ;
15646 PyObject
* obj0
= 0 ;
15647 PyObject
* obj1
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self",(char *) "brush", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15654 if (SWIG_arg_fail(1)) SWIG_fail
;
15656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15657 if (SWIG_arg_fail(2)) SWIG_fail
;
15658 if (arg2
== NULL
) {
15659 SWIG_null_ref("wxBrush");
15661 if (SWIG_arg_fail(2)) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 Py_INCREF(Py_None
); resultobj
= Py_None
;
15677 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
= NULL
;
15679 wxDC
*arg1
= (wxDC
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self",(char *) "mode", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15689 if (SWIG_arg_fail(1)) SWIG_fail
;
15691 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15692 if (SWIG_arg_fail(2)) SWIG_fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 (arg1
)->SetBackgroundMode(arg2
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 Py_INCREF(Py_None
); resultobj
= Py_None
;
15708 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
= NULL
;
15710 wxDC
*arg1
= (wxDC
*) 0 ;
15711 wxPalette
*arg2
= 0 ;
15712 PyObject
* obj0
= 0 ;
15713 PyObject
* obj1
= 0 ;
15714 char *kwnames
[] = {
15715 (char *) "self",(char *) "palette", NULL
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
15719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15720 if (SWIG_arg_fail(1)) SWIG_fail
;
15722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
15723 if (SWIG_arg_fail(2)) SWIG_fail
;
15724 if (arg2
== NULL
) {
15725 SWIG_null_ref("wxPalette");
15727 if (SWIG_arg_fail(2)) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 Py_INCREF(Py_None
); resultobj
= Py_None
;
15743 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
= NULL
;
15745 wxDC
*arg1
= (wxDC
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
15752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15753 if (SWIG_arg_fail(1)) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 (arg1
)->DestroyClippingRegion();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 Py_INCREF(Py_None
); resultobj
= Py_None
;
15768 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
= NULL
;
15770 wxDC
*arg1
= (wxDC
*) 0 ;
15771 int *arg2
= (int *) 0 ;
15772 int *arg3
= (int *) 0 ;
15773 int *arg4
= (int *) 0 ;
15774 int *arg5
= (int *) 0 ;
15783 PyObject
* obj0
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "self", NULL
15788 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15789 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15790 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15791 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
15793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15794 if (SWIG_arg_fail(1)) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15802 Py_INCREF(Py_None
); resultobj
= Py_None
;
15803 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15804 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15805 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15806 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15807 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15808 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15809 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15810 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15817 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
= NULL
;
15819 wxDC
*arg1
= (wxDC
*) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
15827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15828 if (SWIG_arg_fail(1)) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 result
= wxDC_GetClippingRect(arg1
);
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15837 wxRect
* resultptr
;
15838 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
15839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15847 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
= NULL
;
15849 wxDC
*arg1
= (wxDC
*) 0 ;
15851 PyObject
* obj0
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
15857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15858 if (SWIG_arg_fail(1)) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= SWIG_From_int(static_cast<int >(result
));
15875 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
= NULL
;
15877 wxDC
*arg1
= (wxDC
*) 0 ;
15879 PyObject
* obj0
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
15885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15886 if (SWIG_arg_fail(1)) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= SWIG_From_int(static_cast<int >(result
));
15903 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
= NULL
;
15905 wxDC
*arg1
= (wxDC
*) 0 ;
15906 wxString
*arg2
= 0 ;
15907 int *arg3
= (int *) 0 ;
15908 int *arg4
= (int *) 0 ;
15909 bool temp2
= false ;
15914 PyObject
* obj0
= 0 ;
15915 PyObject
* obj1
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self",(char *) "string", NULL
15920 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15921 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15924 if (SWIG_arg_fail(1)) SWIG_fail
;
15926 arg2
= wxString_in_helper(obj1
);
15927 if (arg2
== NULL
) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15939 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15940 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15941 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15956 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
= NULL
;
15958 wxDC
*arg1
= (wxDC
*) 0 ;
15959 wxString
*arg2
= 0 ;
15960 int *arg3
= (int *) 0 ;
15961 int *arg4
= (int *) 0 ;
15962 int *arg5
= (int *) 0 ;
15963 int *arg6
= (int *) 0 ;
15964 wxFont
*arg7
= (wxFont
*) NULL
;
15965 bool temp2
= false ;
15974 PyObject
* obj0
= 0 ;
15975 PyObject
* obj1
= 0 ;
15976 PyObject
* obj2
= 0 ;
15977 char *kwnames
[] = {
15978 (char *) "self",(char *) "string",(char *) "font", NULL
15981 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15982 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15983 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15984 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15987 if (SWIG_arg_fail(1)) SWIG_fail
;
15989 arg2
= wxString_in_helper(obj1
);
15990 if (arg2
== NULL
) SWIG_fail
;
15994 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15995 if (SWIG_arg_fail(7)) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 Py_INCREF(Py_None
); resultobj
= Py_None
;
16005 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16006 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16007 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16008 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16009 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
16010 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
16011 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
16012 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
16027 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
= NULL
;
16029 wxDC
*arg1
= (wxDC
*) 0 ;
16030 wxString
*arg2
= 0 ;
16031 int *arg3
= (int *) 0 ;
16032 int *arg4
= (int *) 0 ;
16033 int *arg5
= (int *) 0 ;
16034 wxFont
*arg6
= (wxFont
*) NULL
;
16035 bool temp2
= false ;
16042 PyObject
* obj0
= 0 ;
16043 PyObject
* obj1
= 0 ;
16044 PyObject
* obj2
= 0 ;
16045 char *kwnames
[] = {
16046 (char *) "self",(char *) "text",(char *) "font", NULL
16049 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16050 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16051 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16054 if (SWIG_arg_fail(1)) SWIG_fail
;
16056 arg2
= wxString_in_helper(obj1
);
16057 if (arg2
== NULL
) SWIG_fail
;
16061 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16062 if (SWIG_arg_fail(6)) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 Py_INCREF(Py_None
); resultobj
= Py_None
;
16072 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16073 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16074 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16075 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16076 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
16077 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
16092 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
= NULL
;
16094 wxDC
*arg1
= (wxDC
*) 0 ;
16095 wxString
*arg2
= 0 ;
16097 bool temp2
= false ;
16098 PyObject
* obj0
= 0 ;
16099 PyObject
* obj1
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "self",(char *) "text", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
16105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16106 if (SWIG_arg_fail(1)) SWIG_fail
;
16108 arg2
= wxString_in_helper(obj1
);
16109 if (arg2
== NULL
) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= PyList_New(0);
16122 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
16123 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
16124 PyList_Append(resultobj
, val
);
16142 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
= NULL
;
16144 wxDC
*arg1
= (wxDC
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
16152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16153 if (SWIG_arg_fail(1)) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (arg1
)->GetSize();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 wxSize
* resultptr
;
16163 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16172 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
= NULL
;
16174 wxDC
*arg1
= (wxDC
*) 0 ;
16175 int *arg2
= (int *) 0 ;
16176 int *arg3
= (int *) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self", NULL
16186 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16187 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
16189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16190 if (SWIG_arg_fail(1)) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 (arg1
)->GetSize(arg2
,arg3
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16198 Py_INCREF(Py_None
); resultobj
= Py_None
;
16199 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16200 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16201 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16202 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16209 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
= NULL
;
16211 wxDC
*arg1
= (wxDC
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
16219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16220 if (SWIG_arg_fail(1)) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= ((wxDC
const *)arg1
)->GetSizeMM();
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16229 wxSize
* resultptr
;
16230 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16239 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
= NULL
;
16241 wxDC
*arg1
= (wxDC
*) 0 ;
16242 int *arg2
= (int *) 0 ;
16243 int *arg3
= (int *) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self", NULL
16253 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16254 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
16256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16257 if (SWIG_arg_fail(1)) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 Py_INCREF(Py_None
); resultobj
= Py_None
;
16266 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16267 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16268 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16269 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16276 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
= NULL
;
16278 wxDC
*arg1
= (wxDC
*) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self",(char *) "x", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
16288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail
;
16291 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16292 if (SWIG_arg_fail(2)) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= SWIG_From_int(static_cast<int >(result
));
16310 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
= NULL
;
16312 wxDC
*arg1
= (wxDC
*) 0 ;
16315 PyObject
* obj0
= 0 ;
16316 PyObject
* obj1
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self",(char *) "y", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
16322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16323 if (SWIG_arg_fail(1)) SWIG_fail
;
16325 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16326 if (SWIG_arg_fail(2)) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= SWIG_From_int(static_cast<int >(result
));
16344 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
= NULL
;
16346 wxDC
*arg1
= (wxDC
*) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 PyObject
* obj1
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "self",(char *) "x", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16357 if (SWIG_arg_fail(1)) SWIG_fail
;
16359 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16360 if (SWIG_arg_fail(2)) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= SWIG_From_int(static_cast<int >(result
));
16378 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
= NULL
;
16380 wxDC
*arg1
= (wxDC
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 PyObject
* obj1
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self",(char *) "y", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16391 if (SWIG_arg_fail(1)) SWIG_fail
;
16393 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16394 if (SWIG_arg_fail(2)) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= SWIG_From_int(static_cast<int >(result
));
16412 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
= NULL
;
16414 wxDC
*arg1
= (wxDC
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 PyObject
* obj1
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self",(char *) "x", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
16424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16425 if (SWIG_arg_fail(1)) SWIG_fail
;
16427 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16428 if (SWIG_arg_fail(2)) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= SWIG_From_int(static_cast<int >(result
));
16446 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
= NULL
;
16448 wxDC
*arg1
= (wxDC
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self",(char *) "y", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
16458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail
;
16461 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16462 if (SWIG_arg_fail(2)) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= SWIG_From_int(static_cast<int >(result
));
16480 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
= NULL
;
16482 wxDC
*arg1
= (wxDC
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 char *kwnames
[] = {
16488 (char *) "self",(char *) "x", NULL
16491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16493 if (SWIG_arg_fail(1)) SWIG_fail
;
16495 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16496 if (SWIG_arg_fail(2)) SWIG_fail
;
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16506 resultobj
= SWIG_From_int(static_cast<int >(result
));
16514 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
= NULL
;
16516 wxDC
*arg1
= (wxDC
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self",(char *) "y", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
16526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16527 if (SWIG_arg_fail(1)) SWIG_fail
;
16529 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16530 if (SWIG_arg_fail(2)) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= SWIG_From_int(static_cast<int >(result
));
16548 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
= NULL
;
16550 wxDC
*arg1
= (wxDC
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
16558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16559 if (SWIG_arg_fail(1)) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16576 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
= NULL
;
16578 wxDC
*arg1
= (wxDC
*) 0 ;
16580 PyObject
* obj0
= 0 ;
16581 char *kwnames
[] = {
16582 (char *) "self", NULL
16585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
16586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16587 if (SWIG_arg_fail(1)) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16604 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
= NULL
;
16606 wxDC
*arg1
= (wxDC
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
16614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16615 if (SWIG_arg_fail(1)) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (int)((wxDC
const *)arg1
)->GetDepth();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= SWIG_From_int(static_cast<int >(result
));
16632 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
= NULL
;
16634 wxDC
*arg1
= (wxDC
*) 0 ;
16636 PyObject
* obj0
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
16642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16643 if (SWIG_arg_fail(1)) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= ((wxDC
const *)arg1
)->GetPPI();
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16652 wxSize
* resultptr
;
16653 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16662 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
= NULL
;
16664 wxDC
*arg1
= (wxDC
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "self", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
16672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16673 if (SWIG_arg_fail(1)) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (bool)((wxDC
const *)arg1
)->Ok();
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16690 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
= NULL
;
16692 wxDC
*arg1
= (wxDC
*) 0 ;
16694 PyObject
* obj0
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
16700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16701 if (SWIG_arg_fail(1)) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16710 resultobj
= SWIG_From_int(static_cast<int >(result
));
16718 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
= NULL
;
16720 wxDC
*arg1
= (wxDC
*) 0 ;
16722 PyObject
* obj0
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
16728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16729 if (SWIG_arg_fail(1)) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
16734 result
= (wxBrush
*) &_result_ref
;
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16741 wxBrush
* resultptr
= new wxBrush(*result
);
16742 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16750 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
= NULL
;
16752 wxDC
*arg1
= (wxDC
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
16760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16761 if (SWIG_arg_fail(1)) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
16766 result
= (wxBrush
*) &_result_ref
;
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 wxBrush
* resultptr
= new wxBrush(*result
);
16774 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16782 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
= NULL
;
16784 wxDC
*arg1
= (wxDC
*) 0 ;
16786 PyObject
* obj0
= 0 ;
16787 char *kwnames
[] = {
16788 (char *) "self", NULL
16791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
16792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16793 if (SWIG_arg_fail(1)) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
16798 result
= (wxFont
*) &_result_ref
;
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16805 wxFont
* resultptr
= new wxFont(*result
);
16806 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16814 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
= NULL
;
16816 wxDC
*arg1
= (wxDC
*) 0 ;
16818 PyObject
* obj0
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "self", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
16824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16825 if (SWIG_arg_fail(1)) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
16830 result
= (wxPen
*) &_result_ref
;
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16837 wxPen
* resultptr
= new wxPen(*result
);
16838 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
16846 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
= NULL
;
16848 wxDC
*arg1
= (wxDC
*) 0 ;
16850 PyObject
* obj0
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "self", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
16856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16857 if (SWIG_arg_fail(1)) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
16862 result
= (wxColour
*) &_result_ref
;
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16875 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
= NULL
;
16877 wxDC
*arg1
= (wxDC
*) 0 ;
16879 PyObject
* obj0
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "self", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
16885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16886 if (SWIG_arg_fail(1)) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
16891 result
= (wxColour
*) &_result_ref
;
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16904 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16905 PyObject
*resultobj
= NULL
;
16906 wxDC
*arg1
= (wxDC
*) 0 ;
16907 wxColour
*arg2
= 0 ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self",(char *) "colour", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16917 if (SWIG_arg_fail(1)) SWIG_fail
;
16920 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 Py_INCREF(Py_None
); resultobj
= Py_None
;
16936 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
= NULL
;
16938 wxDC
*arg1
= (wxDC
*) 0 ;
16939 wxColour
*arg2
= 0 ;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "colour", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16949 if (SWIG_arg_fail(1)) SWIG_fail
;
16952 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 Py_INCREF(Py_None
); resultobj
= Py_None
;
16968 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
= NULL
;
16970 wxDC
*arg1
= (wxDC
*) 0 ;
16972 PyObject
* obj0
= 0 ;
16973 char *kwnames
[] = {
16974 (char *) "self", NULL
16977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16979 if (SWIG_arg_fail(1)) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= SWIG_From_int(static_cast<int >(result
));
16996 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
= NULL
;
16998 wxDC
*arg1
= (wxDC
*) 0 ;
17000 PyObject
* obj0
= 0 ;
17001 PyObject
* obj1
= 0 ;
17002 char *kwnames
[] = {
17003 (char *) "self",(char *) "mode", NULL
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17008 if (SWIG_arg_fail(1)) SWIG_fail
;
17010 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17011 if (SWIG_arg_fail(2)) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 (arg1
)->SetMapMode(arg2
);
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17020 Py_INCREF(Py_None
); resultobj
= Py_None
;
17027 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
= NULL
;
17029 wxDC
*arg1
= (wxDC
*) 0 ;
17030 double *arg2
= (double *) 0 ;
17031 double *arg3
= (double *) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self", NULL
17041 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17042 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
17044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17045 if (SWIG_arg_fail(1)) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17053 Py_INCREF(Py_None
); resultobj
= Py_None
;
17054 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17055 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
17056 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17057 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
17064 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
= NULL
;
17066 wxDC
*arg1
= (wxDC
*) 0 ;
17069 PyObject
* obj0
= 0 ;
17070 PyObject
* obj1
= 0 ;
17071 PyObject
* obj2
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self",(char *) "x",(char *) "y", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17078 if (SWIG_arg_fail(1)) SWIG_fail
;
17080 arg2
= static_cast<double >(SWIG_As_double(obj1
));
17081 if (SWIG_arg_fail(2)) SWIG_fail
;
17084 arg3
= static_cast<double >(SWIG_As_double(obj2
));
17085 if (SWIG_arg_fail(3)) SWIG_fail
;
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 (arg1
)->SetUserScale(arg2
,arg3
);
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 Py_INCREF(Py_None
); resultobj
= Py_None
;
17101 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
= NULL
;
17103 wxDC
*arg1
= (wxDC
*) 0 ;
17104 double *arg2
= (double *) 0 ;
17105 double *arg3
= (double *) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17116 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
17118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17119 if (SWIG_arg_fail(1)) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 (arg1
)->GetLogicalScale(arg2
,arg3
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 Py_INCREF(Py_None
); resultobj
= Py_None
;
17128 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17129 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
17130 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17131 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
17138 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
= NULL
;
17140 wxDC
*arg1
= (wxDC
*) 0 ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 PyObject
* obj2
= 0 ;
17146 char *kwnames
[] = {
17147 (char *) "self",(char *) "x",(char *) "y", NULL
17150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17152 if (SWIG_arg_fail(1)) SWIG_fail
;
17154 arg2
= static_cast<double >(SWIG_As_double(obj1
));
17155 if (SWIG_arg_fail(2)) SWIG_fail
;
17158 arg3
= static_cast<double >(SWIG_As_double(obj2
));
17159 if (SWIG_arg_fail(3)) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 (arg1
)->SetLogicalScale(arg2
,arg3
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 Py_INCREF(Py_None
); resultobj
= Py_None
;
17175 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
= NULL
;
17177 wxDC
*arg1
= (wxDC
*) 0 ;
17179 PyObject
* obj0
= 0 ;
17180 char *kwnames
[] = {
17181 (char *) "self", NULL
17184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
17185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17186 if (SWIG_arg_fail(1)) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17195 wxPoint
* resultptr
;
17196 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
17197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17205 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
= NULL
;
17207 wxDC
*arg1
= (wxDC
*) 0 ;
17208 int *arg2
= (int *) 0 ;
17209 int *arg3
= (int *) 0 ;
17214 PyObject
* obj0
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self", NULL
17219 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17220 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
17222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17223 if (SWIG_arg_fail(1)) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 Py_INCREF(Py_None
); resultobj
= Py_None
;
17232 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17233 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17234 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17235 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17242 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
= NULL
;
17244 wxDC
*arg1
= (wxDC
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 PyObject
* obj1
= 0 ;
17249 PyObject
* obj2
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "self",(char *) "x",(char *) "y", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17256 if (SWIG_arg_fail(1)) SWIG_fail
;
17258 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17259 if (SWIG_arg_fail(2)) SWIG_fail
;
17262 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17263 if (SWIG_arg_fail(3)) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17272 Py_INCREF(Py_None
); resultobj
= Py_None
;
17279 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
= NULL
;
17281 wxDC
*arg1
= (wxDC
*) 0 ;
17282 wxPoint
*arg2
= 0 ;
17284 PyObject
* obj0
= 0 ;
17285 PyObject
* obj1
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self",(char *) "point", NULL
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17292 if (SWIG_arg_fail(1)) SWIG_fail
;
17295 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 Py_INCREF(Py_None
); resultobj
= Py_None
;
17311 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
= NULL
;
17313 wxDC
*arg1
= (wxDC
*) 0 ;
17315 PyObject
* obj0
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
17321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17322 if (SWIG_arg_fail(1)) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17331 wxPoint
* resultptr
;
17332 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
17333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17341 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
= NULL
;
17343 wxDC
*arg1
= (wxDC
*) 0 ;
17344 int *arg2
= (int *) 0 ;
17345 int *arg3
= (int *) 0 ;
17350 PyObject
* obj0
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self", NULL
17355 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17356 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
17358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17359 if (SWIG_arg_fail(1)) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 Py_INCREF(Py_None
); resultobj
= Py_None
;
17368 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17369 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17370 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17371 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17378 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
= NULL
;
17380 wxDC
*arg1
= (wxDC
*) 0 ;
17383 PyObject
* obj0
= 0 ;
17384 PyObject
* obj1
= 0 ;
17385 PyObject
* obj2
= 0 ;
17386 char *kwnames
[] = {
17387 (char *) "self",(char *) "x",(char *) "y", NULL
17390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17392 if (SWIG_arg_fail(1)) SWIG_fail
;
17394 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17395 if (SWIG_arg_fail(2)) SWIG_fail
;
17398 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17399 if (SWIG_arg_fail(3)) SWIG_fail
;
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 Py_INCREF(Py_None
); resultobj
= Py_None
;
17415 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
= NULL
;
17417 wxDC
*arg1
= (wxDC
*) 0 ;
17418 wxPoint
*arg2
= 0 ;
17420 PyObject
* obj0
= 0 ;
17421 PyObject
* obj1
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self",(char *) "point", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17428 if (SWIG_arg_fail(1)) SWIG_fail
;
17431 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 Py_INCREF(Py_None
); resultobj
= Py_None
;
17447 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
= NULL
;
17449 wxDC
*arg1
= (wxDC
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 PyObject
* obj2
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17461 if (SWIG_arg_fail(1)) SWIG_fail
;
17463 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17464 if (SWIG_arg_fail(2)) SWIG_fail
;
17467 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
17468 if (SWIG_arg_fail(3)) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 (arg1
)->SetAxisOrientation(arg2
,arg3
);
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 Py_INCREF(Py_None
); resultobj
= Py_None
;
17484 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
= NULL
;
17486 wxDC
*arg1
= (wxDC
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
17494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17495 if (SWIG_arg_fail(1)) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= SWIG_From_int(static_cast<int >(result
));
17512 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
= NULL
;
17514 wxDC
*arg1
= (wxDC
*) 0 ;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self",(char *) "function", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
17523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17524 if (SWIG_arg_fail(1)) SWIG_fail
;
17526 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17527 if (SWIG_arg_fail(2)) SWIG_fail
;
17530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 (arg1
)->SetLogicalFunction(arg2
);
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 Py_INCREF(Py_None
); resultobj
= Py_None
;
17543 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
= NULL
;
17545 wxDC
*arg1
= (wxDC
*) 0 ;
17546 PyObject
* obj0
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
17552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17553 if (SWIG_arg_fail(1)) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->ComputeScaleAndOrigin();
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
= NULL
;
17570 wxDC
*arg1
= (wxDC
*) 0 ;
17573 PyObject
* obj0
= 0 ;
17574 PyObject
* obj1
= 0 ;
17575 PyObject
* obj2
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self",(char *) "x",(char *) "y", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17582 if (SWIG_arg_fail(1)) SWIG_fail
;
17584 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17585 if (SWIG_arg_fail(2)) SWIG_fail
;
17588 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17589 if (SWIG_arg_fail(3)) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 (arg1
)->CalcBoundingBox(arg2
,arg3
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 Py_INCREF(Py_None
); resultobj
= Py_None
;
17605 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
= NULL
;
17607 wxDC
*arg1
= (wxDC
*) 0 ;
17608 wxPoint
*arg2
= 0 ;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self",(char *) "point", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17618 if (SWIG_arg_fail(1)) SWIG_fail
;
17621 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 Py_INCREF(Py_None
); resultobj
= Py_None
;
17637 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
= NULL
;
17639 wxDC
*arg1
= (wxDC
*) 0 ;
17640 PyObject
* obj0
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
17646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17647 if (SWIG_arg_fail(1)) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 (arg1
)->ResetBoundingBox();
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 Py_INCREF(Py_None
); resultobj
= Py_None
;
17662 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
= NULL
;
17664 wxDC
*arg1
= (wxDC
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
17672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17673 if (SWIG_arg_fail(1)) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 result
= (int)((wxDC
const *)arg1
)->MinX();
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17682 resultobj
= SWIG_From_int(static_cast<int >(result
));
17690 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
= NULL
;
17692 wxDC
*arg1
= (wxDC
*) 0 ;
17694 PyObject
* obj0
= 0 ;
17695 char *kwnames
[] = {
17696 (char *) "self", NULL
17699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
17700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17701 if (SWIG_arg_fail(1)) SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= (int)((wxDC
const *)arg1
)->MaxX();
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= SWIG_From_int(static_cast<int >(result
));
17718 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
= NULL
;
17720 wxDC
*arg1
= (wxDC
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
17728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17729 if (SWIG_arg_fail(1)) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= (int)((wxDC
const *)arg1
)->MinY();
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 resultobj
= SWIG_From_int(static_cast<int >(result
));
17746 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
= NULL
;
17748 wxDC
*arg1
= (wxDC
*) 0 ;
17750 PyObject
* obj0
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
17756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17757 if (SWIG_arg_fail(1)) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 result
= (int)((wxDC
const *)arg1
)->MaxY();
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17766 resultobj
= SWIG_From_int(static_cast<int >(result
));
17774 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
= NULL
;
17776 wxDC
*arg1
= (wxDC
*) 0 ;
17777 int *arg2
= (int *) 0 ;
17778 int *arg3
= (int *) 0 ;
17779 int *arg4
= (int *) 0 ;
17780 int *arg5
= (int *) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self", NULL
17794 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17795 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17796 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17797 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
17799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 Py_INCREF(Py_None
); resultobj
= Py_None
;
17809 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17810 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17811 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17812 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17813 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17814 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17815 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
17816 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
17823 static PyObject
*_wrap_DC_GetHDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
= NULL
;
17825 wxDC
*arg1
= (wxDC
*) 0 ;
17827 PyObject
* obj0
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
;
17833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17834 if (SWIG_arg_fail(1)) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 result
= (long)(arg1
)->GetHDC();
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= SWIG_From_long(static_cast<long >(result
));
17851 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
= NULL
;
17853 wxDC
*arg1
= (wxDC
*) 0 ;
17854 PyObject
*arg2
= (PyObject
*) 0 ;
17855 PyObject
*arg3
= (PyObject
*) 0 ;
17856 PyObject
*arg4
= (PyObject
*) 0 ;
17858 PyObject
* obj0
= 0 ;
17859 PyObject
* obj1
= 0 ;
17860 PyObject
* obj2
= 0 ;
17861 PyObject
* obj3
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17868 if (SWIG_arg_fail(1)) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= result
;
17886 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
= NULL
;
17888 wxDC
*arg1
= (wxDC
*) 0 ;
17889 PyObject
*arg2
= (PyObject
*) 0 ;
17890 PyObject
*arg3
= (PyObject
*) 0 ;
17891 PyObject
*arg4
= (PyObject
*) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 PyObject
* obj2
= 0 ;
17896 PyObject
* obj3
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17903 if (SWIG_arg_fail(1)) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= result
;
17921 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
= NULL
;
17923 wxDC
*arg1
= (wxDC
*) 0 ;
17924 PyObject
*arg2
= (PyObject
*) 0 ;
17925 PyObject
*arg3
= (PyObject
*) 0 ;
17926 PyObject
*arg4
= (PyObject
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 PyObject
* obj1
= 0 ;
17930 PyObject
* obj2
= 0 ;
17931 PyObject
* obj3
= 0 ;
17932 char *kwnames
[] = {
17933 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17938 if (SWIG_arg_fail(1)) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= result
;
17956 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
= NULL
;
17958 wxDC
*arg1
= (wxDC
*) 0 ;
17959 PyObject
*arg2
= (PyObject
*) 0 ;
17960 PyObject
*arg3
= (PyObject
*) 0 ;
17961 PyObject
*arg4
= (PyObject
*) 0 ;
17963 PyObject
* obj0
= 0 ;
17964 PyObject
* obj1
= 0 ;
17965 PyObject
* obj2
= 0 ;
17966 PyObject
* obj3
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17973 if (SWIG_arg_fail(1)) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= result
;
17991 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
= NULL
;
17993 wxDC
*arg1
= (wxDC
*) 0 ;
17994 PyObject
*arg2
= (PyObject
*) 0 ;
17995 PyObject
*arg3
= (PyObject
*) 0 ;
17996 PyObject
*arg4
= (PyObject
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 PyObject
* obj2
= 0 ;
18001 PyObject
* obj3
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18008 if (SWIG_arg_fail(1)) SWIG_fail
;
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= result
;
18026 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
= NULL
;
18028 wxDC
*arg1
= (wxDC
*) 0 ;
18029 PyObject
*arg2
= (PyObject
*) 0 ;
18030 PyObject
*arg3
= (PyObject
*) 0 ;
18031 PyObject
*arg4
= (PyObject
*) 0 ;
18032 PyObject
*arg5
= (PyObject
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 PyObject
* obj1
= 0 ;
18036 PyObject
* obj2
= 0 ;
18037 PyObject
* obj3
= 0 ;
18038 PyObject
* obj4
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= result
;
18064 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
18066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18067 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
18069 return Py_BuildValue((char *)"");
18071 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18072 PyObject
*resultobj
= NULL
;
18073 wxMemoryDC
*result
;
18074 char *kwnames
[] = {
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
18080 if (!wxPyCheckForApp()) SWIG_fail
;
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 result
= (wxMemoryDC
*)new wxMemoryDC();
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
18094 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
= NULL
;
18096 wxDC
*arg1
= (wxDC
*) 0 ;
18097 wxMemoryDC
*result
;
18098 PyObject
* obj0
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "oldDC", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
18104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18105 if (SWIG_arg_fail(1)) SWIG_fail
;
18107 if (!wxPyCheckForApp()) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
18121 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
= NULL
;
18123 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
18124 wxBitmap
*arg2
= 0 ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self",(char *) "bitmap", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
18132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
18133 if (SWIG_arg_fail(1)) SWIG_fail
;
18135 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18136 if (SWIG_arg_fail(2)) SWIG_fail
;
18137 if (arg2
== NULL
) {
18138 SWIG_null_ref("wxBitmap");
18140 if (SWIG_arg_fail(2)) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 Py_INCREF(Py_None
); resultobj
= Py_None
;
18156 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
18158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18159 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
18161 return Py_BuildValue((char *)"");
18163 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
18164 PyObject
*resultobj
= NULL
;
18165 wxDC
*arg1
= (wxDC
*) 0 ;
18166 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
18167 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
18168 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
18169 wxBufferedDC
*result
;
18170 PyObject
* obj0
= 0 ;
18171 PyObject
* obj1
= 0 ;
18172 PyObject
* obj2
= 0 ;
18174 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
18175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18176 if (SWIG_arg_fail(1)) SWIG_fail
;
18179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18180 if (SWIG_arg_fail(2)) SWIG_fail
;
18181 if (arg2
== NULL
) {
18182 SWIG_null_ref("wxBitmap");
18184 if (SWIG_arg_fail(2)) SWIG_fail
;
18189 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18190 if (SWIG_arg_fail(3)) SWIG_fail
;
18194 if (!wxPyCheckForApp()) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
18208 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
18209 PyObject
*resultobj
= NULL
;
18210 wxDC
*arg1
= (wxDC
*) 0 ;
18212 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
18213 wxBufferedDC
*result
;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 PyObject
* obj2
= 0 ;
18219 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
18220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18221 if (SWIG_arg_fail(1)) SWIG_fail
;
18224 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18228 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18229 if (SWIG_arg_fail(3)) SWIG_fail
;
18233 if (!wxPyCheckForApp()) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
18247 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
18252 argc
= PyObject_Length(args
);
18253 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
18254 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18256 if ((argc
>= 1) && (argc
<= 3)) {
18260 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
18269 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18273 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
18282 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18284 _v
= SWIG_Check_int(argv
[2]);
18286 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
18291 if ((argc
>= 2) && (argc
<= 3)) {
18295 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
18304 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
18308 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
18310 _v
= SWIG_Check_int(argv
[2]);
18312 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
18318 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
18323 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
= NULL
;
18325 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
18326 PyObject
* obj0
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
18332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 Py_INCREF(Py_None
); resultobj
= Py_None
;
18348 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
= NULL
;
18350 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
18357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 Py_INCREF(Py_None
); resultobj
= Py_None
;
18373 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
18375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18376 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
18378 return Py_BuildValue((char *)"");
18380 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
= NULL
;
18382 wxWindow
*arg1
= (wxWindow
*) 0 ;
18383 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
18384 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
18385 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
18386 wxBufferedPaintDC
*result
;
18387 PyObject
* obj0
= 0 ;
18388 PyObject
* obj1
= 0 ;
18389 PyObject
* obj2
= 0 ;
18390 char *kwnames
[] = {
18391 (char *) "window",(char *) "buffer",(char *) "style", NULL
18394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18396 if (SWIG_arg_fail(1)) SWIG_fail
;
18399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(2)) SWIG_fail
;
18401 if (arg2
== NULL
) {
18402 SWIG_null_ref("wxBitmap");
18404 if (SWIG_arg_fail(2)) SWIG_fail
;
18409 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18410 if (SWIG_arg_fail(3)) SWIG_fail
;
18414 if (!wxPyCheckForApp()) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
18428 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
18430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18431 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
18433 return Py_BuildValue((char *)"");
18435 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
= NULL
;
18437 wxScreenDC
*result
;
18438 char *kwnames
[] = {
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
18444 if (!wxPyCheckForApp()) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 result
= (wxScreenDC
*)new wxScreenDC();
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
18458 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
= NULL
;
18460 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18461 wxWindow
*arg2
= (wxWindow
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 PyObject
* obj1
= 0 ;
18465 char *kwnames
[] = {
18466 (char *) "self",(char *) "window", NULL
18469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
18470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18471 if (SWIG_arg_fail(1)) SWIG_fail
;
18472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18473 if (SWIG_arg_fail(2)) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18490 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
= NULL
;
18492 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18493 wxRect
*arg2
= (wxRect
*) NULL
;
18495 PyObject
* obj0
= 0 ;
18496 PyObject
* obj1
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self",(char *) "rect", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
18502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18503 if (SWIG_arg_fail(1)) SWIG_fail
;
18505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18506 if (SWIG_arg_fail(2)) SWIG_fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18524 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
= NULL
;
18526 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
18534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (bool)(arg1
)->EndDrawingOnTop();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18552 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
18554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18555 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
18557 return Py_BuildValue((char *)"");
18559 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
= NULL
;
18561 wxWindow
*arg1
= (wxWindow
*) 0 ;
18562 wxClientDC
*result
;
18563 PyObject
* obj0
= 0 ;
18564 char *kwnames
[] = {
18565 (char *) "win", NULL
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
18569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18570 if (SWIG_arg_fail(1)) SWIG_fail
;
18572 if (!wxPyCheckForApp()) SWIG_fail
;
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 result
= (wxClientDC
*)new wxClientDC(arg1
);
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
18586 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
18588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18589 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
18591 return Py_BuildValue((char *)"");
18593 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18594 PyObject
*resultobj
= NULL
;
18595 wxWindow
*arg1
= (wxWindow
*) 0 ;
18597 PyObject
* obj0
= 0 ;
18598 char *kwnames
[] = {
18599 (char *) "win", NULL
18602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
18603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18604 if (SWIG_arg_fail(1)) SWIG_fail
;
18606 if (!wxPyCheckForApp()) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
18620 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
18622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18623 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
18625 return Py_BuildValue((char *)"");
18627 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
= NULL
;
18629 wxWindow
*arg1
= (wxWindow
*) 0 ;
18630 wxWindowDC
*result
;
18631 PyObject
* obj0
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "win", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
18637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18638 if (SWIG_arg_fail(1)) SWIG_fail
;
18640 if (!wxPyCheckForApp()) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
18654 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
18656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18657 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
18659 return Py_BuildValue((char *)"");
18661 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
= NULL
;
18665 wxMirrorDC
*result
;
18666 PyObject
* obj0
= 0 ;
18667 PyObject
* obj1
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "dc",(char *) "mirror", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18675 if (SWIG_arg_fail(1)) SWIG_fail
;
18676 if (arg1
== NULL
) {
18677 SWIG_null_ref("wxDC");
18679 if (SWIG_arg_fail(1)) SWIG_fail
;
18682 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18683 if (SWIG_arg_fail(2)) SWIG_fail
;
18686 if (!wxPyCheckForApp()) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
18700 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
18702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18703 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
18705 return Py_BuildValue((char *)"");
18707 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
= NULL
;
18709 wxPrintData
*arg1
= 0 ;
18710 wxPostScriptDC
*result
;
18711 PyObject
* obj0
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "printData", NULL
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
18718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18719 if (SWIG_arg_fail(1)) SWIG_fail
;
18720 if (arg1
== NULL
) {
18721 SWIG_null_ref("wxPrintData");
18723 if (SWIG_arg_fail(1)) SWIG_fail
;
18726 if (!wxPyCheckForApp()) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
18740 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18741 PyObject
*resultobj
= NULL
;
18742 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18743 wxPrintData
*result
;
18744 PyObject
* obj0
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
18750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18751 if (SWIG_arg_fail(1)) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18756 result
= (wxPrintData
*) &_result_ref
;
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18769 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
= NULL
;
18771 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18772 wxPrintData
*arg2
= 0 ;
18773 PyObject
* obj0
= 0 ;
18774 PyObject
* obj1
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self",(char *) "data", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18781 if (SWIG_arg_fail(1)) SWIG_fail
;
18783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18784 if (SWIG_arg_fail(2)) SWIG_fail
;
18785 if (arg2
== NULL
) {
18786 SWIG_null_ref("wxPrintData");
18788 if (SWIG_arg_fail(2)) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18797 Py_INCREF(Py_None
); resultobj
= Py_None
;
18804 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
= NULL
;
18807 PyObject
* obj0
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "ppi", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
18814 arg1
= static_cast<int >(SWIG_As_int(obj0
));
18815 if (SWIG_arg_fail(1)) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 wxPostScriptDC::SetResolution(arg1
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 Py_INCREF(Py_None
); resultobj
= Py_None
;
18831 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
= NULL
;
18834 char *kwnames
[] = {
18838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 result
= (int)wxPostScriptDC::GetResolution();
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18847 resultobj
= SWIG_From_int(static_cast<int >(result
));
18855 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
18857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18858 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
18860 return Py_BuildValue((char *)"");
18862 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
= NULL
;
18864 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18865 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18866 wxMetaFile
*result
;
18867 bool temp1
= false ;
18868 PyObject
* obj0
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "filename", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
18876 arg1
= wxString_in_helper(obj0
);
18877 if (arg1
== NULL
) SWIG_fail
;
18882 if (!wxPyCheckForApp()) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
18904 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
= NULL
;
18906 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18907 PyObject
* obj0
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
18913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18914 if (SWIG_arg_fail(1)) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 Py_INCREF(Py_None
); resultobj
= Py_None
;
18929 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
= NULL
;
18931 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18933 PyObject
* obj0
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
18939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18940 if (SWIG_arg_fail(1)) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (bool)(arg1
)->Ok();
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18957 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
= NULL
;
18959 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
18960 int arg2
= (int) 0 ;
18961 int arg3
= (int) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 PyObject
* obj1
= 0 ;
18965 PyObject
* obj2
= 0 ;
18966 char *kwnames
[] = {
18967 (char *) "self",(char *) "width",(char *) "height", NULL
18970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
18972 if (SWIG_arg_fail(1)) SWIG_fail
;
18975 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18976 if (SWIG_arg_fail(2)) SWIG_fail
;
18981 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18982 if (SWIG_arg_fail(3)) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19001 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
= NULL
;
19003 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
19011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
19012 if (SWIG_arg_fail(1)) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (arg1
)->GetSize();
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19021 wxSize
* resultptr
;
19022 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19031 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19032 PyObject
*resultobj
= NULL
;
19033 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
19035 PyObject
* obj0
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
19041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
19042 if (SWIG_arg_fail(1)) SWIG_fail
;
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 result
= (int)(arg1
)->GetWidth();
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19051 resultobj
= SWIG_From_int(static_cast<int >(result
));
19059 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
= NULL
;
19061 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
19069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
19070 if (SWIG_arg_fail(1)) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= (int)(arg1
)->GetHeight();
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= SWIG_From_int(static_cast<int >(result
));
19087 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
= NULL
;
19089 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
19091 PyObject
* obj0
= 0 ;
19092 char *kwnames
[] = {
19093 (char *) "self", NULL
19096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
19097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
19098 if (SWIG_arg_fail(1)) SWIG_fail
;
19100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
19103 result
= (wxString
*) &_result_ref
;
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19111 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19113 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19122 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
19124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19125 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
19127 return Py_BuildValue((char *)"");
19129 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
= NULL
;
19131 wxString
const &arg1_defvalue
= wxPyEmptyString
;
19132 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19133 int arg2
= (int) 0 ;
19134 int arg3
= (int) 0 ;
19135 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19136 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19137 wxMetaFileDC
*result
;
19138 bool temp1
= false ;
19139 bool temp4
= false ;
19140 PyObject
* obj0
= 0 ;
19141 PyObject
* obj1
= 0 ;
19142 PyObject
* obj2
= 0 ;
19143 PyObject
* obj3
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19151 arg1
= wxString_in_helper(obj0
);
19152 if (arg1
== NULL
) SWIG_fail
;
19158 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19159 if (SWIG_arg_fail(2)) SWIG_fail
;
19164 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19165 if (SWIG_arg_fail(3)) SWIG_fail
;
19170 arg4
= wxString_in_helper(obj3
);
19171 if (arg4
== NULL
) SWIG_fail
;
19176 if (!wxPyCheckForApp()) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
19206 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
= NULL
;
19208 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
19209 wxMetaFile
*result
;
19210 PyObject
* obj0
= 0 ;
19211 char *kwnames
[] = {
19212 (char *) "self", NULL
19215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
19216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION
| 0);
19217 if (SWIG_arg_fail(1)) SWIG_fail
;
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19220 result
= (wxMetaFile
*)(arg1
)->Close();
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
19232 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
19234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19235 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
19237 return Py_BuildValue((char *)"");
19239 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
= NULL
;
19241 wxPrintData
*arg1
= 0 ;
19242 wxPrinterDC
*result
;
19243 PyObject
* obj0
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "printData", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
19250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
19251 if (SWIG_arg_fail(1)) SWIG_fail
;
19252 if (arg1
== NULL
) {
19253 SWIG_null_ref("wxPrintData");
19255 if (SWIG_arg_fail(1)) SWIG_fail
;
19258 if (!wxPyCheckForApp()) SWIG_fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
19272 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
19274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19275 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
19277 return Py_BuildValue((char *)"");
19279 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
= NULL
;
19283 int arg3
= (int) true ;
19284 int arg4
= (int) 1 ;
19285 wxImageList
*result
;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 PyObject
* obj2
= 0 ;
19289 PyObject
* obj3
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19296 arg1
= static_cast<int >(SWIG_As_int(obj0
));
19297 if (SWIG_arg_fail(1)) SWIG_fail
;
19300 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19301 if (SWIG_arg_fail(2)) SWIG_fail
;
19305 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19306 if (SWIG_arg_fail(3)) SWIG_fail
;
19311 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19312 if (SWIG_arg_fail(4)) SWIG_fail
;
19316 if (!wxPyCheckForApp()) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= wxPyMake_wxObject(result
, (bool)1);
19332 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
= NULL
;
19334 wxImageList
*arg1
= (wxImageList
*) 0 ;
19335 PyObject
* obj0
= 0 ;
19336 char *kwnames
[] = {
19337 (char *) "self", NULL
19340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
19341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19342 if (SWIG_arg_fail(1)) SWIG_fail
;
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 Py_INCREF(Py_None
); resultobj
= Py_None
;
19357 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
= NULL
;
19359 wxImageList
*arg1
= (wxImageList
*) 0 ;
19360 wxBitmap
*arg2
= 0 ;
19361 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
19362 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 PyObject
* obj2
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19373 if (SWIG_arg_fail(1)) SWIG_fail
;
19375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19376 if (SWIG_arg_fail(2)) SWIG_fail
;
19377 if (arg2
== NULL
) {
19378 SWIG_null_ref("wxBitmap");
19380 if (SWIG_arg_fail(2)) SWIG_fail
;
19384 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19385 if (SWIG_arg_fail(3)) SWIG_fail
;
19386 if (arg3
== NULL
) {
19387 SWIG_null_ref("wxBitmap");
19389 if (SWIG_arg_fail(3)) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19400 resultobj
= SWIG_From_int(static_cast<int >(result
));
19408 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
= NULL
;
19410 wxImageList
*arg1
= (wxImageList
*) 0 ;
19411 wxBitmap
*arg2
= 0 ;
19412 wxColour
*arg3
= 0 ;
19415 PyObject
* obj0
= 0 ;
19416 PyObject
* obj1
= 0 ;
19417 PyObject
* obj2
= 0 ;
19418 char *kwnames
[] = {
19419 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
19422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19424 if (SWIG_arg_fail(1)) SWIG_fail
;
19426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19427 if (SWIG_arg_fail(2)) SWIG_fail
;
19428 if (arg2
== NULL
) {
19429 SWIG_null_ref("wxBitmap");
19431 if (SWIG_arg_fail(2)) SWIG_fail
;
19435 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= SWIG_From_int(static_cast<int >(result
));
19453 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
= NULL
;
19455 wxImageList
*arg1
= (wxImageList
*) 0 ;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 char *kwnames
[] = {
19461 (char *) "self",(char *) "icon", NULL
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
19465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19466 if (SWIG_arg_fail(1)) SWIG_fail
;
19468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
19469 if (SWIG_arg_fail(2)) SWIG_fail
;
19470 if (arg2
== NULL
) {
19471 SWIG_null_ref("wxIcon");
19473 if (SWIG_arg_fail(2)) SWIG_fail
;
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
19479 wxPyEndAllowThreads(__tstate
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_From_int(static_cast<int >(result
));
19491 static PyObject
*_wrap_ImageList_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
= NULL
;
19493 wxImageList
*arg1
= (wxImageList
*) 0 ;
19495 SwigValueWrapper
<wxBitmap
> result
;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self",(char *) "index", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19504 if (SWIG_arg_fail(1)) SWIG_fail
;
19506 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19507 if (SWIG_arg_fail(2)) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19517 wxBitmap
* resultptr
;
19518 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
19519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
19527 static PyObject
*_wrap_ImageList_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
= NULL
;
19529 wxImageList
*arg1
= (wxImageList
*) 0 ;
19532 PyObject
* obj0
= 0 ;
19533 PyObject
* obj1
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self",(char *) "index", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
19539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19540 if (SWIG_arg_fail(1)) SWIG_fail
;
19542 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19543 if (SWIG_arg_fail(2)) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19553 wxIcon
* resultptr
;
19554 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
19555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
19563 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
= NULL
;
19565 wxImageList
*arg1
= (wxImageList
*) 0 ;
19567 wxBitmap
*arg3
= 0 ;
19568 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
19569 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 PyObject
* obj2
= 0 ;
19574 PyObject
* obj3
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19581 if (SWIG_arg_fail(1)) SWIG_fail
;
19583 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19584 if (SWIG_arg_fail(2)) SWIG_fail
;
19587 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19588 if (SWIG_arg_fail(3)) SWIG_fail
;
19589 if (arg3
== NULL
) {
19590 SWIG_null_ref("wxBitmap");
19592 if (SWIG_arg_fail(3)) SWIG_fail
;
19596 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19597 if (SWIG_arg_fail(4)) SWIG_fail
;
19598 if (arg4
== NULL
) {
19599 SWIG_null_ref("wxBitmap");
19601 if (SWIG_arg_fail(4)) SWIG_fail
;
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19620 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
= NULL
;
19622 wxImageList
*arg1
= (wxImageList
*) 0 ;
19627 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
19628 bool arg7
= (bool) (bool)false ;
19630 PyObject
* obj0
= 0 ;
19631 PyObject
* obj1
= 0 ;
19632 PyObject
* obj2
= 0 ;
19633 PyObject
* obj3
= 0 ;
19634 PyObject
* obj4
= 0 ;
19635 PyObject
* obj5
= 0 ;
19636 PyObject
* obj6
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail
;
19645 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19646 if (SWIG_arg_fail(2)) SWIG_fail
;
19649 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19650 if (SWIG_arg_fail(3)) SWIG_fail
;
19651 if (arg3
== NULL
) {
19652 SWIG_null_ref("wxDC");
19654 if (SWIG_arg_fail(3)) SWIG_fail
;
19657 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19658 if (SWIG_arg_fail(4)) SWIG_fail
;
19661 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19662 if (SWIG_arg_fail(5)) SWIG_fail
;
19666 arg6
= static_cast<int >(SWIG_As_int(obj5
));
19667 if (SWIG_arg_fail(6)) SWIG_fail
;
19672 arg7
= static_cast<bool const >(SWIG_As_bool(obj6
));
19673 if (SWIG_arg_fail(7)) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19692 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
= NULL
;
19694 wxImageList
*arg1
= (wxImageList
*) 0 ;
19696 PyObject
* obj0
= 0 ;
19697 char *kwnames
[] = {
19698 (char *) "self", NULL
19701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
19702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19703 if (SWIG_arg_fail(1)) SWIG_fail
;
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19706 result
= (int)(arg1
)->GetImageCount();
19708 wxPyEndAllowThreads(__tstate
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= SWIG_From_int(static_cast<int >(result
));
19720 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
= NULL
;
19722 wxImageList
*arg1
= (wxImageList
*) 0 ;
19725 PyObject
* obj0
= 0 ;
19726 PyObject
* obj1
= 0 ;
19727 char *kwnames
[] = {
19728 (char *) "self",(char *) "index", NULL
19731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
19732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19733 if (SWIG_arg_fail(1)) SWIG_fail
;
19735 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19736 if (SWIG_arg_fail(2)) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (bool)(arg1
)->Remove(arg2
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19754 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
= NULL
;
19756 wxImageList
*arg1
= (wxImageList
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
19764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19765 if (SWIG_arg_fail(1)) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (bool)(arg1
)->RemoveAll();
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19782 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
= NULL
;
19784 wxImageList
*arg1
= (wxImageList
*) 0 ;
19792 PyObject
* obj0
= 0 ;
19793 PyObject
* obj1
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "self",(char *) "index", NULL
19798 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19799 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
19802 if (SWIG_arg_fail(1)) SWIG_fail
;
19804 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19805 if (SWIG_arg_fail(2)) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 Py_INCREF(Py_None
); resultobj
= Py_None
;
19815 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19816 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19817 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
19818 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
19825 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
19827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19828 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
19830 return Py_BuildValue((char *)"");
19832 static int _wrap_NORMAL_FONT_set(PyObject
*) {
19833 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
19838 static PyObject
*_wrap_NORMAL_FONT_get(void) {
19839 PyObject
*pyobj
= NULL
;
19841 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
19846 static int _wrap_SMALL_FONT_set(PyObject
*) {
19847 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
19852 static PyObject
*_wrap_SMALL_FONT_get(void) {
19853 PyObject
*pyobj
= NULL
;
19855 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
19860 static int _wrap_ITALIC_FONT_set(PyObject
*) {
19861 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
19866 static PyObject
*_wrap_ITALIC_FONT_get(void) {
19867 PyObject
*pyobj
= NULL
;
19869 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
19874 static int _wrap_SWISS_FONT_set(PyObject
*) {
19875 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
19880 static PyObject
*_wrap_SWISS_FONT_get(void) {
19881 PyObject
*pyobj
= NULL
;
19883 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
19888 static int _wrap_RED_PEN_set(PyObject
*) {
19889 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
19894 static PyObject
*_wrap_RED_PEN_get(void) {
19895 PyObject
*pyobj
= NULL
;
19897 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
19902 static int _wrap_CYAN_PEN_set(PyObject
*) {
19903 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
19908 static PyObject
*_wrap_CYAN_PEN_get(void) {
19909 PyObject
*pyobj
= NULL
;
19911 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
19916 static int _wrap_GREEN_PEN_set(PyObject
*) {
19917 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
19922 static PyObject
*_wrap_GREEN_PEN_get(void) {
19923 PyObject
*pyobj
= NULL
;
19925 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
19930 static int _wrap_BLACK_PEN_set(PyObject
*) {
19931 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
19936 static PyObject
*_wrap_BLACK_PEN_get(void) {
19937 PyObject
*pyobj
= NULL
;
19939 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
19944 static int _wrap_WHITE_PEN_set(PyObject
*) {
19945 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
19950 static PyObject
*_wrap_WHITE_PEN_get(void) {
19951 PyObject
*pyobj
= NULL
;
19953 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
19958 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
19959 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
19964 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
19965 PyObject
*pyobj
= NULL
;
19967 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
19972 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
19973 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
19978 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
19979 PyObject
*pyobj
= NULL
;
19981 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
19986 static int _wrap_GREY_PEN_set(PyObject
*) {
19987 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
19992 static PyObject
*_wrap_GREY_PEN_get(void) {
19993 PyObject
*pyobj
= NULL
;
19995 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
20000 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
20001 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
20006 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
20007 PyObject
*pyobj
= NULL
;
20009 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
20014 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
20015 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
20020 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
20021 PyObject
*pyobj
= NULL
;
20023 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
20028 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
20029 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
20034 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
20035 PyObject
*pyobj
= NULL
;
20037 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20042 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
20043 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
20048 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
20049 PyObject
*pyobj
= NULL
;
20051 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20056 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
20057 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
20062 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
20063 PyObject
*pyobj
= NULL
;
20065 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20070 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
20071 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
20076 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
20077 PyObject
*pyobj
= NULL
;
20079 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20084 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
20085 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
20090 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
20091 PyObject
*pyobj
= NULL
;
20093 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20098 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
20099 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
20104 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
20105 PyObject
*pyobj
= NULL
;
20107 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20112 static int _wrap_RED_BRUSH_set(PyObject
*) {
20113 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
20118 static PyObject
*_wrap_RED_BRUSH_get(void) {
20119 PyObject
*pyobj
= NULL
;
20121 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20126 static int _wrap_GREY_BRUSH_set(PyObject
*) {
20127 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
20132 static PyObject
*_wrap_GREY_BRUSH_get(void) {
20133 PyObject
*pyobj
= NULL
;
20135 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20140 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
20141 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
20146 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
20147 PyObject
*pyobj
= NULL
;
20149 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20154 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
20155 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
20160 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
20161 PyObject
*pyobj
= NULL
;
20163 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
20168 static int _wrap_BLACK_set(PyObject
*) {
20169 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
20174 static PyObject
*_wrap_BLACK_get(void) {
20175 PyObject
*pyobj
= NULL
;
20177 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
20182 static int _wrap_WHITE_set(PyObject
*) {
20183 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
20188 static PyObject
*_wrap_WHITE_get(void) {
20189 PyObject
*pyobj
= NULL
;
20191 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
20196 static int _wrap_RED_set(PyObject
*) {
20197 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
20202 static PyObject
*_wrap_RED_get(void) {
20203 PyObject
*pyobj
= NULL
;
20205 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
20210 static int _wrap_BLUE_set(PyObject
*) {
20211 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
20216 static PyObject
*_wrap_BLUE_get(void) {
20217 PyObject
*pyobj
= NULL
;
20219 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
20224 static int _wrap_GREEN_set(PyObject
*) {
20225 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
20230 static PyObject
*_wrap_GREEN_get(void) {
20231 PyObject
*pyobj
= NULL
;
20233 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
20238 static int _wrap_CYAN_set(PyObject
*) {
20239 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
20244 static PyObject
*_wrap_CYAN_get(void) {
20245 PyObject
*pyobj
= NULL
;
20247 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
20252 static int _wrap_LIGHT_GREY_set(PyObject
*) {
20253 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
20258 static PyObject
*_wrap_LIGHT_GREY_get(void) {
20259 PyObject
*pyobj
= NULL
;
20261 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
20266 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
20267 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
20272 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
20273 PyObject
*pyobj
= NULL
;
20275 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20280 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
20281 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
20286 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
20287 PyObject
*pyobj
= NULL
;
20289 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20294 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
20295 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
20300 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
20301 PyObject
*pyobj
= NULL
;
20303 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
20308 static int _wrap_NullBitmap_set(PyObject
*) {
20309 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
20314 static PyObject
*_wrap_NullBitmap_get(void) {
20315 PyObject
*pyobj
= NULL
;
20317 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
20322 static int _wrap_NullIcon_set(PyObject
*) {
20323 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
20328 static PyObject
*_wrap_NullIcon_get(void) {
20329 PyObject
*pyobj
= NULL
;
20331 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
20336 static int _wrap_NullCursor_set(PyObject
*) {
20337 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
20342 static PyObject
*_wrap_NullCursor_get(void) {
20343 PyObject
*pyobj
= NULL
;
20345 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
20350 static int _wrap_NullPen_set(PyObject
*) {
20351 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
20356 static PyObject
*_wrap_NullPen_get(void) {
20357 PyObject
*pyobj
= NULL
;
20359 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
20364 static int _wrap_NullBrush_set(PyObject
*) {
20365 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
20370 static PyObject
*_wrap_NullBrush_get(void) {
20371 PyObject
*pyobj
= NULL
;
20373 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
20378 static int _wrap_NullPalette_set(PyObject
*) {
20379 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
20384 static PyObject
*_wrap_NullPalette_get(void) {
20385 PyObject
*pyobj
= NULL
;
20387 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
20392 static int _wrap_NullFont_set(PyObject
*) {
20393 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
20398 static PyObject
*_wrap_NullFont_get(void) {
20399 PyObject
*pyobj
= NULL
;
20401 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
20406 static int _wrap_NullColour_set(PyObject
*) {
20407 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
20412 static PyObject
*_wrap_NullColour_get(void) {
20413 PyObject
*pyobj
= NULL
;
20415 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
20420 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20421 PyObject
*resultobj
= NULL
;
20422 wxPenList
*arg1
= (wxPenList
*) 0 ;
20423 wxPen
*arg2
= (wxPen
*) 0 ;
20424 PyObject
* obj0
= 0 ;
20425 PyObject
* obj1
= 0 ;
20426 char *kwnames
[] = {
20427 (char *) "self",(char *) "pen", NULL
20430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
20431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20432 if (SWIG_arg_fail(1)) SWIG_fail
;
20433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
20434 if (SWIG_arg_fail(2)) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 (arg1
)->AddPen(arg2
);
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 Py_INCREF(Py_None
); resultobj
= Py_None
;
20449 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
= NULL
;
20451 wxPenList
*arg1
= (wxPenList
*) 0 ;
20452 wxColour
*arg2
= 0 ;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 PyObject
* obj2
= 0 ;
20460 PyObject
* obj3
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail
;
20470 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20473 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20474 if (SWIG_arg_fail(3)) SWIG_fail
;
20477 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20478 if (SWIG_arg_fail(4)) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20494 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
= NULL
;
20496 wxPenList
*arg1
= (wxPenList
*) 0 ;
20497 wxPen
*arg2
= (wxPen
*) 0 ;
20498 PyObject
* obj0
= 0 ;
20499 PyObject
* obj1
= 0 ;
20500 char *kwnames
[] = {
20501 (char *) "self",(char *) "pen", NULL
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20506 if (SWIG_arg_fail(1)) SWIG_fail
;
20507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
20508 if (SWIG_arg_fail(2)) SWIG_fail
;
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 (arg1
)->RemovePen(arg2
);
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20516 Py_INCREF(Py_None
); resultobj
= Py_None
;
20523 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
= NULL
;
20525 wxPenList
*arg1
= (wxPenList
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
20533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
20534 if (SWIG_arg_fail(1)) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (int)(arg1
)->GetCount();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= SWIG_From_int(static_cast<int >(result
));
20551 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
20553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20554 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
20556 return Py_BuildValue((char *)"");
20558 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
= NULL
;
20560 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20561 wxBrush
*arg2
= (wxBrush
*) 0 ;
20562 PyObject
* obj0
= 0 ;
20563 PyObject
* obj1
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self",(char *) "brush", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
20569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20570 if (SWIG_arg_fail(1)) SWIG_fail
;
20571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
20572 if (SWIG_arg_fail(2)) SWIG_fail
;
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 (arg1
)->AddBrush(arg2
);
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 Py_INCREF(Py_None
); resultobj
= Py_None
;
20587 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
= NULL
;
20589 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20590 wxColour
*arg2
= 0 ;
20591 int arg3
= (int) wxSOLID
;
20594 PyObject
* obj0
= 0 ;
20595 PyObject
* obj1
= 0 ;
20596 PyObject
* obj2
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self",(char *) "colour",(char *) "style", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20603 if (SWIG_arg_fail(1)) SWIG_fail
;
20606 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20610 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20611 if (SWIG_arg_fail(3)) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
20628 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
= NULL
;
20630 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20631 wxBrush
*arg2
= (wxBrush
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 PyObject
* obj1
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "self",(char *) "brush", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
20639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20640 if (SWIG_arg_fail(1)) SWIG_fail
;
20641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
20642 if (SWIG_arg_fail(2)) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 (arg1
)->RemoveBrush(arg2
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 Py_INCREF(Py_None
); resultobj
= Py_None
;
20657 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
= NULL
;
20659 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
20661 PyObject
* obj0
= 0 ;
20662 char *kwnames
[] = {
20663 (char *) "self", NULL
20666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
20667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
20668 if (SWIG_arg_fail(1)) SWIG_fail
;
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 result
= (int)(arg1
)->GetCount();
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= SWIG_From_int(static_cast<int >(result
));
20685 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
20687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20688 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
20690 return Py_BuildValue((char *)"");
20692 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
= NULL
;
20694 wxColourDatabase
*result
;
20695 char *kwnames
[] = {
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
20701 if (!wxPyCheckForApp()) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (wxColourDatabase
*)new wxColourDatabase();
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
20715 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
= NULL
;
20717 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20718 PyObject
* obj0
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
20724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20725 if (SWIG_arg_fail(1)) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 Py_INCREF(Py_None
); resultobj
= Py_None
;
20740 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
= NULL
;
20742 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20743 wxString
*arg2
= 0 ;
20745 bool temp2
= false ;
20746 PyObject
* obj0
= 0 ;
20747 PyObject
* obj1
= 0 ;
20748 char *kwnames
[] = {
20749 (char *) "self",(char *) "name", NULL
20752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
20753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20754 if (SWIG_arg_fail(1)) SWIG_fail
;
20756 arg2
= wxString_in_helper(obj1
);
20757 if (arg2
== NULL
) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 wxColour
* resultptr
;
20769 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20786 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
= NULL
;
20788 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20789 wxColour
*arg2
= 0 ;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 char *kwnames
[] = {
20795 (char *) "self",(char *) "colour", NULL
20798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
20799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20800 if (SWIG_arg_fail(1)) SWIG_fail
;
20803 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20825 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
= NULL
;
20827 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20828 wxString
*arg2
= 0 ;
20829 wxColour
*arg3
= 0 ;
20830 bool temp2
= false ;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 PyObject
* obj2
= 0 ;
20835 char *kwnames
[] = {
20836 (char *) "self",(char *) "name",(char *) "colour", NULL
20839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20841 if (SWIG_arg_fail(1)) SWIG_fail
;
20843 arg2
= wxString_in_helper(obj1
);
20844 if (arg2
== NULL
) SWIG_fail
;
20849 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 Py_INCREF(Py_None
); resultobj
= Py_None
;
20873 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
= NULL
;
20875 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
20876 wxString
*arg2
= 0 ;
20880 bool temp2
= false ;
20881 PyObject
* obj0
= 0 ;
20882 PyObject
* obj1
= 0 ;
20883 PyObject
* obj2
= 0 ;
20884 PyObject
* obj3
= 0 ;
20885 PyObject
* obj4
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
20892 if (SWIG_arg_fail(1)) SWIG_fail
;
20894 arg2
= wxString_in_helper(obj1
);
20895 if (arg2
== NULL
) SWIG_fail
;
20899 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20900 if (SWIG_arg_fail(3)) SWIG_fail
;
20903 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20904 if (SWIG_arg_fail(4)) SWIG_fail
;
20907 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20908 if (SWIG_arg_fail(5)) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 Py_INCREF(Py_None
); resultobj
= Py_None
;
20932 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
20934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20935 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
20937 return Py_BuildValue((char *)"");
20939 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
= NULL
;
20941 wxFontList
*arg1
= (wxFontList
*) 0 ;
20942 wxFont
*arg2
= (wxFont
*) 0 ;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "self",(char *) "font", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20951 if (SWIG_arg_fail(1)) SWIG_fail
;
20952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20953 if (SWIG_arg_fail(2)) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 (arg1
)->AddFont(arg2
);
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 Py_INCREF(Py_None
); resultobj
= Py_None
;
20968 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
= NULL
;
20970 wxFontList
*arg1
= (wxFontList
*) 0 ;
20975 bool arg6
= (bool) false ;
20976 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20977 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20978 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
20980 bool temp7
= false ;
20981 PyObject
* obj0
= 0 ;
20982 PyObject
* obj1
= 0 ;
20983 PyObject
* obj2
= 0 ;
20984 PyObject
* obj3
= 0 ;
20985 PyObject
* obj4
= 0 ;
20986 PyObject
* obj5
= 0 ;
20987 PyObject
* obj6
= 0 ;
20988 PyObject
* obj7
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail
;
20997 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20998 if (SWIG_arg_fail(2)) SWIG_fail
;
21001 arg3
= static_cast<int >(SWIG_As_int(obj2
));
21002 if (SWIG_arg_fail(3)) SWIG_fail
;
21005 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21006 if (SWIG_arg_fail(4)) SWIG_fail
;
21009 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21010 if (SWIG_arg_fail(5)) SWIG_fail
;
21014 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
21015 if (SWIG_arg_fail(6)) SWIG_fail
;
21020 arg7
= wxString_in_helper(obj6
);
21021 if (arg7
== NULL
) SWIG_fail
;
21027 arg8
= static_cast<wxFontEncoding
>(SWIG_As_int(obj7
));
21028 if (SWIG_arg_fail(8)) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21053 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
= NULL
;
21055 wxFontList
*arg1
= (wxFontList
*) 0 ;
21056 wxFont
*arg2
= (wxFont
*) 0 ;
21057 PyObject
* obj0
= 0 ;
21058 PyObject
* obj1
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self",(char *) "font", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
21065 if (SWIG_arg_fail(1)) SWIG_fail
;
21066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21067 if (SWIG_arg_fail(2)) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 (arg1
)->RemoveFont(arg2
);
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 Py_INCREF(Py_None
); resultobj
= Py_None
;
21082 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
= NULL
;
21084 wxFontList
*arg1
= (wxFontList
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
21092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
21093 if (SWIG_arg_fail(1)) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (int)(arg1
)->GetCount();
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21102 resultobj
= SWIG_From_int(static_cast<int >(result
));
21110 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
21112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21113 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
21115 return Py_BuildValue((char *)"");
21117 static int _wrap_TheFontList_set(PyObject
*) {
21118 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
21123 static PyObject
*_wrap_TheFontList_get(void) {
21124 PyObject
*pyobj
= NULL
;
21126 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
21131 static int _wrap_ThePenList_set(PyObject
*) {
21132 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
21137 static PyObject
*_wrap_ThePenList_get(void) {
21138 PyObject
*pyobj
= NULL
;
21140 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
21145 static int _wrap_TheBrushList_set(PyObject
*) {
21146 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
21151 static PyObject
*_wrap_TheBrushList_get(void) {
21152 PyObject
*pyobj
= NULL
;
21154 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
21159 static int _wrap_TheColourDatabase_set(PyObject
*) {
21160 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
21165 static PyObject
*_wrap_TheColourDatabase_get(void) {
21166 PyObject
*pyobj
= NULL
;
21168 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
21173 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
= NULL
;
21176 char *kwnames
[] = {
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 result
= (wxEffects
*)new wxEffects();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
21195 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
= NULL
;
21197 wxEffects
*arg1
= (wxEffects
*) 0 ;
21199 PyObject
* obj0
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
21205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21206 if (SWIG_arg_fail(1)) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21215 wxColour
* resultptr
;
21216 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21225 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
= NULL
;
21227 wxEffects
*arg1
= (wxEffects
*) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
21235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21236 if (SWIG_arg_fail(1)) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21245 wxColour
* resultptr
;
21246 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21255 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
= NULL
;
21257 wxEffects
*arg1
= (wxEffects
*) 0 ;
21259 PyObject
* obj0
= 0 ;
21260 char *kwnames
[] = {
21261 (char *) "self", NULL
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
21265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21266 if (SWIG_arg_fail(1)) SWIG_fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21275 wxColour
* resultptr
;
21276 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21285 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21286 PyObject
*resultobj
= NULL
;
21287 wxEffects
*arg1
= (wxEffects
*) 0 ;
21289 PyObject
* obj0
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
21295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21296 if (SWIG_arg_fail(1)) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21305 wxColour
* resultptr
;
21306 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21315 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
= NULL
;
21317 wxEffects
*arg1
= (wxEffects
*) 0 ;
21319 PyObject
* obj0
= 0 ;
21320 char *kwnames
[] = {
21321 (char *) "self", NULL
21324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
21325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21326 if (SWIG_arg_fail(1)) SWIG_fail
;
21328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21329 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21335 wxColour
* resultptr
;
21336 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
21337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21345 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
= NULL
;
21347 wxEffects
*arg1
= (wxEffects
*) 0 ;
21348 wxColour
*arg2
= 0 ;
21350 PyObject
* obj0
= 0 ;
21351 PyObject
* obj1
= 0 ;
21352 char *kwnames
[] = {
21353 (char *) "self",(char *) "c", NULL
21356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21358 if (SWIG_arg_fail(1)) SWIG_fail
;
21361 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21370 Py_INCREF(Py_None
); resultobj
= Py_None
;
21377 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
= NULL
;
21379 wxEffects
*arg1
= (wxEffects
*) 0 ;
21380 wxColour
*arg2
= 0 ;
21382 PyObject
* obj0
= 0 ;
21383 PyObject
* obj1
= 0 ;
21384 char *kwnames
[] = {
21385 (char *) "self",(char *) "c", NULL
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21390 if (SWIG_arg_fail(1)) SWIG_fail
;
21393 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 Py_INCREF(Py_None
); resultobj
= Py_None
;
21409 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
= NULL
;
21411 wxEffects
*arg1
= (wxEffects
*) 0 ;
21412 wxColour
*arg2
= 0 ;
21414 PyObject
* obj0
= 0 ;
21415 PyObject
* obj1
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self",(char *) "c", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21422 if (SWIG_arg_fail(1)) SWIG_fail
;
21425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 Py_INCREF(Py_None
); resultobj
= Py_None
;
21441 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
= NULL
;
21443 wxEffects
*arg1
= (wxEffects
*) 0 ;
21444 wxColour
*arg2
= 0 ;
21446 PyObject
* obj0
= 0 ;
21447 PyObject
* obj1
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "self",(char *) "c", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21454 if (SWIG_arg_fail(1)) SWIG_fail
;
21457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21466 Py_INCREF(Py_None
); resultobj
= Py_None
;
21473 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21474 PyObject
*resultobj
= NULL
;
21475 wxEffects
*arg1
= (wxEffects
*) 0 ;
21476 wxColour
*arg2
= 0 ;
21478 PyObject
* obj0
= 0 ;
21479 PyObject
* obj1
= 0 ;
21480 char *kwnames
[] = {
21481 (char *) "self",(char *) "c", NULL
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
21485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21486 if (SWIG_arg_fail(1)) SWIG_fail
;
21489 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 Py_INCREF(Py_None
); resultobj
= Py_None
;
21505 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
= NULL
;
21507 wxEffects
*arg1
= (wxEffects
*) 0 ;
21508 wxColour
*arg2
= 0 ;
21509 wxColour
*arg3
= 0 ;
21510 wxColour
*arg4
= 0 ;
21511 wxColour
*arg5
= 0 ;
21512 wxColour
*arg6
= 0 ;
21518 PyObject
* obj0
= 0 ;
21519 PyObject
* obj1
= 0 ;
21520 PyObject
* obj2
= 0 ;
21521 PyObject
* obj3
= 0 ;
21522 PyObject
* obj4
= 0 ;
21523 PyObject
* obj5
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21530 if (SWIG_arg_fail(1)) SWIG_fail
;
21533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21537 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21541 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
21545 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
21549 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 Py_INCREF(Py_None
); resultobj
= Py_None
;
21565 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
= NULL
;
21567 wxEffects
*arg1
= (wxEffects
*) 0 ;
21570 int arg4
= (int) 1 ;
21572 PyObject
* obj0
= 0 ;
21573 PyObject
* obj1
= 0 ;
21574 PyObject
* obj2
= 0 ;
21575 PyObject
* obj3
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21582 if (SWIG_arg_fail(1)) SWIG_fail
;
21584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21585 if (SWIG_arg_fail(2)) SWIG_fail
;
21586 if (arg2
== NULL
) {
21587 SWIG_null_ref("wxDC");
21589 if (SWIG_arg_fail(2)) SWIG_fail
;
21593 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
21597 arg4
= static_cast<int >(SWIG_As_int(obj3
));
21598 if (SWIG_arg_fail(4)) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 Py_INCREF(Py_None
); resultobj
= Py_None
;
21615 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
= NULL
;
21617 wxEffects
*arg1
= (wxEffects
*) 0 ;
21620 wxBitmap
*arg4
= 0 ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 PyObject
* obj2
= 0 ;
21626 PyObject
* obj3
= 0 ;
21627 char *kwnames
[] = {
21628 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
21631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
21633 if (SWIG_arg_fail(1)) SWIG_fail
;
21636 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21639 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21640 if (SWIG_arg_fail(3)) SWIG_fail
;
21641 if (arg3
== NULL
) {
21642 SWIG_null_ref("wxDC");
21644 if (SWIG_arg_fail(3)) SWIG_fail
;
21647 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
21648 if (SWIG_arg_fail(4)) SWIG_fail
;
21649 if (arg4
== NULL
) {
21650 SWIG_null_ref("wxBitmap");
21652 if (SWIG_arg_fail(4)) SWIG_fail
;
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
21658 wxPyEndAllowThreads(__tstate
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21670 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
21672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21673 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
21675 return Py_BuildValue((char *)"");
21677 static PyObject
*_wrap_new_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
= NULL
;
21682 wxSplitterRenderParams
*result
;
21683 PyObject
* obj0
= 0 ;
21684 PyObject
* obj1
= 0 ;
21685 PyObject
* obj2
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21692 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21693 if (SWIG_arg_fail(1)) SWIG_fail
;
21696 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21697 if (SWIG_arg_fail(2)) SWIG_fail
;
21700 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
21701 if (SWIG_arg_fail(3)) SWIG_fail
;
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
21717 static PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
= NULL
;
21719 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SplitterRenderParams",kwnames
,&obj0
)) goto fail
;
21726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 Py_INCREF(Py_None
); resultobj
= Py_None
;
21742 static PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
= NULL
;
21744 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21746 PyObject
* obj0
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_widthSash_get",kwnames
,&obj0
)) goto fail
;
21752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail
;
21754 result
= (int)(int) ((arg1
)->widthSash
);
21757 resultobj
= SWIG_From_int(static_cast<int >(result
));
21765 static PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
= NULL
;
21767 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21769 PyObject
* obj0
= 0 ;
21770 char *kwnames
[] = {
21771 (char *) "self", NULL
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_border_get",kwnames
,&obj0
)) goto fail
;
21775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21776 if (SWIG_arg_fail(1)) SWIG_fail
;
21777 result
= (int)(int) ((arg1
)->border
);
21780 resultobj
= SWIG_From_int(static_cast<int >(result
));
21788 static PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
= NULL
;
21790 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
21792 PyObject
* obj0
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames
,&obj0
)) goto fail
;
21798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
21799 if (SWIG_arg_fail(1)) SWIG_fail
;
21800 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
21803 resultobj
= SWIG_From_bool(static_cast<bool >(result
));
21811 static PyObject
* SplitterRenderParams_swigregister(PyObject
*, PyObject
*args
) {
21813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21814 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams
, obj
);
21816 return Py_BuildValue((char *)"");
21818 static PyObject
*_wrap_new_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
= NULL
;
21822 wxRendererVersion
*result
;
21823 PyObject
* obj0
= 0 ;
21824 PyObject
* obj1
= 0 ;
21825 char *kwnames
[] = {
21826 (char *) "version_",(char *) "age_", NULL
21829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) goto fail
;
21831 arg1
= static_cast<int >(SWIG_As_int(obj0
));
21832 if (SWIG_arg_fail(1)) SWIG_fail
;
21835 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21836 if (SWIG_arg_fail(2)) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererVersion
, 1);
21852 static PyObject
*_wrap_delete_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
= NULL
;
21854 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RendererVersion",kwnames
,&obj0
)) goto fail
;
21861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21862 if (SWIG_arg_fail(1)) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 Py_INCREF(Py_None
); resultobj
= Py_None
;
21877 static PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
= NULL
;
21879 wxRendererVersion
*arg1
= 0 ;
21881 PyObject
* obj0
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "ver", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) goto fail
;
21888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21889 if (SWIG_arg_fail(1)) SWIG_fail
;
21890 if (arg1
== NULL
) {
21891 SWIG_null_ref("wxRendererVersion");
21893 if (SWIG_arg_fail(1)) SWIG_fail
;
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21911 static PyObject
*_wrap_RendererVersion_version_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
= NULL
;
21913 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21915 PyObject
* obj0
= 0 ;
21916 char *kwnames
[] = {
21917 (char *) "self", NULL
21920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_version_get",kwnames
,&obj0
)) goto fail
;
21921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21922 if (SWIG_arg_fail(1)) SWIG_fail
;
21923 result
= (int)(int) ((arg1
)->version
);
21926 resultobj
= SWIG_From_int(static_cast<int >(result
));
21934 static PyObject
*_wrap_RendererVersion_age_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
= NULL
;
21936 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21938 PyObject
* obj0
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_age_get",kwnames
,&obj0
)) goto fail
;
21944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21945 if (SWIG_arg_fail(1)) SWIG_fail
;
21946 result
= (int)(int) ((arg1
)->age
);
21949 resultobj
= SWIG_From_int(static_cast<int >(result
));
21957 static PyObject
* RendererVersion_swigregister(PyObject
*, PyObject
*args
) {
21959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21960 SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion
, obj
);
21962 return Py_BuildValue((char *)"");
21964 static PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
= NULL
;
21966 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21967 wxWindow
*arg2
= (wxWindow
*) 0 ;
21970 int arg5
= (int) 0 ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 PyObject
* obj2
= 0 ;
21975 PyObject
* obj3
= 0 ;
21976 PyObject
* obj4
= 0 ;
21977 char *kwnames
[] = {
21978 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21983 if (SWIG_arg_fail(1)) SWIG_fail
;
21984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21985 if (SWIG_arg_fail(2)) SWIG_fail
;
21987 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21988 if (SWIG_arg_fail(3)) SWIG_fail
;
21989 if (arg3
== NULL
) {
21990 SWIG_null_ref("wxDC");
21992 if (SWIG_arg_fail(3)) SWIG_fail
;
21996 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22000 arg5
= static_cast<int >(SWIG_As_int(obj4
));
22001 if (SWIG_arg_fail(5)) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 Py_INCREF(Py_None
); resultobj
= Py_None
;
22018 static PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
= NULL
;
22020 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22021 wxWindow
*arg2
= (wxWindow
*) 0 ;
22024 int arg5
= (int) 0 ;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 PyObject
* obj2
= 0 ;
22029 PyObject
* obj3
= 0 ;
22030 PyObject
* obj4
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22037 if (SWIG_arg_fail(1)) SWIG_fail
;
22038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22039 if (SWIG_arg_fail(2)) SWIG_fail
;
22041 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22042 if (SWIG_arg_fail(3)) SWIG_fail
;
22043 if (arg3
== NULL
) {
22044 SWIG_null_ref("wxDC");
22046 if (SWIG_arg_fail(3)) SWIG_fail
;
22050 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22054 arg5
= static_cast<int >(SWIG_As_int(obj4
));
22055 if (SWIG_arg_fail(5)) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 Py_INCREF(Py_None
); resultobj
= Py_None
;
22072 static PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
= NULL
;
22074 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22075 wxWindow
*arg2
= (wxWindow
*) 0 ;
22078 int arg5
= (int) 0 ;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 PyObject
* obj2
= 0 ;
22083 PyObject
* obj3
= 0 ;
22084 PyObject
* obj4
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22091 if (SWIG_arg_fail(1)) SWIG_fail
;
22092 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22093 if (SWIG_arg_fail(2)) SWIG_fail
;
22095 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22096 if (SWIG_arg_fail(3)) SWIG_fail
;
22097 if (arg3
== NULL
) {
22098 SWIG_null_ref("wxDC");
22100 if (SWIG_arg_fail(3)) SWIG_fail
;
22104 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22108 arg5
= static_cast<int >(SWIG_As_int(obj4
));
22109 if (SWIG_arg_fail(5)) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 Py_INCREF(Py_None
); resultobj
= Py_None
;
22126 static PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
= NULL
;
22128 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22129 wxWindow
*arg2
= (wxWindow
*) 0 ;
22133 wxOrientation arg6
;
22134 int arg7
= (int) 0 ;
22136 PyObject
* obj0
= 0 ;
22137 PyObject
* obj1
= 0 ;
22138 PyObject
* obj2
= 0 ;
22139 PyObject
* obj3
= 0 ;
22140 PyObject
* obj4
= 0 ;
22141 PyObject
* obj5
= 0 ;
22142 PyObject
* obj6
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22149 if (SWIG_arg_fail(1)) SWIG_fail
;
22150 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22151 if (SWIG_arg_fail(2)) SWIG_fail
;
22153 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22154 if (SWIG_arg_fail(3)) SWIG_fail
;
22155 if (arg3
== NULL
) {
22156 SWIG_null_ref("wxDC");
22158 if (SWIG_arg_fail(3)) SWIG_fail
;
22162 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22165 arg5
= static_cast<int >(SWIG_As_int(obj4
));
22166 if (SWIG_arg_fail(5)) SWIG_fail
;
22169 arg6
= static_cast<wxOrientation
>(SWIG_As_int(obj5
));
22170 if (SWIG_arg_fail(6)) SWIG_fail
;
22174 arg7
= static_cast<int >(SWIG_As_int(obj6
));
22175 if (SWIG_arg_fail(7)) SWIG_fail
;
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 Py_INCREF(Py_None
); resultobj
= Py_None
;
22192 static PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
= NULL
;
22194 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22195 wxWindow
*arg2
= (wxWindow
*) 0 ;
22198 int arg5
= (int) 0 ;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 PyObject
* obj2
= 0 ;
22203 PyObject
* obj3
= 0 ;
22204 PyObject
* obj4
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22211 if (SWIG_arg_fail(1)) SWIG_fail
;
22212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22213 if (SWIG_arg_fail(2)) SWIG_fail
;
22215 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22216 if (SWIG_arg_fail(3)) SWIG_fail
;
22217 if (arg3
== NULL
) {
22218 SWIG_null_ref("wxDC");
22220 if (SWIG_arg_fail(3)) SWIG_fail
;
22224 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22228 arg5
= static_cast<int >(SWIG_As_int(obj4
));
22229 if (SWIG_arg_fail(5)) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 Py_INCREF(Py_None
); resultobj
= Py_None
;
22246 static PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
= NULL
;
22248 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22249 wxWindow
*arg2
= (wxWindow
*) 0 ;
22252 int arg5
= (int) 0 ;
22254 PyObject
* obj0
= 0 ;
22255 PyObject
* obj1
= 0 ;
22256 PyObject
* obj2
= 0 ;
22257 PyObject
* obj3
= 0 ;
22258 PyObject
* obj4
= 0 ;
22259 char *kwnames
[] = {
22260 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22265 if (SWIG_arg_fail(1)) SWIG_fail
;
22266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22267 if (SWIG_arg_fail(2)) SWIG_fail
;
22269 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22270 if (SWIG_arg_fail(3)) SWIG_fail
;
22271 if (arg3
== NULL
) {
22272 SWIG_null_ref("wxDC");
22274 if (SWIG_arg_fail(3)) SWIG_fail
;
22278 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
22282 arg5
= static_cast<int >(SWIG_As_int(obj4
));
22283 if (SWIG_arg_fail(5)) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 Py_INCREF(Py_None
); resultobj
= Py_None
;
22300 static PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
= NULL
;
22302 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22303 wxWindow
*arg2
= (wxWindow
*) 0 ;
22304 SwigValueWrapper
<wxSplitterRenderParams
> result
;
22305 PyObject
* obj0
= 0 ;
22306 PyObject
* obj1
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "self",(char *) "win", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) goto fail
;
22312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22313 if (SWIG_arg_fail(1)) SWIG_fail
;
22314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22315 if (SWIG_arg_fail(2)) SWIG_fail
;
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22324 wxSplitterRenderParams
* resultptr
;
22325 resultptr
= new wxSplitterRenderParams(static_cast<wxSplitterRenderParams
& >(result
));
22326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
22334 static PyObject
*_wrap_RendererNative_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
= NULL
;
22336 wxRendererNative
*result
;
22337 char *kwnames
[] = {
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_Get",kwnames
)) goto fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 wxRendererNative
&_result_ref
= wxRendererNative::Get();
22346 result
= (wxRendererNative
*) &_result_ref
;
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22359 static PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
= NULL
;
22361 wxRendererNative
*result
;
22362 char *kwnames
[] = {
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetGeneric",kwnames
)) goto fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
22371 result
= (wxRendererNative
*) &_result_ref
;
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22384 static PyObject
*_wrap_RendererNative_GetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
= NULL
;
22386 wxRendererNative
*result
;
22387 char *kwnames
[] = {
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetDefault",kwnames
)) goto fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
22396 result
= (wxRendererNative
*) &_result_ref
;
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22409 static PyObject
*_wrap_RendererNative_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22410 PyObject
*resultobj
= NULL
;
22411 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22412 wxRendererNative
*result
;
22413 PyObject
* obj0
= 0 ;
22414 char *kwnames
[] = {
22415 (char *) "renderer", NULL
22418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) goto fail
;
22419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22420 if (SWIG_arg_fail(1)) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
22435 static PyObject
*_wrap_RendererNative_GetVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
= NULL
;
22437 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
22438 SwigValueWrapper
<wxRendererVersion
> result
;
22439 PyObject
* obj0
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_GetVersion",kwnames
,&obj0
)) goto fail
;
22445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
22446 if (SWIG_arg_fail(1)) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22455 wxRendererVersion
* resultptr
;
22456 resultptr
= new wxRendererVersion(static_cast<wxRendererVersion
& >(result
));
22457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRendererVersion
, 1);
22465 static PyObject
* RendererNative_swigregister(PyObject
*, PyObject
*args
) {
22467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22468 SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative
, obj
);
22470 return Py_BuildValue((char *)"");
22472 static PyMethodDef SwigMethods
[] = {
22473 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22474 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22475 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22476 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22477 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22478 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
22479 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22480 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22481 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22482 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22483 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22484 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22485 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22486 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22487 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22488 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22489 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22490 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22491 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22492 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22493 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22494 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22495 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
22496 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22497 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22498 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22499 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22500 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22501 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22502 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
22503 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22504 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22505 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22506 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22507 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22508 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22509 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22510 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22511 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22512 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22513 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22514 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22515 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22516 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22517 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22518 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22519 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22520 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22521 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22522 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22523 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22524 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
22525 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22526 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22527 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22528 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22529 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22530 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22531 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22532 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22533 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22534 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22535 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22536 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
22537 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22538 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22539 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22540 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22541 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22542 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22543 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22544 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22545 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22546 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22547 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22548 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22549 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22550 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22551 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22552 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22553 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22554 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22555 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22556 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22557 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22558 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22559 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22560 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22561 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22562 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22563 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22564 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22565 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22566 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22567 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22568 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
22569 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22570 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
22571 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22572 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22573 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22574 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22575 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22576 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22577 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22578 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22579 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22580 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22581 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22582 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22583 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22584 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22585 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22586 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22587 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22588 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22589 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
22590 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22591 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22592 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22593 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22594 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22595 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22596 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22597 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
22598 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22599 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22600 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22601 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22602 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22603 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22604 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22605 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
22606 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22607 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22608 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22609 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22610 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22611 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22612 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22613 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22614 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22615 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22616 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22617 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22618 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22619 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22620 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
22621 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22622 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22623 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22624 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22625 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22626 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22627 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22628 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22629 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22630 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22631 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22632 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22633 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22634 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22635 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22636 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22637 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22638 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22639 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22640 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22641 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22642 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22643 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22644 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22645 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22646 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22647 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22648 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22649 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
22650 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22651 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22652 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22653 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22654 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22655 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22656 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22657 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22658 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22659 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22660 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22661 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22662 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22663 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
22664 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22665 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22666 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22667 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22668 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22669 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22670 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22671 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22672 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22673 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22674 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22675 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22676 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22677 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22678 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22679 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22680 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22681 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22682 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22683 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22684 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22685 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22686 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22687 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22688 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22689 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
22690 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22691 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22692 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22693 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22694 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22695 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22696 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22697 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22698 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
22699 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22700 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22701 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22702 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22703 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22704 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22705 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22706 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22707 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22708 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22709 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22710 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22711 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22712 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22713 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22714 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22715 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22716 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22717 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
22718 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22719 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22720 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22721 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22722 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22723 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22724 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22725 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22726 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22727 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22728 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22729 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22730 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22731 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22732 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22733 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22734 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22735 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22736 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22737 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22738 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22739 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22740 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22741 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22742 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22743 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22744 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22745 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22746 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22747 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22748 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22749 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22750 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22751 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22752 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22753 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22754 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22755 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22756 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22757 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22758 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22759 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
22760 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22761 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22762 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22763 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22764 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22765 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22766 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22767 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
22768 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22769 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22770 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22771 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22772 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22773 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22774 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
22775 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22776 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22777 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22778 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22779 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22780 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22781 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22782 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22783 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22784 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22785 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22786 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22787 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22788 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22789 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22790 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22791 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22792 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22793 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22794 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22795 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22796 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
22797 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22798 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
22799 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22800 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22801 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22802 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22803 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22804 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22805 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22806 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
22807 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22808 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22809 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22810 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22811 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22812 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22813 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22814 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22815 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22816 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22817 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22818 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22819 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22820 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22821 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22822 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22823 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22824 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22825 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22826 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22827 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22828 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22829 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22830 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22831 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22832 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22833 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22834 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22835 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22836 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22837 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22838 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22839 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22840 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22841 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22842 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22843 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22844 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22845 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22846 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22847 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22848 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22849 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22850 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22851 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22852 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22853 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22854 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22855 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22856 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22857 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22858 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22859 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22860 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22861 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22862 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22863 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22864 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22865 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22866 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22867 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22868 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22869 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22870 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22871 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22872 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22873 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22874 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22875 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22876 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22877 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22878 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22879 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22880 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22881 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22882 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22883 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22884 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22885 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22886 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22887 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22888 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22889 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22890 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22891 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22892 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22893 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22894 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22895 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22896 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22897 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22898 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22899 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22900 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22901 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22902 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22903 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22904 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22905 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22906 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22907 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22908 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22909 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22910 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22911 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22912 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22913 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22914 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22915 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22916 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22917 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22918 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22919 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22920 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22921 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22922 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22923 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22924 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22925 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22926 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22927 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22928 { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22929 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22930 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22931 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22932 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22933 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22934 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22935 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
22936 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22937 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22938 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22939 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
22940 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
22941 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22942 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22943 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
22944 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22945 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
22946 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22947 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22948 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22949 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22950 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
22951 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22952 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
22953 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22954 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
22955 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22956 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
22957 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22958 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
22959 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22960 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22961 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22962 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22963 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22964 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
22965 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22966 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22967 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22968 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22969 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22970 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22971 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22972 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22973 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
22974 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22975 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22976 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
22977 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22978 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
22979 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22980 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22981 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22982 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22983 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22984 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22985 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22986 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22987 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22988 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22989 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22990 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22991 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22992 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
22993 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22994 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22995 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22996 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22997 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
22998 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22999 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23000 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23001 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23002 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
23003 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23004 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23005 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23006 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23007 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23008 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23009 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
23010 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23011 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23012 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23013 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23014 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
23015 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23016 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23017 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23018 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23019 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23020 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23021 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23022 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23023 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23024 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23025 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23026 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23027 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23028 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23029 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
23030 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23031 { (char *)"delete_SplitterRenderParams", (PyCFunction
) _wrap_delete_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23032 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
) _wrap_SplitterRenderParams_widthSash_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23033 { (char *)"SplitterRenderParams_border_get", (PyCFunction
) _wrap_SplitterRenderParams_border_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23034 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
) _wrap_SplitterRenderParams_isHotSensitive_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23035 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
23036 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23037 { (char *)"delete_RendererVersion", (PyCFunction
) _wrap_delete_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23038 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23039 { (char *)"RendererVersion_version_get", (PyCFunction
) _wrap_RendererVersion_version_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23040 { (char *)"RendererVersion_age_get", (PyCFunction
) _wrap_RendererVersion_age_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23041 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
23042 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23043 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23044 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23045 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23046 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23047 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23048 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23049 { (char *)"RendererNative_Get", (PyCFunction
) _wrap_RendererNative_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23050 { (char *)"RendererNative_GetGeneric", (PyCFunction
) _wrap_RendererNative_GetGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23051 { (char *)"RendererNative_GetDefault", (PyCFunction
) _wrap_RendererNative_GetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23052 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23053 { (char *)"RendererNative_GetVersion", (PyCFunction
) _wrap_RendererNative_GetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23054 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
23055 { NULL
, NULL
, 0, NULL
}
23059 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23061 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
23062 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
23064 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
23065 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
23067 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
23068 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
23070 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
23071 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
23073 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
23074 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
23076 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
23077 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
23079 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
23080 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
23082 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
23083 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
23085 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
23086 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
23088 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
23089 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
23091 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
23092 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
23094 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
23095 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
23097 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
23098 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
23100 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
23101 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
23103 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
23104 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
23106 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
23107 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
23109 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
23110 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
23112 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
23113 return (void *)((wxDC
*) ((wxClientDC
*) x
));
23115 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
23116 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
23118 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
23119 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
23121 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
23122 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
23124 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
23125 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
23127 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23128 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23130 static void *_p_wxPenTo_p_wxObject(void *x
) {
23131 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
23133 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
23134 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
23136 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23137 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23139 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23140 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23142 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
23143 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
23145 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23146 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23148 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23149 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23151 static void *_p_wxIconTo_p_wxObject(void *x
) {
23152 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
23154 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23155 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23157 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23158 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23160 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23161 return (void *)((wxObject
*) ((wxSizer
*) x
));
23163 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23164 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23166 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23169 static void *_p_wxPenListTo_p_wxObject(void *x
) {
23170 return (void *)((wxObject
*) ((wxPenList
*) x
));
23172 static void *_p_wxEventTo_p_wxObject(void *x
) {
23173 return (void *)((wxObject
*) ((wxEvent
*) x
));
23175 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23176 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23178 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23179 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23181 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23182 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23184 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23185 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23187 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23188 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23190 static void *_p_wxDCTo_p_wxObject(void *x
) {
23191 return (void *)((wxObject
*) ((wxDC
*) x
));
23193 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23194 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23196 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23197 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23199 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23200 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23202 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23203 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23205 static void *_p_wxControlTo_p_wxObject(void *x
) {
23206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23208 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23209 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23211 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
23212 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
23214 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23215 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23217 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
23218 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
23220 static void *_p_wxRegionTo_p_wxObject(void *x
) {
23221 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
23223 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23224 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23226 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
23227 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
23229 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
23230 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
23232 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
23233 return (void *)((wxObject
*) ((wxEffects
*) x
));
23235 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23236 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23238 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23241 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
23242 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
23244 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23245 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23247 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23248 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23250 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
23251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
23253 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23254 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23256 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23259 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23260 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23262 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23263 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23265 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23266 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23268 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23269 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23271 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23272 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23274 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23275 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23277 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23278 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23280 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23281 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23283 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23286 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23289 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23292 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23293 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23295 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23296 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23298 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23299 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23301 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23302 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23304 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
23305 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
23307 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23308 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23310 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23311 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23313 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23314 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23316 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23317 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23319 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
23320 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
23322 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
23323 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
23325 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
23326 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
23328 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
23329 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
23331 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
23332 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
23334 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23335 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23337 static void *_p_wxImageTo_p_wxObject(void *x
) {
23338 return (void *)((wxObject
*) ((wxImage
*) x
));
23340 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23341 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23343 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
23344 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
23346 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
23347 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
23349 static void *_p_wxImageListTo_p_wxObject(void *x
) {
23350 return (void *)((wxObject
*) ((wxImageList
*) x
));
23352 static void *_p_wxCursorTo_p_wxObject(void *x
) {
23353 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
23355 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
23356 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
23358 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
23359 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
23361 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23362 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23364 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23365 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23367 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23368 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23370 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23371 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23373 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23374 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23376 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23379 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
23380 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
23382 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
23383 return (void *)((wxObject
*) ((wxBrushList
*) x
));
23385 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
23386 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
23388 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
23389 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
23391 static void *_p_wxMaskTo_p_wxObject(void *x
) {
23392 return (void *)((wxObject
*) ((wxMask
*) x
));
23394 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
23395 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23397 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
23398 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
23400 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
23401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
23403 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
23404 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
23406 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
23407 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
23409 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
23410 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
23412 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
23413 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23415 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
23416 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
23418 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
23419 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
23421 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
23422 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
23424 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
23425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23427 static void *_p_wxFontTo_p_wxObject(void *x
) {
23428 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
23430 static void *_p_wxBrushTo_p_wxObject(void *x
) {
23431 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
23433 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
23434 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
23436 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
23437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23439 static void *_p_wxColourTo_p_wxObject(void *x
) {
23440 return (void *)((wxObject
*) ((wxColour
*) x
));
23442 static void *_p_wxFontListTo_p_wxObject(void *x
) {
23443 return (void *)((wxObject
*) ((wxFontList
*) x
));
23445 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
23446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
23448 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
23449 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
23451 static void *_p_wxControlTo_p_wxWindow(void *x
) {
23452 return (void *)((wxWindow
*) ((wxControl
*) x
));
23454 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
23455 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
23457 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
23458 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
23460 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
23461 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, 0};
23462 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
23463 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
23464 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
23465 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
23466 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
23467 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
23468 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, 0};
23469 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, 0};
23470 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, 0};
23471 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, 0};
23472 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, 0};
23473 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
23474 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, 0};
23475 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
23476 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
23477 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, 0};
23478 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
23479 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, 0};
23480 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, 0};
23481 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
23482 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, 0};
23483 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, 0};
23484 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, 0};
23485 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
23486 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
23487 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, 0};
23488 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, 0};
23489 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, 0};
23490 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, 0};
23491 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, 0};
23492 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, 0};
23493 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
23494 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, 0};
23495 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, 0};
23496 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, 0};
23497 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, 0};
23498 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, 0};
23499 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
23500 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
23501 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
23502 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
23503 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
23504 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
23505 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
23506 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
23507 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
23508 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
23509 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
23510 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
23511 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0};
23512 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
23513 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
23514 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
23515 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
23516 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
23517 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
23518 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
23519 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
23520 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
23521 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
23522 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
23523 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
23524 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
23525 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
23526 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
23527 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
23528 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
23529 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
23530 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
23531 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
23532 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
23533 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
23534 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
23535 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
23536 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
23537 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
23538 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
23539 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
23540 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
23541 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
23542 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
23543 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
23544 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
23545 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
23546 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0};
23547 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
23548 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
23549 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
23550 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
23551 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
23552 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
23553 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
23554 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
23555 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
23556 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
23557 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
23558 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
23559 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
23560 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
23561 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
23562 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
23563 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
23564 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
23565 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
23566 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
23567 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
23568 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
23569 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
23570 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
23571 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
23572 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
23573 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
23574 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, 0};
23575 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, 0};
23576 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
23577 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, 0};
23578 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, 0};
23579 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
23580 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, 0};
23581 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
23582 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, 0};
23583 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, 0};
23584 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
23585 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
23586 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, 0};
23587 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, 0};
23588 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, 0};
23589 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, 0};
23590 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
23591 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, 0};
23592 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
23593 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
23594 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, 0};
23595 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
23596 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
23597 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
23599 static swig_type_info
*swig_type_initial
[] = {
23602 &_swigt__p_form_ops_t
,
23604 &_swigt__p_unsigned_char
,
23605 &_swigt__p_unsigned_int
,
23606 &_swigt__p_unsigned_long
,
23607 &_swigt__p_wxANIHandler
,
23608 &_swigt__p_wxAcceleratorTable
,
23609 &_swigt__p_wxActivateEvent
,
23610 &_swigt__p_wxBMPHandler
,
23611 &_swigt__p_wxBitmap
,
23612 &_swigt__p_wxBoxSizer
,
23613 &_swigt__p_wxBrush
,
23614 &_swigt__p_wxBrushList
,
23615 &_swigt__p_wxBufferedDC
,
23616 &_swigt__p_wxBufferedPaintDC
,
23617 &_swigt__p_wxCURHandler
,
23618 &_swigt__p_wxChildFocusEvent
,
23619 &_swigt__p_wxClientDC
,
23620 &_swigt__p_wxCloseEvent
,
23621 &_swigt__p_wxColour
,
23622 &_swigt__p_wxColourDatabase
,
23623 &_swigt__p_wxCommandEvent
,
23624 &_swigt__p_wxContextMenuEvent
,
23625 &_swigt__p_wxControl
,
23626 &_swigt__p_wxControlWithItems
,
23627 &_swigt__p_wxCursor
,
23630 &_swigt__p_wxDateEvent
,
23631 &_swigt__p_wxDisplayChangedEvent
,
23632 &_swigt__p_wxDropFilesEvent
,
23633 &_swigt__p_wxDuplexMode
,
23634 &_swigt__p_wxEffects
,
23635 &_swigt__p_wxEncodingConverter
,
23636 &_swigt__p_wxEraseEvent
,
23637 &_swigt__p_wxEvent
,
23638 &_swigt__p_wxEvtHandler
,
23639 &_swigt__p_wxFSFile
,
23640 &_swigt__p_wxFileSystem
,
23641 &_swigt__p_wxFlexGridSizer
,
23642 &_swigt__p_wxFocusEvent
,
23644 &_swigt__p_wxFontList
,
23645 &_swigt__p_wxFontMapper
,
23646 &_swigt__p_wxGBSizerItem
,
23647 &_swigt__p_wxGDIObject
,
23648 &_swigt__p_wxGIFHandler
,
23649 &_swigt__p_wxGridBagSizer
,
23650 &_swigt__p_wxGridSizer
,
23651 &_swigt__p_wxICOHandler
,
23653 &_swigt__p_wxIconBundle
,
23654 &_swigt__p_wxIconLocation
,
23655 &_swigt__p_wxIconizeEvent
,
23656 &_swigt__p_wxIdleEvent
,
23657 &_swigt__p_wxImage
,
23658 &_swigt__p_wxImageHandler
,
23659 &_swigt__p_wxImageList
,
23660 &_swigt__p_wxIndividualLayoutConstraint
,
23661 &_swigt__p_wxInitDialogEvent
,
23662 &_swigt__p_wxJPEGHandler
,
23663 &_swigt__p_wxKeyEvent
,
23664 &_swigt__p_wxLanguageInfo
,
23665 &_swigt__p_wxLayoutConstraints
,
23666 &_swigt__p_wxLocale
,
23668 &_swigt__p_wxMaximizeEvent
,
23669 &_swigt__p_wxMemoryDC
,
23671 &_swigt__p_wxMenuBar
,
23672 &_swigt__p_wxMenuEvent
,
23673 &_swigt__p_wxMenuItem
,
23674 &_swigt__p_wxMetaFile
,
23675 &_swigt__p_wxMetaFileDC
,
23676 &_swigt__p_wxMirrorDC
,
23677 &_swigt__p_wxMouseCaptureChangedEvent
,
23678 &_swigt__p_wxMouseEvent
,
23679 &_swigt__p_wxMoveEvent
,
23680 &_swigt__p_wxNativeEncodingInfo
,
23681 &_swigt__p_wxNativeFontInfo
,
23682 &_swigt__p_wxNavigationKeyEvent
,
23683 &_swigt__p_wxNcPaintEvent
,
23684 &_swigt__p_wxNotifyEvent
,
23685 &_swigt__p_wxObject
,
23686 &_swigt__p_wxPCXHandler
,
23687 &_swigt__p_wxPNGHandler
,
23688 &_swigt__p_wxPNMHandler
,
23689 &_swigt__p_wxPaintDC
,
23690 &_swigt__p_wxPaintEvent
,
23691 &_swigt__p_wxPalette
,
23692 &_swigt__p_wxPaletteChangedEvent
,
23693 &_swigt__p_wxPaperSize
,
23695 &_swigt__p_wxPenList
,
23696 &_swigt__p_wxPoint
,
23697 &_swigt__p_wxPostScriptDC
,
23698 &_swigt__p_wxPrintData
,
23699 &_swigt__p_wxPrinterDC
,
23700 &_swigt__p_wxPyApp
,
23701 &_swigt__p_wxPyCommandEvent
,
23702 &_swigt__p_wxPyEvent
,
23703 &_swigt__p_wxPyFontEnumerator
,
23704 &_swigt__p_wxPyImageHandler
,
23705 &_swigt__p_wxPySizer
,
23706 &_swigt__p_wxPyValidator
,
23707 &_swigt__p_wxQueryNewPaletteEvent
,
23709 &_swigt__p_wxRegion
,
23710 &_swigt__p_wxRegionIterator
,
23711 &_swigt__p_wxRendererNative
,
23712 &_swigt__p_wxRendererVersion
,
23713 &_swigt__p_wxScreenDC
,
23714 &_swigt__p_wxScrollEvent
,
23715 &_swigt__p_wxScrollWinEvent
,
23716 &_swigt__p_wxSetCursorEvent
,
23717 &_swigt__p_wxShowEvent
,
23719 &_swigt__p_wxSizeEvent
,
23720 &_swigt__p_wxSizer
,
23721 &_swigt__p_wxSizerItem
,
23722 &_swigt__p_wxSplitterRenderParams
,
23723 &_swigt__p_wxStaticBoxSizer
,
23724 &_swigt__p_wxStdDialogButtonSizer
,
23725 &_swigt__p_wxString
,
23726 &_swigt__p_wxSysColourChangedEvent
,
23727 &_swigt__p_wxTIFFHandler
,
23728 &_swigt__p_wxUpdateUIEvent
,
23729 &_swigt__p_wxValidator
,
23730 &_swigt__p_wxWindow
,
23731 &_swigt__p_wxWindowCreateEvent
,
23732 &_swigt__p_wxWindowDC
,
23733 &_swigt__p_wxWindowDestroyEvent
,
23734 &_swigt__p_wxXPMHandler
,
23735 &_swigt__ptrdiff_t
,
23736 &_swigt__std__ptrdiff_t
,
23737 &_swigt__unsigned_int
,
23740 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
23741 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
23742 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
23743 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
23744 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
23745 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
23746 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
23747 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
23748 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
23749 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
23750 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}};
23751 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
23752 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
23753 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
23754 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
23755 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
23756 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}};
23757 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
23758 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
23759 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
23760 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
23761 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
23762 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
23763 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
23764 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}};
23765 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
23766 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
23767 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
23768 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
23769 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
23770 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
23771 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
23772 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
23773 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}};
23774 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
23775 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
23776 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
23777 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
23778 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
23779 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
23780 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
23781 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
23782 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
23783 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
23784 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
23785 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
23786 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
23787 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
23788 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
23789 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
23790 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
23791 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
23792 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
23793 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
23794 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
23795 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
23796 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23797 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23798 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23799 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
23800 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
23801 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
23802 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
23803 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
23804 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23805 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23806 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
23807 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
23808 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
23809 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
23810 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
23811 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
23812 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
23813 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
23814 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
23815 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
23816 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
23817 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
23818 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
23819 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
23820 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
23821 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
23822 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
23823 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
23824 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
23825 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
23826 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
23827 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
23828 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
23829 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
23830 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
23831 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
23832 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
23833 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
23834 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23835 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23836 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
23837 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
23838 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
23839 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
23840 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
23841 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
23842 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
23843 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
23844 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
23845 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
23846 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
23847 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
23848 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
23849 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
23850 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
23851 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
23852 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
23853 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}};
23854 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
23855 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
23856 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
23857 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
23858 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
23859 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
23860 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
23861 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
23862 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
23863 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
23864 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
23865 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
23866 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
23867 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
23868 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
23869 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
23870 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
23871 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
23872 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
23873 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}};
23874 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
23875 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
23876 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
23877 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
23879 static swig_cast_info
*swig_cast_initial
[] = {
23882 _swigc__p_form_ops_t
,
23884 _swigc__p_unsigned_char
,
23885 _swigc__p_unsigned_int
,
23886 _swigc__p_unsigned_long
,
23887 _swigc__p_wxANIHandler
,
23888 _swigc__p_wxAcceleratorTable
,
23889 _swigc__p_wxActivateEvent
,
23890 _swigc__p_wxBMPHandler
,
23891 _swigc__p_wxBitmap
,
23892 _swigc__p_wxBoxSizer
,
23894 _swigc__p_wxBrushList
,
23895 _swigc__p_wxBufferedDC
,
23896 _swigc__p_wxBufferedPaintDC
,
23897 _swigc__p_wxCURHandler
,
23898 _swigc__p_wxChildFocusEvent
,
23899 _swigc__p_wxClientDC
,
23900 _swigc__p_wxCloseEvent
,
23901 _swigc__p_wxColour
,
23902 _swigc__p_wxColourDatabase
,
23903 _swigc__p_wxCommandEvent
,
23904 _swigc__p_wxContextMenuEvent
,
23905 _swigc__p_wxControl
,
23906 _swigc__p_wxControlWithItems
,
23907 _swigc__p_wxCursor
,
23910 _swigc__p_wxDateEvent
,
23911 _swigc__p_wxDisplayChangedEvent
,
23912 _swigc__p_wxDropFilesEvent
,
23913 _swigc__p_wxDuplexMode
,
23914 _swigc__p_wxEffects
,
23915 _swigc__p_wxEncodingConverter
,
23916 _swigc__p_wxEraseEvent
,
23918 _swigc__p_wxEvtHandler
,
23919 _swigc__p_wxFSFile
,
23920 _swigc__p_wxFileSystem
,
23921 _swigc__p_wxFlexGridSizer
,
23922 _swigc__p_wxFocusEvent
,
23924 _swigc__p_wxFontList
,
23925 _swigc__p_wxFontMapper
,
23926 _swigc__p_wxGBSizerItem
,
23927 _swigc__p_wxGDIObject
,
23928 _swigc__p_wxGIFHandler
,
23929 _swigc__p_wxGridBagSizer
,
23930 _swigc__p_wxGridSizer
,
23931 _swigc__p_wxICOHandler
,
23933 _swigc__p_wxIconBundle
,
23934 _swigc__p_wxIconLocation
,
23935 _swigc__p_wxIconizeEvent
,
23936 _swigc__p_wxIdleEvent
,
23938 _swigc__p_wxImageHandler
,
23939 _swigc__p_wxImageList
,
23940 _swigc__p_wxIndividualLayoutConstraint
,
23941 _swigc__p_wxInitDialogEvent
,
23942 _swigc__p_wxJPEGHandler
,
23943 _swigc__p_wxKeyEvent
,
23944 _swigc__p_wxLanguageInfo
,
23945 _swigc__p_wxLayoutConstraints
,
23946 _swigc__p_wxLocale
,
23948 _swigc__p_wxMaximizeEvent
,
23949 _swigc__p_wxMemoryDC
,
23951 _swigc__p_wxMenuBar
,
23952 _swigc__p_wxMenuEvent
,
23953 _swigc__p_wxMenuItem
,
23954 _swigc__p_wxMetaFile
,
23955 _swigc__p_wxMetaFileDC
,
23956 _swigc__p_wxMirrorDC
,
23957 _swigc__p_wxMouseCaptureChangedEvent
,
23958 _swigc__p_wxMouseEvent
,
23959 _swigc__p_wxMoveEvent
,
23960 _swigc__p_wxNativeEncodingInfo
,
23961 _swigc__p_wxNativeFontInfo
,
23962 _swigc__p_wxNavigationKeyEvent
,
23963 _swigc__p_wxNcPaintEvent
,
23964 _swigc__p_wxNotifyEvent
,
23965 _swigc__p_wxObject
,
23966 _swigc__p_wxPCXHandler
,
23967 _swigc__p_wxPNGHandler
,
23968 _swigc__p_wxPNMHandler
,
23969 _swigc__p_wxPaintDC
,
23970 _swigc__p_wxPaintEvent
,
23971 _swigc__p_wxPalette
,
23972 _swigc__p_wxPaletteChangedEvent
,
23973 _swigc__p_wxPaperSize
,
23975 _swigc__p_wxPenList
,
23977 _swigc__p_wxPostScriptDC
,
23978 _swigc__p_wxPrintData
,
23979 _swigc__p_wxPrinterDC
,
23981 _swigc__p_wxPyCommandEvent
,
23982 _swigc__p_wxPyEvent
,
23983 _swigc__p_wxPyFontEnumerator
,
23984 _swigc__p_wxPyImageHandler
,
23985 _swigc__p_wxPySizer
,
23986 _swigc__p_wxPyValidator
,
23987 _swigc__p_wxQueryNewPaletteEvent
,
23989 _swigc__p_wxRegion
,
23990 _swigc__p_wxRegionIterator
,
23991 _swigc__p_wxRendererNative
,
23992 _swigc__p_wxRendererVersion
,
23993 _swigc__p_wxScreenDC
,
23994 _swigc__p_wxScrollEvent
,
23995 _swigc__p_wxScrollWinEvent
,
23996 _swigc__p_wxSetCursorEvent
,
23997 _swigc__p_wxShowEvent
,
23999 _swigc__p_wxSizeEvent
,
24001 _swigc__p_wxSizerItem
,
24002 _swigc__p_wxSplitterRenderParams
,
24003 _swigc__p_wxStaticBoxSizer
,
24004 _swigc__p_wxStdDialogButtonSizer
,
24005 _swigc__p_wxString
,
24006 _swigc__p_wxSysColourChangedEvent
,
24007 _swigc__p_wxTIFFHandler
,
24008 _swigc__p_wxUpdateUIEvent
,
24009 _swigc__p_wxValidator
,
24010 _swigc__p_wxWindow
,
24011 _swigc__p_wxWindowCreateEvent
,
24012 _swigc__p_wxWindowDC
,
24013 _swigc__p_wxWindowDestroyEvent
,
24014 _swigc__p_wxXPMHandler
,
24016 _swigc__std__ptrdiff_t
,
24017 _swigc__unsigned_int
,
24021 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24023 static swig_const_info swig_const_table
[] = {
24024 {0, 0, 0, 0.0, 0, 0}};
24029 /*************************************************************************
24030 * Type initialization:
24031 * This problem is tough by the requirement that no dynamic
24032 * memory is used. Also, since swig_type_info structures store pointers to
24033 * swig_cast_info structures and swig_cast_info structures store pointers back
24034 * to swig_type_info structures, we need some lookup code at initialization.
24035 * The idea is that swig generates all the structures that are needed.
24036 * The runtime then collects these partially filled structures.
24037 * The SWIG_InitializeModule function takes these initial arrays out of
24038 * swig_module, and does all the lookup, filling in the swig_module.types
24039 * array with the correct data and linking the correct swig_cast_info
24040 * structures together.
24042 * The generated swig_type_info structures are assigned staticly to an initial
24043 * array. We just loop though that array, and handle each type individually.
24044 * First we lookup if this type has been already loaded, and if so, use the
24045 * loaded structure instead of the generated one. Then we have to fill in the
24046 * cast linked list. The cast data is initially stored in something like a
24047 * two-dimensional array. Each row corresponds to a type (there are the same
24048 * number of rows as there are in the swig_type_initial array). Each entry in
24049 * a column is one of the swig_cast_info structures for that type.
24050 * The cast_initial array is actually an array of arrays, because each row has
24051 * a variable number of columns. So to actually build the cast linked list,
24052 * we find the array of casts associated with the type, and loop through it
24053 * adding the casts to the list. The one last trick we need to do is making
24054 * sure the type pointer in the swig_cast_info struct is correct.
24056 * First off, we lookup the cast->type name to see if it is already loaded.
24057 * There are three cases to handle:
24058 * 1) If the cast->type has already been loaded AND the type we are adding
24059 * casting info to has not been loaded (it is in this module), THEN we
24060 * replace the cast->type pointer with the type pointer that has already
24062 * 2) If BOTH types (the one we are adding casting info to, and the
24063 * cast->type) are loaded, THEN the cast info has already been loaded by
24064 * the previous module so we just ignore it.
24065 * 3) Finally, if cast->type has not already been loaded, then we add that
24066 * swig_cast_info to the linked list (because the cast->type) pointer will
24078 #define SWIGRUNTIME_DEBUG
24082 SWIG_InitializeModule(void *clientdata
) {
24084 swig_module_info
*module_head
;
24085 static int init_run
= 0;
24087 clientdata
= clientdata
;
24089 if (init_run
) return;
24092 /* Initialize the swig_module */
24093 swig_module
.type_initial
= swig_type_initial
;
24094 swig_module
.cast_initial
= swig_cast_initial
;
24096 /* Try and load any already created modules */
24097 module_head
= SWIG_GetModule(clientdata
);
24099 swig_module
.next
= module_head
->next
;
24100 module_head
->next
= &swig_module
;
24102 /* This is the first module loaded */
24103 swig_module
.next
= &swig_module
;
24104 SWIG_SetModule(clientdata
, &swig_module
);
24107 /* Now work on filling in swig_module.types */
24108 #ifdef SWIGRUNTIME_DEBUG
24109 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
24111 for (i
= 0; i
< swig_module
.size
; ++i
) {
24112 swig_type_info
*type
= 0;
24113 swig_type_info
*ret
;
24114 swig_cast_info
*cast
;
24116 #ifdef SWIGRUNTIME_DEBUG
24117 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
24120 /* if there is another module already loaded */
24121 if (swig_module
.next
!= &swig_module
) {
24122 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
24125 /* Overwrite clientdata field */
24126 #ifdef SWIGRUNTIME_DEBUG
24127 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
24129 if (swig_module
.type_initial
[i
]->clientdata
) {
24130 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
24131 #ifdef SWIGRUNTIME_DEBUG
24132 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
24136 type
= swig_module
.type_initial
[i
];
24139 /* Insert casting types */
24140 cast
= swig_module
.cast_initial
[i
];
24141 while (cast
->type
) {
24142 /* Don't need to add information already in the list */
24144 #ifdef SWIGRUNTIME_DEBUG
24145 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
24147 if (swig_module
.next
!= &swig_module
) {
24148 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
24149 #ifdef SWIGRUNTIME_DEBUG
24150 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
24154 if (type
== swig_module
.type_initial
[i
]) {
24155 #ifdef SWIGRUNTIME_DEBUG
24156 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
24161 /* Check for casting already in the list */
24162 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
24163 #ifdef SWIGRUNTIME_DEBUG
24164 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
24166 if (!ocast
) ret
= 0;
24171 #ifdef SWIGRUNTIME_DEBUG
24172 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
24175 type
->cast
->prev
= cast
;
24176 cast
->next
= type
->cast
;
24182 /* Set entry in modules->types array equal to the type */
24183 swig_module
.types
[i
] = type
;
24185 swig_module
.types
[i
] = 0;
24187 #ifdef SWIGRUNTIME_DEBUG
24188 printf("**** SWIG_InitializeModule: Cast List ******\n");
24189 for (i
= 0; i
< swig_module
.size
; ++i
) {
24191 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
24192 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
24193 while (cast
->type
) {
24194 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
24198 printf("---- Total casts: %d\n",j
);
24200 printf("**** SWIG_InitializeModule: Cast List ******\n");
24204 /* This function will propagate the clientdata field of type to
24205 * any new swig_type_info structures that have been added into the list
24206 * of equivalent types. It is like calling
24207 * SWIG_TypeClientData(type, clientdata) a second time.
24210 SWIG_PropagateClientData(void) {
24212 swig_cast_info
*equiv
;
24213 static int init_run
= 0;
24215 if (init_run
) return;
24218 for (i
= 0; i
< swig_module
.size
; i
++) {
24219 if (swig_module
.types
[i
]->clientdata
) {
24220 equiv
= swig_module
.types
[i
]->cast
;
24222 if (!equiv
->converter
) {
24223 if (equiv
->type
&& !equiv
->type
->clientdata
)
24224 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
24226 equiv
= equiv
->next
;
24246 /* Python-specific SWIG API */
24247 #define SWIG_newvarlink() SWIG_Python_newvarlink()
24248 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
24249 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
24251 /* -----------------------------------------------------------------------------
24252 * global variable support code.
24253 * ----------------------------------------------------------------------------- */
24255 typedef struct swig_globalvar
{
24256 char *name
; /* Name of global variable */
24257 PyObject
*(*get_attr
)(void); /* Return the current value */
24258 int (*set_attr
)(PyObject
*); /* Set the value */
24259 struct swig_globalvar
*next
;
24262 typedef struct swig_varlinkobject
{
24264 swig_globalvar
*vars
;
24265 } swig_varlinkobject
;
24267 SWIGINTERN PyObject
*
24268 swig_varlink_repr(swig_varlinkobject
*v
) {
24270 return PyString_FromString("<Swig global variables>");
24274 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
24275 swig_globalvar
*var
;
24277 fprintf(fp
,"Swig global variables { ");
24278 for (var
= v
->vars
; var
; var
=var
->next
) {
24279 fprintf(fp
,"%s", var
->name
);
24280 if (var
->next
) fprintf(fp
,", ");
24282 fprintf(fp
," }\n");
24286 SWIGINTERN PyObject
*
24287 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
24288 swig_globalvar
*var
= v
->vars
;
24290 if (strcmp(var
->name
,n
) == 0) {
24291 return (*var
->get_attr
)();
24295 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
24300 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
24301 swig_globalvar
*var
= v
->vars
;
24303 if (strcmp(var
->name
,n
) == 0) {
24304 return (*var
->set_attr
)(p
);
24308 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
24312 SWIGINTERN PyTypeObject
*
24313 swig_varlink_type(void) {
24314 static char varlink__doc__
[] = "Swig var link object";
24315 static PyTypeObject varlink_type
24316 #if !defined(__cplusplus)
24318 static int type_init
= 0;
24323 PyObject_HEAD_INIT(&PyType_Type
)
24324 0, /* Number of items in variable part (ob_size) */
24325 (char *)"swigvarlink", /* Type name (tp_name) */
24326 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
24327 0, /* Itemsize (tp_itemsize) */
24328 0, /* Deallocator (tp_dealloc) */
24329 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
24330 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
24331 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
24332 0, /* tp_compare */
24333 (reprfunc
) swig_varlink_repr
, /* tp_repr */
24334 0, /* tp_as_number */
24335 0, /* tp_as_sequence */
24336 0, /* tp_as_mapping */
24340 0, /* tp_getattro */
24341 0, /* tp_setattro */
24342 0, /* tp_as_buffer */
24344 varlink__doc__
, /* tp_doc */
24345 #if PY_VERSION_HEX >= 0x02000000
24346 0, /* tp_traverse */
24349 #if PY_VERSION_HEX >= 0x02010000
24350 0, /* tp_richcompare */
24351 0, /* tp_weaklistoffset */
24353 #if PY_VERSION_HEX >= 0x02020000
24354 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
24356 #if PY_VERSION_HEX >= 0x02030000
24359 #ifdef COUNT_ALLOCS
24360 0,0,0,0 /* tp_alloc -> tp_next */
24363 #if !defined(__cplusplus)
24364 varlink_type
= tmp
;
24368 return &varlink_type
;
24371 /* Create a variable linking object for use later */
24372 SWIGINTERN PyObject
*
24373 SWIG_Python_newvarlink(void) {
24374 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
24378 return ((PyObject
*) result
);
24382 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
24383 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
24384 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
24386 size_t size
= strlen(name
)+1;
24387 gv
->name
= (char *)malloc(size
);
24389 strncpy(gv
->name
,name
,size
);
24390 gv
->get_attr
= get_attr
;
24391 gv
->set_attr
= set_attr
;
24392 gv
->next
= v
->vars
;
24398 /* -----------------------------------------------------------------------------
24399 * constants/methods manipulation
24400 * ----------------------------------------------------------------------------- */
24402 /* Install Constants */
24404 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
24407 for (i
= 0; constants
[i
].type
; ++i
) {
24408 switch(constants
[i
].type
) {
24410 obj
= PyInt_FromLong(constants
[i
].lvalue
);
24412 case SWIG_PY_FLOAT
:
24413 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
24415 case SWIG_PY_STRING
:
24416 if (constants
[i
].pvalue
) {
24417 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
24419 Py_INCREF(Py_None
);
24423 case SWIG_PY_POINTER
:
24424 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
24426 case SWIG_PY_BINARY
:
24427 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
24434 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
24440 /* -----------------------------------------------------------------------------*/
24441 /* Fix SwigMethods to carry the callback ptrs when needed */
24442 /* -----------------------------------------------------------------------------*/
24445 SWIG_Python_FixMethods(PyMethodDef
*methods
,
24446 swig_const_info
*const_table
,
24447 swig_type_info
**types
,
24448 swig_type_info
**types_initial
) {
24450 for (i
= 0; methods
[i
].ml_name
; ++i
) {
24451 char *c
= methods
[i
].ml_doc
;
24452 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
24454 swig_const_info
*ci
= 0;
24455 char *name
= c
+ 10;
24456 for (j
= 0; const_table
[j
].type
; ++j
) {
24457 if (strncmp(const_table
[j
].name
, name
,
24458 strlen(const_table
[j
].name
)) == 0) {
24459 ci
= &(const_table
[j
]);
24464 size_t shift
= (ci
->ptype
) - types
;
24465 swig_type_info
*ty
= types_initial
[shift
];
24466 size_t ldoc
= (c
- methods
[i
].ml_doc
);
24467 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
24468 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
24471 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
24473 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
24475 strncpy(buff
, "swig_ptr: ", 10);
24477 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
24478 methods
[i
].ml_doc
= ndoc
;
24486 /* -----------------------------------------------------------------------------*
24487 * Initialize type list
24488 * -----------------------------------------------------------------------------*/
24494 /* -----------------------------------------------------------------------------*
24495 * Partial Init method
24496 * -----------------------------------------------------------------------------*/
24501 SWIGEXPORT
void SWIG_init(void) {
24502 static PyObject
*SWIG_globals
= 0;
24504 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24506 /* Fix SwigMethods to carry the callback ptrs when needed */
24507 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
24509 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24510 d
= PyModule_GetDict(m
);
24512 SWIG_InitializeModule(0);
24513 SWIG_InstallConstants(d
,swig_const_table
);
24516 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int(static_cast<int >(wxOutRegion
)));
24519 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int(static_cast<int >(wxPartRegion
)));
24522 PyDict_SetItemString(d
,"InRegion", SWIG_From_int(static_cast<int >(wxInRegion
)));
24525 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DEFAULT
)));
24528 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DECORATIVE
)));
24531 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_ROMAN
)));
24534 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SCRIPT
)));
24537 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SWISS
)));
24540 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MODERN
)));
24543 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_TELETYPE
)));
24546 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MAX
)));
24549 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_UNKNOWN
)));
24552 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int(static_cast<int >(wxFONTSTYLE_NORMAL
)));
24555 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int(static_cast<int >(wxFONTSTYLE_ITALIC
)));
24558 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int(static_cast<int >(wxFONTSTYLE_SLANT
)));
24561 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int(static_cast<int >(wxFONTSTYLE_MAX
)));
24564 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_NORMAL
)));
24567 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_LIGHT
)));
24570 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_BOLD
)));
24573 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_MAX
)));
24576 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFLAG_DEFAULT
)));
24579 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int(static_cast<int >(wxFONTFLAG_ITALIC
)));
24582 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int(static_cast<int >(wxFONTFLAG_SLANT
)));
24585 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int(static_cast<int >(wxFONTFLAG_LIGHT
)));
24588 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int(static_cast<int >(wxFONTFLAG_BOLD
)));
24591 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_ANTIALIASED
)));
24594 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_NOT_ANTIALIASED
)));
24597 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int(static_cast<int >(wxFONTFLAG_UNDERLINED
)));
24600 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int(static_cast<int >(wxFONTFLAG_STRIKETHROUGH
)));
24603 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int(static_cast<int >(wxFONTFLAG_MASK
)));
24606 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int(static_cast<int >(wxFONTENCODING_SYSTEM
)));
24609 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTENCODING_DEFAULT
)));
24612 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_1
)));
24615 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_2
)));
24618 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_3
)));
24621 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_4
)));
24624 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_5
)));
24627 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_6
)));
24630 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_7
)));
24633 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_8
)));
24636 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_9
)));
24639 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_10
)));
24642 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_11
)));
24645 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_12
)));
24648 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_13
)));
24651 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_14
)));
24654 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_15
)));
24657 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_MAX
)));
24660 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8
)));
24663 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8_U
)));
24666 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int(static_cast<int >(wxFONTENCODING_ALTERNATIVE
)));
24669 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_BULGARIAN
)));
24672 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP437
)));
24675 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP850
)));
24678 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP852
)));
24681 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP855
)));
24684 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP866
)));
24687 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP874
)));
24690 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP932
)));
24693 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP936
)));
24696 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP949
)));
24699 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP950
)));
24702 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1250
)));
24705 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1251
)));
24708 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1252
)));
24711 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1253
)));
24714 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1254
)));
24717 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1255
)));
24720 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1256
)));
24723 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1257
)));
24726 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP12_MAX
)));
24729 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF7
)));
24732 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF8
)));
24735 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int(static_cast<int >(wxFONTENCODING_EUC_JP
)));
24738 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16BE
)));
24741 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16LE
)));
24744 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32BE
)));
24747 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32LE
)));
24750 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMAN
)));
24753 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACJAPANESE
)));
24756 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESETRAD
)));
24759 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKOREAN
)));
24762 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABIC
)));
24765 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACHEBREW
)));
24768 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGREEK
)));
24771 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCYRILLIC
)));
24774 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDEVANAGARI
)));
24777 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGURMUKHI
)));
24780 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGUJARATI
)));
24783 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACORIYA
)));
24786 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBENGALI
)));
24789 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTAMIL
)));
24792 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTELUGU
)));
24795 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKANNADA
)));
24798 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMALAJALAM
)));
24801 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSINHALESE
)));
24804 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBURMESE
)));
24807 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKHMER
)));
24810 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTHAI
)));
24813 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACLAOTIAN
)));
24816 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGEORGIAN
)));
24819 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARMENIAN
)));
24822 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESESIMP
)));
24825 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTIBETAN
)));
24828 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMONGOLIAN
)));
24831 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACETHIOPIC
)));
24834 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCENTRALEUR
)));
24837 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACVIATNAMESE
)));
24840 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABICEXT
)));
24843 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSYMBOL
)));
24846 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDINGBATS
)));
24849 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTURKISH
)));
24852 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCROATIAN
)));
24855 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACICELANDIC
)));
24858 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMANIAN
)));
24861 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCELTIC
)));
24864 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGAELIC
)));
24867 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKEYBOARD
)));
24870 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMIN
)));
24873 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMAX
)));
24876 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MAX
)));
24879 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16
)));
24882 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32
)));
24885 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UNICODE
)));
24888 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int(static_cast<int >(wxFONTENCODING_GB2312
)));
24891 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int(static_cast<int >(wxFONTENCODING_BIG5
)));
24894 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int(static_cast<int >(wxFONTENCODING_SHIFT_JIS
)));
24897 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
24900 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int(static_cast<int >(wxLANGUAGE_DEFAULT
)));
24903 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UNKNOWN
)));
24906 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ABKHAZIAN
)));
24909 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFAR
)));
24912 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFRIKAANS
)));
24915 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ALBANIAN
)));
24918 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AMHARIC
)));
24921 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC
)));
24924 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_ALGERIA
)));
24927 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
24930 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_EGYPT
)));
24933 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_IRAQ
)));
24936 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_JORDAN
)));
24939 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_KUWAIT
)));
24942 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LEBANON
)));
24945 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LIBYA
)));
24948 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_MOROCCO
)));
24951 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_OMAN
)));
24954 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_QATAR
)));
24957 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
24960 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SUDAN
)));
24963 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SYRIA
)));
24966 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_TUNISIA
)));
24969 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_UAE
)));
24972 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_YEMEN
)));
24975 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARMENIAN
)));
24978 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ASSAMESE
)));
24981 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int(static_cast<int >(wxLANGUAGE_AYMARA
)));
24984 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI
)));
24987 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_CYRILLIC
)));
24990 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_LATIN
)));
24993 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASHKIR
)));
24996 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASQUE
)));
24999 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BELARUSIAN
)));
25002 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BENGALI
)));
25005 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BHUTANI
)));
25008 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BIHARI
)));
25011 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_BISLAMA
)));
25014 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int(static_cast<int >(wxLANGUAGE_BRETON
)));
25017 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BULGARIAN
)));
25020 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BURMESE
)));
25023 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CAMBODIAN
)));
25026 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CATALAN
)));
25029 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE
)));
25032 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
25035 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
25038 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_HONGKONG
)));
25041 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_MACAU
)));
25044 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
25047 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TAIWAN
)));
25050 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CORSICAN
)));
25053 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CROATIAN
)));
25056 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int(static_cast<int >(wxLANGUAGE_CZECH
)));
25059 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DANISH
)));
25062 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH
)));
25065 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH_BELGIAN
)));
25068 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH
)));
25071 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_UK
)));
25074 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_US
)));
25077 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
25080 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BELIZE
)));
25083 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
25086 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CANADA
)));
25089 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
25092 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_DENMARK
)));
25095 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_EIRE
)));
25098 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
25101 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
25104 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
25107 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
25110 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
25113 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
25116 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESPERANTO
)));
25119 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESTONIAN
)));
25122 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_FAEROESE
)));
25125 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FARSI
)));
25128 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FIJI
)));
25131 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FINNISH
)));
25134 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH
)));
25137 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_BELGIAN
)));
25140 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_CANADIAN
)));
25143 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
25146 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_MONACO
)));
25149 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_SWISS
)));
25152 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRISIAN
)));
25155 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GALICIAN
)));
25158 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GEORGIAN
)));
25161 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN
)));
25164 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
25167 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_BELGIUM
)));
25170 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
25173 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
25176 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_SWISS
)));
25179 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREEK
)));
25182 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREENLANDIC
)));
25185 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUARANI
)));
25188 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUJARATI
)));
25191 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_HAUSA
)));
25194 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int(static_cast<int >(wxLANGUAGE_HEBREW
)));
25197 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_HINDI
)));
25200 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_HUNGARIAN
)));
25203 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ICELANDIC
)));
25206 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_INDONESIAN
)));
25209 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUA
)));
25212 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUE
)));
25215 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUKTITUT
)));
25218 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUPIAK
)));
25221 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_IRISH
)));
25224 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN
)));
25227 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN_SWISS
)));
25230 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAPANESE
)));
25233 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAVANESE
)));
25236 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KANNADA
)));
25239 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI
)));
25242 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI_INDIA
)));
25245 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KAZAKH
)));
25248 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_KERNEWEK
)));
25251 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KINYARWANDA
)));
25254 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRGHIZ
)));
25257 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRUNDI
)));
25260 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KONKANI
)));
25263 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_KOREAN
)));
25266 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KURDISH
)));
25269 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LAOTHIAN
)));
25272 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATIN
)));
25275 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATVIAN
)));
25278 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_LINGALA
)));
25281 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LITHUANIAN
)));
25284 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MACEDONIAN
)));
25287 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAGASY
)));
25290 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY
)));
25293 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAYALAM
)));
25296 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
25299 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_MALAYSIA
)));
25302 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALTESE
)));
25305 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MANIPURI
)));
25308 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MAORI
)));
25311 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MARATHI
)));
25314 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MOLDAVIAN
)));
25317 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MONGOLIAN
)));
25320 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int(static_cast<int >(wxLANGUAGE_NAURU
)));
25323 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI
)));
25326 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI_INDIA
)));
25329 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
25332 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
25335 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_OCCITAN
)));
25338 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ORIYA
)));
25341 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int(static_cast<int >(wxLANGUAGE_OROMO
)));
25344 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_PASHTO
)));
25347 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_POLISH
)));
25350 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE
)));
25353 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
25356 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int(static_cast<int >(wxLANGUAGE_PUNJABI
)));
25359 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_QUECHUA
)));
25362 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RHAETO_ROMANCE
)));
25365 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ROMANIAN
)));
25368 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN
)));
25371 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
25374 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SAMOAN
)));
25377 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANGHO
)));
25380 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANSKRIT
)));
25383 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SCOTS_GAELIC
)));
25386 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN
)));
25389 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
25392 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_LATIN
)));
25395 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBO_CROATIAN
)));
25398 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SESOTHO
)));
25401 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SETSWANA
)));
25404 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SHONA
)));
25407 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINDHI
)));
25410 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINHALESE
)));
25413 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SISWATI
)));
25416 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVAK
)));
25419 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVENIAN
)));
25422 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SOMALI
)));
25425 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH
)));
25428 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
25431 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
25434 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_CHILE
)));
25437 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
25440 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
25443 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
25446 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ECUADOR
)));
25449 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
25452 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
25455 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_HONDURAS
)));
25458 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MEXICAN
)));
25461 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MODERN
)));
25464 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
25467 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PANAMA
)));
25470 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
25473 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PERU
)));
25476 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
25479 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_URUGUAY
)));
25482 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_US
)));
25485 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
25488 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SUNDANESE
)));
25491 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWAHILI
)));
25494 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH
)));
25497 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH_FINLAND
)));
25500 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAGALOG
)));
25503 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAJIK
)));
25506 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAMIL
)));
25509 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_TATAR
)));
25512 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int(static_cast<int >(wxLANGUAGE_TELUGU
)));
25515 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int(static_cast<int >(wxLANGUAGE_THAI
)));
25518 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIBETAN
)));
25521 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIGRINYA
)));
25524 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TONGA
)));
25527 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TSONGA
)));
25530 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKISH
)));
25533 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKMEN
)));
25536 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int(static_cast<int >(wxLANGUAGE_TWI
)));
25539 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int(static_cast<int >(wxLANGUAGE_UIGHUR
)));
25542 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UKRAINIAN
)));
25545 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU
)));
25548 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_INDIA
)));
25551 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_PAKISTAN
)));
25554 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK
)));
25557 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
25560 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_LATIN
)));
25563 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_VIETNAMESE
)));
25566 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int(static_cast<int >(wxLANGUAGE_VOLAPUK
)));
25569 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int(static_cast<int >(wxLANGUAGE_WELSH
)));
25572 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int(static_cast<int >(wxLANGUAGE_WOLOF
)));
25575 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_XHOSA
)));
25578 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_YIDDISH
)));
25581 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int(static_cast<int >(wxLANGUAGE_YORUBA
)));
25584 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZHUANG
)));
25587 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZULU
)));
25590 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int(static_cast<int >(wxLANGUAGE_USER_DEFINED
)));
25593 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_NUMBER
)));
25596 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_DATE
)));
25599 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MONEY
)));
25602 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MAX
)));
25605 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int(static_cast<int >(wxLOCALE_THOUSANDS_SEP
)));
25608 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int(static_cast<int >(wxLOCALE_DECIMAL_POINT
)));
25611 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int(static_cast<int >(wxLOCALE_LOAD_DEFAULT
)));
25614 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int(static_cast<int >(wxLOCALE_CONV_ENCODING
)));
25617 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int(static_cast<int >(wxCONVERT_STRICT
)));
25620 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int(static_cast<int >(wxCONVERT_SUBSTITUTE
)));
25623 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int(static_cast<int >(wxPLATFORM_CURRENT
)));
25626 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int(static_cast<int >(wxPLATFORM_UNIX
)));
25629 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int(static_cast<int >(wxPLATFORM_WINDOWS
)));
25632 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int(static_cast<int >(wxPLATFORM_OS2
)));
25635 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int(static_cast<int >(wxPLATFORM_MAC
)));
25638 PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_VIRTUAL_AREA
)));
25641 PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_CLIENT_AREA
)));
25644 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_NORMAL
)));
25647 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
25650 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_SELECTED
)));
25653 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_FOCUSED
)));
25656 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_NORMAL
)));
25659 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_SMALL
)));
25662 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_STATE
)));
25664 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
25665 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
25666 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
25667 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
25668 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
25669 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
25670 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
25671 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
25672 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
25673 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
25674 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
25675 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
25676 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
25677 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
25678 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
25679 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
25680 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
25681 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
25682 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
25683 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
25684 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
25685 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
25686 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
25687 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
25688 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
25689 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
25690 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
25691 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
25692 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
25693 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
25694 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
25695 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
25696 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
25697 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
25698 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
25699 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
25700 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
25701 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
25702 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
25703 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
25704 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
25705 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
25706 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
25707 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
25708 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
25709 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
25710 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
25712 PyDict_SetItemString(d
,"CONTROL_DISABLED", SWIG_From_int(static_cast<int >(wxCONTROL_DISABLED
)));
25715 PyDict_SetItemString(d
,"CONTROL_FOCUSED", SWIG_From_int(static_cast<int >(wxCONTROL_FOCUSED
)));
25718 PyDict_SetItemString(d
,"CONTROL_PRESSED", SWIG_From_int(static_cast<int >(wxCONTROL_PRESSED
)));
25721 PyDict_SetItemString(d
,"CONTROL_ISDEFAULT", SWIG_From_int(static_cast<int >(wxCONTROL_ISDEFAULT
)));
25724 PyDict_SetItemString(d
,"CONTROL_ISSUBMENU", SWIG_From_int(static_cast<int >(wxCONTROL_ISSUBMENU
)));
25727 PyDict_SetItemString(d
,"CONTROL_EXPANDED", SWIG_From_int(static_cast<int >(wxCONTROL_EXPANDED
)));
25730 PyDict_SetItemString(d
,"CONTROL_CURRENT", SWIG_From_int(static_cast<int >(wxCONTROL_CURRENT
)));
25733 PyDict_SetItemString(d
,"CONTROL_SELECTED", SWIG_From_int(static_cast<int >(wxCONTROL_SELECTED
)));
25736 PyDict_SetItemString(d
,"CONTROL_CHECKED", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKED
)));
25739 PyDict_SetItemString(d
,"CONTROL_CHECKABLE", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKABLE
)));
25742 PyDict_SetItemString(d
,"CONTROL_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCONTROL_UNDETERMINED
)));
25745 PyDict_SetItemString(d
,"CONTROL_FLAGS_MASK", SWIG_From_int(static_cast<int >(wxCONTROL_FLAGS_MASK
)));
25748 PyDict_SetItemString(d
,"CONTROL_DIRTY", SWIG_From_int(static_cast<int >(wxCONTROL_DIRTY
)));
25751 PyDict_SetItemString(d
,"RendererVersion_Current_Version", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Version
)));
25754 PyDict_SetItemString(d
,"RendererVersion_Current_Age", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Age
)));
25757 // Work around a chicken/egg problem in drawlist.cpp
25758 wxPyDrawList_SetAPIPtr();